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: w_formatpage2.inc,v $
13 '* last change: $Author: vg $ $Date: 2008-08-18 12:28:35 $
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 : helge.delfs@sun.com
36 '* short description : Test the functionality of Page Formatting / Page Styles - 2
38 '************************************************************************
40 ' #1 tFormatPage_16 'AutoFit height - Check (Header,change font size)
41 ' #1 tFormatPage_17 'AutoFit height - Check (Header,multiline content)
42 ' #1 tFormatPage_18 'AutoFit height - UnCheck (Header,change font size)
43 ' #1 tFormatPage_19 'AutoFit height - UnCheck (Header,multiline content)
44 ' #1 tFormatPage_20 'AutoFit height - Check (Footer,change font size)
45 ' #1 tFormatPage_21 'AutoFit height - Check (Footer,multiline content)
46 ' #1 tFormatPage_22 'AutoFit height - UnCheck (Footer,change font size)
47 ' #1 tFormatPage_23 'AutoFit height - UnCheck (Footer,multiline content)
48 ' #1 tFormatPage_24 'warning message should appear when turning off header -1
49 ' #1 tFormatPage_25 'warning message should appear when turning off header -2
50 ' #1 tFormatPage_26 'warning message should appear when turning off footer -1
51 ' #1 tFormatPage_27 'warning message should appear when turning off footer -2
52 ' #1 tFormatPage_28 'Header/footer is limited to 80% of height of page text area
54 '\***********************************************************************
56 testcase tFormatPage_16
58 Dim sTestFile as String
61 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
63 PrintLog "- AutoFit height - Check (Header,change font size)"
64 '/// AutoFit height - Check (Header,change font size)
68 '/// Open test file testForAutoFit.sxw
69 Call hFileOpen(sTestFile)
70 Call sMakeReadOnlyDocumentEditable
72 '/// Open Navigator and enter as page number 2
74 if Not Navigator.Exists then ViewNavigator
75 Kontext "NavigatorWriter"
76 Seitennummer.SetText "2"
77 Seitennummer.TypeKeys "<Return>"
81 '/// Step 3 times up in document
82 Call wTypeKeys "<Up>" , 3
83 Call wTypeKeys "<Home><Shift End>"
85 '/// Remember number in line
87 sDummy = GetClipboardText
90 DocumentWriter.UseMenu
91 MenuSelect(Menugetitemid(4))
93 MenuSelect(Menugetitemid(9))
95 MenuSelect(Menugetitemid(3))
98 '/// formatPage , tabpage header
99 fFormatPageWriter("TabKopfzeile")
101 '/// AutoFit Height should be checked
102 if Hoehedynamisch.IsChecked <> TRUE then
103 warnlog "AutoFit Height should be checked!"
108 '/// Input some test words and select them
109 Call wTypeKeys "Test"
110 Call wTypeKeys "<End><Shift Home>"
112 '/// Set the bigger fonts to selection in the header
113 fFormatCharacter("TabFont")
115 SizeWest.Select SizeWest.GetItemCount-2
117 Size.Select Size.GetItemCount-2
121 '/// Check if AutoFit Height works well
124 Kontext "FindAndReplace"
125 SearchFor.SetText sDummy
132 if Not Navigator.Exists then ViewNavigator
133 Kontext "NavigatorWriter"
135 if Seitennummer.GetText <> "2" then warnlog "Something wrong in AutoFit Height!"
138 printlog " Close active document "
139 Do Until GetDocumentCount = 0
144 '-------------------------------------------------------------------------------------------
146 testcase tFormatPage_17
148 Dim sTestFile as String
149 Dim sDummy1 as String
150 Dim sDummy2 as String
152 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
154 PrintLog "- AutoFit height - Check (Header,multiline content)"
155 '/// AutoFit height - Check (Header,multiline content)
159 '/// Open test file testForAutoFit.sxw
160 Call hFileOpen(sTestFile)
161 Call sMakeReadOnlyDocumentEditable
163 '/// Open Navigator and enter as page number 2
165 if Not Navigator.Exists then ViewNavigator
166 Kontext "NavigatorWriter"
167 Seitennummer.SetText "2"
168 Seitennummer.TypeKeys "<Return>"
172 '/// Step 3 times up in document
173 Call wTypeKeys "<Up>" , 3
174 Call wTypeKeys "<Home><Shift End>"
176 '/// Remember number in line
178 sDummy1 = GetClipboardText
180 Call wTypeKeys "<Up>"
181 Call wTypeKeys "<Home><Shift End>"
184 sDummy2 = GetClipboardText
187 DocumentWriter.UseMenu
188 MenuSelect(Menugetitemid(4))
190 MenuSelect(Menugetitemid(9))
192 MenuSelect(Menugetitemid(3))
195 '/// formatPage , tabpage header
196 fFormatPageWriter("TabKopfzeile")
198 '/// AutoFit Height should be checked
199 if Hoehedynamisch.IsChecked <> TRUE then
200 warnlog "AutoFit Height should be checked!"
205 '/// Input some test words
206 Call wTypeKeys "Test1"
207 Call wTypeKeys "<Return>"
208 Call wTypeKeys "Test2"
210 '/// Check if AutoFit Height works well
213 Kontext "FindAndReplace"
214 SearchFor.SetText sDummy1
221 if Not Navigator.Exists then ViewNavigator
222 Kontext "NavigatorWriter"
224 if Seitennummer.GetText <> "2" then warnlog "Something wrong in AutoFit Height --1 !"
229 Kontext "FindAndReplace"
230 SearchFor.SetText sDummy2
237 if Not Navigator.Exists then ViewNavigator
238 Kontext "NavigatorWriter"
240 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height --2 !"
243 printlog " Close active document "
244 Do Until GetDocumentCount = 0
249 '-------------------------------------------------------------------------------------------
251 testcase tFormatPage_18
253 Dim sTestFile as String
256 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
258 PrintLog "- AutoFit height - UnCheck (Header,change font size)"
259 '/// AutoFit height - UnCheck (Header,change font size)
263 '/// Open test file testForAutoFit.sxw
264 Call hFileOpen(sTestFile)
265 Call sMakeReadOnlyDocumentEditable
267 '/// Open Navigator and enter as page number 2
269 if Not Navigator.Exists then ViewNavigator
270 Kontext "NavigatorWriter"
271 Seitennummer.SetText "2"
272 Seitennummer.TypeKeys "<Return>"
276 '/// Step 3 times up in document
277 Call wTypeKeys "<Up>" , 3
278 Call wTypeKeys "<Home><Shift End>"
280 '/// Remember number in line
282 sDummy = GetClipboardText
285 DocumentWriter.UseMenu
286 MenuSelect(Menugetitemid(4))
288 MenuSelect(Menugetitemid(9))
290 MenuSelect(Menugetitemid(3))
293 '/// formatPage , tabpage header ,UnCheck AutoFit Height
294 fFormatPageWriter("TabKopfzeile")
295 Hoehedynamisch.UnCheck
298 '/// Input some test words
299 Call wTypeKeys "Test"
300 Call wTypeKeys "<End><Shift Home>"
302 '/// Set the bigger fonts to selection in the header
303 fFormatCharacter("TabFont")
305 SizeWest.Select SizeWest.GetItemCount-2
307 Size.Select Size.GetItemCount-2
311 '/// Check if AutoFit Height works well
314 Kontext "FindAndReplace"
315 SearchFor.SetText sDummy
322 if Not Navigator.Exists then ViewNavigator
323 Kontext "NavigatorWriter"
325 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height!"
328 printlog " Close active document "
329 Do Until GetDocumentCount = 0
334 '-------------------------------------------------------------------------------------------
336 testcase tFormatPage_19
338 Dim sTestFile as String
341 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
343 PrintLog "- AutoFit height - UnCheck (Header,multiline content)"
344 '/// AutoFit height - UnCheck (Header,multiline content)
348 '/// Open test file testForAutoFit.sxw
349 Call hFileOpen(sTestFile)
350 Call sMakeReadOnlyDocumentEditable
352 '/// Open Navigator and enter as page number 2
354 if Not Navigator.Exists then ViewNavigator
355 Kontext "NavigatorWriter"
356 Seitennummer.SetText "2"
357 Seitennummer.TypeKeys "<Return>"
361 '/// Step 3 times up in document
362 Call wTypeKeys "<Up>" , 3
363 Call wTypeKeys "<Home><Shift End>"
365 '/// Remember number in line
367 sDummy = GetClipboardText
370 DocumentWriter.UseMenu
371 MenuSelect(Menugetitemid(4))
373 MenuSelect(Menugetitemid(9))
375 MenuSelect(Menugetitemid(3))
378 '/// formatPage , tabpage header , Uncheck AutoFit Height
379 fFormatPageWriter("TabKopfzeile")
380 Hoehedynamisch.UnCheck
383 '/// input some test words
384 Call wTypeKeys "Test1"
385 Call wTypeKeys "<Return>"
386 Call wTypeKeys "Test2"
388 '/// Check if AutoFit Height works well
391 Kontext "FindAndReplace"
392 SearchFor.SetText sDummy
399 if Not Navigator.Exists then ViewNavigator
400 Kontext "NavigatorWriter"
402 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height!"
405 printlog " Close active document "
406 Do Until GetDocumentCount = 0
411 '-------------------------------------------------------------------------------------------
413 testcase tFormatPage_20
415 Dim sTestFile as String
418 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
420 PrintLog "- AutoFit height - Check (Footer,change font size)"
421 '/// AutoFit height - Check (Footer,change font size)
425 '/// Open test file testForAutoFit.sxw
426 Call hFileOpen(sTestFile)
427 Call sMakeReadOnlyDocumentEditable
429 '/// Open Navigator and enter as page number 2
431 if Not Navigator.Exists then ViewNavigator
432 Kontext "NavigatorWriter"
433 Seitennummer.SetText "2"
434 Seitennummer.TypeKeys "<Return>"
438 '/// Step 3 times up in document
439 Call wTypeKeys "<Up>" , 3
440 Call wTypeKeys "<Home><Shift End>"
442 '/// Remember number in line
444 sDummy = GetClipboardText
447 DocumentWriter.UseMenu
449 MenuSelect(Menugetitemid(4))
451 MenuSelect(Menugetitemid(10))
453 Call hMenuFindSelect (".uno:InsertPageFooter?PageStyle:string=Default&On:bool=true", true, 3, true) 'Find "Insert:Footer:Default" and call the slot.
454 ' MenuSelect(Menugetitemid(3))
457 '/// formatPage , tabpage footer
458 fFormatPageWriter("TabFusszeile")
460 '/// AutoFit Height should be checked
461 if Hoehedynamisch.IsChecked <> TRUE then
462 warnlog "AutoFit Height should be checked!"
467 Call wTypeKeys "Test"
468 Call wTypeKeys "<End><Shift Home>"
470 '/// Set the bigger fonts to selection in the footer
471 fFormatCharacter("TabFont")
473 SizeWest.Select SizeWest.GetItemCount-2
475 Size.Select Size.GetItemCount-2
479 '/// Check if AutoFit Height works well
482 Kontext "FindAndReplace"
483 SearchFor.SetText sDummy
490 if Not Navigator.Exists then ViewNavigator
491 Kontext "NavigatorWriter"
493 if Seitennummer.GetText <> "2" then warnlog "Something wrong in AutoFit Height!"
496 printlog " Close active document "
497 Do Until GetDocumentCount = 0
502 '-------------------------------------------------------------------------------------------
504 testcase tFormatPage_21
506 Dim sTestFile as String
507 Dim sDummy1 as String
508 Dim sDummy2 as String
510 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
512 PrintLog "- AutoFit height - Check (Footer,multiline content)"
513 '/// AutoFit height - Check (Footer,multiline content)
515 '/// Open test file testForAutoFit.sxw
516 Call hFileOpen(sTestFile)
517 Call sMakeReadOnlyDocumentEditable
519 '/// Open Navigator and enter as page number 2
521 if Not Navigator.Exists then ViewNavigator
522 Kontext "NavigatorWriter"
523 Seitennummer.SetText "2"
524 Seitennummer.TypeKeys "<Return>"
528 '/// Step 3 times up in document
529 Call wTypeKeys "<Up>" , 3
530 Call wTypeKeys "<Home><Shift End>"
532 '/// Remember number in line
534 sDummy1 = GetClipboardText
537 Call wTypeKeys "<Up>"
538 Call wTypeKeys "<Home><Shift End>"
540 '/// Remember number in current line
542 sDummy2 = GetClipboardText
544 printlog " Insert a footer"
545 DocumentWriter.UseMenu
546 MenuSelect(Menugetitemid(4))
548 MenuSelect(Menugetitemid(10))
550 Call hMenuFindSelect (".uno:InsertPageFooter?PageStyle:string=Default&On:bool=true", true, 3, true) 'Find "Insert:Footer:Default" and call the slot.
553 '/// formatPage , tabpage footer
554 fFormatPageWriter("TabFusszeile")
556 '/// AutoFit Height should be checked
557 if Hoehedynamisch.IsChecked <> TRUE then
558 warnlog "AutoFit Height should be checked!"
563 '/// input some test words
564 Call wTypeKeys "Test1"
565 Call wTypeKeys "<Return>"
566 Call wTypeKeys "Test2"
568 '/// Check if AutoFit Height works well
571 Kontext "FindAndReplace"
572 SearchFor.SetText sDummy1
579 if Not Navigator.Exists then ViewNavigator
580 Kontext "NavigatorWriter"
582 if Seitennummer.GetText <> "2" then warnlog "Something wrong in AutoFit Height --1 !"
587 Kontext "FindAndReplace"
588 SearchFor.SetText sDummy2
595 if Not Navigator.Exists then ViewNavigator
596 Kontext "NavigatorWriter"
598 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height --2 !"
601 printlog " Close active document "
602 Do Until GetDocumentCount = 0
607 '-------------------------------------------------------------------------------------------
609 testcase tFormatPage_22
611 Dim sTestFile as String
614 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
616 PrintLog "- AutoFit height - UnCheck (Footer,change font size)"
617 '/// AutoFit height - UnCheck (Footer,change font size)
621 '/// Open test file testForAutoFit.sxw
622 Call hFileOpen(sTestFile)
623 Call sMakeReadOnlyDocumentEditable
625 '/// Open Navigator and enter as page number 2
627 if Not Navigator.Exists then ViewNavigator
628 Kontext "NavigatorWriter"
629 Seitennummer.SetText "2"
630 Seitennummer.TypeKeys "<Return>"
634 '/// Step 3 times up in document
635 Call wTypeKeys "<Up>" , 3
636 Call wTypeKeys "<Home><Shift End>"
638 '/// Remember number in line
640 sDummy = GetClipboardText
643 DocumentWriter.UseMenu
644 MenuSelect(Menugetitemid(4))
646 MenuSelect(Menugetitemid(10))
648 Call hMenuFindSelect (".uno:InsertPageFooter?PageStyle:string=Default&On:bool=true", true, 3, true) 'Find "Insert:Footer:Default" and call the slot.
649 ' MenuSelect(Menugetitemid(3))
652 '/// formatPage , tabpage footer ,UnCheck AutoFit Height
653 fFormatPageWriter("TabFusszeile")
654 Hoehedynamisch.UnCheck
657 '/// input some test words
658 Call wTypeKeys "Test"
659 Call wTypeKeys "<End><Shift Home>"
661 '/// Set the bigger fonts to selection in the footer
662 fFormatCharacter("TabFont")
664 SizeWest.Select SizeWest.GetItemCount-2
666 Size.Select Size.GetItemCount-2
670 '/// Check if AutoFit Height works well
673 Kontext "FindAndReplace"
674 SearchFor.SetText sDummy
681 if Not Navigator.Exists then ViewNavigator
682 Kontext "NavigatorWriter"
684 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height!"
687 printlog " Close active document "
688 Do Until GetDocumentCount = 0
693 '-------------------------------------------------------------------------------------------
695 testcase tFormatPage_23
697 Dim sTestFile as String
700 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\formatpage\testForAutoFit.sxw")
702 PrintLog "- AutoFit height - UnCheck (Footer,multiline content)"
703 '/// AutoFit height - UnCheck (Footer,multiline content)
705 '/// Open test file testForAutoFit.sxw
706 Call hFileOpen(sTestFile)
707 Call sMakeReadOnlyDocumentEditable
709 '/// Open Navigator and enter as page number 2
711 if Not Navigator.Exists then ViewNavigator
712 Kontext "NavigatorWriter"
713 Seitennummer.SetText "2"
714 Seitennummer.TypeKeys "<Return>"
718 '/// Step 3 times up in document
719 Call wTypeKeys "<Up>" , 3
720 Call wTypeKeys "<Home><Shift End>"
722 '/// Remember number in line
724 sDummy = GetClipboardText
727 DocumentWriter.UseMenu
728 MenuSelect(Menugetitemid(4))
730 MenuSelect(Menugetitemid(10))
732 Call hMenuFindSelect (".uno:InsertPageFooter?PageStyle:string=Default&On:bool=true", true, 3, true) 'Find "Insert:Footer:Default" and call the slot.
733 ' MenuSelect(Menugetitemid(3))
736 '/// formatPage , tabpage footer ,Uncheck AutoFit Height
737 fFormatPageWriter("TabFusszeile")
738 Hoehedynamisch.UnCheck
741 '/// input some test words
742 Call wTypeKeys "Test1"
743 Call wTypeKeys "<Return>"
744 Call wTypeKeys "Test2"
746 '/// Check if AutoFit Height works well
749 Kontext "FindAndReplace"
750 SearchFor.SetText sDummy
757 if Not Navigator.Exists then ViewNavigator
758 Kontext "NavigatorWriter"
760 if Seitennummer.GetText <> "1" then warnlog "Something wrong in AutoFit Height!"
763 printlog " Close active document "
764 Do Until GetDocumentCount = 0
769 '-------------------------------------------------------------------------------------------
771 testcase tFormatPage_24
773 PrintLog "- warning message should appear when turning off header -1"
774 '/// warning message should appear when turning off header -1
779 DocumentWriter.UseMenu
780 MenuSelect(Menugetitemid(4))
782 MenuSelect(Menugetitemid(9))
784 MenuSelect(Menugetitemid(1))
787 '/// formatPage , tabpage header
788 fFormatPageWriter("TabKopfzeile")
790 '/// + turn off header (uncheck Header on) ,
791 '/// + a warning message should appear
792 KopfzeileMitAbstand.UnCheck
795 if Active.Exists then
796 if Active.GetRT = 304 then Active.No
798 warnlog "There should be a warning message appear when turn off header !"
801 Kontext "TabKopfzeile"
807 '-------------------------------------------------------------------------------------------
809 testcase tFormatPage_25
811 PrintLog "- warning message should appear when turning off header -2"
812 '/// warning message should appear when turning off header -2
817 DocumentWriter.UseMenu
818 MenuSelect(Menugetitemid(4))
820 MenuSelect(Menugetitemid(9))
822 MenuSelect(Menugetitemid(1))
825 '/// turn off header from menu
826 DocumentWriter.UseMenu
827 MenuSelect(Menugetitemid(4))
829 MenuSelect(Menugetitemid(9))
831 MenuSelect(Menugetitemid(1))
835 if Active.Exists then
836 if Active.GetRT = 304 then Active.No
838 warnlog "There should be a warning message appear when turn off header !"
844 '-------------------------------------------------------------------------------------------
846 testcase tFormatPage_26
848 PrintLog "- warning message should appear when turning off footer -1"
849 '/// warning message should appear when turning off footer -1
854 DocumentWriter.UseMenu
855 MenuSelect(Menugetitemid(4))
857 MenuSelect(Menugetitemid(10))
859 MenuSelect(Menugetitemid(1))
862 '/// formatPage , tabpage footer
863 fFormatPageWriter("TabKopfzeile")
865 '/// + turn off header (uncheck Header on) ,
866 '/// + a warning message should appear
867 KopfzeileMitAbstand.UnCheck
870 if Active.Exists then
871 if Active.GetRT = 304 then Active.No
873 warnlog "There should be a warning message appear when turn off footer !"
876 Kontext "TabKopfzeile"
882 '-------------------------------------------------------------------------------------------
884 testcase tFormatPage_27
886 PrintLog "- warning message should appear when turning off footer -2"
887 '/// warning message should appear when turning off footer -2
892 DocumentWriter.UseMenu
893 MenuSelect(Menugetitemid(4))
895 MenuSelect(Menugetitemid(10))
897 MenuSelect(Menugetitemid(1))
900 '/// + turn off footer from menu ,
901 DocumentWriter.UseMenu
902 MenuSelect(Menugetitemid(4))
904 MenuSelect(Menugetitemid(10))
906 MenuSelect(Menugetitemid(1))
909 '/// + the warning message should appear
911 if Active.Exists then
912 if Active.GetRT = 304 then Active.No
914 warnlog "There should be a warning message appear when turn off footer !"
920 '-------------------------------------------------------------------------------------------
922 testcase tFormatPage_28
924 Dim iFormat as Integer
925 Dim sHeightInPage as String , sHeight as String
927 iFormat = 2 'A4 paper
928 sHeightInPage = "20" + gSeperator + "00" + gMeasurementUnit
929 sHeight = "18" + gSeperator + "00" + gMeasurementUnit
931 PrintLog "- Header/footer is limited to 80% of height of page text area "
932 '/// Header/footer is limited to 80% of height of page text area
936 '/// 1. Header is limited to 80% of height of page text area
937 fFormatPageWriter("TabSeite")
938 Papierformat.Select iFormat
940 Hoehe.SetText sHeightInPage
944 '/// formatPage , tabpage header ,
945 '/// + turn on header , and set header height more
946 '/// + than 80% of page height
947 fFormatPageWriter("TabKopfzeile")
948 KopfzeileMitAbstand.Check
950 Hoehe.SetText sHeight
954 '/// Check if Header is limited to 80% of height of page text area
955 fFormatPageWriter("TabKopfzeile")
956 if StrToDouble(Hoehe.GetText) >= 16 then
957 warnlog "Header height is > 16cm ! Get " & StrToDouble(Hoehe.GetText)
964 '/// 2. Footer is limited to 80% of height of page text area
965 fFormatPageWriter("TabSeite")
966 Papierformat.Select iFormat
968 Hoehe.SetText sHeightInPage
972 '/// formatPage , tabpage footer ,
973 '/// + turn on footer , and set footer height more
974 '/// + than 80% of page height
975 fFormatPageWriter("TabFusszeile")
976 FusszeileMitAbstand.Check
978 Hoehe.SetText sHeight
982 '/// Check if footer is limited to 80% of height of page text area
983 fFormatPageWriter("TabFusszeile")
984 if StrToDouble(Hoehe.GetText) >= 16 then
985 warnlog "Footer height is > 16cm ! Get " & StrToDouble(Hoehe.GetText)
992 '-------------------------------------------------------------------------------------------