Lines Matching refs:UNISTRING

68 #define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s))  macro
70 #define COMMAND_CLOSE UNISTRING("close")
72 #define CTRL_THROBBER UNISTRING("throbber")
73 #define CTRL_PROGRESS UNISTRING("progress")
75 #define TEXT_STATUS UNISTRING("text_status")
76 #define TEXT_PERCENT UNISTRING("text_percent")
77 #define TEXT_DESCRIPTION UNISTRING("text_description")
79 #define FIXED_LINE_MODEL UNISTRING("com.sun.star.awt.UnoControlFixedLineModel")
80 #define FIXED_TEXT_MODEL UNISTRING("com.sun.star.awt.UnoControlFixedTextModel")
81 #define EDIT_FIELD_MODEL UNISTRING("com.sun.star.awt.UnoControlEditModel")
82 #define BUTTON_MODEL UNISTRING("com.sun.star.awt.UnoControlButtonModel")
83 #define GROUP_BOX_MODEL UNISTRING("com.sun.star.awt.UnoControlGroupBoxModel")
136 setControlProperty( msButtonIDs[i], UNISTRING("Enabled"), uno::Any( bEnableControl ) ); in enableControls()
153 aLabel += UNISTRING( "..." ); in setDownloadBtnLabel()
155 setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("Label"), uno::Any( aLabel ) ); in setDownloadBtnLabel()
156 …setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_… in setDownloadBtnLabel()
242 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( nPercent ) ); in setProgress()
243 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in setProgress()
250 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rErrorMsg ) ); in setErrorMessage()
438 … throw uno::RuntimeException( UNISTRING( "UpdateHandler:: empty component context" ), *this ); in handle()
443 …throw uno::RuntimeException( UNISTRING( "UpdateHandler: unable to obtain service manager from comp… in handle()
447 UNISTRING( "com.sun.star.task.InteractionHandler" ), in handle()
451 …throw uno::RuntimeException( UNISTRING( "UpdateHandler:: could not get default interaction handler… in handle()
458 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( aErrorText.Value ) ); in handle()
490 UNISTRING("The office cannot be closed while displaying a warning!"), in queryTermination()
535 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msChecking) ) ); in updateState()
536 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in updateState()
542 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msCheckingError) ) ); in updateState()
548 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) ); in updateState()
552 sText += UNISTRING("\n\n") + msDescriptionMsg; in updateState()
553 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) ); in updateState()
561 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) ); in updateState()
565 sText += UNISTRING("\n\n") + msDescriptionMsg; in updateState()
566 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) ); in updateState()
575 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msNoUpdFound) ) ); in updateState()
576 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in updateState()
582 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloading) ) ); in updateState()
583 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in updateState()
584 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadWarnin… in updateState()
585 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( mnPercent ) ); in updateState()
591 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloadPause) ) ); in updateState()
592 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in updateState()
593 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadWarnin… in updateState()
594 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( mnPercent ) ); in updateState()
600 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloadError) ) ); in updateState()
606 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msReady2Install) ) ); in updateState()
607 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadDescr)… in updateState()
638 rtl::OUString sKey = UNISTRING( "string:" ) + rtl::OUString::valueOf( nResourceId ); in loadString()
647 sString = UNISTRING("Missing ") + sKey; in loadString()
657 searchAndReplaceAll( sString, UNISTRING( "%NEXTVERSION" ), msNextVersion ); in substVariables()
658 searchAndReplaceAll( sString, UNISTRING( "%DOWNLOAD_PATH" ), msDownloadPath ); in substVariables()
659 searchAndReplaceAll( sString, UNISTRING( "%FILE_NAME" ), msDownloadFile ); in substVariables()
660 searchAndReplaceAll( sString, UNISTRING( "%PERCENT" ), rtl::OUString::valueOf( mnPercent ) ); in substVariables()
677 UNISTRING( "/singletons/com.sun.star.resource.OfficeResourceLoader" ) ) ); in loadStrings()
691 xBundle = xLoader->loadBundle_Default( UNISTRING( "upd" ) ); in loadStrings()
747 msButtonIDs[ i ] = UNISTRING("BUTTON_") + rtl::OUString::valueOf( (sal_Int32) i ); in loadStrings()
843 xPropSet->setPropertyValue( UNISTRING("Name"), uno::Any (rControlName) ); in insertControlModel()
844 xPropSet->setPropertyValue( UNISTRING("PositionX"), uno::Any (rPosSize.X) ); in insertControlModel()
845 xPropSet->setPropertyValue( UNISTRING("PositionY"), uno::Any (rPosSize.Y) ); in insertControlModel()
846 xPropSet->setPropertyValue( UNISTRING("Height"), uno::Any (rPosSize.Height) ); in insertControlModel()
847 xPropSet->setPropertyValue( UNISTRING("Width"), uno::Any (rPosSize.Width) ); in insertControlModel()
858 … throw uno::RuntimeException( UNISTRING( "getProductName: empty component context" ), *this ); in setFullVersion()
863 …throw uno::RuntimeException( UNISTRING( "getProductName: unable to obtain service manager from com… in setFullVersion()
866 …xServiceManager->createInstanceWithContext( UNISTRING( "com.sun.star.configuration.ConfigurationPr… in setFullVersion()
870 aProperty.Name = UNISTRING( "nodepath" ); in setFullVersion()
871 aProperty.Value = uno::makeAny( UNISTRING("org.openoffice.Setup/Product") ); in setFullVersion()
877 …xConfigAccess = xConfigurationProvider->createInstanceWithArguments( UNISTRING("com.sun.star.confi… in setFullVersion()
885 xNameAccess->getByName(UNISTRING("ooSetupVersion")) >>= aProductVersion; in setFullVersion()
891 …rtl::OUString aPackageVersion = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":… in setFullVersion()
904 aVersionMinor = UNISTRING( "0" ); in setFullVersion()
906 aVersionMicro = UNISTRING( "0" ); in setFullVersion()
911 aProductFullVersion += UNISTRING( "." ); in setFullVersion()
920 aProductFullVersion += UNISTRING( "." ); in setFullVersion()
953 aDescriptor.WindowServiceName = UNISTRING( "warningbox" ); in showWarning()
1002 aDescriptor.WindowServiceName = UNISTRING( "warningbox" ); in showWarning()
1022 uno::Any aValue = xMsgBoxCtrl->getProperty( UNISTRING("DefaultButton") ); in showWarning()
1025 xMsgBoxCtrl->setProperty( UNISTRING("Text"), uno::Any( rBtnText_1 ) ); in showWarning()
1027 xMsgBoxCtrl->setProperty( UNISTRING("Text"), uno::Any( rBtnText_2 ) ); in showWarning()
1054 searchAndReplaceAll( aMsg, UNISTRING( "%FILENAME" ), rFileName ); in showOverwriteWarning()
1055 searchAndReplaceAll( aMsg, UNISTRING( "%DOWNLOAD_PATH" ), msDownloadPath ); in showOverwriteWarning()
1121 …setControlProperty( TEXT_STATUS, UNISTRING("Width"), uno::Any( sal_Int32(EDIT_WIDTH - BUTTON_WIDTH… in showControls()
1123 …setControlProperty( TEXT_STATUS, UNISTRING("Width"), uno::Any( sal_Int32(EDIT_WIDTH - 2 * TEXT_OFF… in showControls()
1127 setControlProperty( TEXT_STATUS, UNISTRING("Height"), uno::Any( sal_Int32(LABEL_HEIGHT) ) ); in showControls()
1129 …setControlProperty( TEXT_STATUS, UNISTRING("Height"), uno::Any( sal_Int32(BOX_HEIGHT1 - 4 * TEXT_O… in showControls()
1146 … xServiceManager->createInstanceWithContext( UNISTRING( "com.sun.star.frame.Desktop"), mxContext ), in createDialog()
1156UNISTRING("com.sun.star.awt.UnoControlDialogModel"), in createDialog()
1162 xPropSet->setPropertyValue( UNISTRING("Title"), uno::Any( msDlgTitle ) ); in createDialog()
1163 xPropSet->setPropertyValue( UNISTRING("Closeable"), uno::Any( true ) ); in createDialog()
1164 xPropSet->setPropertyValue( UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1165 xPropSet->setPropertyValue( UNISTRING("Moveable"), uno::Any( true ) ); in createDialog()
1166 xPropSet->setPropertyValue( UNISTRING("Sizeable"), uno::Any( true ) ); in createDialog()
1167 xPropSet->setPropertyValue( UNISTRING("DesktopAsParent"), uno::Any( true ) ); in createDialog()
1168 xPropSet->setPropertyValue( UNISTRING("PositionX"), uno::Any(sal_Int32( 100 )) ); in createDialog()
1169 xPropSet->setPropertyValue( UNISTRING("PositionY"), uno::Any(sal_Int32( 100 )) ); in createDialog()
1170 xPropSet->setPropertyValue( UNISTRING("Width"), uno::Any(sal_Int32( DIALOG_WIDTH )) ); in createDialog()
1171 xPropSet->setPropertyValue( UNISTRING("Height"), uno::Any(sal_Int32( DIALOG_HEIGHT )) ); in createDialog()
1172 …xPropSet->setPropertyValue( UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OU… in createDialog()
1177 setProperty( aProps, 0, UNISTRING("Label"), uno::Any( msStatusFL ) ); in createDialog()
1179 insertControlModel( xControlModel, FIXED_TEXT_MODEL, UNISTRING( "fixedLineStatus" ), in createDialog()
1186 insertControlModel( xControlModel, GROUP_BOX_MODEL, UNISTRING( "StatusBox" ), in createDialog()
1193 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( substVariables(msChecking) ) ); in createDialog()
1194 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1195 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1196 setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) ); in createDialog()
1197 setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1198 setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) ); in createDialog()
1199 …setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1211 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( msPercent ) ); in createDialog()
1212 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1213 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1214 setProperty( aProps, 3, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1226 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1227 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1228 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1229 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msPauseBtn ) ); in createDialog()
1230 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1239 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1240 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1241 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1242 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msResumeBtn ) ); in createDialog()
1243 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1255 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1256 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1257 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1258 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msCancelBtn ) ); in createDialog()
1259 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1271 setProperty( aProps, 0, UNISTRING("Label"), uno::Any( msDescription ) ); in createDialog()
1273 insertControlModel( xControlModel, FIXED_TEXT_MODEL, UNISTRING( "fixedTextDescription" ), in createDialog()
1280 insertControlModel( xControlModel, GROUP_BOX_MODEL, UNISTRING( "DescriptionBox" ), in createDialog()
1287 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in createDialog()
1288 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1289 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1290 setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) ); in createDialog()
1291 setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1292 setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) ); in createDialog()
1293 …setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1305 setProperty( aProps, 0, UNISTRING("Orientation"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1307 insertControlModel( xControlModel, FIXED_LINE_MODEL, UNISTRING("fixedLine"), in createDialog()
1314 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1315 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1318 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1322 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msClose ) ); in createDialog()
1323 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1332 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1333 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1334 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1335 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msInstall ) ); in createDialog()
1336 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1345 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1346 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1347 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1348 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msDownload ) ); in createDialog()
1349 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1358 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1359 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1360 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_HELP)… in createDialog()
1369 …insertControlModel( xControlModel, UNISTRING("com.sun.star.awt.SpinningProgressControlModel"), CTR… in createDialog()
1375 setProperty( aProps, 0, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1376 setProperty( aProps, 1, UNISTRING("ProgressValue"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1377 setProperty( aProps, 2, UNISTRING("ProgressValueMax"), uno::Any( sal_Int32( 100 ) ) ); in createDialog()
1378 setProperty( aProps, 3, UNISTRING("ProgressValueMin"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1380 …insertControlModel( xControlModel, UNISTRING("com.sun.star.awt.UnoControlProgressBarModel"), CTRL_… in createDialog()
1386 xFactory->createInstanceWithContext( UNISTRING("com.sun.star.awt.UnoControlDialog"), mxContext), in createDialog()