1 '**************************************************************************
2 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 '* Copyright 2008 by Sun Microsystems, Inc.
6 '* OpenOffice.org - a multi-platform office productivity suite
8 '* $RCSfile: w_005_.inc,v $
12 '* last change: $Author: vg $ $Date: 2008-08-18 12:41:15 $
14 '* This file is part of OpenOffice.org.
16 '* OpenOffice.org is free software: you can redistribute it and/or modify
17 '* it under the terms of the GNU Lesser General Public License version 3
18 '* only, as published by the Free Software Foundation.
20 '* OpenOffice.org is distributed in the hope that it will be useful,
21 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
22 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 '* GNU Lesser General Public License version 3 for more details
24 '* (a copy is included in the LICENSE file that accompanied this code).
26 '* You should have received a copy of the GNU Lesser General Public License
27 '* version 3 along with OpenOffice.org. If not, see
28 '* <http://www.openoffice.org/license.html>
29 '* for a copy of the LGPLv3 License.
31 '/************************************************************************
33 '* owner : helge.delfs@sun.com
35 '* short description : Testcases for the Format-Menu
37 '\******************************************************************
41 printLog Chr(13) + "--------- Menu Format (w_005_.inc) ----------"
42 gApplication = "WRITER"
48 Call tFormatNumberingBullets
51 Call tFormatChangeCase
57 Call tFormatAutoformatWhileTyping
60 Call tFormatAnchorArea
66 Call tHtmlDocFormatParagraph
67 Call tHtmlDocFormatPage
68 Call tHtmlDocFormatStylist
69 gApplication = "WRITER"
73 '------------------------------------------------------
75 testcase tFormatDefault
76 PrintLog "- Format / Default"
78 printlog " Open new document"
80 printlog " Insert dummy text"
81 Call wBlindtextEinfuegen
82 printlog " Edit / Select All"
84 printlog " Format / Default"
86 printlog " Close active document"
90 '------------------------------------------------------
92 testcase tFormatSections
93 printlog "- Format / Sections"
94 printlog " Open new document"
96 printlog " Insert / Section"
98 printlog " Step through all tabpages"
100 Active.Setpage TabBereiche
101 Kontext "TabBereiche"
102 Bereichsliste.SetText "Mein Bereich"
105 hUseAsyncSlot( "FormatSections" )
106 Kontext "BereicheBearbeiten"
107 Call Dialogtest(BereicheBearbeiten)
111 Active.SetPage TabSpalten
113 Call Dialogtest(TabSpalten)
115 Active.SetPage TabHintergrund
116 Kontext "TabHintergrund"
117 Call DialogTest(TabHintergrund, 1)
119 Call DialogTest (TabHintergrund,2)
123 If Active.Exists then
124 if Active.GetRT = 304 then
125 Warnlog Active.GetText
130 Kontext "GrafikEinfuegenDlg"
131 if ( GrafikEinfuegenDlg.exists( 1 ) ) then
132 GrafikEinfuegenDlg.Cancel
135 warnlog( "Dialog <GrafikEinfuegenDlg> is not available" )
138 Kontext "TabHintergrund"
139 TabHintergrund.Cancel
141 Kontext "BereicheBearbeiten"
142 if ( BereicheBearbeiten.exists( 1 ) ) then
143 BereicheBearbeiten.Cancel
145 warnlog( "Dialog <BereicheBearbeiten> is not available" )
147 printlog " Close active document"
151 '------------------------------------------------------
153 testcase tFormatCharacter
154 PrintLog "- Format / Character"
157 printlog " Open new document"
160 printlog " Format / Character"
163 printlog " Step through all tabpages"
165 active.SetPage TabFont
167 Call DialogTest ( TabFont )
170 active.SetPage TabFontEffects
171 kontext "TabFontEffects"
172 Call DialogTest ( TabFontEffects )
175 Active.SetPage TabFontPosition
176 Kontext "TabFontPosition"
177 Call DialogTest ( TabFontPosition )
179 if gAsianSup = True then
182 Active.SetPage TabAsianLayout
183 Kontext "TabAsianLayout"
184 Call DialogTest ( TabAsianLayout )
186 Warnlog "Tabpage 'Asian Layout' is not visible! Activated in Options ?"
191 active.SetPage TabHyperlinkZeichen
192 Kontext "TabHyperlinkZeichen"
193 Call DialogTest ( TabHyperlinkZeichen )
197 if OeffnenDlg.Exists( 1 ) then
200 Warnlog "File-Open dialog is not up!"
203 Kontext "TabHyperlinkZeichen"
205 ' if no JRE is installed a messagebox appears
209 if Active.Exists then
210 if Active.GetRT = 304 then
211 if j = 1 then Warnlog Active.Gettext
220 Kontext "MakroZuweisen"
221 Call DialogTest ( MakroZuweisen )
224 active.SetPage TabHintergrund
225 kontext "TabHintergrund"
226 Call DialogTest ( TabHintergrund )
227 printlog " Close dialog"
230 printlog " Close active document"
234 '------------------------------------------------
236 testcase tFormatChangeCase
237 printlog "- Format / Change Case"
238 printlog " Open new document"
240 printlog " Insert some text in document and select text"
241 Call wTypeKeys ("Hello World!")
242 Call wTypeKeys ("<Shift Home>")
244 printlog " Format / Case Characters / Upper"
245 hUseAsyncSlot( "FormatChangeCaseUpper" )
247 printlog " Format / Case Characters / Lower"
248 hUseAsyncSlot( "FormatChangeCaseLower" )
250 if ( gAsianSup ) then
252 FormatChangeCaseHalfWidth
253 printlog " Format / Case Characters / Half Width"
255 Warnlog "Format / Change Case / Half Width does not work. Maybe no Asian support!"
260 printlog " Format / Case Characters / Full Width"
261 FormatChangeCaseFullWidth
263 Warnlog "Format / Change Case / Full Width does not work. Maybe no Asian support!"
268 printlog " Format / Case Characters / Hiragana"
269 FormatChangeCaseHiragana
271 Warnlog "Format / Change Case / Hiragana does not work. Maybe no Asian support!"
276 printlog " Format / Case Characters / Katagana"
277 FormatChangeCaseKatagana
279 Warnlog "Format / Change Case / Katagana does not work. Maybe no Asian support!"
283 printlog " Close active document"
287 '------------------------------------------------
290 printlog "- Format / Ruby"
291 if gAsianSup = True then
292 if gApplication = "HTML" then
293 printlog "Not in WriterWeb!"
297 printlog " Open new document"
298 Call wTypeKeys ("Hello World!")
299 Call wTypeKeys ("<Shift Home>")
300 printlog " Insert some text in document"
303 printlog " Format / Ruby"
306 Warnlog "Format / Ruby does not work. Maybe No Asian support!"
311 Call DialogTest ( RubyDialog )
313 printlog " Open Stylist"
317 if Stylist.Exists( 1 ) then
320 Warnlog "Stylist has not been opened!"
323 printlog " Close Stylist and Ruby dialog"
327 printlog " Close active document"
332 '------------------------------------------------
334 testcase tFormatParagraph
335 PrintLog "- Format / Paragraph"
337 printlog " Open new document"
339 printlog " Format / Paragraph"
343 active.SetPage TabEinzuegeUndAbstaende
344 kontext "TabEinzuegeUndAbstaende"
345 Call DialogTest ( TabEinzuegeUndAbstaende )
346 printlog " Step through all tabpages"
349 Active.SetPage TabAusrichtungAbsatz
350 Kontext "TabAusrichtungAbsatz"
351 Call DialogTest ( TabAusrichtungAbsatz )
354 active.SetPage TabNumerierungAbsatz
355 kontext "TabNumerierungAbsatz"
356 Call DialogTest ( TabNumerierungAbsatz )
359 active.SetPage TabUmrandung
360 kontext "TabUmrandung"
361 Call DialogTest ( TabUmrandung )
363 if gApplication <> "HTML" then
365 active.SetPage TabTextfluss
366 kontext "TabTextfluss"
367 Call DialogTest ( TabTextfluss )
369 if ( gAsianSup ) then
372 Active.SetPage TabAsianTypography
373 Kontext "TabAsianTypography"
374 Call DialogTest ( TabAsianTypography )
376 Warnlog "Tabpage 'Asian Typography' is not visible! Activated in Options ?"
381 active.SetPage TabTabulator
382 kontext "TabTabulator"
383 Call DialogTest ( TabTabulator )
386 active.SetPage TabInitialen
387 kontext "TabInitialen"
389 Call DialogTest ( TabInitialen )
392 active.SetPage TabHintergrund
393 Kontext "TabHintergrund"
394 Call DialogTest ( TabHintergrund, 1 )
396 Kontext "TabHintergrund"
397 Call DialogTest ( TabHintergrund, 2 )
399 Kontext "GrafikEinfuegenDlg"
400 GrafikEinfuegenDlg.Cancel
402 printlog " Close dialog"
403 kontext "TabHintergrund"
406 printlog " Close dialog"
410 printlog " Close active document"
414 '------------------------------------------------
417 PrintLog "- Format / Page"
419 printlog " Open new document"
422 printlog " Format / Page"
426 printlog " Step through all tabpages"
427 active.SetPage TabVerwalten
428 kontext "TabVerwalten"
429 Call DialogTest ( TabVerwalten )
432 active.SetPage TabSeite
434 Call DialogTest ( TabSeite )
437 active.SetPage TabHintergrund
439 If Active.GetRT = 304 then Active.Yes ' Messagebox abfangen-> Seitenr�nder au�erhalb des Bereichs
442 active.SetPage TabHintergrund
443 kontext "TabHintergrund"
444 Call DialogTest ( TabHintergrund, 1 )
446 Call DialogTest ( TabHintergrund, 2 )
449 Kontext "GrafikEinfuegenDlg"
450 if ( GrafikEinfuegenDlg.exists( 1 ) ) then
451 GrafikEinfuegenDlg.Cancel
453 warnlog( "Dialog <GrafikEinfuegenDlg> is not available" )
457 active.SetPage TabKopfzeile
458 kontext "TabKopfzeile"
459 Call DialogTest ( TabKopfzeile )
460 if gApplication <> "HTML" then
461 KopfzeileMitAbstand.Check
465 active.SetPage TabUmrandung
466 kontext "TabUmrandung"
467 Call DialogTest ( TabUmrandung )
469 active.SetPage TabHintergrund
470 kontext "TabHintergrund"
471 Call DialogTest ( TabHintergrund )
473 Call DialogTest ( TabHintergrund )
477 active.SetPage TabFusszeile
478 kontext "TabFusszeile"
479 Call DialogTest ( TabFusszeile )
480 if gApplication <> "HTML" then
481 FusszeileMitAbstand.Check
485 active.SetPage TabUmrandung
486 kontext "TabUmrandung"
487 Call DialogTest ( TabUmrandung )
489 active.SetPage TabHintergrund
490 kontext "TabHintergrund"
491 Call DialogTest ( TabHintergrund, 1 )
493 Call DialogTest ( TabHintergrund, 2 )
497 active.SetPage TabUmrandung
498 kontext "TabUmrandung"
499 Call DialogTest ( TabUmrandung )
502 active.SetPage TabSpalten
504 Call DialogTest ( TabSpalten )
506 if gAsianSup = True then
508 active.Setpage TabGrid
510 Call DialogTest ( TabGrid )
514 active.SetPage TabFussnote
515 kontext "TabFussnote"
516 Call DialogTest ( TabFussnote )
517 printlog " Close dialog"
520 printlog " Close dialog"
524 printlog " Close active document"
528 '--------------------------------------------------
530 testcase tFormatNumberingBullets
531 dim referencecounter as integer
532 PrintLog "- Format / Numbering / Bullets"
534 printlog " Open new document"
537 printlog " Format / Numbering/Bullets"
538 FormatNumberingBullets
541 printlog " Step through all tabpages"
543 Active.SetPage TabBullet
545 Call DialogTest ( TabBullet )
548 Active.SetPage TabNumerierungsart
549 Kontext "TabNumerierungsart"
550 Call DialogTest ( TabNumerierungsart )
553 Active.SetPage TabNumerierung
554 Kontext "TabNumerierung"
555 Call DialogTest ( TabNumerierung )
558 Active.SetPage TabGrafiken
559 Kontext "TabGrafiken"
560 Call DialogTest ( TabGrafiken )
563 Active.SetPage TabPositionNumerierung
564 Kontext "TabPositionNumerierung"
565 Call DialogTest ( TabPositionNumerierung )
568 Active.SetPage TabOptionenNumerierung
569 Kontext "TabOptionenNumerierung"
570 Call DialogTest ( TabOptionenNumerierung )
576 QAErrorlog "Numbering option 'Linked graphics' is missing"
577 TabOptionenNumerierung.Cancel
582 Call hMenuSelectNr (1)
587 Kontext "TabOptionenNumerierung"
593 referencecounter = hMenuItemGetCount
595 do while (hMenuItemGetCount <> "2")
596 referencecounter = hMenuItemGetCount
599 Call hMenuSelectNr(2)
600 referencecounter = hMenuItemGetCount
602 do while (hMenuItemGetCount <> referencecounter)
603 referencecounter = hMenuItemGetCount
612 printlog " Close dialog"
613 TabOptionenNumerierung.Cancel
615 printlog " Close active document"
619 '------------------------------------------------------
621 testcase tFormatStylist
622 PrintLog "- Format / Stylist"
624 if gPlatgroup = "unx" then
625 QAErrorlog "Doesn't run on unix"
628 printlog " Open new document"
631 If Not Gestalter.Exists then FormatStylist
632 printlog " Format / Stylist"
634 Call DialogTest ( Gestalter )
635 Zeichenvorlagen.Click
636 printlog " Click all Styles-buttons in Stylist"
637 if gApplication <> "HTML" then
644 Numerierungsvorlagen.Click
649 TBGestalterRight.Click Giesskanne
652 AusSelektion.OpenMenu
656 Kontext "VorlageErzeugen"
657 if ( VorlageErzeugen.exists( 1 ) ) then
658 DialogTest ( VorlageErzeugen )
659 VorlageErzeugen.Cancel
661 warnlog( "Dialog <VorlageErzeugen> is not available" )
665 AusSelektion.OpenMenu
669 AusSelektion.OpenMenu
674 if ( Neu.exists( 10 ) ) then
678 warnlog( "Dialog <Neu> is not available" )
681 printlog " Close Stylist"
685 printlog " Close active document"
689 '------------------------------------------------------
691 testcase tFormatAutoformatWhileTyping
692 PrintLog "- Format / Autoformat / "
694 printlog " Open new document"
697 printlog " Uncheck 'Format / Autoformat / While typing'"
698 FormatAutoformatWhileTyping
700 printlog " Check 'Format / Autoformat / While typing'"
701 FormatAutoformatWhileTyping
702 printlog " Close active document"
706 '-----------------------------------------------------------
708 testcase tFormatColumn
709 PrintLog "- Format / Column"
711 printlog " Open new document"
713 printlog " Insert a table"
714 Call hTabelleEinfuegen
716 printlog " Format / column / Width"
717 FormatColumnWidthWriter
719 Kontext "SpaltenBreite"
721 Call DialogTest ( SpaltenBreite )
722 printlog " Close dialog"
726 printlog " Enter some text in document"
727 Call wTypeKeys ("Dies ist ein langer Text, HALLO HALLO")
729 printlog " Format / Column / Optimal Width"
730 FormatColumnOptimalWidthWriter
732 printlog " Format / Row / Select"
735 printlog " Format / Column / Space equally"
736 FormatColumnSpaceEqually
738 printlog " Format / Column / Select"
741 printlog " Format / Cloumn / Delete"
745 printlog " Press 'up' twice to point cursor in the table"
746 Call wTypeKeys ("<Up>",2)
748 printlog " Format / Column / Insert "
751 Kontext "EinfuegenSpalten"
753 Call DialogTest ( EinfuegenSpalten )
754 printlog " Close dialog"
756 printlog " Close active document"
760 '-----------------------------------------------------------
762 testcase tFormatAnchor
764 PrintLog "- Format / Anchor"
766 printlog " Open new document"
768 printlog " Insert a graphic from file '..\writer\required\input\graphics\jolink.jpg'"
769 Call hGrafikEinfuegen ( gTesttoolPath + "writer\required\input\graphics\jolink.jpg" )
773 printlog " Format / Anchor / to page"
775 Warnlog "'Page' couldn't be executed!"
780 FormatAnchorToParagraph
782 printlog " Format / Anchor / to paragraph"
783 Warnlog "'to paragraph' couldn't be executed!"
788 FormatAnchorToCharacter
789 printlog " Format / Anchor / to character"
791 Warnlog "'To Character' couldn't be executed!"
796 FormatAnchorAsCharacter
797 printlog " Format / Anchor / As Character"
799 Warnlog "'as Character' couldn't be executed!"
803 printlog " Close active document"
807 '-----------------------------------------------------------
810 PrintLog "- Format / Wrap"
811 if gApplication = "HTML" then
812 printlog "Not in Writer/Web!"
815 printlog " Open new document"
817 printlog " Insert a graphic from file '..\writer\required\input\graphics\jolink.jpg'"
818 Call hGrafikEinfuegen ( gTesttoolPath + "writer\required\input\graphics\jolink.jpg" )
821 printlog " Format / Wrap / No wrap"
823 Warnlog "Error on 'No Wrap'"
829 printlog " Format / Wrap / Page Wrap"
831 Warnlog "Error on 'Page Wrap'"
836 FormatWrapOptimalPageWrap
837 printlog " Format / Wrap / optimal page wrap"
839 Warnlog "Error on 'Optimal Page Wrap'"
845 printlog " Format / Wrap / Through"
847 Warnlog "Error on 'Wrap Through'"
852 FormatWrapInBackground
853 printlog " Format / Wrap / In Background "
855 Warnlog "Error on 'In Background'"
860 FormatWrapFirstParagraph
861 printlog " Format / Wrap / First paragraph"
863 Warnlog "Error on 'First Paragraph'"
869 printlog " Format / Wrap / Contour"
870 Warnlog "Error on 'Contour'"
872 printlog "Contour Wrap disabled->OK"
877 FormatWrapEditContour
878 printlog " Format / Wrap / Edit Contour"
880 Kontext "KonturEditor"
881 Dialogtest ( KonturEditor )
884 printlog " Close contour editor"
886 if Active.Exists (2) then Active.Yes
888 Warnlog "#85505#Error on 'Edit Contur'"
891 printlog " Close active document"
895 '-----------------------------------------------------------
897 testcase tFormatAnchorArea
899 PrintLog "- Format / Anchor drawing objects"
900 if gApplication = "HTML" then
901 printlog "Not in WriterWeb!"
904 printlog "crashed because of i32539 (fixed in m54)"
906 printlog " Open new document"
908 printlog " Paste a rectangle from draw via clipboard"
909 Call wRectangleToClipboard
911 hUseAsyncSlot( "EditPaste" )
914 printlog " Format / Anchor / To page"
917 Warnlog "Clipboard problem between applications!"
918 Call wZeichenobjektEinfuegen ( "Rechteck", 40, 40, 50, 50 )
919 Call gMouseClick ( 45, 45 )
924 printlog " Format / Anchor / to paragraph"
925 FormatAnchorToParagraph
927 printlog " Format / Anchor / As character"
928 FormatAnchorAsCharacter
931 printlog " Close active document"
935 '-----------------------------------------------------------
937 testcase tFormatWrapArea
938 PrintLog "- Format / Wrap drawing objects"
939 if gApplication = "HTML" then
940 printlog "Not in WriterWeb!"
943 printlog "crashed because of i32539 (fixed in m54)"
945 printlog " Open new document"
947 printlog " Paste a rectangle from draw via clipboard"
948 Call wRectangleToClipboard
950 hUseAsyncSlot( "EditPaste" )
953 printlog " Format / Wrap / No wrap"
956 Warnlog "Clipboard problem between applications!"
957 Call wZeichenobjektEinfuegen ( "Rechteck", 40, 40, 50, 50 )
958 Call gMouseClick ( 45, 45 )
963 printlog " Format / Wrap / Contour"
965 FormatWrapContour ' should be disabled with 'No wrap'
966 Warnlog "Format / Wrap / Contour is disabled!"
970 printlog " Format / Wrap / Page wrap"
974 Warnlog "Format / Wrap / Page Wrap is disabled!"
977 printlog " Format / Wrap / Contour"
981 Warnlog "Format / Wrap / Contour is disabled!"
984 printlog " Format / Wrap / optimal page wrap"
986 FormatWrapOptimalPageWrap
988 Warnlog "Format / Wrap / Optimal page wrap is disabled!"
991 printlog " Format / Wrap / Through"
995 Warnlog "Format / Wrap /Through is disabled!"
998 printlog " Format / Wrap / In Background"
1000 FormatWrapInBackground
1002 Warnlog "Format / Wrap / In Background is disabled!"
1005 printlog " Format / Wrap / First paragraph"
1007 FormatWrapFirstParagraph
1009 Warnlog "Format / Wrap / First paragraph is disabled!"
1013 printlog " Format / Wrap / Edit"
1016 Warnlog "Drawing object in wrong format from the clipboard!"
1019 Call DialogTest ( TabUmlauf )
1020 printlog " Close upcoming dialog"
1023 printlog " Close active document"
1027 '-----------------------------------------------------------
1029 testcase tHtmlDocFormatParagraph
1030 PrintLog "- Format / Paragraph"
1031 gApplication = "HTML"
1032 printlog " Open new document"
1034 printlog " Format / Paragraph"
1038 active.SetPage TabEinzuegeUndAbstaende
1039 kontext "TabEinzuegeUndAbstaende"
1040 Call DialogTest ( TabEinzuegeUndAbstaende )
1041 printlog " Step through all tabpages"
1044 Active.SetPage TabAusrichtungAbsatz
1045 Kontext "TabAusrichtungAbsatz"
1046 Call DialogTest ( TabAusrichtungAbsatz )
1049 active.SetPage TabNumerierungAbsatz
1050 kontext "TabNumerierungAbsatz"
1051 Call DialogTest ( TabNumerierungAbsatz )
1054 active.SetPage TabUmrandung
1055 kontext "TabUmrandung"
1056 Call DialogTest ( TabUmrandung )
1057 printlog " Close dialog"
1060 printlog " Close active document"
1062 gApplication = "WRITER"
1065 '------------------------------------------------
1067 testcase tHtmlDocFormatPage
1068 PrintLog "- Format / Page"
1069 gApplication = "HTML"
1070 printlog " Open new document"
1073 printlog " Format / Page"
1077 printlog " Step through all tabpages"
1078 active.SetPage TabVerwalten
1079 kontext "TabVerwalten"
1080 Call DialogTest ( TabVerwalten )
1083 active.SetPage TabSeite
1085 Call DialogTest ( TabSeite )
1088 active.SetPage TabHintergrund
1090 If Active.GetRT = 304 then Active.Yes ' Messagebox abfangen-> Seitenr�nder au�erhalb des Bereichs
1093 active.SetPage TabHintergrund
1094 kontext "TabHintergrund"
1095 Call DialogTest ( TabHintergrund, 1 )
1097 Call DialogTest ( TabHintergrund, 2 )
1100 Kontext "GrafikEinfuegenDlg"
1101 if ( GrafikEinfuegenDlg.exists( 1 ) ) then
1102 GrafikEinfuegenDlg.Cancel
1104 warnlog( "Dialog <GrafikEinfuegenDlg> is not available" )
1108 active.SetPage TabKopfzeile
1109 kontext "TabKopfzeile"
1110 Call DialogTest ( TabKopfzeile )
1112 active.SetPage TabFusszeile
1113 kontext "TabFusszeile"
1114 Call DialogTest ( TabFusszeile )
1115 printlog " Close dialog"
1118 printlog " Close active document"
1120 gApplication = "WRITER"
1123 '--------------------------------------------------
1125 testcase tHtmlDocFormatStylist
1126 PrintLog "- Format / Stylist"
1127 gApplication = "HTML"
1128 if gPlatgroup = "unx" then
1129 QAErrorlog "Doesn't run on unix"
1132 printlog " Open new document"
1135 If Not Gestalter.Exists then FormatStylist
1136 printlog " Format / Stylist"
1138 Call DialogTest ( Gestalter )
1139 Zeichenvorlagen.Click
1140 printlog " Click all Styles-buttons in Stylist"
1143 Numerierungsvorlagen.Click
1146 Absatzvorlagen.Click
1149 TBGestalterRight.Click Giesskanne
1152 AusSelektion.OpenMenu
1156 Kontext "VorlageErzeugen"
1157 if ( VorlageErzeugen.exists( 1 ) ) then
1158 DialogTest ( VorlageErzeugen )
1159 VorlageErzeugen.Cancel
1161 warnlog( "Dialog <VorlageErzeugen> is not available" )
1166 if ( Gestalter.exists( 1 ) ) then
1167 AusSelektion.OpenMenu
1171 AusSelektion.OpenMenu
1176 if ( Neu.exists( 10 ) ) then
1180 warnlog( "Dialog <Neu> is not available" )
1183 printlog " Close Stylist"
1187 warnlog( "Dialog <Gestalter> is not available" )
1190 printlog " Close active document"
1192 gApplication = "WRITER"
1195 '------------------------------------------------------