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 23 24 package testlib; 25 import java.io.File; 26 27 import org.openoffice.test.OpenOffice; 28 import org.openoffice.test.vcl.IDList; 29 import org.openoffice.test.vcl.client.Constant; 30 import org.openoffice.test.vcl.widgets.VclApp; 31 import org.openoffice.test.vcl.widgets.VclButton; 32 import org.openoffice.test.vcl.widgets.VclComboBox; 33 import org.openoffice.test.vcl.widgets.VclControl; 34 import org.openoffice.test.vcl.widgets.VclDialog; 35 import org.openoffice.test.vcl.widgets.VclDockingWin; 36 import org.openoffice.test.vcl.widgets.VclEditBox; 37 import org.openoffice.test.vcl.widgets.VclField; 38 import org.openoffice.test.vcl.widgets.VclListBox; 39 import org.openoffice.test.vcl.widgets.VclMenuItem; 40 import org.openoffice.test.vcl.widgets.VclMessageBox; 41 import org.openoffice.test.vcl.widgets.VclStatusBar; 42 import org.openoffice.test.vcl.widgets.VclTabControl; 43 import org.openoffice.test.vcl.widgets.VclTabPage; 44 import org.openoffice.test.vcl.widgets.VclToolBox; 45 import org.openoffice.test.vcl.widgets.VclWindow; 46 47 /** 48 * Define all UI controls in the class. 49 * One control should be defined once and only once. 50 * 51 */ 52 public class UIMap { 53 private static IDList idList = new IDList(new File("./ids")); 54 public static final VclMessageBox ActiveMsgBox = new VclMessageBox(Constant.UID_ACTIVE); 55 public static final VclMessageBox MsgBox_AdditionalRowsNotSaved = new VclMessageBox(Constant.UID_ACTIVE, "Additional rows were not saved."); 56 public static final VclTabControl ActiveTabControl = new VclTabControl(Constant.UID_ACTIVE); 57 58 public static VclEditBox editbox(String id) { 59 return new VclEditBox(idList.getId(id)); 60 } 61 62 63 public static VclControl control(String id) { 64 return new VclControl(idList.getId(id)); 65 } 66 67 public static VclWindow window(String id) { 68 return new VclWindow(idList.getId(id)); 69 } 70 71 public static VclDialog dialog(String id) { 72 return new VclDialog(idList.getId(id)); 73 } 74 75 public static VclTabPage tabpage(String id) { 76 return new VclTabPage(idList.getId(id)); 77 } 78 79 public static VclListBox listbox(String id) { 80 return new VclListBox(idList.getId(id)); 81 } 82 83 public static VclComboBox combobox(String id) { 84 return new VclComboBox(idList.getId(id)); 85 } 86 87 public static VclToolBox toolbox(String id) { 88 return new VclToolBox(idList.getId(id)); 89 } 90 91 92 public static VclButton button(String id) { 93 return new VclButton(idList.getId(id)); 94 } 95 96 97 public static VclMessageBox msgbox(String text) { 98 return new VclMessageBox(idList.getId("UID_ACTIVE"), text); 99 } 100 101 102 public static VclMenuItem menuItem(String text) { 103 return new VclMenuItem(text); 104 } 105 106 public static VclStatusBar statusbar(String id) { 107 return new VclStatusBar(idList.getId(id)); 108 } 109 110 public static VclField field(String id){ 111 return new VclField(idList.getId(id)); 112 } 113 114 public static VclDockingWin dockingwin(String id){ 115 return new VclDockingWin(idList.getId(id)); 116 } 117 public static final OpenOffice oo = new OpenOffice(null); 118 public static final VclApp app = VclApp.getDefault(); 119 public static final VclWindow writer = window("SW_HID_EDIT_WIN"); 120 public static final VclWindow startcenter = window("FWK_HID_BACKINGWINDOW"); 121 public static final VclWindow calc = window("SC_HID_SC_WIN_GRIDWIN"); 122 public static final VclWindow impress = window("SD_HID_SDDRAWVIEWSHELL"); 123 public static final VclDialog FilePicker = dialog("SVT_HID_EXPLORERDLG_FILE"); 124 public static final VclListBox FilePicker_FileType = listbox("fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE"); 125 public static final VclButton FilePicker_Open = button("fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN"); 126 public static final VclComboBox FilePicker_Path = combobox("SVT_HID_FILEDLG_AUTOCOMPLETEBOX"); 127 public static final VclDialog FileSave = dialog("SVT_HID_FILESAVE_DIALOG"); 128 public static final VclListBox FileSave_FileType = listbox("SVT_HID_FILESAVE_FILETYPE"); 129 public static final VclButton FileSave_Save = button("SVT_HID_FILESAVE_DOSAVE"); 130 public static final VclComboBox FileSave_Path = combobox("SVT_HID_FILESAVE_FILEURL"); 131 public static final VclButton SC_InputBar_FunctionWizard = button("SC_HID_INSWIN_CALC"); 132 public static final VclButton SC_InputBar_Sum = button("SC_HID_INSWIN_SUMME"); 133 public static final VclButton SC_InputBar_Function = button("SC_HID_INSWIN_FUNC"); 134 public static final VclToolBox SC_InputBar = toolbox("SC_HID_SC_INPUTWIN"); 135 public static final VclComboBox SC_InputBar_Position = combobox("SC_HID_INSWIN_POS"); 136 public static final VclWindow SC_InputBar_Input = window("SC_HID_INSWIN_INPUT"); 137 public static final VclTabPage EffectsPage = tabpage("CUI_HID_SVXPAGE_CHAR_EFFECTS"); 138 public static final VclListBox EffectsPage_Color = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_FONTCOLOR"); 139 public static final VclDialog AlienFormatDlg = dialog("SFX2_HID_WARNING_ALIENFORMAT"); 140 public static final VclWindow draw = window("SD_HID_SDGRAPHICVIEWSHELL"); 141 public static final VclTabPage SortPage = tabpage("SC_HID_SCPAGE_SORT_FIELDS"); 142 public static final VclListBox SortPage_By1 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1"); 143 public static final VclButton SortPage_Ascending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1"); 144 public static final VclButton SortPage_Descending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1"); 145 public static final VclListBox SortPage_By2 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2"); 146 public static final VclButton SortPage_Ascending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2"); 147 public static final VclButton SortPage_Descending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2"); 148 public static final VclListBox SortPage_By3 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3"); 149 public static final VclButton SortPage_Ascending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3"); 150 public static final VclButton SortPage_Descending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3"); 151 public static final VclTabPage PDFGeneralPage = tabpage("HID_FILTER_PDF_OPTIONS"); 152 public static final VclButton StartCenter_CalcButton = button(".HelpId:StartCenter:CalcButton"); 153 public static final VclButton StartCenter_ImpressButton = button(".HelpId:StartCenter:ImpressButton"); 154 public static final VclButton StartCenter_WriterButton = button(".HelpId:StartCenter:WriterButton"); 155 public static final VclButton StartCenter_OpenButton = button(".HelpId:StartCenter:OpenButton"); 156 public static final VclButton StartCenter_DrawButton = button(".HelpId:StartCenter:DrawButton"); 157 public static final VclButton StartCenter_DBButton = button(".HelpId:StartCenter:DBButton"); 158 public static final VclButton StartCenter_MathButton = button(".HelpId:StartCenter:MathButton"); 159 public static final VclButton StartCenter_TemplateButton = button(".HelpId:StartCenter:TemplateButton"); 160 public static final VclButton StartCenter_TemplateRepository = button(".HelpId:StartCenter:TemplateRepository"); 161 public static final VclButton StartCenter_Extensions = button(".HelpId:StartCenter:Extensions"); 162 public static final VclButton StartCenter_Info = button(".HelpId:StartCenter:Info"); 163 public static final VclWindow SlideShow = window("SD_HID_SD_WIN_PRESENTATION"); 164 public static final VclDialog FindDlg = dialog(".uno:SearchDialog"); 165 public static final VclComboBox FindDlg_For = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_SEARCH"); 166 public static final VclComboBox FindDlg_ReplaceWith = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_REPLACE"); 167 public static final VclButton FindDlg_Find = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH"); 168 public static final VclButton FindDlg_FindAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH_ALL"); 169 public static final VclButton FindDlg_Replace = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE"); 170 public static final VclButton FindDlg_ReplaceAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE_ALL"); 171 public static final VclButton FindDlg_MatchCase = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_MATCH_CASE"); 172 public static final VclButton FindDlg_WholeWord = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_WHOLE_WORDS"); 173 public static final VclButton FindDlg_More = button("svx:MoreButton:RID_SVXDLG_SEARCH:BTN_MORE"); 174 public static final VclWindow chart = window("CHART2_HID_SCH_WIN_DOCUMENT"); 175 public static final VclDialog Chart_Wizard = dialog("CHART2_HID_SCH_CHART_AUTO_FORMAT"); 176 public static final VclDialog File_PrintDlg = dialog(".HelpID:vcl:PrintDialog:Dialog"); 177 public static final VclWindow ImpressOutline = window("SD_HID_SDOUTLINEVIEWSHELL"); 178 public static final VclWindow ImpressSlideSorter = window("SD_HID_SD_WIN_DOCUMENT"); 179 public static final VclWindow ImpressHandout = window(".uno:HandoutMode"); 180 public static final VclDialog InsertTable = dialog("cui:ModalDialog:RID_SVX_NEWTABLE_DLG"); 181 public static final VclToolBox Table_Toolbar = toolbox(".HelpId:tableobjectbar"); 182 public static final VclStatusBar StatusBar = statusbar("FWK_HID_STATUSBAR"); 183 public static final VclDialog writer_InsertTable = dialog(".uno:InsertTable"); 184 public static final VclWindow math_PreviewWindow = window("STARMATH_HID_SMA_WIN_DOCUMENT"); 185 public static final VclWindow math_EditWindow = window("STARMATH_HID_SMA_COMMAND_WIN_EDIT"); 186 public static final VclControl math_ElementsWindow = control("STARMATH_HID_SMA_OPERATOR_WIN"); 187 public static final VclEditBox SC_FunctionWizardDlg_MultiLineEdit = editbox("FORMULA_HID_FORMULA_FAP_FORMULA"); 188 public static final VclDialog SC_FunctionWizardDlg = dialog("FORMULA_HID_FORMULADLG_FORMULA"); 189 public static final VclListBox SC_FunctionWizardDlg_FunctionList = listbox("FORMULA_HID_FORMULA_LB_FUNCTION"); 190 public static final VclEditBox SC_FunctionWizardDlg_Edit1 = editbox("FORMULA_HID_FORMULA_FAP_EDIT1"); 191 public static final VclButton math_CatalogButton = button(".uno:SymbolCatalogue"); 192 public static final VclDialog math_SymbolsDlg = dialog("starmath:ModalDialog:RID_SYMBOLDIALOG"); 193 public static final VclListBox math_SymbolsDlgListbox = listbox("starmath:ListBox:RID_SYMBOLDIALOG:1"); 194 public static final VclButton math_SymbolsDlgEditButton = button("starmath:PushButton:RID_SYMBOLDIALOG:1"); 195 public static final VclButton math_SymbolsDlgInsertButton = button("starmath:PushButton:RID_SYMBOLDIALOG:2"); 196 public static final VclButton math_SymbolsDlgCloseButton = button("starmath:PushButton:RID_SYMBOLDIALOG:3"); 197 public static final VclDialog math_EditSymbolsDlg = dialog("starmath:ModalDialog:RID_SYMDEFINEDIALOG"); 198 public static final VclButton math_EditSymbolsDlgAdd = button("starmath:PushButton:RID_SYMDEFINEDIALOG:1"); 199 public static final VclButton math_EditSymbolsDlgModify = button("starmath:PushButton:RID_SYMDEFINEDIALOG:2"); 200 public static final VclButton math_EditSymbolsDlgDelete = button("starmath:PushButton:RID_SYMDEFINEDIALOG:3"); 201 public static final VclControl math_EditSymbolsDlgViewControl = control("STARMATH_HID_SMA_CONTROL_FONTCHAR_VIEW"); 202 public static final VclComboBox math_EditSymbolsDlgSymbol = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:4"); 203 public static final VclListBox math_EditSymbolsDlgFont = listbox("starmath:ListBox:RID_SYMDEFINEDIALOG:1"); 204 public static final VclComboBox math_EditSymbolsDlgTypeface = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:3"); 205 public static final VclDialog Wizards_AgendaDialog = dialog("WIZARDS_HID_AGWIZ"); 206 public static final VclButton Wizards_AgendaDialog_FinishButton = button("WIZARDS_HID_AGWIZ_CREATE"); 207 public static final VclTabPage MacroDialogsPage = tabpage("basctl:TabPage:RID_TP_DLGS"); 208 public static final VclDialog AboutDialog = dialog(".uno:About"); 209 public static final VclButton math_ElementsRelations = button("STARMATH_HID_SMA_RELATIONS_CAT"); 210 public static final VclButton math_ElementsRelationsNotEqual = button("STARMATH_HID_SMA_XNEQY"); 211 public static final VclButton math_ElementsUnaryBinary = button("STARMATH_HID_SMA_UNBINOPS_CAT"); 212 public static final VclButton math_ElementsUnaryBinaryPlus = button("STARMATH_HID_SMA_PLUSX"); 213 public static final VclControl MacroWarningOK = control("Ok"); 214 public static final VclListBox OptionsDlgList = listbox("CUI_HID_OFADLG_TREELISTBOX"); 215 public static final VclDialog OptionsDlg = dialog("CUI_HID_OFADLG_OPTIONS_TREE"); 216 public static final VclButton OptionsDlg_MacroSecurityButton = button("cui:PushButton:RID_SVXPAGE_INET_SECURITY:PB_SEC_MACROSEC"); 217 public static final VclControl MacroSecurityDlg = control("XMLSECURITY_HID_XMLSEC_TP_SECLEVEL"); 218 public static final VclButton MacroSecurityDlg_Low = button("xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_LOW"); 219 public static final VclWindow Basic_EditWindow = window("BASCTL_HID_BASICIDE_EDITORWINDOW"); 220 public static final VclDialog writer_ConvertTableToTextDlg = dialog(".uno:ConvertTableText"); 221 public static final VclWindow writer_Navigator = window("SW_HID_NAVIGATION_PI"); 222 public static final VclListBox writer_NavigatorList = listbox("SW_HID_NAVIGATOR_TREELIST"); 223 public static final VclControl writer_FrameDlg = control("SW_HID_FRM_STD"); 224 public static final VclField SC_NumberOfColumnsRowsToInsert = field("1502452023"); 225 public static final VclDialog SC_InsertColumnsRowsdialog = dialog("26166"); 226 public static final VclButton SC_InsertColumnsRowsAfterSelectColumn = button("1502446395"); 227 public static final VclButton WizardNextButton = button("SVT_HID_WIZARD_NEXT"); 228 public static final VclTabPage ChartRangeChooseTabPage = tabpage("chart2:TabPage:TP_RANGECHOOSER"); 229 public static final VclButton WizardBackButton = button("SVT_HID_WIZARD_PREVIOUS"); 230 public static final VclTabPage ChartTypeChooseTabPage = tabpage("CHART2_HID_DIAGRAM_TYPE"); 231 public static final VclControl ChartWizardRoadMap = control("CHART2_HID_SCH_WIZARD_ROADMAP"); 232 public static final VclButton DataPilotTableToExistPlaceRadioButton = button("2569093658"); 233 public static final VclEditBox DataPilotTableToExistPlaceEditBox = editbox("2569095195"); 234 public static final VclDialog CreateDataPilotTableDialog = dialog("26151"); 235 public static final VclControl DataPilotFieldSelect = control("59030"); 236 public static final VclButton DataPilotAutomaticallyUpdateCheckBox = button("3643262003"); 237 public static final VclButton DataPilotTableUpdateButton = button("3643265586"); 238 public static final VclButton SD_DateAndTimeFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME"); 239 public static final VclButton SD_FixedDateAndTimeFooterOnSlide = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_FIXED"); 240 public static final VclEditBox SD_FixedDateAndTimeOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_DATETIME_FIXED"); 241 public static final VclButton SD_FooterTextOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_FOOTER"); 242 public static final VclEditBox SD_FooterTextOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_FOOTER_FIXED"); 243 public static final VclButton SD_SlideNumAsFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_SLIDENUMBER"); 244 public static final VclButton SD_ApplyToAllButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLYTOALL"); 245 // public static final VclWindow SD_SlidesPanel = window("HID_SD_WIN_DOCUMENT"); 246 public static final VclControl SD_SlidelistInNaviagtor = control("HID_SD_NAVIGATOR_TLB"); 247 public static final VclControl SD_HeaderAndFooterDialog = control("HID_SD_TABPAGE_HEADERFOOTER_SLIDE"); 248 public static final VclButton SD_ApplyButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLY"); 249 public static final VclButton SD_InsertPageButtonOnToolbar = button(".uno:InsertPage"); 250 public static final VclControl DataPilotPaneRowArea = control("59036"); 251 public static final VclEditBox DataPilotFieldDisplayNameEditBox = editbox("971868166"); 252 public static final VclButton DataPilotFieldShowItemWithoutDataCheckBox = button("971867238"); 253 public static final VclTabPage DataPilotFieldOptionFieldTabPageDialog = tabpage("26550"); 254 public static final VclTabPage DataPilotFieldOptionSubTotalsTabPageDialog = tabpage("25760"); 255 public static final VclTabPage DataPilotFieldOptionSortTabPageDialog = tabpage("25763"); 256 public static final VclButton DataPilotFieldOptionSubTotalsManuallyRadioButton = button("958956137"); 257 public static final VclButton DataPilotFieldOptionSortDescendingRadioButton = button("958972620"); 258 public static final VclControl DataPiloPaneDataArea = control("59038"); 259 public static final VclControl DataPilotColumnArea = control("59034"); 260 public static final VclButton SD_HeaderTextOnNotes = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_HEADER"); 261 public static final VclEditBox SD_HeaderTextOnNotesInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_HEADER_FIXED"); 262 public static final VclTabPage SD_HeaderAndFooterOnNotesTabPage = tabpage("SD_HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT"); 263 public static final VclButton SD_FooterNotShowOn1stSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_NOTONTITLE"); 264 public static final VclTabPage SortOptionsPage = tabpage("SC_HID_SCPAGE_SORT_OPTIONS"); 265 public static final VclButton SortOptionsPage_CaseSensitive = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE"); 266 public static final VclButton SortOptionsPage_CopyResultTo = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT"); 267 public static final VclEditBox SortOptionsPage_CopyResultToEdit = editbox("sc:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA"); 268 public static final VclDialog DefineNamesDlg = dialog(".uno:DefineName"); 269 public static final VclEditBox DefineNamesDlg_NameEdit = editbox("sc:Edit:RID_SCDLG_NAMES:ED_ASSIGN"); 270 public static final VclListBox SortOptionsPage_CopyResultToCellRange = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA"); 271 public static final VclWindow SpreadSheetCells = window("58818"); 272 public static final VclButton DataPilotFieldOptionSubTotalsNeverRadioButton = button("958956135"); 273 public static final VclButton DataPilotFieldOptionSortAscendingRadioButton = button("958972619"); 274 public static final VclControl DataPilotPanePageArea = control("59032"); 275 public static final VclButton OnlyDisplayTopNItemCheckBox = button("1495745540"); 276 public static final VclField NumberOfItemShowInTopNEditBox = field("1495750661"); 277 public static final VclDialog FieldTopNSettingDialog = dialog("59039"); 278 public static final VclButton SD_AutoUpdateTimeFooter = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_AUTOMATIC"); 279 public static final VclListBox SD_AutoUpdateTimeFooterType = listbox("sd:ListBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME_FORMAT"); 280 public static final VclButton DataPilotButton = button("59270"); 281 public static final VclDockingWin DataPilotPanel = dockingwin("3643260928"); 282 public static final VclListBox SCSubTotalsGroupByListBox = listbox("SC_HID_SC_SUBT_GROUP"); 283 public static final VclControl SCCalcSubTotalForColumns = control("SC_HID_SC_SUBT_COLS"); 284 public static final VclTabPage SCSubTotalsGroup1Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP1"); 285 public static final VclButton SCSubtotalsInsertPageBreakCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_PAGEBREAK"); 286 public static final VclButton SCSubtotalsCaseSensitiveCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_CASE"); 287 public static final VclButton SCSubtotalsPreSortToGroupCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_SORT"); 288 public static final VclButton SCSubtotalSortAscendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_ASCENDING"); 289 public static final VclButton SCSubtotalSortDescendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_DESCENDING"); 290 public static final VclButton SCSubtotalsIncludeFormatsCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_FORMATS"); 291 public static final VclButton SCSubtotalsCustomSortOrderCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_USERDEF"); 292 public static final VclListBox SCSubtotalsCustomSortListBox = listbox("sc:ListBox:RID_SCPAGE_SUBT_OPTIONS:LB_USERDEF"); 293 public static final VclListBox SC_ValidityCriteriaAllowList = listbox("548277762"); 294 public static final VclTabPage SC_ValidityCriteriaTabpage = tabpage("548274176"); 295 public static final VclButton SC_ValidityAllowBlankCells = button("548275203"); 296 public static final VclButton SC_ValidityShowSelectionList = button("548275227"); 297 public static final VclButton SC_ValiditySortEntriesAscending = button("548275228"); 298 public static final VclButton SC_ValiditySourcePicker = button("548286040"); 299 public static final VclTabPage SC_ValidityErrorAlertTabPage = tabpage("548306944"); 300 public static final VclButton SC_ValidityShowErrorMessage = button("548308501"); 301 public static final VclListBox SC_ValidityErrorAlertActionList = listbox("548310552"); 302 public static final VclEditBox SC_ValidityErrorMessageTitle = editbox("548309005"); 303 public static final VclEditBox SC_ValidityErrorMessage = editbox("548309529"); 304 public static final VclButton SC_ValidityErrorBrowseButton = button("548311578"); 305 public static final VclTabPage SCSubTotalsOptionsTabPage = tabpage("SC_HID_SCPAGE_SUBT_OPTIONS"); 306 public static final VclButton SCDeleteCellsDeleteRowsRadioButton = button("sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELROWS"); 307 public static final VclDialog SCDeleteCellsDialog = dialog(".uno:DeleteCell"); 308 public static final VclTabPage SCSubTotalsGroup2Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP2"); 309 public static final VclTabPage SCSubTotalsGroup3Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP3"); 310 public static final VclListBox SCCalcSubTotolsFuncionList = listbox("SC_HID_SC_SUBT_FUNC"); 311 public static final VclEditBox SC_ValiditySourceInput = editbox("548276231"); 312 public static final VclWindow SC_CellInput = window("58774"); 313 public static final VclListBox SC_ValidityDecimalCompareOperator = listbox("548277765"); 314 public static final VclEditBox SC_ValidityMaxValueInput = editbox("548276233"); 315 public static final VclEditBox SC_ValidityEntries = editbox("548276765"); 316 public static final VclTabPage SC_ValidityInputHelpTabPage = tabpage("548290560"); 317 public static final VclButton SC_ValidityInputHelpCheckbox = button("548292107"); 318 public static final VclEditBox SC_ValidityInputHelpTitle = editbox("548292621"); 319 public static final VclEditBox SC_ValidityHelpMessage = editbox("548293135"); 320 public static final VclButton OptionsDlg_Copy = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_COPY"); 321 public static final VclButton SortOptionsPage_RangeContainsColumnLabels = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL"); 322 public static final VclButton SortOptionsPage_CustomSortOrder = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER"); 323 public static final VclButton SortOptionsPage_IncludeFormats = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS"); 324 public static final VclListBox SortOptionsPage_CustomSortOrderList = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER"); 325 public static final VclButton SortOptionsPage_TopToBottom = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN"); 326 public static final VclButton SortOptionsPage_LeftToRight = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT"); 327 public static final VclButton OptionsDlg_New = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_NEW"); 328 public static final VclButton OptionsDlg_Add = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_ADD"); 329 public static final VclTabPage FormatCellsDlg_NumbersPage = tabpage("CUI_HID_NUMBERFORMAT"); 330 public static final VclListBox FormatCellsDlg_NumbersPageCategory = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY"); 331 public static final VclListBox FormatCellsDlg_NumbersPageCurrencyFormat = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY"); 332 public static final VclTabPage DataPilotFieldOptionFiledSubtotalsPage = tabpage("25762"); 333 public static final VclControl SC_DataPilotOptionSubtotalFunctionList = control("59029"); 334 public static final VclDialog PresentationWizard = dialog("SD_HID_SD_AUTOPILOT_PAGE1"); 335 public static final VclDialog FillSeriesDlg = dialog(".uno:FillSeries"); 336 public static final VclDialog SortWarningDlg = dialog("sc:ModalDialog:RID_SCDLG_SORT_WARNING"); 337 public static final VclButton SortWarningDlg_Extend = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_EXTSORT"); 338 public static final VclButton SortWarningDlg_Current = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_CURSORT"); 339 // Spreadsheet: "Sheet" dialog 340 public static final VclDialog SCInsertSheetDlg = dialog("sc:ModalDialog:RID_SCDLG_INSERT_TABLE"); 341 public static final VclButton SCBeforeCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEFORE"); 342 public static final VclButton SCAfterCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEHIND"); 343 public static final VclButton SCNewSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_NEW"); 344 public static final VclButton SCNewSheetFromFile = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_FROMFILE"); 345 public static final VclEditBox SCNewSheetName = editbox("sc:Edit:RID_SCDLG_INSERT_TABLE:ED_TABNAME"); 346 public static final VclField SCSheetNumber = field("sc:NumericField:RID_SCDLG_INSERT_TABLE:NF_COUNT"); 347 public static final VclListBox SCFromFileSheetList = listbox("sc:MultiListBox:RID_SCDLG_INSERT_TABLE:LB_TABLES"); 348 public static final VclButton SCFromFileBrowse = button("sc:PushButton:RID_SCDLG_INSERT_TABLE:BTN_BROWSE"); 349 public static final VclButton SCFromFileLink = button("sc:CheckBox:RID_SCDLG_INSERT_TABLE:CB_LINK"); 350 // Spreadsheet: "Select Sheets" dialog 351 public static final VclDialog SCSelectSheetsDlg = dialog(".uno:SelectTables"); 352 public static final VclListBox SCSheetsList = listbox("SC_HID_SELECTTABLES"); 353 354 355 356 } 357