1 'encoding UTF-8 Do not remove or change this line!
2 '*******************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: id_tools_2.inc,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 10:43:16 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/******************************************************************************
34 '* Owner : wolfram.garten@sun.com
36 '* short description : some tools (Subs)
38 '\******************************************************************************
42 ' #1 callAutocorrectOptions
45 ' #1 sCheckSupperscript
50 ' #1 tClipboardFromDrawTest
52 ' #1 SaveMeasurementSetFirst
53 ' #1 MeasurementSetFirst
55 ' #1 SetKontextApplication
56 ' #1 hSetSpellHypLanguage
58 ' #1 Position_Vergleichen
60 ' #1 sFormatTextDrawAnimation
61 ' #1 mouseclickinpresentation
90 '\*****************************************************************
94 printlog " just exporting is done in qatesttool/framework/first test: 'tGraphicExport' but there is no loading, "
95 printlog "+ of the created files and the items on the dialogs are not checked completely "
96 Dim ExZaehler as Integer
98 Dim Liste( 50 ) as String
100 if (gApplication = "IMPRESS") then
101 ExtensionString = "odp"
103 ExtensionString = "odg"
106 printlog "- all files are saved in [StarOfficePath]/user/work/[application]/export "
107 ExPath = ConvertPath (gOfficePath + "user\work\" + gApplication + "\export\" )
108 OutputGrafikTBO = ExPath & "expo"
109 Printlog "Create the export-dir for the graphics ( + ExPath + )"
112 ExZaehler = GetFileList ( ExPath , "*.*" , Liste() )
113 if ExZaehler <> 0 then
114 Printlog "The export-dir exists. The test want to delete all Files ( " + ExZaehler + " )!"
115 if KillFileList ( Liste() ) = FALSE then
116 Warnlog "Not all files can be deleted. " + ListCount ( Liste() ) + " files exists!"
120 Warnlog "An error at creating the export-dir, the test ends!"
124 printlog "+ open the test document qatesttool/graphics/required/input/graphicexport.od ? ] "
128 '-------------------------------------------------------------------------
129 sub callAutocorrectOptions
133 active.SetPage TabOptionen
134 Kontext "TabOptionen"
137 '-------------------------------------------------------------------------------
138 sub sCheckCheck (i, Pruefung$, bEnabled)
140 hTextrahmenErstellen (Pruefung$,20,20,60,40)
143 ' Disabled sCheckUnderlined due to start of external program (web-browser) - FHA
144 case 5: bEnabled 'sCheckUnderlined (bEnabled)
145 case 6: sCheckSupperscript (bEnabled)
146 case 8: sCheckDash (bEnabled)
148 hTypeKeys "<Home><Shift End>"
150 if (GetClipboardText = Pruefung$) then ' not replaced
151 if bEnabled then ' not as expected
152 warnlog "- replacement failed"
155 if not bEnabled then ' not as expected
156 warnlog "- replacement failed : '" + Pruefung$ + "' - '" + GetClipboardText + "'"
161 hTypeKeys "<Home><Shift End><Delete>"
164 '-------------------------------------------------------------------------------
165 sub sCheckUnderlined (bEnabled)
168 hTypeKeys "<End><Left><Shift Left>"
175 if (bEnabled <> btemp) then
176 warnlog "- replacement failed"
179 if active.exists(5) then
184 '-------------------------------------------------------------------------------
185 sub sCheckSupperscript (bEnabled)
187 hTypeKeys "<Home><Right><Right>"
190 Active.SetPage TabFontPosition
191 Kontext "TabFontPosition"
192 if (bEnabled <> Superscript.IsChecked) then
193 warnlog "- replacement failed"
198 '-------------------------------------------------------------------------------
199 sub sCheckDash (bEnabled)
202 ' en dash is 8211 / alt + 0150
203 ' em dash is 8212 / alt + 0151 ' which doen't work atm
205 hTypeKeys "<End><Left><Left><Left><Left><Left><Left><Left><Left><Shift Left>"
208 if ((asc(sTemp) <> 45) <> bEnabled) then
209 warnlog "- replacement failed : " + bEnabled + " : " + asc(sTemp)
213 '-------------------------------------------------------------------------------
214 sub sPrintCheckOrder (optional bcheck as boolean)
219 printlog " deselect all "
220 Printlog "-----------------------------------"
221 printlog " select in default order and take Position X in mind ;-) "
222 hTypeKeys ("<escape><escape>")
225 sTemp = fGetPositionX()
226 Printlog " - " + i +": " + sTemp
227 if ((isMissing(bcheck) <> FALSE) AND (bcheck = TRUE)) then
229 Case 1: sTemp2 = Ueber_Text_1
230 Case 2: sTemp2 = Ueber_Text_2
231 Case 3: sTemp2 = Ueber_Text_3
233 if sTemp <> sTemp2 then
234 warnlog " + " + i + " Arrangement is wrong; is: "+sTemp+"; should: "+sTemp2+";"
238 hTypeKeys ("<escape><escape>")
239 Printlog "-----------------------------------"
242 '--------------------------- Tests for Writer ----------------------------------
246 call Make_And_Check_Formatted_Text_Line_From_Application
248 warnlog "Something went wrong with testing writertest"
252 call Make_Rectangle_From_Application
254 call Full_test_Impress
255 call Full_test_Writer
258 warnlog "something wrong with testing writertest"
262 '---------------------------- Tests for Calc -----------------------------------
266 call Make_Rectangle_From_Application
268 call Full_test_Impress
269 call Full_test_Writer
272 warnlog "something wrong with calctest"
274 printlog "currently no specific tests from Calc"
277 '-------------------------------------------------------------------------------
278 sub tClipboardFromDrawTest
280 EnableQAErrors = false
281 FromApp2 = gApplication
282 printlog "gApplication = " + gApplication
284 if gApplication = "WRITER" then
289 if gApplication = "CALC" then
295 '-------------------------------------------------------------------------------
298 printlog " Select and copy "
300 if gApplication = "DRAW" then
302 printlog " We just ran EditSelectAll - Application is Draw"
304 if gApplication = "IMPRESS" then
306 printlog " We just ran EditSelectAll - Application is Impress"
311 printlog " Copied object"
314 '-------------------------------------------------------------------------------
315 sub SaveMeasurementSetFirst
317 if (gApplication = "DRAW") then
318 sApplication = "DRAWING"
319 elseIf (gApplication = "IMPRESS") then
320 sApplication = "IMPRESS"
321 elseIf (gApplication = "WRITER") then
322 sApplication = "WRITER"
323 elseIf (gApplication = "CALC") then
324 sApplication = "CALC"
326 printlog " - save states "
328 hToolsOptions (sApplication,"General")
329 ReferenceOld = Masseinheit.GetSelText
330 Masseinheit.TypeKeys= "<HOME>" '(first entry)
331 ReferenceNew = Masseinheit.GetSelText
332 Kontext "ExtrasOptionenDlg"
336 '-------------------------------------------------------------------------------
337 sub MeasurementSetFirst
340 if (gApplication = "DRAW") then
341 sApplication = "DRAWING"
342 elseIf (gApplication = "IMPRESS") then
343 sApplication = "IMPRESS"
344 elseIf (gApplication = "WRITER") then
345 sApplication = "WRITER"
346 elseIf (gApplication = "CALC") then
347 sApplication = "CALC"
350 hToolsOptions (sApplication,"General")
351 if Masseinheit.GetSelText <> ReferenceNew then 'find the right one.
352 Masseinheit.TypeKeys "<HOME>"
353 for f = 1 to Masseinheit.GetItemCount
354 if Masseinheit.GetSelText = ReferenceNew then
355 i = Masseinheit.GetItemCount 'find the right one.
357 Masseinheit.TypeKeys "<DOWN>"
361 Kontext "ExtrasOptionenDlg"
365 '-------------------------------------------------------------------------------
369 if (gApplication = "DRAW") then
370 sApplication = "DRAWING"
371 elseIf (gApplication = "IMPRESS") then
372 sApplication = "IMPRESS"
373 elseIf (gApplication = "WRITER") then
374 sApplication = "WRITER"
375 elseIf (gApplication = "CALC") then
376 sApplication = "CALC"
378 printlog " - Reset states back to what they were before "
380 hToolsOptions (sApplication,"General")
381 if Masseinheit.GetSelText <> ReferenceOld then 'find the right one.
382 Masseinheit.TypeKeys "<HOME>"
383 for f = 1 to Masseinheit.GetItemCount
384 if Masseinheit.GetSelText = ReferenceOld then
385 i = Masseinheit.GetItemCount 'find the right one.
387 Masseinheit.TypeKeys "<DOWN>"
391 Kontext "ExtrasOptionenDlg"
395 '-------------------------------------------------------------------------------
396 sub SetKontextApplication
398 Select Case gApplication
400 Kontext "DocumentDraw"
401 'Printlog "gApplication / Kontext is now: DocumentDraw"
404 Kontext "DocumentImpress"
405 'Printlog "gApplication / Kontext is now is now: DocumentImpress"
408 Kontext "DocumentWriter"
409 'Printlog "gApplication / Kontext is now is now: DocumentWriter"
412 Kontext "DocumentCalc"
413 'Printlog "gApplication / Kontext is now is now: DocumentCalc"
419 '-------------------------------------------------------------------------------
421 sub hSetSpellHypLanguage
422 printlog " select a language with a dictionary, used for spellcheck, thesaurus and hyphenation "
423 dim sTrieit as string
425 ' only for asian languages i need to set the default language for the current document to 'English(USA)'
426 ' in all other languages the default has a dictionary
427 if (bAsianLan or (iSprache=55)) then
428 printlog " Tools->Options "
430 printlog " select from section 'Language Settings' the item 'Languages' "
431 hToolsOptions ("LANGUAGESETTINGS","LANGUAGES")
432 printlog " check checkbox 'For the current document only' in section 'Default languages for document' "
433 AktuellesDokument.Check
434 printlog " If there is no Language defined in 'locale-file' (in same directory as this file is) be smart and select one that supports spellchecking "
435 if (glLocale(4) = "") then
436 Kontext "ExtrasOptionenDlg"
437 printlog "+ cancel dialog 'Options - ' "
438 ExtrasOptionenDlg.Cancel
439 printlog "+ call the smart subroutine that tells you a valid language with an dictionary "
440 sTrieit = hFindSpellHypLanguage
441 printlog "+ Tools->Options "
443 printlog "+ select from section 'Language Settings' the item 'Languages' "
444 hToolsOptions ("LANGUAGESETTINGS","LANGUAGES")
445 printlog "+ check checkbox 'For the current document only' in section 'Default languages for document' "
446 AktuellesDokument.Check
447 printlog " if smart routine found something, select it in section 'Default languages for document' listbox 'Western' "
448 printlog "+ (manual users just select a language that has an icon in front of it ('ABC' with a checkmark) "
449 if (sTrieit <> "") then
451 Westlich.Select sTrieit
453 Asiatisch.Select sTrieit
456 qaErrorLog "Sorry no spellbook found: id_tools.inc::hSetSpellHypLanguage"
459 printlog " if a Language is already defined in the textfile "
460 printlog glLocale (4)
462 printlog " select it in section 'Default languages for document' listbox 'Western' "
463 printlog "+ (manual users just select a language that has an icon in front of it ('ABC' with a checkmark) "
465 Westlich.Select glLocale (4)
467 Asiatisch.Select glLocale (4)
470 warnlog "this language is not available: '" + glLocale (4) + "'"
476 printlog "selected: '" + Westlich.GetSelText + "'"
478 printlog "selected: '" + Asiatisch.GetSelText + "'"
480 Kontext "ExtrasOptionenDlg"
481 printlog "+ close dialog 'Options - ' with OK "
486 '-------------------------------------------------------------------------------
489 hRechteckErstellen ( 10, 10, 30, 40 )
492 '-------------------------------------------------------------------------------
493 sub Position_Vergleichen (Ueber_Text_1 as string,Ueber_Text_2 as string,Ueber_Text_3 as string) ' Ueber_Text_1 : X-Position des Objektes
495 dim Dummy_Text as string
496 '------------------------------------------------------------ ' Ueber_Text_2 : printlog, bei richtigem Objekt
500 ContextPositionAndSize
502 active.SetPage TabPositionAndSize
503 kontext "TabPositionAndSize"
504 Dummy_Text = PositionX.GetText
505 TabPositionAndSize.OK
507 if TabPositionAndSize.exists (5) then printlog "Yo!"
509 if Dummy_Text = Ueber_Text_1 then
510 Printlog Ueber_Text_2
512 warnlog Ueber_Text_3,": is: ", Dummy_Text,"; should be: ", Ueber_Text_1
516 '-------------------------------------------------------------------------------
519 printlog "------------------- g_demoguide.inc ------------------------"
522 call t_Interoperability
527 '--------------------------------------------------------------------
528 sub sFormatTextDrawAnimation
540 Active.SetPage TabLauftext
541 Kontext "TabLauftext"
544 '-------------------------------------------------------------------------------
545 sub mouseclickinpresentation
547 Kontext "DocumentPresentation"
549 DocumentPresentation.MouseDown ( 50, 50 )
550 printlog " switch slides using mouse clicks "
551 DocumentPresentation.MouseUp ( 50, 50 )
555 '-------------------------------------------------------------------------------
558 printLog Chr(13) + "--------- im_002_ ---------- $Date: 2008-06-16 10:43:16 $ $Revision: 1.1 $ "
560 Call tiEditDeleteSlide
563 '-------------------------------------------------------------------------------
566 printLog Chr(13) + "--------- im_003_ ----------"
568 Call tiViewMasterView
569 Call tiViewSlideMaster
571 'TODO: TBO not necessary here, move to optional
575 '-------------------------------------------------------------------------------
578 printLog Chr(13) + "--------- im_004_ ----------"
580 Call tiInsertSlideExpandSummary
583 '-------------------------------------------------------------------------------
586 printLog Chr(13) + "--------- im_005_ ---------- "
588 Call tiFormatModifyLayout ' impress only
591 '-------------------------------------------------------------------------------
594 printLog Chr(13) + "--------- im_007_ ---------- "
596 Call tSlideShowSlideShow
597 Call tSlideShowRehearseTimings
598 Call tSlideShowSlideShowSettings
599 Call tSlideShowCustomSlideShow
600 Call tSlideShowSlideTransition
602 Call tSlideShowShowHideSlide
603 Call tSlideShowAnimation
604 Call tSlideShowCustomAnimation
605 Call tSlideShowInteraction
608 '-------------------------------------------------------------------------------
611 printLog Chr(13) + "--------- im_011_ ---------- "
613 Call tiDiaLeiste ' only IMPRESS
616 '-------------------------------------------------------------------------------
619 printLog Chr(13) + "--------- D_002_ ---------- "
621 Call tdEditCrossFading
625 '-------------------------------------------------------------------------------
628 printLog Chr(13) + "--------- D_003_ ---------- "
634 '-------------------------------------------------------------------------------
637 printLog Chr(13) + "--------- D_005_ ---------- "
639 call tiFormatLayer ' only in draw !!!!!
642 '-------------------------------------------------------------------------------
645 printLog Chr(13) + "--------- d_007 ---------- "
650 '-------------------------------------------------------------------------------
653 Kontext "DocumentWriter"
657 if Gallery.NotExists(2) then
663 '-------------------------------------------------------------------------
664 sub LoadGraphic ( sFile as String, bOK as Boolean ) as boolean
670 if app.FileLen(sFile) = "0" then warnlog " the file (" + (sFile) + ") seems to be zero bytes large."
671 call hGrafikEinfuegen ( sFile )
674 Active.SetPage TabType
677 iW = Val ( makeNumOutOfText ( Width.GetText ) )
678 iH = Val ( makeNumOutOfText ( Height.GetText )
679 if instr ( sFile, "photo" ) <> 0 then
686 if iW > iWMax OR iH > iHMax then
687 printlog sFile + " :"
688 warnlog "Size is too big ( max should be '" + iWMax + "' cm* '" + iHMax + "'cm DinA4 with default borders ), but it is '" + iW + "' * '" + iH + "'"
693 Kontext "DocumentWriter"
694 DocumentWriter.TypeKeys "<Delete>"
699 '-------------------------------------------------------------------------
700 sub CheckGraphic ( sFile as String, bOK as Boolean ) as boolean
702 if app.FileLen(sFile) = "0" then warnlog " the file (" + (sFile) + ") seems to be zero bytes large."
706 '-------------------------------------------------------------------------
707 sub GetOnlyGraphics ( OldList() as String, NewList() as String )
710 Dim sExtension as String
712 ListAllDelete ( NewList() )
713 for i=1 to ListCount ( OldList() )
714 sExtension = lcase ( Right ( OldList(i), 3 ) )
715 if sExtension = "jpg" OR sExtension = "gif" OR sExtension = "wmf" OR sExtension = "png" then
716 ListAppend ( NewList(), OldList(i) )
721 '-------------------------------------------------------------------------
724 printLog Chr(13) + "--------- id_001 ----------"
726 qaerrorlog "#74988# tiFilePassword outcommented due to bug. -FHA"
731 printlog " File->Send not possible to test, because extrnal prg get's called!"
734 ' Call tiFileNew instead i call:
735 call tmFileNewFromTemplate
743 call tmFileProperties
745 call tmFilePrinterSetting
747 ' Call AutoPilot 'inc\desktop\autopilo.inc
748 call tmFileExit ' don't test because unpredictable behaviour
751 '------------------------------------------------------------------------------
754 printLog Chr(13) + "--------- id_002 ----------"
758 call tiEditCutPasteCopySelectall
759 call tiEditPasteSpecial
760 call tiEditSearchAndReplace
764 call tdEditDeleteSlide
767 call tiEditObjectProperties
768 call tiEditObjectEdit
773 '-------------------------------------------------------------------------
776 printLog Chr(13) + "--------- id_003 ----------"
781 Call tToolsCustomize 'global\required\include
782 call tiViewDisplayQuality
788 '-------------------------------------------------------------------------
791 printLog Chr(13) + "--------- id_004 ----------"
794 call tiInsertDuplicateSlide
798 call tiInsertSpecialCharacter
799 call tiInsertHyperlink
802 call tiInsertObjectSound
803 call tiInsertObjectVideo
804 call tiInsertObjectSound
805 call tiInsertObjectVideo
807 call tiInsertObjectOLEObjects
808 call tiInsertSpreadsheet
810 call tiInsertFloatingFrame
813 call tiInsertSnappointLine
814 call tdInsertLayer ' IMPRESS: Edit->Layer->Insert
817 '------------------------------------------------------------------------------
820 printLog Chr(13) + "--------- id_005 ----------"
826 call tiFormatPositionAndSize
827 call tiFormatCharacter
828 call tiFormatControlForm
830 call tiFormatDimensions
831 call tiFormatConnector
832 call tiFormat3D_Effects
833 call tiFormatNumberingBullets
834 call tiFormatCaseCharacter
835 call tiFormatParagraph
837 call tiFormatStylesAndFormatting
838 call tiFormatStylesSlideDesign
839 call tiFormatFontwork
841 printlog " format->group is also modify->group "
842 ' tiFormatLayer ' not in impress
845 '------------------------------------------------------------------------------
848 printLog Chr(13) + "--------- id_006 ----------"
850 call tiToolsSpellchecking
851 call tiToolsSpellcheckingAutomatic
852 call tiToolsThesaurus
853 call tiToolsHyphenation
854 call tiToolsAutoCorrect
855 call tChineseTranslation
858 call tiToolsEyedropper
859 call tiToolsOptions ' get just called one time here...
860 Call tToolsOptionsTest ' global one
863 '-------------------------------------------------------------------------------
866 printLog Chr(13) + "--------- id_007 ----------"
867 ' in imp available via context menu, in draw via modify menu
869 call tdModifyFlipVertikal
870 call tdModifyFlipHorizontal
871 call tdContextConvertIntoCurve
872 call tdContextConvertIntoPolygon
873 call tdContextConvertIntoContour
874 call tdContextConvertInto3D
875 call tdContextConvertIntoRotationObject
876 call tdContextConvertIntoBitmap
877 call tdContextConvertIntoMetaFile
879 call tdModifyArrangeObjects
880 call tdModifyAlignment
881 call tdContextDistribution
882 call tdContextDescriptionObject
883 call tdContextNameObject
884 call tdModifyConnectBreak
886 call tdModifyCombineSplit
889 '-------------------------------------------------------------------------------
892 printLog Chr(13) + "--------- id_008 ----------"
894 Call tiWindowNewWindow
898 '------------------------------------------------------------------------------
901 printLog Chr(13) + "--------- id_009 ----------"
903 call tCheckIfTheHelpExists
907 Call tmHelpExtendedTips
908 Call tmHelpAboutStarOffice
912 '------------------------------------------------------------------------------
915 printLog Chr(13) + "--------- id_011 ----------"
920 call tiGraphicsObjectBar
921 call tiGluepointToolbar
925 '-------------------------------------------------------------------------------'
927 sub hWalkTheStyles (optional a as integer,optional b as integer)
930 if isMissing (a) then a=1
931 if isMissing (b) then b=2
933 if a <= i AND i <= b then
935 printlog " switch to tabpage 'Line' "
936 Messagebox.SetPage TabLinie
938 Call DialogTest ( TabLinie )
940 printlog " switch to tabpage 'Area' "
941 Messagebox.SetPage TabArea
943 Call DialogTest ( TabArea )
944 printlog " select radio button 'none' "
946 Call DialogTest ( TabArea, 1 )
947 printlog " select radio button 'color' "
949 Call DialogTest ( TabArea, 2 )
950 printlog " select radio button 'gradient' "
952 Call DialogTest ( TabArea, 3 )
953 printlog " select radio button 'hatching' "
955 Call DialogTest ( TabArea, 4 )
956 printlog " select radio button 'bitmap' "
958 Call DialogTest ( TabArea, 5 )
960 printlog " switch to tabpage 'shadowing' "
961 Messagebox.SetPage TabSchatten
962 kontext "TabSchatten"
963 printlog " check 'use shadow' "
965 Call DialogTest ( TabSchatten )
967 printlog " switch to tabpage 'Transparency' "
968 Messagebox.SetPage TabTransparenz
969 kontext "TabTransparenz"
970 printlog " check 'No transparency' "
971 KeineTransparenz.Check
972 printlog " check 'Transparency' "
973 LineareTransparenz.Check
974 printlog " check 'Gradient' "
975 Transparenzverlauf.Check
977 printlog " switch to tabpage 'Font' "
978 Messagebox.SetPage TabFont
980 Call DialogTest ( TabFont )
982 printlog " switch to tabpage 'Font Effect' "
983 Messagebox.SetPage TabFontEffects
984 kontext "TabFontEffects"
986 printlog " switch to tabpage 'indents & spacing' "
987 Messagebox.SetPage TabEinzuegeUndAbstaende
988 kontext "TabEinzuegeUndAbstaende"
989 Call DialogTest ( TabEinzuegeUndAbstaende )
992 if a <= i AND i <= b then
994 printlog " switch to tabpage 'Organize' "
995 Messagebox.SetPage TabVerwalten
996 kontext "TabVerwalten"
997 Call DialogTest ( TabVerwalten )
999 printlog " switch to tabpage 'text' "
1000 Messagebox.SetPage TabText
1002 Call DialogTest ( TabText )
1004 printlog " switch to tabpage 'text animation' "
1005 Messagebox.SetPage TabLauftext
1006 Kontext "TabLauftext"
1007 Call DialogTest ( TabLauftext )
1009 printlog " switch to tabpage 'dimension' "
1010 Messagebox.SetPage TabBemassung
1011 Kontext "TabBemassung"
1012 Call DialogTest ( TabBemassung )
1014 printlog " switch to tabpage 'connector' "
1015 Messagebox.setpage TabVerbinder
1016 Kontext "TabVerbinder"
1017 Call Dialogtest ( TabVerbinder )
1019 printlog " switch to tabpage 'alignment' "
1020 Messagebox.setpage TabAusrichtungAbsatz
1021 Kontext "TabAusrichtungAbsatz"
1027 printlog " switch to tabpage 'Tabs' "
1028 Messagebox.setpage TabTabulator
1029 Kontext "TabTabulator"
1030 printlog " click 'new' "
1032 printlog " ' MAYBE CHECK COUNT OF THIS ?? Position svx:MetricBox:RID_SVXPAGE_TABULATOR:ED_TABPOS "
1033 printlog " click 'delete all' "
1035 printlog " click 'new' "
1037 printlog " click 'delete' "
1041 if a <= i AND i <= b then
1043 printlog " switch to tabpage 'Bullets' "
1044 Messagebox.SetPage TabBullet
1047 Call DialogTest (TabBullet)
1050 printlog " switch to tabpage 'Numbering Type' "
1051 Messagebox.SetPage TabNumerierungsart
1052 Kontext "TabNumerierungsart"
1054 Call DialogTest (TabNumerierungsart)
1057 printlog " switch to tabpage 'Graphics' "
1058 Messagebox.SetPage TabGrafiken
1059 Kontext "TabGrafiken"
1061 Call DialogTest (TabGrafiken)
1064 printlog " switch to tabpage 'Customize' "
1065 Messagebox.SetPage TabOptionenNumerierung
1066 Kontext "TabOptionenNumerierung"
1068 Call DialogTest (TabOptionenNumerierung)
1073 '---------------------------------------------------------------------------------------