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 2000, 2010 Oracle and/or its affiliates.
7 ' OpenOffice.org - a multi-platform office productivity suite
9 ' This file is part of OpenOffice.org.
11 ' OpenOffice.org is free software: you can redistribute it and/or modify
12 ' it under the terms of the GNU Lesser General Public License version 3
13 ' only, as published by the Free Software Foundation.
15 ' OpenOffice.org is distributed in the hope that it will be useful,
16 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ' GNU Lesser General Public License version 3 for more details
19 ' (a copy is included in the LICENSE file that accompanied this code).
21 ' You should have received a copy of the GNU Lesser General Public License
22 ' version 3 along with OpenOffice.org. If not, see
23 ' <http://www.openoffice.org/license.html>
24 ' for a copy of the LGPLv3 License.
26 '/************************************************************************
28 '* owner : helge.delfs@oracle.com
30 '* short description: Testcases for Toolbars.
32 '\******************************************************************
36 printLog Chr(13) + "--------- Toolbars (w_020_.inc) ----------"
40 Call t_TB_InsertFields
41 Call t_TB_ShowDrawFunctions
43 Call t_TB_EditAutotext
45 Call t_TB_DirektCursor
51 Call tHtmlDoc_TB_Insert
52 Call tHtmlDoc_TB_InsertFields
55 gApplication = "WRITER"
61 '-----------------------------------------------------------
65 ' JSK: This issue is solved since OOO300m9, enabling test again
66 'qaErrorLog "#158646# - Inserting Indexes causes crash."
69 printlog "- Toolbox ( normal ) : All within Insert"
71 printlog " Open new document"
73 printlog "- TearOff Insert-Toolbox"
75 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
77 if gApplication <> "HTML" then
80 printlog " Click 'Frame' and Insert a Frame"
82 Call gMouseMove(40, 40, 60, 60)
83 Call wTypeKeys ("<Delete>")
84 printlog " Hit 'Delete' to remove the frame"
89 if ( Insertbar.Exists ) then
92 Call hToolbarSelect("Insert", true)
96 printlog " Click 'Insert Graphics' in Toolbox"
97 if Grafik.IsEnabled then
99 Kontext "GrafikEinfuegenDlg"
100 if GrafikEinfuegenDlg.Exists then
101 printlog " Select graphic from file '..\writer\required\input\graphics\jolink.jpg'"
102 Dateiname.SetText ( ConvertPath ( gTesttoolPath + "writer\required\input\graphics\jolink.jpg" ) )
105 Warnlog "Dialog 'Insert Graphic' not up!"
109 if Active.Exists( 1 ) then
110 Warnlog Active.Gettext
112 Kontext "GrafikEinfuegenDlg"
113 GrafikEinfuegenDlg.Cancel
115 printlog " Hit 'Delete' to remove graphic"
116 Call wTypeKeys ("<Delete>")
118 Warnlog "Button 'Graphic' on Insertbar is not enabled!"
122 printlog " Click 'Insert Table' in Toolbox"
124 if ( Insertbar.Exists() ) then
127 Call hToolbarSelect("Insert", true)
130 sleep( 2 ) ' Too fast for some machines. Using dirty fix.
131 if Tabelle.IsEnabled then
133 Kontext "TabelleEinfuegenWriter"
134 TabelleEinfuegenWriter.OK
135 printlog " Move cursor under table"
136 Call wTypeKeys ("<Down>",2)
138 Warnlog "Button 'Table' on Insertbar is not enabled!"
141 printlog " - Document"
143 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
145 if gApplication <> "HTML" then
146 printlog " - Footnote"
147 printlog " Click 'Insert Footnote Directly' in Toolbox"
149 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
150 if Fussnote.IsEnabled then
152 Call wTypeKeys ("<PageUp>")
154 Warnlog "Button 'Footnote' on Insertbar is not enabled!"
158 printlog " - Endnote"
159 printlog " Click 'Insert Endnote Directly' in Toolbox"
161 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
162 if Endnote.IsEnabled then
164 Call wTypeKeys ("<PageUp>")
166 Warnlog "Button 'Endnote' on Insertbar is not enabled!"
169 printlog " - Index Marker"
170 Call wTypeKeys ("Index Marker <Shift Home>")
171 printlog " Click 'Insert Index Marker' in Toolbox"
173 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
174 if Verzeichnis.IsEnabled then
176 printlog " Close upcoming 'Insert Index Entry' dialog"
177 Kontext "VerzeichniseintragEinfuegen"
178 VerzeichniseintragEinfuegen.Close
180 Warnlog "Button 'Index Marker' on Insertbar is not enabled!"
184 printlog " - Special Character"
185 printlog " Click 'Insert Special Character' in Toolbox"
187 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
188 if Sonderzeichen.IsEnabled then
190 printlog " Cancel upcoming 'Special Character' dialog"
191 Kontext "Sonderzeichen"
194 Warnlog "Button 'Special Character' on Insertbar is not enabled!"
197 printlog " - Insert Section"
198 printlog " Click 'Insert Section' in Toolbox"
200 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
201 if BereichEinfuegen.IsEnabled then
202 BereichEinfuegen.Click
203 printlog " Close upcoming 'Section' dialog"
205 Active.Setpage TabBereiche
206 Kontext "TabBereiche"
209 Warnlog "Button 'Insert Section' on Insertbar is not enabled!"
212 printlog " - Bookmark"
213 printlog " Click 'Insert Bookmark' in Toolbox"
215 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
216 if Textmarke.IsEnabled then
218 printlog " Enter a bookmark name and close dialog"
219 Kontext "TextmarkeEinfuegen"
220 Textmarken.SetText "Bookmark"
221 TextmarkeEinfuegen.OK
223 Warnlog "Button 'Bookmark' on Insertbar is not enabled!"
226 'Only with closing the toolbox the dialog is accessible for TT
227 printlog " Close toolbar"
229 if Insertbar.Exists then Insertbar.Close
231 printlog " Close active document"
235 '-----------------------------------------------------------
237 testcase t_TB_InsertFields
240 printlog "- Toolbox ( normal ) : Fields"
242 if gPlatgroup = "unx" then
243 printlog( "Test not suitable for Unix(like) OS" )
246 printlog " Open new document"
248 printlog "- TearOff Insert Toolbox"
249 printlog " Tear off toolbar and open insert toolbar"
250 printlog " Click 'Insert Fields' in insertbar"
252 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
256 if gApplication = "HTML" then
257 Call hMenuSelectNr(6)
259 Call hMenuSelectNr(8)
263 Active.SetPage TabDokumentFeldbefehle
264 Kontext "TabDokumentFeldbefehle"
265 printlog " Cancel upcoming 'Fields' dialog"
266 TabDokumentFeldbefehle.Cancel
268 QAErrorlog "Dialog for Fields is not up !"
270 printlog " Close active document"
274 '-----------------------------------------------------------
276 testcase t_TB_ShowDrawFunctions
277 printlog "- Toolbox ( normal ) : Draw Functions"
278 if gApplication = "HTML" then
279 printlog "Not in WriterWeb!"
283 printlog " Open new document"
290 printlog " Open 'Draw functions' toolbar"
292 if Not DrawBar.Exists then Call hToolbarSelect("Drawing", true)
295 printlog " - Draw Line"
297 printlog " Draw a Line"
300 Call gMouseMove(20, 20, 30, 30)
301 Call wTypeKeys ("<Escape>")
303 Warnlog " Line could not be created !"
306 printlog " - Draw Rectangle"
308 printlog " Draw a Rectangle"
310 Call gMouseMove(31, 20, 40, 40)
311 Call wTypeKeys ("<Escape>")
313 printlog " - Draw Ellipse"
315 printlog " Draw an Ellipse"
317 Call gMouseMove(31, 30, 60, 50)
318 Call wTypeKeys ("<Escape>")
320 printlog " - Draw Freeform"
323 printlog " Draw a Freeform"
324 Call gMouseMove ( 23, 20, 35, 31 )
325 Call gMouseMove ( 35, 31, 40, 90 )
326 Call gMouseMove ( 41, 91, 55 , 70 )
327 Call gMouseClick( 55, 70 )
328 Call wTypeKeys ("<Escape>")
330 printlog " - Draw Textobject"
332 printlog " Draw a Textobject"
334 Call gMouseMove ( 17, 17, 28, 25 )
335 Call wTypeKeys ("Textobject")
336 Call gMouseClick ( 50, 99 )
337 Call wTypeKeys ("<Escape>")
339 printlog " - Draw Callouts"
341 printlog " Draw a Callout"
343 Call gMouseMove (15, 20, 50, 60)
344 Call gMouseClick( 50, 60 )
345 Call wTypeKeys ("<Escape>")
347 printlog " Close toolbar 'Draw Functions'"
352 Vergroesserung100.Check
355 printlog " Close active document"
359 '-----------------------------------------------------------
362 printlog "- Toolbox ( normal ) : Formular"
364 printlog " Open new document"
367 Kontext "FormControls"
368 if ( FormControls.Exists( 1 ) ) then
371 Call hToolbarSelect("Controls", true)
375 printlog " Tear off 'Form' Toolbox"
376 Kontext "FormControls"
377 if Not FormControls.Exists then
378 Warnlog "Toolbar 'FormControls' is not opened!"
384 printlog " Insert a pushbutton from toolbox"
385 Call hMalZeichnenMitSelektion ( 35, 20, 30, 25 )
387 Kontext "FormControls"
388 if NOT ControlProperties.IsEnabled then
389 if gPlatform = "osx" then
390 warnlog "#i82427#-Mac OS X (Aqua): Drawing function does not draw anything"
392 warnlog "Control properties button disabled!"
395 ControlProperties.Click
398 printlog "+ Open Control Properties"
399 printlog " - Control Properties"
400 Call sMenufunktionen("-Pushbutton-")
402 Kontext "FormControls"
405 printlog " Insert a Radiobutton from toolbox"
406 Call hMalZeichnenMitSelektion ( 32, 20, 42, 25 )
407 printlog "+ Open Control Properties"
408 Call sMenufunktionen("-Radiobutton-")
410 Kontext "FormControls"
413 printlog " Insert a Checkbox from toolbox"
414 Call hMalZeichnenMitSelektion ( 45, 20, 55, 25 )
415 printlog "+ Open Control Properties"
416 Call sMenufunktionen("-Checkbox-")
418 Kontext "FormControls"
419 if gApplication <> "HTML" then
422 printlog " Insert a textbox from toolbox"
423 Call hMalZeichnenMitSelektion ( 57, 20, 68, 25 )
424 printlog "+ Open Control Properties"
425 Call sMenufunktionen("-Textbox-")
429 Kontext "FormControls"
430 printlog " Insert an Edit Field from toolbox"
433 Call hMalZeichnenMitSelektion ( 32, 30, 42, 35 )
434 printlog "+ Open Control Properties"
435 Call sMenufunktionen("-Edit-")
437 Kontext "FormControls"
440 printlog " Insert a listbox"
441 Call hMalZeichnenMitSelektion ( 45, 30, 55, 35 )
442 printlog "+ Step through pages of upcoming Autopilot"
443 Call sAutopilot_ListboxCombobox("Listbox")
444 printlog "+ Open Control Properties"
445 Call sMenufunktionen("-Listbox-")
447 Kontext "FormControls"
448 if ( gApplication <> "HTML" ) then
450 printlog " Insert a Combobox from toolbox"
452 Call hMalZeichnenMitSelektion ( 57, 30, 68, 35 )
453 printlog "+ Step through pages of upcoming Autopilot"
454 Call sAutopilot_ListboxCombobox("Combo")
455 printlog "+ Open Control Properties"
456 Call sMenufunktionen("-Combobox-")
459 printlog " Insert a Formatted Field from toolbox"
460 Kontext "FormControls"
461 if ( gApplication <> "HTML" ) then
464 Call hMalZeichnenMitSelektion ( 45, 50, 55, 55 )
465 printlog "+ Open Control Properties"
466 Call sMenufunktionen("-Formatted Field-")
469 Call gMouseClick ( 40, 80 )
470 Kontext "FormControls"
471 printlog " Click 'Design Mode' in Toolbox"
473 SwitchControlDesignMode.Click
475 printlog " Click 'Design Mode' in Toolbox"
476 SwitchControlDesignMode.Click
477 printlog " - Design mode"
478 Kontext "FormControls"
485 printlog " Close active document"
488 '-----------------------------------------------------------
490 testcase t_TB_EditAutotext
491 printlog "- Toolbox ( normal ) : Autotext"
493 printlog " Open new document"
496 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
499 printlog " Click 'Autotext' in Toolbar"
502 if ( Active.Exists( 1 ) ) then
508 if ( Autotext.exists( 4 ) ) then
509 printlog " Close upcoming 'Autotext' dialog"
512 warnlog( "Dialog <Autotext> is not available" )
514 printlog " Close active document"
518 '-----------------------------------------------------------
521 printlog "- Toolbox ( normal ) : Find & Replace"
522 printlog " Open new document"
524 Kontext "Standardbar"
525 if Not Standardbar.Exists then Call hToolbarSelect("Standard", true)
526 printlog " Click 'Find' in Toolbar"
528 Kontext "FindAndReplace"
529 printlog " Close 'Find&Replace' dialog"
531 printlog " Close active document"
535 '-----------------------------------------------------------
537 testcase t_TB_Graphics
538 printlog "- Toolbox ( normal ) : Graphic"
540 printlog " Open new document"
542 printlog " Insert graphic from file ..\writer\required\input\graphics\jolink.jpg"
543 Call hGrafikEinfuegen ( gTesttoolpath + "writer\required\input\graphics\jolink.jpg" )
546 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
548 printlog " Click 'Graphic' in Toolbar"
551 Warnlog "Error on switching Graphic off!"
555 printlog " Click 'Graphic' in Toolbar"
558 Warnlog "Error on switching Graphic on!"
562 printlog " Close active document"
566 '-----------------------------------------------------------
568 testcase t_TB_DirektCursor
569 printlog "- Toolbox ( normal ) : Direct Cursor"
570 if gApplication = "HTML" then
571 printlog "Not in WriterWeb!"
575 printlog " Open new document"
577 printlog " Click 'Direct Cursor' in Toolbar"
579 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
582 printlog " Point cursor somewhere in document"
583 Call gMouseDoubleClick(50, 70)
584 printlog " Insert some words in document"
585 Call wTypeKeys ("Direct Cursor On")
587 printlog " Click 'Direct Cursor' in Toolbar"
589 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
591 printlog " Insert some text in document"
592 Call gMouseDoubleClick (80, 20)
593 Call wTypeKeys ("Direct Cursor Off")
595 printlog " Close active document"
599 '-----------------------------------------------------------
602 printlog "- Toolbox ( normal ) : Rest"
604 printlog " Open new document"
606 printlog " - Hyperlink"
608 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
610 printlog " Click 'Hyperlink' in Toolbar"
613 printlog " Click 'Hyperlink' in Toolbar"
615 Warnlog "Button 'Hyperlink' should have been removed!"
619 printlog " - OnlineLayout"
620 if gApplication <> "HTML" then
622 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
624 printlog " Click 'Online Layout' in Toolbar"
627 printlog " Click 'Online Layout' in Toolbar"
630 Warnlog "Button 'OnlineLayout' is missing or disabled!"
634 printlog " - Nonprinting Characters"
636 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
638 printlog " Click 'Nonprinting Characters' in Toolbar"
639 SteuerzeichenEinAus.Click
641 printlog " Click 'Nonprinting Characters' in Toolbar"
642 SteuerzeichenEinAus.Click
644 Warnlog "Button 'Nonprinting Characters' is missing or disabled!"
647 printlog " - Graphics on/off"
649 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
651 printlog " Click 'Graphics' in Toolbar "
654 printlog " Click 'Graphics' in Toolbar "
657 Warnlog "Button 'Graphics' is missing or disabled!"
659 printlog " Close active document"
663 '-----------------------------------------------------------
665 testcase tHtmlDoc_TB_Insert
667 ' JSK: This issue is solved since OOO300m9, enabling test again
668 'qaErrorLog "#158646# - Inserting Indexes causes crash."
671 printlog "- Toolbox ( normal ) : All within Insert"
672 gApplication = "HTML"
674 printlog " Open new document"
676 printlog "- TearOff Insert-Toolbox"
678 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
680 printlog " - Graphic"
681 printlog " Click 'Insert Graphics' in Toolbox"
683 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
686 if Grafik.IsEnabled then
688 Kontext "GrafikEinfuegenDlg"
689 if ( GrafikEinfuegenDlg.Exists( 1 ) ) then
690 printlog " Select graphic from file '..\writer\required\input\graphics\jolink.jpg'"
691 Dateiname.SetText ( ConvertPath ( gTesttoolPath + "writer\required\input\graphics\jolink.jpg" ) )
694 Warnlog "Dialog 'Insert Graphic' not up!"
698 if ( Active.Exists( 1 ) ) then
699 Warnlog Active.Gettext
701 Kontext "GrafikEinfuegenDlg"
702 GrafikEinfuegenDlg.Cancel
704 printlog " Hit 'Delete' to remove graphic"
705 Call wTypeKeys ("<Delete>")
707 Warnlog "Button 'Graphic' on Insertbar is not enabled!"
712 printlog " Click 'Insert Table' in Toolbox"
714 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
715 if Tabelle.IsEnabled then
717 Kontext "TabelleEinfuegenWriter"
718 TabelleEinfuegenWriter.OK
719 printlog " Move cursor under table"
720 Call wTypeKeys ("<Down>",2)
722 Warnlog "Button 'Table' on Insertbar is not enabled!"
725 printlog " - Document"
727 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
729 printlog " - Special Character"
731 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
732 if Sonderzeichen.IsEnabled then
734 Kontext "Sonderzeichen"
735 printlog " Click 'Insert Special Character' in Toolbox"
737 printlog " Cancel upcoming 'Special Character' dialog"
739 Warnlog "Button 'Special Character' on Insertbar is not enabled!"
742 printlog " - Insert Section"
743 printlog " Click 'Insert Section' in Toolbox"
745 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
746 if BereichEinfuegen.IsEnabled then
747 BereichEinfuegen.Click
748 printlog " Close upcoming 'Section' dialog"
750 Active.Setpage TabBereiche
751 Kontext "TabBereiche"
754 Warnlog "Button 'Insert Section' on Insertbar is not enabled!"
757 printlog " - Bookmark"
758 printlog " Click 'Insert Bookmark' in Toolbox"
760 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
761 if Textmarke.IsEnabled then
763 printlog " Enter a bookmark name and close dialog"
764 Kontext "TextmarkeEinfuegen"
765 Textmarken.SetText "Bookmark"
766 TextmarkeEinfuegen.OK
768 Warnlog "Button 'Bookmark' on Insertbar is not enabled!"
771 'Only with closing the toolbox the dialog is accessible for TT
772 printlog " Close toolbar"
774 if Insertbar.Exists then Insertbar.Close
776 printlog " Close active document"
778 gApplication = "WRITER"
781 '-----------------------------------------------------------
783 testcase tHtmlDoc_TB_InsertFields
786 printlog "- Toolbox ( normal ) : Fields"
787 gApplication = "HTML"
789 if gPlatgroup = "unx" then
790 printlog( "Test not suitable for Unix(like) OS" )
794 printlog " Open new document"
796 printlog "- TearOff Insert Toolbox"
797 printlog " Tear off toolbar and open insert toolbar"
799 if Not Insertbar.Exists then Call hToolbarSelect("Insert", true)
800 printlog " Click 'Insert Fields' in insertbar"
804 Call hMenuSelectNr(6)
807 Active.SetPage TabDokumentFeldbefehle
808 Kontext "TabDokumentFeldbefehle"
809 printlog " Cancel upcoming 'Fields' dialog"
810 TabDokumentFeldbefehle.Cancel
812 QAErrorlog "Dialog for Fields is not up !"
815 printlog " Close active document"
817 gApplication = "WRITER"
820 '-----------------------------------------------------------
821 testcase tHtmlDoc_TB_Form
822 printlog "- Toolbox ( normal ) : Formular"
823 gApplication = "HTML"
825 printlog " Open new document"
828 Kontext "FormControls"
829 if ( FormControls.Exists( 1 ) ) then
832 Call hToolbarSelect("Controls", true)
836 printlog " Tear off 'Form' Toolbox"
837 Kontext "FormControls"
838 if Not FormControls.Exists then
839 Warnlog "Toolbar 'FormControls' is not opened!"
845 printlog " Insert a pushbutton from toolbox"
846 Call hMalZeichnenMitSelektion ( 35, 20, 30, 25 )
848 Kontext "FormControls"
849 if NOT ControlProperties.IsEnabled then
850 if gPlatform = "osx" then
851 warnlog "#i82427#-Mac OS X (Aqua): Drawing function does not draw anything"
853 warnlog "Control properties button disabled!"
856 ControlProperties.Click
859 printlog "+ Open Control Properties"
860 printlog " - Control Properties"
861 Call sMenufunktionen("-Pushbutton-")
863 Kontext "FormControls"
866 printlog " Insert a Radiobutton from toolbox"
867 Call hMalZeichnenMitSelektion ( 32, 20, 42, 25 )
868 printlog "+ Open Control Properties"
869 Call sMenufunktionen("-Radiobutton-")
871 Kontext "FormControls"
874 printlog " Insert a Checkbox from toolbox"
875 Call hMalZeichnenMitSelektion ( 45, 20, 55, 25 )
876 printlog "+ Open Control Properties"
877 Call sMenufunktionen("-Checkbox-")
879 Kontext "FormControls"
880 printlog " Insert an Edit Field from toolbox"
883 Call hMalZeichnenMitSelektion ( 32, 30, 42, 35 )
884 printlog "+ Open Control Properties"
885 Call sMenufunktionen("-Edit-")
887 Kontext "FormControls"
890 printlog " Insert a listbox"
891 Call hMalZeichnenMitSelektion ( 45, 30, 55, 35 )
892 printlog "+ Step through pages of upcoming Autopilot"
893 Call sAutopilot_ListboxCombobox("Listbox")
894 printlog "+ Open Control Properties"
895 Call sMenufunktionen("-Listbox-")
897 printlog " Insert a Formatted Field from toolbox"
898 Kontext "FormControls"
900 Call gMouseClick ( 40, 80 )
901 Kontext "FormControls"
902 printlog " Click 'Design Mode' in Toolbox"
904 SwitchControlDesignMode.Click
906 printlog " Click 'Design Mode' in Toolbox"
907 SwitchControlDesignMode.Click
908 printlog " - Design mode"
909 Kontext "FormControls"
915 printlog " Close active document"
917 gApplication = "WRITER"
920 '-----------------------------------------------------------
922 testcase tHtmlDoc_TB_Rest
923 printlog "- Toolbox ( normal ) : Rest"
925 printlog " Open new document"
927 printlog " - Hyperlink"
929 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
931 printlog " Click 'Hyperlink' in Toolbar"
934 printlog " Click 'Hyperlink' in Toolbar"
936 Warnlog "Button 'Hyperlink' should have been removed!"
940 printlog " - OnlineLayout"
941 printlog " - Nonprinting Characters"
943 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
945 printlog " Click 'Nonprinting Characters' in Toolbar"
946 SteuerzeichenEinAus.Click
948 printlog " Click 'Nonprinting Characters' in Toolbar"
949 SteuerzeichenEinAus.Click
951 Warnlog "Button 'Nonprinting Characters' is missing or disabled!"
954 printlog " - Graphics on/off"
956 if Not Toolbar.Exists then Call hToolbarSelect("Tools", true)
958 printlog " Click 'Graphics' in Toolbar "
961 printlog " Click 'Graphics' in Toolbar "
964 Warnlog "Button 'Graphics' is missing or disabled!"
966 printlog " Close active document"
968 gApplication = "WRITER"
971 '-----------------------------------------------------------