1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 package testlib.gui; 23 24 import java.io.File; 25 26 import org.openoffice.test.OpenOffice; 27 import org.openoffice.test.vcl.IDList; 28 import org.openoffice.test.vcl.client.Constant; 29 import org.openoffice.test.vcl.widgets.VclApp; 30 import org.openoffice.test.vcl.widgets.VclButton; 31 import org.openoffice.test.vcl.widgets.VclComboBox; 32 import org.openoffice.test.vcl.widgets.VclControl; 33 import org.openoffice.test.vcl.widgets.VclDialog; 34 import org.openoffice.test.vcl.widgets.VclDockingWin; 35 import org.openoffice.test.vcl.widgets.VclEditBox; 36 import org.openoffice.test.vcl.widgets.VclField; 37 import org.openoffice.test.vcl.widgets.VclListBox; 38 import org.openoffice.test.vcl.widgets.VclMenuItem; 39 import org.openoffice.test.vcl.widgets.VclMessageBox; 40 import org.openoffice.test.vcl.widgets.VclStatusBar; 41 import org.openoffice.test.vcl.widgets.VclTabControl; 42 import org.openoffice.test.vcl.widgets.VclTabPage; 43 import org.openoffice.test.vcl.widgets.VclToolBox; 44 import org.openoffice.test.vcl.widgets.VclTreeListBox; 45 import org.openoffice.test.vcl.widgets.VclWindow; 46 47 /** 48 * Define all UI controls in the class. One control should be defined once and 49 * only once. 50 * 51 */ 52 public class UIMap { 53 private static IDList idList = new IDList(new File("./hid")); 54 55 public static final OpenOffice aoo = new OpenOffice(); 56 57 static { 58 aoo.setAutomationPort(OpenOffice.DEFAULT_AUTOMATION_PORT); 59 aoo.addArgs("-nofirststartwizard", "-norestore", "-quickstart=no"); 60 aoo.addRegistryModifications("<item oor:path=\"/org.openoffice.Office.Common/Misc\"><prop oor:name=\"UseSystemFileDialog\" oor:op=\"fuse\"><value>false</value></prop></item>", 61 "<item oor:path=\"/org.openoffice.Office.Common/Security/Scripting\"><prop oor:name=\"MacroSecurityLevel\" oor:op=\"fuse\"><value>0</value></prop></item>"); 62 } 63 64 public static final VclApp app = new VclApp(aoo); 65 editbox(String id)66 public static VclEditBox editbox(String id) { 67 return new VclEditBox(app, idList.getId(id)); 68 } 69 control(String id)70 public static VclControl control(String id) { 71 return new VclControl(app, idList.getId(id)); 72 } 73 window(String id)74 public static VclWindow window(String id) { 75 return new VclWindow(app, idList.getId(id)); 76 } 77 dialog(String id)78 public static VclDialog dialog(String id) { 79 return new VclDialog(app, idList.getId(id)); 80 } 81 tabpage(String id)82 public static VclTabPage tabpage(String id) { 83 return new VclTabPage(app, idList.getId(id)); 84 } 85 listbox(String id)86 public static VclListBox listbox(String id) { 87 return new VclListBox(app, idList.getId(id)); 88 } 89 combobox(String id)90 public static VclComboBox combobox(String id) { 91 return new VclComboBox(app, idList.getId(id)); 92 } 93 toolbox(String id)94 public static VclToolBox toolbox(String id) { 95 return new VclToolBox(app, idList.getId(id)); 96 } 97 button(String id)98 public static VclButton button(String id) { 99 return new VclButton(app, idList.getId(id)); 100 } 101 msgbox(String text)102 public static VclMessageBox msgbox(String text) { 103 return new VclMessageBox(app, idList.getId("UID_ACTIVE"), text); 104 } 105 menuItem(String text)106 public static VclMenuItem menuItem(String text) { 107 return new VclMenuItem(app, text); 108 } 109 statusbar(String id)110 public static VclStatusBar statusbar(String id) { 111 return new VclStatusBar(app, idList.getId(id)); 112 } 113 field(String id)114 public static VclField field(String id) { 115 return new VclField(app, idList.getId(id)); 116 } 117 dockingwin(String id)118 public static VclDockingWin dockingwin(String id) { 119 return new VclDockingWin(app, idList.getId(id)); 120 } 121 tree(String id)122 public static VclTreeListBox tree(String id) { 123 return new VclTreeListBox(app, idList.getId(id)); 124 } 125 126 public static final VclMessageBox activeMsgBox = new VclMessageBox(app, Constant.UID_ACTIVE); 127 public static final VclMessageBox msgBox_AdditionalRowsNotSaved = new VclMessageBox(app, Constant.UID_ACTIVE, "Additional rows were not saved."); 128 public static final VclTabControl activeTabControl = new VclTabControl(app, Constant.UID_ACTIVE); 129 public static final VclWindow writer = window("SW_HID_EDIT_WIN"); 130 public static final VclWindow startcenter = window("FWK_HID_BACKINGWINDOW"); 131 public static final VclWindow calc = window("SC_HID_SC_WIN_GRIDWIN"); 132 public static final VclWindow impress = window("SD_HID_SDDRAWVIEWSHELL"); 133 public static final VclWindow draw = window("SD_HID_SDGRAPHICVIEWSHELL"); 134 public static final VclDialog filePicker = dialog("SVT_HID_EXPLORERDLG_FILE"); 135 public static final VclListBox filePickerFileType = listbox("fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE"); 136 public static final VclButton filePickerOpen = button("fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN"); 137 public static final VclComboBox filePickerPath = combobox("SVT_HID_FILEDLG_AUTOCOMPLETEBOX"); 138 public static final VclDialog fileSave = dialog("SVT_HID_FILESAVE_DIALOG"); 139 public static final VclListBox fileSaveFileType = listbox("SVT_HID_FILESAVE_FILETYPE"); 140 public static final VclButton fileSaveSave = button("SVT_HID_FILESAVE_DOSAVE"); 141 public static final VclComboBox fileSavePath = combobox("SVT_HID_FILESAVE_FILEURL"); 142 public static final VclButton scInputBarFunctionWizard = button("SC_HID_INSWIN_CALC"); 143 public static final VclButton scInputBarSum = button("SC_HID_INSWIN_SUMME"); 144 public static final VclButton scInputBarFunction = button("SC_HID_INSWIN_FUNC"); 145 public static final VclToolBox scInputBar = toolbox("SC_HID_SC_INPUTWIN"); 146 public static final VclComboBox scInputBarPosition = combobox("SC_HID_INSWIN_POS"); 147 public static final VclWindow scInputBarInput = window("SC_HID_INSWIN_INPUT"); 148 public static final VclTabPage effectsPage = tabpage("CUI_HID_SVXPAGE_CHAR_EFFECTS"); 149 public static final VclListBox effectsPageColor = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_FONTCOLOR"); 150 public static final VclDialog alienFormatDlg = dialog("SFX2_HID_WARNING_ALIENFORMAT"); 151 public static final VclTabPage sortPage = tabpage("SC_HID_SCPAGE_SORT_FIELDS"); 152 public static final VclListBox sortPageBy1 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1"); 153 public static final VclButton sortPageAscending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1"); 154 public static final VclButton sortPageDescending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1"); 155 public static final VclListBox sortPageBy2 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2"); 156 public static final VclButton sortPageAscending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2"); 157 public static final VclButton sortPageDescending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2"); 158 public static final VclListBox sortPageBy3 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3"); 159 public static final VclButton sortPageAscending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3"); 160 public static final VclButton sortPageDescending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3"); 161 public static final VclTabPage pdfGeneralPage = tabpage("HID_FILTER_PDF_OPTIONS"); 162 public static final VclButton startCenterCalcButton = button(".HelpId:StartCenter:CalcButton"); 163 public static final VclButton startCenterImpressButton = button(".HelpId:StartCenter:ImpressButton"); 164 public static final VclButton startCenterWriterButton = button(".HelpId:StartCenter:WriterButton"); 165 public static final VclButton startCenterOpenButton = button(".HelpId:StartCenter:OpenButton"); 166 public static final VclButton startCenterDrawButton = button(".HelpId:StartCenter:DrawButton"); 167 public static final VclButton startCenterDBButton = button(".HelpId:StartCenter:DBButton"); 168 public static final VclButton startCenterMathButton = button(".HelpId:StartCenter:MathButton"); 169 public static final VclButton startCenterTemplateButton = button(".HelpId:StartCenter:TemplateButton"); 170 public static final VclButton startCenterTemplateRepository = button(".HelpId:StartCenter:TemplateRepository"); 171 public static final VclButton startCenterExtensions = button(".HelpId:StartCenter:Extensions"); 172 public static final VclButton startCenterInfo = button(".HelpId:StartCenter:Info"); 173 public static final VclWindow slideShow = window("SD_HID_SD_WIN_PRESENTATION"); 174 public static final VclDialog findDlg = dialog(".uno:SearchDialog"); 175 public static final VclComboBox findDlgFor = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_SEARCH"); 176 public static final VclComboBox findDlgReplaceWith = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_REPLACE"); 177 public static final VclButton findDlgFind = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH"); 178 public static final VclButton findDlgFindAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH_ALL"); 179 public static final VclButton findDlgReplace = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE"); 180 public static final VclButton findDlgReplaceAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE_ALL"); 181 public static final VclButton findDlgMatchCase = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_MATCH_CASE"); 182 public static final VclButton findDlgWholeWord = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_WHOLE_WORDS"); 183 public static final VclButton findDlgMore = button("svx:MoreButton:RID_SVXDLG_SEARCH:BTN_MORE"); 184 public static final VclListBox findDlgCalcSearchIn = listbox("svx:ListBox:RID_SVXDLG_SEARCH:LB_CALC_SEARCHIN"); 185 public static final VclWindow chart = window("CHART2_HID_SCH_WIN_DOCUMENT"); 186 public static final VclDialog chartWizard = dialog("CHART2_HID_SCH_CHART_AUTO_FORMAT"); 187 public static final VclDialog filePrintDlg = dialog(".HelpID:vcl:PrintDialog:Dialog"); 188 public static final VclWindow impressOutline = window("SD_HID_SDOUTLINEVIEWSHELL"); 189 public static final VclWindow impressSlideSorter = window("SD_HID_SD_WIN_DOCUMENT"); 190 public static final VclWindow impressHandout = window(".uno:HandoutMode"); 191 public static final VclDialog insertTable = dialog("cui:ModalDialog:RID_SVX_NEWTABLE_DLG"); 192 public static final VclToolBox tableToolbar = toolbox(".HelpId:tableobjectbar"); 193 public static final VclStatusBar statusBar = statusbar("FWK_HID_STATUSBAR"); 194 public static final VclDialog writerInsertTable = dialog(".uno:InsertTable"); 195 public static final VclWindow mathPreviewWindow = window("STARMATH_HID_SMA_WIN_DOCUMENT"); 196 public static final VclWindow mathEditWindow = window("STARMATH_HID_SMA_COMMAND_WIN_EDIT"); 197 public static final VclControl mathElementsWindow = control("STARMATH_HID_SMA_OPERATOR_WIN"); 198 public static final VclEditBox scFunctionWizardDlgMultiLineEdit = editbox("FORMULA_HID_FORMULA_FAP_FORMULA"); 199 public static final VclDialog scFunctionWizardDlg = dialog("FORMULA_HID_FORMULADLG_FORMULA"); 200 public static final VclListBox scFunctionWizardDlgFunctionList = listbox("FORMULA_HID_FORMULA_LB_FUNCTION"); 201 public static final VclEditBox scFunctionWizardDlgEdit1 = editbox("FORMULA_HID_FORMULA_FAP_EDIT1"); 202 public static final VclButton mathCatalogButton = button(".uno:SymbolCatalogue"); 203 public static final VclDialog mathSymbolsDlg = dialog("starmath:ModalDialog:RID_SYMBOLDIALOG"); 204 public static final VclListBox mathSymbolsDlgListbox = listbox("starmath:ListBox:RID_SYMBOLDIALOG:1"); 205 public static final VclButton mathSymbolsDlgEditButton = button("starmath:PushButton:RID_SYMBOLDIALOG:1"); 206 public static final VclButton mathSymbolsDlgInsertButton = button("starmath:PushButton:RID_SYMBOLDIALOG:2"); 207 public static final VclButton mathSymbolsDlgCloseButton = button("starmath:PushButton:RID_SYMBOLDIALOG:3"); 208 public static final VclDialog mathEditSymbolsDlg = dialog("starmath:ModalDialog:RID_SYMDEFINEDIALOG"); 209 public static final VclButton mathEditSymbolsDlgAdd = button("starmath:PushButton:RID_SYMDEFINEDIALOG:1"); 210 public static final VclButton mathEditSymbolsDlgModify = button("starmath:PushButton:RID_SYMDEFINEDIALOG:2"); 211 public static final VclButton mathEditSymbolsDlgDelete = button("starmath:PushButton:RID_SYMDEFINEDIALOG:3"); 212 public static final VclControl mathEditSymbolsDlgViewControl = control("STARMATH_HID_SMA_CONTROL_FONTCHAR_VIEW"); 213 public static final VclComboBox mathEditSymbolsDlgSymbol = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:4"); 214 public static final VclListBox mathEditSymbolsDlgFont = listbox("starmath:ListBox:RID_SYMDEFINEDIALOG:1"); 215 public static final VclComboBox mathEditSymbolsDlgTypeface = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:3"); 216 public static final VclDialog wizardsAgendaDialog = dialog("WIZARDS_HID_AGWIZ"); 217 public static final VclButton wizardsAgendaDialogFinishButton = button("WIZARDS_HID_AGWIZ_CREATE"); 218 public static final VclTabPage macroDialogsPage = tabpage("basctl:TabPage:RID_TP_DLGS"); 219 public static final VclDialog aboutDialog = dialog(".uno:About"); 220 public static final VclButton mathElementsRelations = button("STARMATH_HID_SMA_RELATIONS_CAT"); 221 public static final VclButton mathElementsRelationsNotEqual = button("STARMATH_HID_SMA_XNEQY"); 222 public static final VclButton mathElementsUnaryBinary = button("STARMATH_HID_SMA_UNBINOPS_CAT"); 223 public static final VclButton mathElementsUnaryBinaryPlus = button("STARMATH_HID_SMA_PLUSX"); 224 public static final VclControl macroWarningOK = control("Ok"); 225 public static final VclTreeListBox optionsDlgList = tree("CUI_HID_OFADLG_TREELISTBOX"); 226 // public static final VclListBox OptionsDlgList = 227 // listbox("CUI_HID_OFADLG_TREELISTBOX"); 228 public static final VclDialog optionsDlg = dialog("CUI_HID_OFADLG_OPTIONS_TREE"); 229 public static final VclButton optionsDlgMacroSecurityButton = button("cui:PushButton:RID_SVXPAGE_INET_SECURITY:PB_SEC_MACROSEC"); 230 public static final VclControl macroSecurityDlg = control("XMLSECURITY_HID_XMLSEC_TP_SECLEVEL"); 231 public static final VclButton macroSecurityDlgLow = button("xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_LOW"); 232 public static final VclWindow basicEditWindow = window("BASCTL_HID_BASICIDE_EDITORWINDOW"); 233 public static final VclDialog writerConvertTableToTextDlg = dialog(".uno:ConvertTableText"); 234 public static final VclWindow writerNavigator = window("SW_HID_NAVIGATION_PI"); 235 public static final VclListBox writerNavigatorList = listbox("SW_HID_NAVIGATOR_TREELIST"); 236 // public static final VclControl writer_FrameDlg = 237 // control("SW_HID_FRM_STD"); 238 public static final VclDialog writerFrameDlg = dialog("SW_HID_FRM_STD"); 239 public static final VclField scNumberOfColumnsRowsToInsert = field("1502452023"); 240 public static final VclDialog scInsertColumnsRowsdialog = dialog("26166"); 241 public static final VclButton scInsertColumnsRowsAfterSelectColumn = button("1502446395"); 242 public static final VclButton wizardNextButton = button("SVT_HID_WIZARD_NEXT"); 243 public static final VclTabPage chartRangeChooseTabPage = tabpage("chart2:TabPage:TP_RANGECHOOSER"); 244 public static final VclButton wizardBackButton = button("SVT_HID_WIZARD_PREVIOUS"); 245 public static final VclTabPage chartTypeChooseTabPage = tabpage("CHART2_HID_DIAGRAM_TYPE"); 246 public static final VclControl chartWizardRoadMap = control("CHART2_HID_SCH_WIZARD_ROADMAP"); 247 public static final VclButton dataPilotTableToExistPlaceRadioButton = button("2569093658"); 248 public static final VclEditBox dataPilotTableToExistPlaceEditBox = editbox("2569095195"); 249 public static final VclDialog createDataPilotTableDialog = dialog("26151"); 250 public static final VclControl dataPilotFieldSelect = control("59030"); 251 public static final VclButton dataPilotAutomaticallyUpdateCheckBox = button("3643262003"); 252 public static final VclButton dataPilotTableUpdateButton = button("3643265586"); 253 public static final VclButton sdDateAndTimeFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME"); 254 public static final VclButton sdFixedDateAndTimeFooterOnSlide = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_FIXED"); 255 public static final VclEditBox sdFixedDateAndTimeOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_DATETIME_FIXED"); 256 public static final VclButton sdFooterTextOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_FOOTER"); 257 public static final VclEditBox sdFooterTextOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_FOOTER_FIXED"); 258 public static final VclButton sdSlideNumAsFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_SLIDENUMBER"); 259 public static final VclButton sdApplyToAllButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLYTOALL"); 260 public static final VclControl sdSlidelistInNaviagtor = control("HID_SD_NAVIGATOR_TLB"); 261 public static final VclControl sdHeaderAndFooterDialog = control("HID_SD_TABPAGE_HEADERFOOTER_SLIDE"); 262 public static final VclButton sdApplyButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLY"); 263 public static final VclButton sdInsertPageButtonOnToolbar = button(".uno:InsertPage"); 264 public static final VclControl dataPilotPaneRowArea = control("59036"); 265 public static final VclEditBox dataPilotFieldDisplayNameEditBox = editbox("971868166"); 266 public static final VclButton dataPilotFieldShowItemWithoutDataCheckBox = button("971867238"); 267 public static final VclTabPage dataPilotFieldOptionFieldTabPageDialog = tabpage("26550"); 268 public static final VclTabPage dataPilotFieldOptionSubTotalsTabPageDialog = tabpage("25760"); 269 public static final VclTabPage dataPilotFieldOptionSortTabPageDialog = tabpage("25763"); 270 public static final VclButton dataPilotFieldOptionSubTotalsManuallyRadioButton = button("958956137"); 271 public static final VclButton dataPilotFieldOptionSortDescendingRadioButton = button("958972620"); 272 public static final VclControl dataPiloPaneDataArea = control("59038"); 273 public static final VclControl dataPilotColumnArea = control("59034"); 274 public static final VclButton sdHeaderTextOnNotes = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_HEADER"); 275 public static final VclEditBox sdHeaderTextOnNotesInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_HEADER_FIXED"); 276 public static final VclTabPage sdHeaderAndFooterOnNotesTabPage = tabpage("SD_HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT"); 277 public static final VclButton sdFooterNotShowOn1stSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_NOTONTITLE"); 278 public static final VclTabPage sortOptionsPage = tabpage("SC_HID_SCPAGE_SORT_OPTIONS"); 279 public static final VclButton sortOptionsPageCaseSensitive = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE"); 280 public static final VclButton sortOptionsPageCopyResultTo = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT"); 281 public static final VclEditBox sortOptionsPageCopyResultToEdit = editbox("sc:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA"); 282 public static final VclDialog defineNamesDlg = dialog(".uno:DefineName"); 283 public static final VclEditBox defineNamesDlgNameEdit = editbox("sc:Edit:RID_SCDLG_NAMES:ED_ASSIGN"); 284 public static final VclListBox sortOptionsPageCopyResultToCellRange = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA"); 285 public static final VclWindow spreadSheetCells = window("58818"); 286 public static final VclButton dataPilotFieldOptionSubTotalsNeverRadioButton = button("958956135"); 287 public static final VclButton dataPilotFieldOptionSortAscendingRadioButton = button("958972619"); 288 public static final VclControl dataPilotPanePageArea = control("59032"); 289 public static final VclButton onlyDisplayTopNItemCheckBox = button("1495745540"); 290 public static final VclField numberOfItemShowInTopNEditBox = field("1495750661"); 291 public static final VclDialog fieldTopNSettingDialog = dialog("59039"); 292 public static final VclButton sdAutoUpdateTimeFooter = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_AUTOMATIC"); 293 public static final VclListBox sdAutoUpdateTimeFooterType = listbox("sd:ListBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME_FORMAT"); 294 public static final VclButton dataPilotButton = button("59270"); 295 public static final VclDockingWin dataPilotPanel = dockingwin("3643260928"); 296 public static final VclListBox scSubTotalsGroupByListBox = listbox("SC_HID_SC_SUBT_GROUP"); 297 public static final VclTreeListBox scCalcSubTotalForColumns = tree("SC_HID_SC_SUBT_COLS"); 298 public static final VclTabPage scSubTotalsGroup1Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP1"); 299 public static final VclButton scSubtotalsInsertPageBreakCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_PAGEBREAK"); 300 public static final VclButton scSubtotalsCaseSensitiveCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_CASE"); 301 public static final VclButton scSubtotalsPreSortToGroupCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_SORT"); 302 public static final VclButton scSubtotalSortAscendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_ASCENDING"); 303 public static final VclButton scSubtotalSortDescendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_DESCENDING"); 304 public static final VclButton scSubtotalsIncludeFormatsCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_FORMATS"); 305 public static final VclButton scSubtotalsCustomSortOrderCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_USERDEF"); 306 public static final VclListBox scSubtotalsCustomSortListBox = listbox("sc:ListBox:RID_SCPAGE_SUBT_OPTIONS:LB_USERDEF"); 307 public static final VclListBox scValidityCriteriaAllowList = listbox("sc:ListBox:TP_VALIDATION_VALUES:LB_ALLOW"); 308 public static final VclTabPage scValidityCriteriaTabpage = tabpage("sc:TabPage:TP_VALIDATION_VALUES"); 309 public static final VclButton scValidityAllowBlankCells = button("sc:CheckBox:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS"); 310 public static final VclButton scValidityShowSelectionList = button("sc:CheckBox:TP_VALIDATION_VALUES:CB_SHOWLIST"); 311 public static final VclButton scValiditySortEntriesAscending = button("sc:CheckBox:TP_VALIDATION_VALUES:CB_SORTLIST"); 312 public static final VclButton scValiditySourcePicker = button("sc:ImageButton:TP_VALIDATION_VALUES:RB_VALIDITY_REF"); 313 public static final VclTabPage scValidityErrorAlertTabPage = tabpage("sc:TabPage:TP_VALIDATION_ERROR"); 314 public static final VclButton scValidityShowErrorMessage = button("sc:TriStateBox:TP_VALIDATION_ERROR:TSB_SHOW"); 315 public static final VclListBox scValidityErrorAlertActionList = listbox("sc:ListBox:TP_VALIDATION_ERROR:LB_ACTION"); 316 public static final VclEditBox scValidityErrorMessageTitle = editbox("sc:Edit:TP_VALIDATION_ERROR:EDT_TITLE"); 317 public static final VclEditBox scValidityErrorMessage = editbox("sc:MultiLineEdit:TP_VALIDATION_ERROR:EDT_ERROR"); 318 public static final VclButton scValidityErrorBrowseButton = button("sc:PushButton:TP_VALIDATION_ERROR:BTN_SEARCH"); 319 public static final VclTabPage scSubTotalsOptionsTabPage = tabpage("SC_HID_SCPAGE_SUBT_OPTIONS"); 320 public static final VclButton scDeleteCellsDeleteRowsRadioButton = button("sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELROWS"); 321 public static final VclDialog scDeleteCellsDialog = dialog(".uno:DeleteCell"); 322 public static final VclTabPage scSubTotalsGroup2Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP2"); 323 public static final VclTabPage scSubTotalsGroup3Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP3"); 324 public static final VclListBox scCalcSubTotolsFuncionList = listbox("SC_HID_SC_SUBT_FUNC"); 325 public static final VclEditBox scValiditySourceInput = editbox("sc:Edit:TP_VALIDATION_VALUES:EDT_MIN"); 326 public static final VclListBox scValidityDecimalCompareOperator = listbox("sc:ListBox:TP_VALIDATION_VALUES:LB_VALUE"); 327 public static final VclEditBox scValidityMaxValueInput = editbox("sc:Edit:TP_VALIDATION_VALUES:EDT_MAX"); 328 public static final VclEditBox scValidityEntries = editbox("sc:MultiLineEdit:TP_VALIDATION_VALUES:EDT_LIST"); 329 public static final VclTabPage scValidityInputHelpTabPage = tabpage("sc:TabPage:TP_VALIDATION_INPUTHELP"); 330 public static final VclButton scValidityInputHelpCheckbox = button("sc:TriStateBox:TP_VALIDATION_INPUTHELP:TSB_HELP"); 331 public static final VclEditBox scValidityInputHelpTitle = editbox("sc:Edit:TP_VALIDATION_INPUTHELP:EDT_TITLE"); 332 public static final VclEditBox scValidityHelpMessage = editbox("sc:MultiLineEdit:TP_VALIDATION_INPUTHELP:EDT_INPUTHELP"); 333 public static final VclButton optionsDlgSortListsTabCopy = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_COPY"); 334 public static final VclButton sortOptionsPageRangeContainsColumnLabels = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL"); 335 public static final VclButton sortOptionsPageCustomSortOrder = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER"); 336 public static final VclButton sortOptionsPageIncludeFormats = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS"); 337 public static final VclListBox sortOptionsPageCustomSortOrderList = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER"); 338 public static final VclButton sortOptionsPageTopToBottom = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN"); 339 public static final VclButton sortOptionsPageLeftToRight = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT"); 340 public static final VclButton optionsDlgSortListsTabNew = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_NEW"); 341 public static final VclButton optionsDlgSortListsTabAdd = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_ADD"); 342 public static final VclTabPage formatCellsDlgNumbersPage = tabpage("CUI_HID_NUMBERFORMAT"); 343 public static final VclListBox formatCellsDlgNumbersPageCategory = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY"); 344 public static final VclListBox formatCellsDlgNumbersPageCurrencyFormat = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY"); 345 public static final VclTabPage dataPilotFieldOptionFiledSubtotalsPage = tabpage("25762"); 346 public static final VclControl scDataPilotOptionSubtotalFunctionList = control("59029"); 347 public static final VclDialog presentationWizard = dialog("SD_HID_SD_AUTOPILOT_PAGE1"); 348 public static final VclDialog fillSeriesDlg = dialog(".uno:FillSeries"); 349 public static final VclDialog sortWarningDlg = dialog("sc:ModalDialog:RID_SCDLG_SORT_WARNING"); 350 public static final VclButton sortWarningDlgExtend = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_EXTSORT"); 351 public static final VclButton sortWarningDlgCurrent = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_CURSORT"); 352 // Spreadsheet: "Sheet" dialog 353 public static final VclDialog scInsertSheetDlg = dialog("sc:ModalDialog:RID_SCDLG_INSERT_TABLE"); 354 public static final VclButton scBeforeCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEFORE"); 355 public static final VclButton scAfterCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEHIND"); 356 public static final VclButton scNewSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_NEW"); 357 public static final VclButton scNewSheetFromFile = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_FROMFILE"); 358 public static final VclEditBox scNewSheetName = editbox("sc:Edit:RID_SCDLG_INSERT_TABLE:ED_TABNAME"); 359 public static final VclField scSheetNumber = field("sc:NumericField:RID_SCDLG_INSERT_TABLE:NF_COUNT"); 360 public static final VclListBox scFromFileSheetList = listbox("sc:MultiListBox:RID_SCDLG_INSERT_TABLE:LB_TABLES"); 361 public static final VclButton scFromFileBrowse = button("sc:PushButton:RID_SCDLG_INSERT_TABLE:BTN_BROWSE"); 362 public static final VclButton scFromFileLink = button("sc:CheckBox:RID_SCDLG_INSERT_TABLE:CB_LINK"); 363 // Spreadsheet: "Select Sheets" dialog 364 public static final VclDialog scSelectSheetsDlg = dialog(".uno:SelectTables"); 365 public static final VclListBox scSheetsList = listbox("SC_HID_SELECTTABLES"); 366 public static final VclWindow sdNavigatorDlg = window("SD_HID_SD_NAVIGATOR"); 367 public static final VclTabPage sdHeaderAndFooterDlgSlideTab = tabpage("SD_HID_SD_TABPAGE_HEADERFOOTER_SLIDE"); 368 public static final VclButton scFunctionWizardDlgNext = button("formula:PushButton:RID_FORMULADLG_FORMULA:BTN_FORWARD"); 369 public static final VclTreeListBox optionsDlgPathTabTree = tree("CUI_HID_OPTPATH_CTL_PATH"); 370 public static final VclTreeListBox optionsDlgMicorOfficeTree = tree("CUI_HID_OFAPAGE_MSFLTR2_CLB"); 371 public static final VclTabPage bulletPage = tabpage("CUI_HID_SVXPAGE_PICK_BULLET"); 372 // Writer: "Spell check" dialog 373 public static final VclDialog spellcheckDlg = dialog("CUI_HID_SPELLCHECK"); 374 public static final VclListBox spellcheckDlgLanguageList = listbox("cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE"); 375 public static final VclEditBox spellcheckDlgMisspelledWords = editbox("cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD"); 376 public static final VclListBox spellcheckDlgSuggestionList = listbox("cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION"); 377 public static final VclButton spellcheckDlgIgnoreOnce = button("CUI_HID_SPLDLG_BUTTON_IGNORE"); 378 public static final VclButton spellcheckDlgIgnoreAll = button("CUI_HID_SPLDLG_BUTTON_IGNOREALL"); 379 public static final VclButton spellcheckDlgAdd = button("cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT"); 380 public static final VclButton spellcheckDlgChange = button("CUI_HID_SPLDLG_BUTTON_CHANGE"); 381 public static final VclButton spellcheckDlgChangeAll = button("CUI_HID_SPLDLG_BUTTON_CHANGEALL"); 382 public static final VclButton spellcheckDlgAutoCorrect = button("cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR"); 383 public static final VclButton spellcheckDlgClose = button("CUI_HID_SPLDLG_BUTTON_CLOSE"); 384 385 // Presentation:"Table Property" dialog 386 public static final VclButton impressWizardDlgNext = button("sd:PushButton:DLG_ASS:BUT_NEXT"); 387 public static final VclListBox areaFillColor = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_COLOR"); 388 public static final VclTabPage areaAreapage = tabpage("CUI_HID_AREA_AREA"); 389 public static final VclListBox areaFillType = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_AREA_TYPE"); 390 public static final VclListBox areaFillGradient = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_GRADIENT"); 391 public static final VclListBox areaFillHatching = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHING"); 392 public static final VclListBox areaFillBitmap = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_BITMAP"); 393 public static final VclTabPage areaBorderpage = tabpage("CUI_HID_BORDER"); 394 public static final VclTabPage areaFontpage = tabpage("CUI_HID_SVXPAGE_CHAR_NAME"); 395 public static final VclComboBox areaFontWesternFontName = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_NAME"); 396 public static final VclComboBox areaFontWesternStyle = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_STYLE"); 397 public static final VclListBox areaFontWesternSize = listbox("cui:MetricBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_SIZE"); 398 public static final VclListBox areaFontWesternLang = listbox("cui:ListBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_LANG"); 399 public static final VclComboBox areaFontEasternFontName = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_NAME"); 400 public static final VclComboBox areaFontEasternStyle = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_STYLE"); 401 public static final VclListBox areaFontEasternSize = listbox("cui:MetricBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_SIZE"); 402 public static final VclListBox areaFontEasternLang = listbox("cui:ListBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_LANG"); 403 public static final VclListBox effectsPageRelief = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_RELIEF"); 404 public static final VclButton effectsPageOutline = button("cui:TriStateBox:RID_SVXPAGE_CHAR_EFFECTS:CB_OUTLINE"); 405 public static final VclButton effectsPageShadow = button("cui:TriStateBox:RID_SVXPAGE_CHAR_EFFECTS:CB_SHADOW"); 406 public static final VclListBox effectsPageOverline = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_OVERLINE"); 407 public static final VclListBox effectsPageOverlineColor = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_OVERLINE_COLOR"); 408 public static final VclListBox effectsPageStrikeout = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_STRIKEOUT"); 409 public static final VclListBox effectsPageUnderline = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_UNDERLINE"); 410 public static final VclListBox effectsPageUnderlineColor = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_UNDERLINE_COLOR"); 411 public static final VclButton effectsPageInvidiualWords = button("cui:CheckBox:RID_SVXPAGE_CHAR_EFFECTS:CB_INDIVIDUALWORDS"); 412 public static final VclListBox effectsPageEmphasis = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_EMPHASIS"); 413 public static final VclListBox effectsPagePosition = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_POSITION"); 414 public static final VclControl areaBorderPresets = control("CUI_HID_BORDER_CTL_PRESETS"); 415 public static final VclListBox areaBorderLineStyle = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINESTYLE"); 416 public static final VclListBox areaBorderLineColor = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINECOLOR"); 417 public static final VclField areaBorderMfLeft = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_LEFT"); 418 public static final VclField areaBorderMfRight = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_RIGHT"); 419 public static final VclField areaBorderMfTop = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_TOP"); 420 public static final VclField areaBorderMfBottom = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_BOTTOM"); 421 public static final VclButton areaBorderSync = button("cui:CheckBox:RID_SVXPAGE_BORDER:CB_SYNC"); 422 // Presentation:"Textbox Property" dialog 423 public static final VclToolBox textboxToolbar = toolbox(".HelpId:textbar"); 424 public static final VclButton sdInsertTextboxButtonOnToolbar = button(".uno:Text"); 425 public static final VclButton sdFormatArea = button(".uno:FormatArea"); 426 427 // Writer:Style and Formatting List 428 public static final VclControl styleAndFormattingList = control("SFX2_HID_TEMPLATE_FMT"); 429 public static final VclListBox styleFilterList = listbox("SFX2_HID_TEMPLATE_FILTER"); 430 public static final VclDockingWin styleAndFormattingDlg = dockingwin(".uno:DesignerDialog"); 431 432 // Writer:Insert Index and Table Dialog 433 public static final VclDialog insertIndexDlg = dialog("SW_HID_TP_TOX_SELECT"); 434 435 // Writer:Split Cell Dialog 436 public static final VclDialog writerSplitCellDlg = dialog("cui:ModalDialog:RID_SVX_SPLITCELLDLG"); 437 438 // Writer:Insert Rows/Columns Dialog 439 public static final VclDialog writerInsertRowsDlg = dialog(".uno:InsertRowDialog"); 440 public static final VclField writerInsertNum = field("cui:NumericField:DLG_INS_ROW_COL:ED_COUNT"); 441 public static final VclButton writerInsertBefore = button("cui:RadioButton:DLG_INS_ROW_COL:CB_POS_BEFORE"); 442 public static final VclButton writerInsertAfter = button("cui:RadioButton:DLG_INS_ROW_COL:CB_POS_AFTER"); 443 public static final VclDialog writerInsertColumnsDlg = dialog(".uno:InsertColumnDialog"); 444 445 // Writer:Alignment TabPage of Paragraph format 446 public static final VclTabPage alignPage = tabpage("CUI_HID_FORMAT_PARAGRAPH_ALIGN"); 447 public static final VclButton alignPageLeft = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_LEFTALIGN"); 448 public static final VclButton alignPageRight = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_RIGHTALIGN"); 449 public static final VclButton alignPageCenter = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_CENTERALIGN"); 450 public static final VclButton alignPageJustified = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_JUSTIFYALIGN"); 451 public static final VclListBox alignPageLastline = listbox("cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_LASTLINE"); 452 public static final VclButton alignPageExpandSingleWord = button("cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_EXPAND"); 453 public static final VclButton alignPageSnapToTextGrid = button("cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_SNAP"); 454 public static final VclListBox alignPageVerticalAlign = listbox("cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_VERTALIGN"); 455 456 // Writer: Insert Object Dialog 457 public static final VclDialog insertObject = dialog(".uno:InsertObject"); 458 public static final VclButton newObject = button("cui:RadioButton:MD_INSERT_OLEOBJECT:RB_NEW_OBJECT"); 459 public static final VclButton objectFromFile = button("cui:RadioButton:MD_INSERT_OLEOBJECT:RB_OBJECT_FROMFILE"); 460 public static final VclListBox objectType = listbox("cui:ListBox:MD_INSERT_OLEOBJECT:LB_OBJECTTYPE"); 461 public static final VclEditBox objectFilePath = editbox("cui:Edit:MD_INSERT_OLEOBJECT:ED_FILEPATH"); 462 public static final VclButton objectFileSearch = button("cui:PushButton:MD_INSERT_OLEOBJECT:BTN_FILEPATH"); 463 public static final VclButton objectFileLink = button("cui:CheckBox:MD_INSERT_OLEOBJECT:CB_FILELINK"); 464 public static final VclField numberofCol = field("cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_COLUMNS"); 465 466 // Presentation: Insert Table 467 public static final VclField numberofRow = field("cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_ROWS"); 468 public static final VclDialog insertSlideObjects = dialog("SD_HID_DLG_INSERT_PAGES_OBJS"); 469 470 // Presentation: Slide Transition Settings 471 public static final VclListBox impressSlideTransitions = listbox("SD_HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS"); 472 public static final VclListBox slideShowSpeed = listbox("SD_HID_SD_SLIDETRANSITIONPANE_LB_SPEED"); 473 public static final VclButton slideAutoAfter = button("SD_HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO"); 474 public static final VclButton applyToAllSlides = button("SD_HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL"); 475 476 // Spreadsheet: Standard Filter Dialog 477 public static final VclComboBox filterValue1 = combobox("sc:ComboBox:RID_SCDLG_FILTER:ED_VAL1"); 478 public static final VclDialog standardFilterDlg = dialog(".uno:DataFilterStandardFilter"); 479 480 // Fontwork 481 public static final VclDialog fontworkGalleryDlg = dialog("svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY"); 482 483 public static final VclEditBox swTableSizeColBox=editbox("sw:NumericField:DLG_INSERT_TABLE:ED_COL"); 484 public static final VclEditBox swTableSizeRowBox=editbox("sw:NumericField:DLG_INSERT_TABLE:ED_ROW"); 485 public static final VclControl swTableBackgroundColor=control("CUI_HID_BACKGROUND_CTL_BGDCOLORSET"); 486 public static final VclTabPage swTableBackground = tabpage("CUI_HID_BACKGROUND"); 487 public static final VclTabPage swTableBorder = tabpage("CUI_HID_BORDER"); 488 public static final VclControl swTableBorderLineArrange = control("CUI_HID_BORDER_CTL_PRESETS"); 489 public static final VclControl swTableProperties = control("SW_HID_FORMAT_TABLE"); 490 public static final VclListBox swTableBorderLineStyle = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINESTYLE"); 491 public static final VclListBox swTableBorderLineColor = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINECOLOR"); 492 public static final VclEditBox swTableSTCLeft = editbox("cui:MetricField:RID_SVXPAGE_BORDER:MF_LEFT"); 493 public static final VclEditBox swTableSTCRight = editbox("cui:MetricField:RID_SVXPAGE_BORDER:MF_RIGHT"); 494 public static final VclEditBox swTableSTCTop = editbox("cui:MetricField:RID_SVXPAGE_BORDER:MF_TOP"); 495 public static final VclEditBox swTableSTCBottom = editbox("cui:MetricField:RID_SVXPAGE_BORDER:MF_BOTTOM"); 496 public static final VclButton swTableSTCSYNC = button("cui:CheckBox:RID_SVXPAGE_BORDER:CB_SYNC"); 497 public static final VclControl swTableShadow = control("CUI_HID_BORDER_CTL_SHADOWS"); 498 public static final VclEditBox swTableShadowSize = editbox("cui:MetricField:RID_SVXPAGE_BORDER:ED_SHADOWSIZE"); 499 public static final VclListBox swTableShadowColor = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_SHADOWCOLOR"); 500 public static final VclButton swInsertTableAutoFormat = button("sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT"); 501 public static final VclListBox swTableAutoFormatListbox = listbox("sw:ListBox:DLG_AUTOFMT_TABLE:LB_FORMAT"); 502 public static final VclDialog swTableAutoFMT = dialog("SW_HID_AUTOFMT_TABLE"); 503 public static final VclDialog swTableSetRowHeightDialog = dialog(".uno:SetRowHeight"); 504 public static final VclField swTableSetRowHeight = field("sw:MetricField:DLG_ROW_HEIGHT:ED_HEIGHT"); 505 public static final VclDialog swTableInsertRow = dialog(".uno:InsertRowDialog"); 506 public static final VclEditBox swTableInsertRowColumnSetNumber = editbox("cui:NumericField:DLG_INS_ROW_COL:ED_COUNT"); 507 public static final VclField swTableSetColumnNumber = field("sw:NumericField:DLG_COL_WIDTH:ED_COL"); 508 public static final VclField swTableSetColumnWidth = field("sw:MetricField:DLG_COL_WIDTH:ED_WIDTH"); 509 public static final VclDialog swTableInsertColumn = dialog(".uno:InsertColumnDialog"); 510 public static final VclDialog swTableSetColumnDialog = dialog(".uno:SetColumnWidth"); 511 public static final VclDialog swTableCellSplitDialog = dialog("cui:ModalDialog:RID_SVX_SPLITCELLDLG"); 512 public static final VclField swTableCellSplitNumber = field("cui:NumericField:RID_SVX_SPLITCELLDLG:ED_COUNT"); 513 public static final VclButton swTableCellSplitHORZButton = button("cui:ImageRadioButton:RID_SVX_SPLITCELLDLG:RB_HORZ"); 514 public static final VclButton swTableCellSplitVERTButton = button("cui:ImageRadioButton:RID_SVX_SPLITCELLDLG:RB_VERT"); 515 public static final VclMenuItem swTableSelectRowMenu=menuItem("Row->Select"); 516 public static final VclMenuItem swTableInsertRowMenu=menuItem("Row->Insert..."); 517 public static final VclMenuItem swTableRowHeightMenu=menuItem("Row->Height..."); 518 public static final VclMenuItem swTableRowDleteMenu=menuItem("Row->Delete"); 519 public static final VclMenuItem swTableColumnWidthMenu=menuItem("Column->Width..."); 520 public static final VclMenuItem swTableColumnSelectMenu=menuItem("Column->Select"); 521 public static final VclMenuItem swTableColumnDeleteMenu=menuItem("Column->Delete"); 522 public static final VclMenuItem swTableColumnInsertMenu=menuItem("Column->Insert..."); 523 public static final VclMenuItem swTableCellSplitMenu=menuItem("Cell->Split..."); 524 public static final VclListBox sdTableBACGColorListbox = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_COLOR"); 525 public static final VclTabPage sdTableBACGColorArea = tabpage("CUI_HID_AREA_AREA"); 526 public static final VclTabPage sdTableBACGColorsOption = tabpage("CUI_HID_OPTIONS_COLOR"); 527 public static final VclEditBox sdTableBACGColorsOptionName = editbox("cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME"); 528 529 public static final VclTreeListBox sdNavigator = tree("SD_HID_SD_NAVIGATOR_TLB"); 530 public static final VclButton sdNavigatorShapeFilter = button("SD_HID_SD_NAVIGATOR_TBI_SHAPE_FILTER"); 531 public static final VclButton sdCalloutShapes = button(".uno:CalloutShapes"); 532 public static final VclButton sdStarShapes = button(".uno:StarShapes"); 533 public static final VclToolBox sdDrawingToolbar = toolbox(".HelpId:toolbar"); 534 535 public static final VclWindow impressHandoutView = window(".uno:NotesMode"); 536 public static final VclWindow helpWindow = window("SFX2_HID_HELP_ONHELP"); 537 public static final VclDialog printerSetUpDlg = dialog("svtools:ModalDialog:DLG_SVT_PRNDLG_PRNSETUPDLG"); 538 public static final VclListBox printerSetUpDlgPrinterNames = listbox("svtools:ListBox:DLG_SVT_PRNDLG_PRNSETUPDLG:LB_NAMES"); 539 public static final VclDialog runMacroDlg = dialog("CUI_HID_SELECTOR_DIALOG"); 540 public static final VclTreeListBox runMacroDlgCategories = tree("CUI_HID_SELECTOR_CATEGORIES"); 541 public static final VclTreeListBox runMacroDlgCommands = tree("CUI_HID_SELECTOR_COMMANDS"); 542 public static final VclButton optionUseOOdialog = button("cui:CheckBox:OFA_TP_MISC:CB_FILEDLG"); 543 544 public static final VclButton standardBarSave = button(".uno:Save"); 545 546 public static final VclControl swFormatParagragh = control("CUI_HID_FORMAT_PARAGRAPH_STD"); 547 548 public static final VclButton sdAddAnimation = button("SD_HID_SD_CUSTOMANIMATIONPANE_PB_ADD_EFFECT"); 549 550 public static final VclListBox sdEntranceAnimationTab = listbox("sd:ListBox:RID_TP_CUSTOMANIMATION_ENTRANCE:LB_EFFECTS"); 551 552 public static final VclControl sdAnimationList = control("SD_HID_SD_CUSTOMANIMATIONPANE_CT_CUSTOM_ANIMATION_LIST"); 553 554 public static final VclWindow sdCurrentMastersList = window("SD_HID_SD_CURRENT_MASTERS"); 555 556 public static final VclButton swInsertLineButtonOnToolbar = button(".uno:Line"); 557 558 public static final VclToolBox swDrawingToolbar = toolbox(".HelpId:drawbar"); 559 560 public static final VclListBox scPrintAreaType = listbox("sc:ListBox:RID_SCDLG_AREAS:LB_PRINTAREA"); 561 562 public static final VclEditBox scPrintArea = editbox("sc:Edit:RID_SCDLG_AREAS:ED_PRINTAREA"); 563 564 public static final VclEditBox scFormatCode = editbox("cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_FORMAT"); 565 566 // hyperlink dialog 567 public static final VclComboBox hyperlinkInetPathComboBox = combobox("CUI_HID_HYPERDLG_INET_PATH"); // target 568 public static final VclEditBox hyperlinkInetName = editbox("cui:Edit:RID_SVXPAGE_HYPERLINK_INTERNET:ED_TEXT"); // text 569 public static final VclEditBox hyperlinkInetText = editbox("cui:Edit:RID_SVXPAGE_HYPERLINK_INTERNET:ED_INDICATION"); // name 570 public static final VclControl hyperlinkDialogOkBtn = control("CUI_HID_ICCDIALOG_OK_BTN"); // apply 571 public static final VclControl hyperlinkDialogCancelBtn = control("CUI_HID_ICCDIALOG_CANCEL_BTN"); // close 572 } 573