Lines Matching refs:UNISTRING

70 #define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s))  macro
72 #define COMMAND_CLOSE UNISTRING("close")
74 #define CTRL_THROBBER UNISTRING("throbber")
75 #define CTRL_PROGRESS UNISTRING("progress")
77 #define TEXT_STATUS UNISTRING("text_status")
78 #define TEXT_PERCENT UNISTRING("text_percent")
79 #define TEXT_DESCRIPTION UNISTRING("text_description")
81 #define FIXED_LINE_MODEL UNISTRING("com.sun.star.awt.UnoControlFixedLineModel")
82 #define FIXED_TEXT_MODEL UNISTRING("com.sun.star.awt.UnoControlFixedTextModel")
83 #define EDIT_FIELD_MODEL UNISTRING("com.sun.star.awt.UnoControlEditModel")
84 #define BUTTON_MODEL UNISTRING("com.sun.star.awt.UnoControlButtonModel")
85 #define GROUP_BOX_MODEL UNISTRING("com.sun.star.awt.UnoControlGroupBoxModel")
138 setControlProperty( msButtonIDs[i], UNISTRING("Enabled"), uno::Any( bEnableControl ) ); in enableControls()
155 aLabel += UNISTRING( "..." ); in setDownloadBtnLabel()
157 setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("Label"), uno::Any( aLabel ) ); in setDownloadBtnLabel()
158 …setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_… in setDownloadBtnLabel()
244 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( nPercent ) ); in setProgress()
245 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in setProgress()
252 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rErrorMsg ) ); in setErrorMessage()
440 … throw uno::RuntimeException( UNISTRING( "UpdateHandler:: empty component context" ), *this ); in handle()
445 …throw uno::RuntimeException( UNISTRING( "UpdateHandler: unable to obtain service manager from comp… in handle()
449 UNISTRING( "com.sun.star.task.InteractionHandler" ), in handle()
453 …throw uno::RuntimeException( UNISTRING( "UpdateHandler:: could not get default interaction handler… in handle()
460 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( aErrorText.Value ) ); in handle()
492 UNISTRING("The office cannot be closed while displaying a warning!"), in queryTermination()
537 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msChecking) ) ); in updateState()
538 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in updateState()
544 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msCheckingError) ) ); in updateState()
550 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) ); in updateState()
554 sText += UNISTRING("\n\n") + msDescriptionMsg; in updateState()
555 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) ); in updateState()
563 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msUpdFound) ) ); in updateState()
567 sText += UNISTRING("\n\n") + msDescriptionMsg; in updateState()
568 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( sText ) ); in updateState()
577 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msNoUpdFound) ) ); in updateState()
578 setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in updateState()
584 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloading) ) ); in updateState()
585 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in updateState()
586 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadWarnin… in updateState()
587 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( mnPercent ) ); in updateState()
593 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloadPause) ) ); in updateState()
594 … setControlProperty( TEXT_PERCENT, UNISTRING("Text"), uno::Any( substVariables(msPercent) ) ); in updateState()
595 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadWarnin… in updateState()
596 setControlProperty( CTRL_PROGRESS, UNISTRING("ProgressValue"), uno::Any( mnPercent ) ); in updateState()
602 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msDownloadError) ) ); in updateState()
608 … setControlProperty( TEXT_STATUS, UNISTRING("Text"), uno::Any( substVariables(msReady2Install) ) ); in updateState()
609 …setControlProperty( TEXT_DESCRIPTION, UNISTRING("Text"), uno::Any( substVariables(msDownloadDescr)… in updateState()
640 rtl::OUString sKey = UNISTRING( "string:" ) + rtl::OUString::valueOf( nResourceId ); in loadString()
649 sString = UNISTRING("Missing ") + sKey; in loadString()
659 searchAndReplaceAll( sString, UNISTRING( "%NEXTVERSION" ), msNextVersion ); in substVariables()
660 searchAndReplaceAll( sString, UNISTRING( "%DOWNLOAD_PATH" ), msDownloadPath ); in substVariables()
661 searchAndReplaceAll( sString, UNISTRING( "%FILE_NAME" ), msDownloadFile ); in substVariables()
662 searchAndReplaceAll( sString, UNISTRING( "%PERCENT" ), rtl::OUString::valueOf( mnPercent ) ); in substVariables()
679 UNISTRING( "/singletons/com.sun.star.resource.OfficeResourceLoader" ) ) ); in loadStrings()
693 xBundle = xLoader->loadBundle_Default( UNISTRING( "upd" ) ); in loadStrings()
749 msButtonIDs[ i ] = UNISTRING("BUTTON_") + rtl::OUString::valueOf( (sal_Int32) i ); in loadStrings()
845 xPropSet->setPropertyValue( UNISTRING("Name"), uno::Any (rControlName) ); in insertControlModel()
846 xPropSet->setPropertyValue( UNISTRING("PositionX"), uno::Any (rPosSize.X) ); in insertControlModel()
847 xPropSet->setPropertyValue( UNISTRING("PositionY"), uno::Any (rPosSize.Y) ); in insertControlModel()
848 xPropSet->setPropertyValue( UNISTRING("Height"), uno::Any (rPosSize.Height) ); in insertControlModel()
849 xPropSet->setPropertyValue( UNISTRING("Width"), uno::Any (rPosSize.Width) ); in insertControlModel()
860 … throw uno::RuntimeException( UNISTRING( "getProductName: empty component context" ), *this ); in setFullVersion()
865 …throw uno::RuntimeException( UNISTRING( "getProductName: unable to obtain service manager from com… in setFullVersion()
868 …xServiceManager->createInstanceWithContext( UNISTRING( "com.sun.star.configuration.ConfigurationPr… in setFullVersion()
872 aProperty.Name = UNISTRING( "nodepath" ); in setFullVersion()
873 aProperty.Value = uno::makeAny( UNISTRING("org.openoffice.Setup/Product") ); in setFullVersion()
879 …xConfigAccess = xConfigurationProvider->createInstanceWithArguments( UNISTRING("com.sun.star.confi… in setFullVersion()
887 xNameAccess->getByName(UNISTRING("ooSetupVersion")) >>= aProductVersion; in setFullVersion()
893 …rtl::OUString aPackageVersion = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":… in setFullVersion()
906 aVersionMinor = UNISTRING( "0" ); in setFullVersion()
908 aVersionMicro = UNISTRING( "0" ); in setFullVersion()
913 aProductFullVersion += UNISTRING( "." ); in setFullVersion()
922 aProductFullVersion += UNISTRING( "." ); in setFullVersion()
955 aDescriptor.WindowServiceName = UNISTRING( "warningbox" ); in showWarning()
1004 aDescriptor.WindowServiceName = UNISTRING( "warningbox" ); in showWarning()
1024 uno::Any aValue = xMsgBoxCtrl->getProperty( UNISTRING("DefaultButton") ); in showWarning()
1027 xMsgBoxCtrl->setProperty( UNISTRING("Text"), uno::Any( rBtnText_1 ) ); in showWarning()
1029 xMsgBoxCtrl->setProperty( UNISTRING("Text"), uno::Any( rBtnText_2 ) ); in showWarning()
1056 searchAndReplaceAll( aMsg, UNISTRING( "%FILENAME" ), rFileName ); in showOverwriteWarning()
1057 searchAndReplaceAll( aMsg, UNISTRING( "%DOWNLOAD_PATH" ), msDownloadPath ); in showOverwriteWarning()
1123 …setControlProperty( TEXT_STATUS, UNISTRING("Width"), uno::Any( sal_Int32(EDIT_WIDTH - BUTTON_WIDTH… in showControls()
1125 …setControlProperty( TEXT_STATUS, UNISTRING("Width"), uno::Any( sal_Int32(EDIT_WIDTH - 2*TEXT_OFFSE… in showControls()
1129 setControlProperty( TEXT_STATUS, UNISTRING("Height"), uno::Any( sal_Int32(LABEL_HEIGHT) ) ); in showControls()
1131 …setControlProperty( TEXT_STATUS, UNISTRING("Height"), uno::Any( sal_Int32(BOX_HEIGHT1 - 4*TEXT_OFF… in showControls()
1148 … xServiceManager->createInstanceWithContext( UNISTRING( "com.sun.star.frame.Desktop"), mxContext ), in createDialog()
1158UNISTRING("com.sun.star.awt.UnoControlDialogModel"), in createDialog()
1164 xPropSet->setPropertyValue( UNISTRING("Title"), uno::Any( msDlgTitle ) ); in createDialog()
1165 xPropSet->setPropertyValue( UNISTRING("Closeable"), uno::Any( true ) ); in createDialog()
1166 xPropSet->setPropertyValue( UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1167 xPropSet->setPropertyValue( UNISTRING("Moveable"), uno::Any( true ) ); in createDialog()
1168 xPropSet->setPropertyValue( UNISTRING("Sizeable"), uno::Any( true ) ); in createDialog()
1169 xPropSet->setPropertyValue( UNISTRING("DesktopAsParent"), uno::Any( true ) ); in createDialog()
1170 xPropSet->setPropertyValue( UNISTRING("PositionX"), uno::Any(sal_Int32( 100 )) ); in createDialog()
1171 xPropSet->setPropertyValue( UNISTRING("PositionY"), uno::Any(sal_Int32( 100 )) ); in createDialog()
1172 xPropSet->setPropertyValue( UNISTRING("Width"), uno::Any(sal_Int32( DIALOG_WIDTH )) ); in createDialog()
1173 xPropSet->setPropertyValue( UNISTRING("Height"), uno::Any(sal_Int32( DIALOG_HEIGHT )) ); in createDialog()
1174 …xPropSet->setPropertyValue( UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OU… in createDialog()
1179 setProperty( aProps, 0, UNISTRING("Label"), uno::Any( msStatusFL ) ); in createDialog()
1181 insertControlModel( xControlModel, FIXED_TEXT_MODEL, UNISTRING( "fixedLineStatus" ), in createDialog()
1188 insertControlModel( xControlModel, GROUP_BOX_MODEL, UNISTRING( "StatusBox" ), in createDialog()
1195 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( substVariables(msChecking) ) ); in createDialog()
1196 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1197 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1198 setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) ); in createDialog()
1199 setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1200 setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) ); in createDialog()
1201 …setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1213 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( msPercent ) ); in createDialog()
1214 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1215 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1216 setProperty( aProps, 3, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1228 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1229 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1230 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1231 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msPauseBtn ) ); in createDialog()
1232 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1241 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1242 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1243 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1244 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msResumeBtn ) ); in createDialog()
1245 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1257 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1258 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1259 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1260 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msCancelBtn ) ); in createDialog()
1261 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1273 setProperty( aProps, 0, UNISTRING("Label"), uno::Any( msDescription ) ); in createDialog()
1275 insertControlModel( xControlModel, FIXED_TEXT_MODEL, UNISTRING( "fixedTextDescription" ), in createDialog()
1282 insertControlModel( xControlModel, GROUP_BOX_MODEL, UNISTRING( "DescriptionBox" ), in createDialog()
1289 setProperty( aProps, 0, UNISTRING("Text"), uno::Any( rtl::OUString() ) ); in createDialog()
1290 setProperty( aProps, 1, UNISTRING("Border"), uno::Any( sal_Int16( 0 ) ) ); in createDialog()
1291 setProperty( aProps, 2, UNISTRING("PaintTransparent"), uno::Any( true ) ); in createDialog()
1292 setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) ); in createDialog()
1293 setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) ); in createDialog()
1294 setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) ); in createDialog()
1295 …setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1307 setProperty( aProps, 0, UNISTRING("Orientation"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1309 insertControlModel( xControlModel, FIXED_LINE_MODEL, UNISTRING("fixedLine"), in createDialog()
1316 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1317 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1320 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1324 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msClose ) ); in createDialog()
1325 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1334 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1335 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1336 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1337 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msInstall ) ); in createDialog()
1338 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1347 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1348 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1349 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STAND… in createDialog()
1350 setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msDownload ) ); in createDialog()
1351 …setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUStri… in createDialog()
1360 setProperty( aProps, 0, UNISTRING("DefaultButton"), uno::Any( false ) ); in createDialog()
1361 setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1362 …setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_HELP)… in createDialog()
1371 …insertControlModel( xControlModel, UNISTRING("com.sun.star.awt.SpinningProgressControlModel"), CTR… in createDialog()
1377 setProperty( aProps, 0, UNISTRING("Enabled"), uno::Any( true ) ); in createDialog()
1378 setProperty( aProps, 1, UNISTRING("ProgressValue"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1379 setProperty( aProps, 2, UNISTRING("ProgressValueMax"), uno::Any( sal_Int32( 100 ) ) ); in createDialog()
1380 setProperty( aProps, 3, UNISTRING("ProgressValueMin"), uno::Any( sal_Int32( 0 ) ) ); in createDialog()
1382 …insertControlModel( xControlModel, UNISTRING("com.sun.star.awt.UnoControlProgressBarModel"), CTRL_… in createDialog()
1388 … xFactory->createInstanceWithContext( UNISTRING("com.sun.star.awt.UnoControlDialog"), mxContext), in createDialog()