1*e6e6073dSLiu Zhe /************************************************************** 2*e6e6073dSLiu Zhe * 3*e6e6073dSLiu Zhe * Licensed to the Apache Software Foundation (ASF) under one 4*e6e6073dSLiu Zhe * or more contributor license agreements. See the NOTICE file 5*e6e6073dSLiu Zhe * distributed with this work for additional information 6*e6e6073dSLiu Zhe * regarding copyright ownership. The ASF licenses this file 7*e6e6073dSLiu Zhe * to you under the Apache License, Version 2.0 (the 8*e6e6073dSLiu Zhe * "License"); you may not use this file except in compliance 9*e6e6073dSLiu Zhe * with the License. You may obtain a copy of the License at 10*e6e6073dSLiu Zhe * 11*e6e6073dSLiu Zhe * http://www.apache.org/licenses/LICENSE-2.0 12*e6e6073dSLiu Zhe * 13*e6e6073dSLiu Zhe * Unless required by applicable law or agreed to in writing, 14*e6e6073dSLiu Zhe * software distributed under the License is distributed on an 15*e6e6073dSLiu Zhe * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e6e6073dSLiu Zhe * KIND, either express or implied. See the License for the 17*e6e6073dSLiu Zhe * specific language governing permissions and limitations 18*e6e6073dSLiu Zhe * under the License. 19*e6e6073dSLiu Zhe * 20*e6e6073dSLiu Zhe *************************************************************/ 21*e6e6073dSLiu Zhe 22*e6e6073dSLiu Zhe package testlib.gui; 23*e6e6073dSLiu Zhe 24*e6e6073dSLiu Zhe import java.io.File; 25*e6e6073dSLiu Zhe 26*e6e6073dSLiu Zhe import org.openoffice.test.OpenOffice; 27*e6e6073dSLiu Zhe import org.openoffice.test.vcl.IDList; 28*e6e6073dSLiu Zhe import org.openoffice.test.vcl.client.Constant; 29*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclApp; 30*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclButton; 31*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclComboBox; 32*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclControl; 33*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclDialog; 34*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclDockingWin; 35*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclEditBox; 36*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclField; 37*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclListBox; 38*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclMenuItem; 39*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclMessageBox; 40*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclStatusBar; 41*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclTabControl; 42*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclTabPage; 43*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclToolBox; 44*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclTreeListBox; 45*e6e6073dSLiu Zhe import org.openoffice.test.vcl.widgets.VclWindow; 46*e6e6073dSLiu Zhe 47*e6e6073dSLiu Zhe /** 48*e6e6073dSLiu Zhe * Define all UI controls in the class. One control should be defined once and 49*e6e6073dSLiu Zhe * only once. 50*e6e6073dSLiu Zhe * 51*e6e6073dSLiu Zhe */ 52*e6e6073dSLiu Zhe public class UIMap { 53*e6e6073dSLiu Zhe private static IDList idList = new IDList(new File("./hid")); 54*e6e6073dSLiu Zhe public static final VclMessageBox ActiveMsgBox = new VclMessageBox(Constant.UID_ACTIVE); 55*e6e6073dSLiu Zhe public static final VclMessageBox MsgBox_AdditionalRowsNotSaved = new VclMessageBox(Constant.UID_ACTIVE, "Additional rows were not saved."); 56*e6e6073dSLiu Zhe public static final VclTabControl ActiveTabControl = new VclTabControl(Constant.UID_ACTIVE); 57*e6e6073dSLiu Zhe 58*e6e6073dSLiu Zhe public static VclEditBox editbox(String id) { 59*e6e6073dSLiu Zhe return new VclEditBox(idList.getId(id)); 60*e6e6073dSLiu Zhe } 61*e6e6073dSLiu Zhe 62*e6e6073dSLiu Zhe public static VclControl control(String id) { 63*e6e6073dSLiu Zhe return new VclControl(idList.getId(id)); 64*e6e6073dSLiu Zhe } 65*e6e6073dSLiu Zhe 66*e6e6073dSLiu Zhe public static VclWindow window(String id) { 67*e6e6073dSLiu Zhe return new VclWindow(idList.getId(id)); 68*e6e6073dSLiu Zhe } 69*e6e6073dSLiu Zhe 70*e6e6073dSLiu Zhe public static VclDialog dialog(String id) { 71*e6e6073dSLiu Zhe return new VclDialog(idList.getId(id)); 72*e6e6073dSLiu Zhe } 73*e6e6073dSLiu Zhe 74*e6e6073dSLiu Zhe public static VclTabPage tabpage(String id) { 75*e6e6073dSLiu Zhe return new VclTabPage(idList.getId(id)); 76*e6e6073dSLiu Zhe } 77*e6e6073dSLiu Zhe 78*e6e6073dSLiu Zhe public static VclListBox listbox(String id) { 79*e6e6073dSLiu Zhe return new VclListBox(idList.getId(id)); 80*e6e6073dSLiu Zhe } 81*e6e6073dSLiu Zhe 82*e6e6073dSLiu Zhe public static VclComboBox combobox(String id) { 83*e6e6073dSLiu Zhe return new VclComboBox(idList.getId(id)); 84*e6e6073dSLiu Zhe } 85*e6e6073dSLiu Zhe 86*e6e6073dSLiu Zhe public static VclToolBox toolbox(String id) { 87*e6e6073dSLiu Zhe return new VclToolBox(idList.getId(id)); 88*e6e6073dSLiu Zhe } 89*e6e6073dSLiu Zhe 90*e6e6073dSLiu Zhe public static VclButton button(String id) { 91*e6e6073dSLiu Zhe return new VclButton(idList.getId(id)); 92*e6e6073dSLiu Zhe } 93*e6e6073dSLiu Zhe 94*e6e6073dSLiu Zhe public static VclMessageBox msgbox(String text) { 95*e6e6073dSLiu Zhe return new VclMessageBox(idList.getId("UID_ACTIVE"), text); 96*e6e6073dSLiu Zhe } 97*e6e6073dSLiu Zhe 98*e6e6073dSLiu Zhe public static VclMenuItem menuItem(String text) { 99*e6e6073dSLiu Zhe return new VclMenuItem(text); 100*e6e6073dSLiu Zhe } 101*e6e6073dSLiu Zhe 102*e6e6073dSLiu Zhe public static VclStatusBar statusbar(String id) { 103*e6e6073dSLiu Zhe return new VclStatusBar(idList.getId(id)); 104*e6e6073dSLiu Zhe } 105*e6e6073dSLiu Zhe 106*e6e6073dSLiu Zhe public static VclField field(String id) { 107*e6e6073dSLiu Zhe return new VclField(idList.getId(id)); 108*e6e6073dSLiu Zhe } 109*e6e6073dSLiu Zhe 110*e6e6073dSLiu Zhe public static VclDockingWin dockingwin(String id) { 111*e6e6073dSLiu Zhe return new VclDockingWin(idList.getId(id)); 112*e6e6073dSLiu Zhe } 113*e6e6073dSLiu Zhe 114*e6e6073dSLiu Zhe public static VclTreeListBox tree(String id) { 115*e6e6073dSLiu Zhe return new VclTreeListBox(idList.getId(id)); 116*e6e6073dSLiu Zhe } 117*e6e6073dSLiu Zhe 118*e6e6073dSLiu Zhe public static final OpenOffice oo = new OpenOffice(null); 119*e6e6073dSLiu Zhe public static final VclApp app = VclApp.getDefault(); 120*e6e6073dSLiu Zhe public static final VclWindow writer = window("SW_HID_EDIT_WIN"); 121*e6e6073dSLiu Zhe public static final VclWindow startcenter = window("FWK_HID_BACKINGWINDOW"); 122*e6e6073dSLiu Zhe public static final VclWindow calc = window("SC_HID_SC_WIN_GRIDWIN"); 123*e6e6073dSLiu Zhe public static final VclWindow impress = window("SD_HID_SDDRAWVIEWSHELL"); 124*e6e6073dSLiu Zhe public static final VclDialog FilePicker = dialog("SVT_HID_EXPLORERDLG_FILE"); 125*e6e6073dSLiu Zhe public static final VclListBox FilePicker_FileType = listbox("fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE"); 126*e6e6073dSLiu Zhe public static final VclButton FilePicker_Open = button("fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN"); 127*e6e6073dSLiu Zhe public static final VclComboBox FilePicker_Path = combobox("SVT_HID_FILEDLG_AUTOCOMPLETEBOX"); 128*e6e6073dSLiu Zhe public static final VclDialog FileSave = dialog("SVT_HID_FILESAVE_DIALOG"); 129*e6e6073dSLiu Zhe public static final VclListBox FileSave_FileType = listbox("SVT_HID_FILESAVE_FILETYPE"); 130*e6e6073dSLiu Zhe public static final VclButton FileSave_Save = button("SVT_HID_FILESAVE_DOSAVE"); 131*e6e6073dSLiu Zhe public static final VclComboBox FileSave_Path = combobox("SVT_HID_FILESAVE_FILEURL"); 132*e6e6073dSLiu Zhe public static final VclButton SC_InputBar_FunctionWizard = button("SC_HID_INSWIN_CALC"); 133*e6e6073dSLiu Zhe public static final VclButton SC_InputBar_Sum = button("SC_HID_INSWIN_SUMME"); 134*e6e6073dSLiu Zhe public static final VclButton SC_InputBar_Function = button("SC_HID_INSWIN_FUNC"); 135*e6e6073dSLiu Zhe public static final VclToolBox SC_InputBar = toolbox("SC_HID_SC_INPUTWIN"); 136*e6e6073dSLiu Zhe public static final VclComboBox SC_InputBar_Position = combobox("SC_HID_INSWIN_POS"); 137*e6e6073dSLiu Zhe public static final VclWindow SC_InputBar_Input = window("SC_HID_INSWIN_INPUT"); 138*e6e6073dSLiu Zhe public static final VclTabPage EffectsPage = tabpage("CUI_HID_SVXPAGE_CHAR_EFFECTS"); 139*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Color = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_FONTCOLOR"); 140*e6e6073dSLiu Zhe public static final VclDialog AlienFormatDlg = dialog("SFX2_HID_WARNING_ALIENFORMAT"); 141*e6e6073dSLiu Zhe public static final VclWindow draw = window("SD_HID_SDGRAPHICVIEWSHELL"); 142*e6e6073dSLiu Zhe public static final VclTabPage SortPage = tabpage("SC_HID_SCPAGE_SORT_FIELDS"); 143*e6e6073dSLiu Zhe public static final VclListBox SortPage_By1 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1"); 144*e6e6073dSLiu Zhe public static final VclButton SortPage_Ascending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1"); 145*e6e6073dSLiu Zhe public static final VclButton SortPage_Descending1 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1"); 146*e6e6073dSLiu Zhe public static final VclListBox SortPage_By2 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2"); 147*e6e6073dSLiu Zhe public static final VclButton SortPage_Ascending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2"); 148*e6e6073dSLiu Zhe public static final VclButton SortPage_Descending2 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2"); 149*e6e6073dSLiu Zhe public static final VclListBox SortPage_By3 = listbox("sc:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3"); 150*e6e6073dSLiu Zhe public static final VclButton SortPage_Ascending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3"); 151*e6e6073dSLiu Zhe public static final VclButton SortPage_Descending3 = button("sc:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3"); 152*e6e6073dSLiu Zhe public static final VclTabPage PDFGeneralPage = tabpage("HID_FILTER_PDF_OPTIONS"); 153*e6e6073dSLiu Zhe public static final VclButton StartCenter_CalcButton = button(".HelpId:StartCenter:CalcButton"); 154*e6e6073dSLiu Zhe public static final VclButton StartCenter_ImpressButton = button(".HelpId:StartCenter:ImpressButton"); 155*e6e6073dSLiu Zhe public static final VclButton StartCenter_WriterButton = button(".HelpId:StartCenter:WriterButton"); 156*e6e6073dSLiu Zhe public static final VclButton StartCenter_OpenButton = button(".HelpId:StartCenter:OpenButton"); 157*e6e6073dSLiu Zhe public static final VclButton StartCenter_DrawButton = button(".HelpId:StartCenter:DrawButton"); 158*e6e6073dSLiu Zhe public static final VclButton StartCenter_DBButton = button(".HelpId:StartCenter:DBButton"); 159*e6e6073dSLiu Zhe public static final VclButton StartCenter_MathButton = button(".HelpId:StartCenter:MathButton"); 160*e6e6073dSLiu Zhe public static final VclButton StartCenter_TemplateButton = button(".HelpId:StartCenter:TemplateButton"); 161*e6e6073dSLiu Zhe public static final VclButton StartCenter_TemplateRepository = button(".HelpId:StartCenter:TemplateRepository"); 162*e6e6073dSLiu Zhe public static final VclButton StartCenter_Extensions = button(".HelpId:StartCenter:Extensions"); 163*e6e6073dSLiu Zhe public static final VclButton StartCenter_Info = button(".HelpId:StartCenter:Info"); 164*e6e6073dSLiu Zhe public static final VclWindow SlideShow = window("SD_HID_SD_WIN_PRESENTATION"); 165*e6e6073dSLiu Zhe public static final VclDialog FindDlg = dialog(".uno:SearchDialog"); 166*e6e6073dSLiu Zhe public static final VclComboBox FindDlg_For = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_SEARCH"); 167*e6e6073dSLiu Zhe public static final VclComboBox FindDlg_ReplaceWith = combobox("svx:ComboBox:RID_SVXDLG_SEARCH:ED_REPLACE"); 168*e6e6073dSLiu Zhe public static final VclButton FindDlg_Find = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH"); 169*e6e6073dSLiu Zhe public static final VclButton FindDlg_FindAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH_ALL"); 170*e6e6073dSLiu Zhe public static final VclButton FindDlg_Replace = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE"); 171*e6e6073dSLiu Zhe public static final VclButton FindDlg_ReplaceAll = button("svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE_ALL"); 172*e6e6073dSLiu Zhe public static final VclButton FindDlg_MatchCase = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_MATCH_CASE"); 173*e6e6073dSLiu Zhe public static final VclButton FindDlg_WholeWord = button("svx:CheckBox:RID_SVXDLG_SEARCH:CB_WHOLE_WORDS"); 174*e6e6073dSLiu Zhe public static final VclButton FindDlg_More = button("svx:MoreButton:RID_SVXDLG_SEARCH:BTN_MORE"); 175*e6e6073dSLiu Zhe public static final VclWindow chart = window("CHART2_HID_SCH_WIN_DOCUMENT"); 176*e6e6073dSLiu Zhe public static final VclDialog Chart_Wizard = dialog("CHART2_HID_SCH_CHART_AUTO_FORMAT"); 177*e6e6073dSLiu Zhe public static final VclDialog File_PrintDlg = dialog(".HelpID:vcl:PrintDialog:Dialog"); 178*e6e6073dSLiu Zhe public static final VclWindow ImpressOutline = window("SD_HID_SDOUTLINEVIEWSHELL"); 179*e6e6073dSLiu Zhe public static final VclWindow ImpressSlideSorter = window("SD_HID_SD_WIN_DOCUMENT"); 180*e6e6073dSLiu Zhe public static final VclWindow ImpressHandout = window(".uno:HandoutMode"); 181*e6e6073dSLiu Zhe public static final VclDialog InsertTable = dialog("cui:ModalDialog:RID_SVX_NEWTABLE_DLG"); 182*e6e6073dSLiu Zhe public static final VclToolBox Table_Toolbar = toolbox(".HelpId:tableobjectbar"); 183*e6e6073dSLiu Zhe public static final VclStatusBar StatusBar = statusbar("FWK_HID_STATUSBAR"); 184*e6e6073dSLiu Zhe public static final VclDialog writer_InsertTable = dialog(".uno:InsertTable"); 185*e6e6073dSLiu Zhe public static final VclWindow math_PreviewWindow = window("STARMATH_HID_SMA_WIN_DOCUMENT"); 186*e6e6073dSLiu Zhe public static final VclWindow math_EditWindow = window("STARMATH_HID_SMA_COMMAND_WIN_EDIT"); 187*e6e6073dSLiu Zhe public static final VclControl math_ElementsWindow = control("STARMATH_HID_SMA_OPERATOR_WIN"); 188*e6e6073dSLiu Zhe public static final VclEditBox SC_FunctionWizardDlg_MultiLineEdit = editbox("FORMULA_HID_FORMULA_FAP_FORMULA"); 189*e6e6073dSLiu Zhe public static final VclDialog SC_FunctionWizardDlg = dialog("FORMULA_HID_FORMULADLG_FORMULA"); 190*e6e6073dSLiu Zhe public static final VclListBox SC_FunctionWizardDlg_FunctionList = listbox("FORMULA_HID_FORMULA_LB_FUNCTION"); 191*e6e6073dSLiu Zhe public static final VclEditBox SC_FunctionWizardDlg_Edit1 = editbox("FORMULA_HID_FORMULA_FAP_EDIT1"); 192*e6e6073dSLiu Zhe public static final VclButton math_CatalogButton = button(".uno:SymbolCatalogue"); 193*e6e6073dSLiu Zhe public static final VclDialog math_SymbolsDlg = dialog("starmath:ModalDialog:RID_SYMBOLDIALOG"); 194*e6e6073dSLiu Zhe public static final VclListBox math_SymbolsDlgListbox = listbox("starmath:ListBox:RID_SYMBOLDIALOG:1"); 195*e6e6073dSLiu Zhe public static final VclButton math_SymbolsDlgEditButton = button("starmath:PushButton:RID_SYMBOLDIALOG:1"); 196*e6e6073dSLiu Zhe public static final VclButton math_SymbolsDlgInsertButton = button("starmath:PushButton:RID_SYMBOLDIALOG:2"); 197*e6e6073dSLiu Zhe public static final VclButton math_SymbolsDlgCloseButton = button("starmath:PushButton:RID_SYMBOLDIALOG:3"); 198*e6e6073dSLiu Zhe public static final VclDialog math_EditSymbolsDlg = dialog("starmath:ModalDialog:RID_SYMDEFINEDIALOG"); 199*e6e6073dSLiu Zhe public static final VclButton math_EditSymbolsDlgAdd = button("starmath:PushButton:RID_SYMDEFINEDIALOG:1"); 200*e6e6073dSLiu Zhe public static final VclButton math_EditSymbolsDlgModify = button("starmath:PushButton:RID_SYMDEFINEDIALOG:2"); 201*e6e6073dSLiu Zhe public static final VclButton math_EditSymbolsDlgDelete = button("starmath:PushButton:RID_SYMDEFINEDIALOG:3"); 202*e6e6073dSLiu Zhe public static final VclControl math_EditSymbolsDlgViewControl = control("STARMATH_HID_SMA_CONTROL_FONTCHAR_VIEW"); 203*e6e6073dSLiu Zhe public static final VclComboBox math_EditSymbolsDlgSymbol = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:4"); 204*e6e6073dSLiu Zhe public static final VclListBox math_EditSymbolsDlgFont = listbox("starmath:ListBox:RID_SYMDEFINEDIALOG:1"); 205*e6e6073dSLiu Zhe public static final VclComboBox math_EditSymbolsDlgTypeface = combobox("starmath:ComboBox:RID_SYMDEFINEDIALOG:3"); 206*e6e6073dSLiu Zhe public static final VclDialog Wizards_AgendaDialog = dialog("WIZARDS_HID_AGWIZ"); 207*e6e6073dSLiu Zhe public static final VclButton Wizards_AgendaDialog_FinishButton = button("WIZARDS_HID_AGWIZ_CREATE"); 208*e6e6073dSLiu Zhe public static final VclTabPage MacroDialogsPage = tabpage("basctl:TabPage:RID_TP_DLGS"); 209*e6e6073dSLiu Zhe public static final VclDialog AboutDialog = dialog(".uno:About"); 210*e6e6073dSLiu Zhe public static final VclButton math_ElementsRelations = button("STARMATH_HID_SMA_RELATIONS_CAT"); 211*e6e6073dSLiu Zhe public static final VclButton math_ElementsRelationsNotEqual = button("STARMATH_HID_SMA_XNEQY"); 212*e6e6073dSLiu Zhe public static final VclButton math_ElementsUnaryBinary = button("STARMATH_HID_SMA_UNBINOPS_CAT"); 213*e6e6073dSLiu Zhe public static final VclButton math_ElementsUnaryBinaryPlus = button("STARMATH_HID_SMA_PLUSX"); 214*e6e6073dSLiu Zhe public static final VclControl MacroWarningOK = control("Ok"); 215*e6e6073dSLiu Zhe public static final VclTreeListBox OptionsDlgList = tree("CUI_HID_OFADLG_TREELISTBOX"); 216*e6e6073dSLiu Zhe // public static final VclListBox OptionsDlgList = 217*e6e6073dSLiu Zhe // listbox("CUI_HID_OFADLG_TREELISTBOX"); 218*e6e6073dSLiu Zhe public static final VclDialog OptionsDlg = dialog("CUI_HID_OFADLG_OPTIONS_TREE"); 219*e6e6073dSLiu Zhe public static final VclButton OptionsDlg_MacroSecurityButton = button("cui:PushButton:RID_SVXPAGE_INET_SECURITY:PB_SEC_MACROSEC"); 220*e6e6073dSLiu Zhe public static final VclControl MacroSecurityDlg = control("XMLSECURITY_HID_XMLSEC_TP_SECLEVEL"); 221*e6e6073dSLiu Zhe public static final VclButton MacroSecurityDlg_Low = button("xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_LOW"); 222*e6e6073dSLiu Zhe public static final VclWindow Basic_EditWindow = window("BASCTL_HID_BASICIDE_EDITORWINDOW"); 223*e6e6073dSLiu Zhe public static final VclDialog writer_ConvertTableToTextDlg = dialog(".uno:ConvertTableText"); 224*e6e6073dSLiu Zhe public static final VclWindow writer_Navigator = window("SW_HID_NAVIGATION_PI"); 225*e6e6073dSLiu Zhe public static final VclListBox writer_NavigatorList = listbox("SW_HID_NAVIGATOR_TREELIST"); 226*e6e6073dSLiu Zhe // public static final VclControl writer_FrameDlg = 227*e6e6073dSLiu Zhe // control("SW_HID_FRM_STD"); 228*e6e6073dSLiu Zhe public static final VclDialog writer_FrameDlg = dialog("SW_HID_FRM_STD"); 229*e6e6073dSLiu Zhe public static final VclField SC_NumberOfColumnsRowsToInsert = field("1502452023"); 230*e6e6073dSLiu Zhe public static final VclDialog SC_InsertColumnsRowsdialog = dialog("26166"); 231*e6e6073dSLiu Zhe public static final VclButton SC_InsertColumnsRowsAfterSelectColumn = button("1502446395"); 232*e6e6073dSLiu Zhe public static final VclButton WizardNextButton = button("SVT_HID_WIZARD_NEXT"); 233*e6e6073dSLiu Zhe public static final VclTabPage ChartRangeChooseTabPage = tabpage("chart2:TabPage:TP_RANGECHOOSER"); 234*e6e6073dSLiu Zhe public static final VclButton WizardBackButton = button("SVT_HID_WIZARD_PREVIOUS"); 235*e6e6073dSLiu Zhe public static final VclTabPage ChartTypeChooseTabPage = tabpage("CHART2_HID_DIAGRAM_TYPE"); 236*e6e6073dSLiu Zhe public static final VclControl ChartWizardRoadMap = control("CHART2_HID_SCH_WIZARD_ROADMAP"); 237*e6e6073dSLiu Zhe public static final VclButton DataPilotTableToExistPlaceRadioButton = button("2569093658"); 238*e6e6073dSLiu Zhe public static final VclEditBox DataPilotTableToExistPlaceEditBox = editbox("2569095195"); 239*e6e6073dSLiu Zhe public static final VclDialog CreateDataPilotTableDialog = dialog("26151"); 240*e6e6073dSLiu Zhe public static final VclControl DataPilotFieldSelect = control("59030"); 241*e6e6073dSLiu Zhe public static final VclButton DataPilotAutomaticallyUpdateCheckBox = button("3643262003"); 242*e6e6073dSLiu Zhe public static final VclButton DataPilotTableUpdateButton = button("3643265586"); 243*e6e6073dSLiu Zhe public static final VclButton SD_DateAndTimeFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME"); 244*e6e6073dSLiu Zhe public static final VclButton SD_FixedDateAndTimeFooterOnSlide = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_FIXED"); 245*e6e6073dSLiu Zhe public static final VclEditBox SD_FixedDateAndTimeOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_DATETIME_FIXED"); 246*e6e6073dSLiu Zhe public static final VclButton SD_FooterTextOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_FOOTER"); 247*e6e6073dSLiu Zhe public static final VclEditBox SD_FooterTextOnSlideInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_FOOTER_FIXED"); 248*e6e6073dSLiu Zhe public static final VclButton SD_SlideNumAsFooterOnSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_SLIDENUMBER"); 249*e6e6073dSLiu Zhe public static final VclButton SD_ApplyToAllButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLYTOALL"); 250*e6e6073dSLiu Zhe public static final VclControl SD_SlidelistInNaviagtor = control("HID_SD_NAVIGATOR_TLB"); 251*e6e6073dSLiu Zhe public static final VclControl SD_HeaderAndFooterDialog = control("HID_SD_TABPAGE_HEADERFOOTER_SLIDE"); 252*e6e6073dSLiu Zhe public static final VclButton SD_ApplyButtonOnSlideFooter = button("sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLY"); 253*e6e6073dSLiu Zhe public static final VclButton SD_InsertPageButtonOnToolbar = button(".uno:InsertPage"); 254*e6e6073dSLiu Zhe public static final VclControl DataPilotPaneRowArea = control("59036"); 255*e6e6073dSLiu Zhe public static final VclEditBox DataPilotFieldDisplayNameEditBox = editbox("971868166"); 256*e6e6073dSLiu Zhe public static final VclButton DataPilotFieldShowItemWithoutDataCheckBox = button("971867238"); 257*e6e6073dSLiu Zhe public static final VclTabPage DataPilotFieldOptionFieldTabPageDialog = tabpage("26550"); 258*e6e6073dSLiu Zhe public static final VclTabPage DataPilotFieldOptionSubTotalsTabPageDialog = tabpage("25760"); 259*e6e6073dSLiu Zhe public static final VclTabPage DataPilotFieldOptionSortTabPageDialog = tabpage("25763"); 260*e6e6073dSLiu Zhe public static final VclButton DataPilotFieldOptionSubTotalsManuallyRadioButton = button("958956137"); 261*e6e6073dSLiu Zhe public static final VclButton DataPilotFieldOptionSortDescendingRadioButton = button("958972620"); 262*e6e6073dSLiu Zhe public static final VclControl DataPiloPaneDataArea = control("59038"); 263*e6e6073dSLiu Zhe public static final VclControl DataPilotColumnArea = control("59034"); 264*e6e6073dSLiu Zhe public static final VclButton SD_HeaderTextOnNotes = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_HEADER"); 265*e6e6073dSLiu Zhe public static final VclEditBox SD_HeaderTextOnNotesInput = editbox("sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_HEADER_FIXED"); 266*e6e6073dSLiu Zhe public static final VclTabPage SD_HeaderAndFooterOnNotesTabPage = tabpage("SD_HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT"); 267*e6e6073dSLiu Zhe public static final VclButton SD_FooterNotShowOn1stSlide = button("sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_NOTONTITLE"); 268*e6e6073dSLiu Zhe public static final VclTabPage SortOptionsPage = tabpage("SC_HID_SCPAGE_SORT_OPTIONS"); 269*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_CaseSensitive = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE"); 270*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_CopyResultTo = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT"); 271*e6e6073dSLiu Zhe public static final VclEditBox SortOptionsPage_CopyResultToEdit = editbox("sc:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA"); 272*e6e6073dSLiu Zhe public static final VclDialog DefineNamesDlg = dialog(".uno:DefineName"); 273*e6e6073dSLiu Zhe public static final VclEditBox DefineNamesDlg_NameEdit = editbox("sc:Edit:RID_SCDLG_NAMES:ED_ASSIGN"); 274*e6e6073dSLiu Zhe public static final VclListBox SortOptionsPage_CopyResultToCellRange = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA"); 275*e6e6073dSLiu Zhe public static final VclWindow SpreadSheetCells = window("58818"); 276*e6e6073dSLiu Zhe public static final VclButton DataPilotFieldOptionSubTotalsNeverRadioButton = button("958956135"); 277*e6e6073dSLiu Zhe public static final VclButton DataPilotFieldOptionSortAscendingRadioButton = button("958972619"); 278*e6e6073dSLiu Zhe public static final VclControl DataPilotPanePageArea = control("59032"); 279*e6e6073dSLiu Zhe public static final VclButton OnlyDisplayTopNItemCheckBox = button("1495745540"); 280*e6e6073dSLiu Zhe public static final VclField NumberOfItemShowInTopNEditBox = field("1495750661"); 281*e6e6073dSLiu Zhe public static final VclDialog FieldTopNSettingDialog = dialog("59039"); 282*e6e6073dSLiu Zhe public static final VclButton SD_AutoUpdateTimeFooter = button("sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_AUTOMATIC"); 283*e6e6073dSLiu Zhe public static final VclListBox SD_AutoUpdateTimeFooterType = listbox("sd:ListBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME_FORMAT"); 284*e6e6073dSLiu Zhe public static final VclButton DataPilotButton = button("59270"); 285*e6e6073dSLiu Zhe public static final VclDockingWin DataPilotPanel = dockingwin("3643260928"); 286*e6e6073dSLiu Zhe public static final VclListBox SCSubTotalsGroupByListBox = listbox("SC_HID_SC_SUBT_GROUP"); 287*e6e6073dSLiu Zhe public static final VclTreeListBox SCCalcSubTotalForColumns = tree("SC_HID_SC_SUBT_COLS"); 288*e6e6073dSLiu Zhe public static final VclTabPage SCSubTotalsGroup1Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP1"); 289*e6e6073dSLiu Zhe public static final VclButton SCSubtotalsInsertPageBreakCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_PAGEBREAK"); 290*e6e6073dSLiu Zhe public static final VclButton SCSubtotalsCaseSensitiveCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_CASE"); 291*e6e6073dSLiu Zhe public static final VclButton SCSubtotalsPreSortToGroupCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_SORT"); 292*e6e6073dSLiu Zhe public static final VclButton SCSubtotalSortAscendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_ASCENDING"); 293*e6e6073dSLiu Zhe public static final VclButton SCSubtotalSortDescendingRadioButton = button("sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_DESCENDING"); 294*e6e6073dSLiu Zhe public static final VclButton SCSubtotalsIncludeFormatsCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_FORMATS"); 295*e6e6073dSLiu Zhe public static final VclButton SCSubtotalsCustomSortOrderCheckBox = button("sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_USERDEF"); 296*e6e6073dSLiu Zhe public static final VclListBox SCSubtotalsCustomSortListBox = listbox("sc:ListBox:RID_SCPAGE_SUBT_OPTIONS:LB_USERDEF"); 297*e6e6073dSLiu Zhe public static final VclListBox SC_ValidityCriteriaAllowList = listbox("sc:ListBox:TP_VALIDATION_VALUES:LB_ALLOW"); 298*e6e6073dSLiu Zhe public static final VclTabPage SC_ValidityCriteriaTabpage = tabpage("sc:TabPage:TP_VALIDATION_VALUES"); 299*e6e6073dSLiu Zhe public static final VclButton SC_ValidityAllowBlankCells = button("sc:CheckBox:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS"); 300*e6e6073dSLiu Zhe public static final VclButton SC_ValidityShowSelectionList = button("sc:CheckBox:TP_VALIDATION_VALUES:CB_SHOWLIST"); 301*e6e6073dSLiu Zhe public static final VclButton SC_ValiditySortEntriesAscending = button("sc:CheckBox:TP_VALIDATION_VALUES:CB_SORTLIST"); 302*e6e6073dSLiu Zhe public static final VclButton SC_ValiditySourcePicker = button("sc:ImageButton:TP_VALIDATION_VALUES:RB_VALIDITY_REF"); 303*e6e6073dSLiu Zhe public static final VclTabPage SC_ValidityErrorAlertTabPage = tabpage("sc:TabPage:TP_VALIDATION_ERROR"); 304*e6e6073dSLiu Zhe public static final VclButton SC_ValidityShowErrorMessage = button("sc:TriStateBox:TP_VALIDATION_ERROR:TSB_SHOW"); 305*e6e6073dSLiu Zhe public static final VclListBox SC_ValidityErrorAlertActionList = listbox("sc:ListBox:TP_VALIDATION_ERROR:LB_ACTION"); 306*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityErrorMessageTitle = editbox("sc:Edit:TP_VALIDATION_ERROR:EDT_TITLE"); 307*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityErrorMessage = editbox("sc:MultiLineEdit:TP_VALIDATION_ERROR:EDT_ERROR"); 308*e6e6073dSLiu Zhe public static final VclButton SC_ValidityErrorBrowseButton = button("sc:PushButton:TP_VALIDATION_ERROR:BTN_SEARCH"); 309*e6e6073dSLiu Zhe public static final VclTabPage SCSubTotalsOptionsTabPage = tabpage("SC_HID_SCPAGE_SUBT_OPTIONS"); 310*e6e6073dSLiu Zhe public static final VclButton SCDeleteCellsDeleteRowsRadioButton = button("sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELROWS"); 311*e6e6073dSLiu Zhe public static final VclDialog SCDeleteCellsDialog = dialog(".uno:DeleteCell"); 312*e6e6073dSLiu Zhe public static final VclTabPage SCSubTotalsGroup2Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP2"); 313*e6e6073dSLiu Zhe public static final VclTabPage SCSubTotalsGroup3Dialog = tabpage("SC_HID_SCPAGE_SUBT_GROUP3"); 314*e6e6073dSLiu Zhe public static final VclListBox SCCalcSubTotolsFuncionList = listbox("SC_HID_SC_SUBT_FUNC"); 315*e6e6073dSLiu Zhe public static final VclEditBox SC_ValiditySourceInput = editbox("sc:Edit:TP_VALIDATION_VALUES:EDT_MIN"); 316*e6e6073dSLiu Zhe public static final VclListBox SC_ValidityDecimalCompareOperator = listbox("sc:ListBox:TP_VALIDATION_VALUES:LB_VALUE"); 317*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityMaxValueInput = editbox("sc:Edit:TP_VALIDATION_VALUES:EDT_MAX"); 318*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityEntries = editbox("sc:MultiLineEdit:TP_VALIDATION_VALUES:EDT_LIST"); 319*e6e6073dSLiu Zhe public static final VclTabPage SC_ValidityInputHelpTabPage = tabpage("sc:TabPage:TP_VALIDATION_INPUTHELP"); 320*e6e6073dSLiu Zhe public static final VclButton SC_ValidityInputHelpCheckbox = button("sc:TriStateBox:TP_VALIDATION_INPUTHELP:TSB_HELP"); 321*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityInputHelpTitle = editbox("sc:Edit:TP_VALIDATION_INPUTHELP:EDT_TITLE"); 322*e6e6073dSLiu Zhe public static final VclEditBox SC_ValidityHelpMessage = editbox("sc:MultiLineEdit:TP_VALIDATION_INPUTHELP:EDT_INPUTHELP"); 323*e6e6073dSLiu Zhe public static final VclButton OptionsDlg_SortListsTabCopy = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_COPY"); 324*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_RangeContainsColumnLabels = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL"); 325*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_CustomSortOrder = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER"); 326*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_IncludeFormats = button("sc:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS"); 327*e6e6073dSLiu Zhe public static final VclListBox SortOptionsPage_CustomSortOrderList = listbox("sc:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER"); 328*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_TopToBottom = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN"); 329*e6e6073dSLiu Zhe public static final VclButton SortOptionsPage_LeftToRight = button("sc:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT"); 330*e6e6073dSLiu Zhe public static final VclButton OptionsDlg_SortListsTabNew = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_NEW"); 331*e6e6073dSLiu Zhe public static final VclButton OptionsDlg_SortListsTabAdd = button("sc:PushButton:RID_SCPAGE_USERLISTS:BTN_ADD"); 332*e6e6073dSLiu Zhe public static final VclTabPage FormatCellsDlg_NumbersPage = tabpage("CUI_HID_NUMBERFORMAT"); 333*e6e6073dSLiu Zhe public static final VclListBox FormatCellsDlg_NumbersPageCategory = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY"); 334*e6e6073dSLiu Zhe public static final VclListBox FormatCellsDlg_NumbersPageCurrencyFormat = listbox("cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY"); 335*e6e6073dSLiu Zhe public static final VclTabPage DataPilotFieldOptionFiledSubtotalsPage = tabpage("25762"); 336*e6e6073dSLiu Zhe public static final VclControl SC_DataPilotOptionSubtotalFunctionList = control("59029"); 337*e6e6073dSLiu Zhe public static final VclDialog PresentationWizard = dialog("SD_HID_SD_AUTOPILOT_PAGE1"); 338*e6e6073dSLiu Zhe public static final VclDialog FillSeriesDlg = dialog(".uno:FillSeries"); 339*e6e6073dSLiu Zhe public static final VclDialog SortWarningDlg = dialog("sc:ModalDialog:RID_SCDLG_SORT_WARNING"); 340*e6e6073dSLiu Zhe public static final VclButton SortWarningDlg_Extend = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_EXTSORT"); 341*e6e6073dSLiu Zhe public static final VclButton SortWarningDlg_Current = button("sc:PushButton:RID_SCDLG_SORT_WARNING:BTN_CURSORT"); 342*e6e6073dSLiu Zhe // Spreadsheet: "Sheet" dialog 343*e6e6073dSLiu Zhe public static final VclDialog SCInsertSheetDlg = dialog("sc:ModalDialog:RID_SCDLG_INSERT_TABLE"); 344*e6e6073dSLiu Zhe public static final VclButton SCBeforeCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEFORE"); 345*e6e6073dSLiu Zhe public static final VclButton SCAfterCurrentSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_BEHIND"); 346*e6e6073dSLiu Zhe public static final VclButton SCNewSheet = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_NEW"); 347*e6e6073dSLiu Zhe public static final VclButton SCNewSheetFromFile = button("sc:RadioButton:RID_SCDLG_INSERT_TABLE:RB_FROMFILE"); 348*e6e6073dSLiu Zhe public static final VclEditBox SCNewSheetName = editbox("sc:Edit:RID_SCDLG_INSERT_TABLE:ED_TABNAME"); 349*e6e6073dSLiu Zhe public static final VclField SCSheetNumber = field("sc:NumericField:RID_SCDLG_INSERT_TABLE:NF_COUNT"); 350*e6e6073dSLiu Zhe public static final VclListBox SCFromFileSheetList = listbox("sc:MultiListBox:RID_SCDLG_INSERT_TABLE:LB_TABLES"); 351*e6e6073dSLiu Zhe public static final VclButton SCFromFileBrowse = button("sc:PushButton:RID_SCDLG_INSERT_TABLE:BTN_BROWSE"); 352*e6e6073dSLiu Zhe public static final VclButton SCFromFileLink = button("sc:CheckBox:RID_SCDLG_INSERT_TABLE:CB_LINK"); 353*e6e6073dSLiu Zhe // Spreadsheet: "Select Sheets" dialog 354*e6e6073dSLiu Zhe public static final VclDialog SCSelectSheetsDlg = dialog(".uno:SelectTables"); 355*e6e6073dSLiu Zhe public static final VclListBox SCSheetsList = listbox("SC_HID_SELECTTABLES"); 356*e6e6073dSLiu Zhe public static final VclWindow SD_NavigatorDlg = window("SD_HID_SD_NAVIGATOR"); 357*e6e6073dSLiu Zhe public static final VclTabPage SD_HeaderAndFooterDlgSlideTab = tabpage("SD_HID_SD_TABPAGE_HEADERFOOTER_SLIDE"); 358*e6e6073dSLiu Zhe public static final VclButton SC_FunctionWizardDlg_Next = button("formula:PushButton:RID_FORMULADLG_FORMULA:BTN_FORWARD"); 359*e6e6073dSLiu Zhe public static final VclTreeListBox OptionsDlg_PathTabTree = tree("CUI_HID_OPTPATH_CTL_PATH"); 360*e6e6073dSLiu Zhe public static final VclTreeListBox OptionsDlg_MicorOfficeTree = tree("CUI_HID_OFAPAGE_MSFLTR2_CLB"); 361*e6e6073dSLiu Zhe public static final VclTabPage Bullet = tabpage("CUI_HID_SVXPAGE_PICK_BULLET"); 362*e6e6073dSLiu Zhe // Writer: "Spell check" dialog 363*e6e6073dSLiu Zhe public static final VclDialog spellcheck = dialog("CUI_HID_SPELLCHECK"); 364*e6e6073dSLiu Zhe public static final VclListBox LanguageList = listbox("cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE"); 365*e6e6073dSLiu Zhe public static final VclEditBox MisspelledWords = editbox("cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD"); 366*e6e6073dSLiu Zhe public static final VclListBox SuggestionList = listbox("cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION"); 367*e6e6073dSLiu Zhe public static final VclButton IgnoreOnce = button("CUI_HID_SPLDLG_BUTTON_IGNORE"); 368*e6e6073dSLiu Zhe public static final VclButton IgnoreAll = button("CUI_HID_SPLDLG_BUTTON_IGNOREALL"); 369*e6e6073dSLiu Zhe public static final VclButton Add = button("cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT"); 370*e6e6073dSLiu Zhe public static final VclButton Change = button("CUI_HID_SPLDLG_BUTTON_CHANGE"); 371*e6e6073dSLiu Zhe public static final VclButton ChangeAll = button("CUI_HID_SPLDLG_BUTTON_CHANGEALL"); 372*e6e6073dSLiu Zhe public static final VclButton AutoCorrect = button("cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR"); 373*e6e6073dSLiu Zhe public static final VclButton Close = button("CUI_HID_SPLDLG_BUTTON_CLOSE"); 374*e6e6073dSLiu Zhe 375*e6e6073dSLiu Zhe // Presentation:"Table Property" dialog 376*e6e6073dSLiu Zhe public static final VclButton impress_WizardDlg_Next = button("sd:PushButton:DLG_ASS:BUT_NEXT"); 377*e6e6073dSLiu Zhe public static final VclListBox Area_Fill_Color = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_COLOR"); 378*e6e6073dSLiu Zhe public static final VclTabPage Area_Area_page = tabpage("CUI_HID_AREA_AREA"); 379*e6e6073dSLiu Zhe public static final VclListBox Area_Fill_Type = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_AREA_TYPE"); 380*e6e6073dSLiu Zhe public static final VclListBox Area_Fill_Gradient = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_GRADIENT"); 381*e6e6073dSLiu Zhe public static final VclListBox Area_Fill_Hatching = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHING"); 382*e6e6073dSLiu Zhe public static final VclListBox Area_Fill_Bitmap = listbox("cui:ListBox:RID_SVXPAGE_AREA:LB_BITMAP"); 383*e6e6073dSLiu Zhe public static final VclTabPage Area_Border_page = tabpage("CUI_HID_BORDER"); 384*e6e6073dSLiu Zhe public static final VclTabPage Area_Font_page = tabpage("CUI_HID_SVXPAGE_CHAR_NAME"); 385*e6e6073dSLiu Zhe public static final VclComboBox Area_Font_Western_Font_Name = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_NAME"); 386*e6e6073dSLiu Zhe public static final VclComboBox Area_Font_Western_Style = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_STYLE"); 387*e6e6073dSLiu Zhe public static final VclListBox Area_Font_Western_Size = listbox("cui:MetricBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_SIZE"); 388*e6e6073dSLiu Zhe public static final VclListBox Area_Font_Western_Lang = listbox("cui:ListBox:RID_SVXPAGE_CHAR_NAME:LB_WEST_LANG"); 389*e6e6073dSLiu Zhe public static final VclComboBox Area_Font_Eastern_Font_Name = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_NAME"); 390*e6e6073dSLiu Zhe public static final VclComboBox Area_Font_Eastern_Style = combobox("cui:ComboBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_STYLE"); 391*e6e6073dSLiu Zhe public static final VclListBox Area_Font_Eastern_Size = listbox("cui:MetricBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_SIZE"); 392*e6e6073dSLiu Zhe public static final VclListBox Area_Font_Eastern_Lang = listbox("cui:ListBox:RID_SVXPAGE_CHAR_NAME:LB_EAST_LANG"); 393*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Relief = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_RELIEF"); 394*e6e6073dSLiu Zhe public static final VclButton EffectsPage_Outline = button("cui:TriStateBox:RID_SVXPAGE_CHAR_EFFECTS:CB_OUTLINE"); 395*e6e6073dSLiu Zhe public static final VclButton EffectsPage_Shadow = button("cui:TriStateBox:RID_SVXPAGE_CHAR_EFFECTS:CB_SHADOW"); 396*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Overline = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_OVERLINE"); 397*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Overline_Color = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_OVERLINE_COLOR"); 398*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Strikeout = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_STRIKEOUT"); 399*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Underline = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_UNDERLINE"); 400*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Underline_Color = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_UNDERLINE_COLOR"); 401*e6e6073dSLiu Zhe public static final VclButton EffectsPage_InvidiualWords = button("cui:CheckBox:RID_SVXPAGE_CHAR_EFFECTS:CB_INDIVIDUALWORDS"); 402*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Emphasis = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_EMPHASIS"); 403*e6e6073dSLiu Zhe public static final VclListBox EffectsPage_Position = listbox("cui:ListBox:RID_SVXPAGE_CHAR_EFFECTS:LB_POSITION"); 404*e6e6073dSLiu Zhe public static final VclControl Area_Border_Presets = control("CUI_HID_BORDER_CTL_PRESETS"); 405*e6e6073dSLiu Zhe public static final VclListBox Area_Border_LineStyle = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINESTYLE"); 406*e6e6073dSLiu Zhe public static final VclListBox Area_Border_LineColor = listbox("cui:ListBox:RID_SVXPAGE_BORDER:LB_LINECOLOR"); 407*e6e6073dSLiu Zhe public static final VclField Area_Border_Mf_Left = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_LEFT"); 408*e6e6073dSLiu Zhe public static final VclField Area_Border_Mf_Right = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_RIGHT"); 409*e6e6073dSLiu Zhe public static final VclField Area_Border_Mf_Top = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_TOP"); 410*e6e6073dSLiu Zhe public static final VclField Area_Border_Mf_Bottom = field("cui:MetricField:RID_SVXPAGE_BORDER:MF_BOTTOM"); 411*e6e6073dSLiu Zhe public static final VclButton Area_Border_Sync = button("cui:CheckBox:RID_SVXPAGE_BORDER:CB_SYNC"); 412*e6e6073dSLiu Zhe // Presentation:"Textbox Property" dialog 413*e6e6073dSLiu Zhe public static final VclToolBox Textbox_Toolbar = toolbox(".HelpId:textbar"); 414*e6e6073dSLiu Zhe public static final VclButton SD_InsertTextboxButtonOnToolbar = button(".uno:Text"); 415*e6e6073dSLiu Zhe public static final VclButton SD_FormatArea = button(".uno:FormatArea"); 416*e6e6073dSLiu Zhe 417*e6e6073dSLiu Zhe // Writer:Style and Formatting List 418*e6e6073dSLiu Zhe public static final VclControl StyleAndFormattingList = control("SFX2_HID_TEMPLATE_FMT"); 419*e6e6073dSLiu Zhe public static final VclListBox StyleFilterList = listbox("SFX2_HID_TEMPLATE_FILTER"); 420*e6e6073dSLiu Zhe public static final VclDockingWin StyleAndFormattingDlg = dockingwin(".uno:DesignerDialog"); 421*e6e6073dSLiu Zhe 422*e6e6073dSLiu Zhe // Writer:Insert Index and Table Dialog 423*e6e6073dSLiu Zhe public static final VclDialog InsertIndexDlg = dialog("SW_HID_TP_TOX_SELECT"); 424*e6e6073dSLiu Zhe 425*e6e6073dSLiu Zhe // Writer:Split Cell Dialog 426*e6e6073dSLiu Zhe public static final VclDialog Writer_SplitCellDlg = dialog("cui:ModalDialog:RID_SVX_SPLITCELLDLG"); 427*e6e6073dSLiu Zhe 428*e6e6073dSLiu Zhe // Writer:Insert Rows/Columns Dialog 429*e6e6073dSLiu Zhe public static final VclDialog Writer_InsertRowsDlg = dialog(".uno:InsertRowDialog"); 430*e6e6073dSLiu Zhe public static final VclField Writer_InsertNum = field("cui:NumericField:DLG_INS_ROW_COL:ED_COUNT"); 431*e6e6073dSLiu Zhe public static final VclButton Writer_InsertBefore = button("cui:RadioButton:DLG_INS_ROW_COL:CB_POS_BEFORE"); 432*e6e6073dSLiu Zhe public static final VclButton Writer_InsertAfter = button("cui:RadioButton:DLG_INS_ROW_COL:CB_POS_AFTER"); 433*e6e6073dSLiu Zhe public static final VclDialog Writer_InsertColumnsDlg = dialog(".uno:InsertColumnDialog"); 434*e6e6073dSLiu Zhe 435*e6e6073dSLiu Zhe // Writer:Alignment TabPage of Paragraph format 436*e6e6073dSLiu Zhe public static final VclTabPage AlignmentTabPage = tabpage("CUI_HID_FORMAT_PARAGRAPH_ALIGN"); 437*e6e6073dSLiu Zhe public static final VclButton Left = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_LEFTALIGN"); 438*e6e6073dSLiu Zhe public static final VclButton Right = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_RIGHTALIGN"); 439*e6e6073dSLiu Zhe public static final VclButton Center = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_CENTERALIGN"); 440*e6e6073dSLiu Zhe public static final VclButton Justified = button("cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_JUSTIFYALIGN"); 441*e6e6073dSLiu Zhe public static final VclListBox Lastline = listbox("cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_LASTLINE"); 442*e6e6073dSLiu Zhe public static final VclButton ExpandSingleWord = button("cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_EXPAND"); 443*e6e6073dSLiu Zhe public static final VclButton SnapToTextGrid = button("cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_SNAP"); 444*e6e6073dSLiu Zhe public static final VclListBox VerticalAlignment = listbox("cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_VERTALIGN"); 445*e6e6073dSLiu Zhe 446*e6e6073dSLiu Zhe // Writer: Insert Object Dialog 447*e6e6073dSLiu Zhe public static final VclDialog InsertObject = dialog(".uno:InsertObject"); 448*e6e6073dSLiu Zhe public static final VclButton NewObject = button("cui:RadioButton:MD_INSERT_OLEOBJECT:RB_NEW_OBJECT"); 449*e6e6073dSLiu Zhe public static final VclButton ObjectFromFile = button("cui:RadioButton:MD_INSERT_OLEOBJECT:RB_OBJECT_FROMFILE"); 450*e6e6073dSLiu Zhe public static final VclListBox ObjectType = listbox("cui:ListBox:MD_INSERT_OLEOBJECT:LB_OBJECTTYPE"); 451*e6e6073dSLiu Zhe public static final VclEditBox ObjectFilePath = editbox("cui:Edit:MD_INSERT_OLEOBJECT:ED_FILEPATH"); 452*e6e6073dSLiu Zhe public static final VclButton ObjectFileSearch = button("cui:PushButton:MD_INSERT_OLEOBJECT:BTN_FILEPATH"); 453*e6e6073dSLiu Zhe public static final VclButton ObjectFileLink = button("cui:CheckBox:MD_INSERT_OLEOBJECT:CB_FILELINK"); 454*e6e6073dSLiu Zhe public static final VclField NumberofCol = field("cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_COLUMNS"); 455*e6e6073dSLiu Zhe 456*e6e6073dSLiu Zhe // Presentation: Insert Table 457*e6e6073dSLiu Zhe public static final VclField NumberofRow = field("cui:NumericField:RID_SVX_NEWTABLE_DLG:NF_ROWS"); 458*e6e6073dSLiu Zhe public static final VclDialog InsertSlideObjects = dialog("SD_HID_DLG_INSERT_PAGES_OBJS"); 459*e6e6073dSLiu Zhe 460*e6e6073dSLiu Zhe // Presentation: Slide Transition Settings 461*e6e6073dSLiu Zhe public static final VclListBox ImpressSlideTransitions = listbox("SD_HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS"); 462*e6e6073dSLiu Zhe public static final VclListBox SlideShowSpeed = listbox("SD_HID_SD_SLIDETRANSITIONPANE_LB_SPEED"); 463*e6e6073dSLiu Zhe public static final VclButton SlideAutoAfter = button("SD_HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO"); 464*e6e6073dSLiu Zhe public static final VclButton ApplyToAllSlides = button("SD_HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL"); 465*e6e6073dSLiu Zhe 466*e6e6073dSLiu Zhe // Spreadsheet: Standard Filter Dialog 467*e6e6073dSLiu Zhe public static final VclComboBox FilterValue1 = combobox("sc:ComboBox:RID_SCDLG_FILTER:ED_VAL1"); 468*e6e6073dSLiu Zhe public static final VclDialog StandardFilterDlg = dialog(".uno:DataFilterStandardFilter"); 469*e6e6073dSLiu Zhe 470*e6e6073dSLiu Zhe // Fontwork 471*e6e6073dSLiu Zhe public static final VclDialog FontworkGalleryDlg = dialog("svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY"); 472*e6e6073dSLiu Zhe 473*e6e6073dSLiu Zhe } 474