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_textframes3.inc,v $
13 '* last change: $Author: vg $ $Date: 2008-08-18 12:37:48 $
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 of textframe - 3
38 '\***********************************************************************
42 Call tTextframes_33 'Test attribute 'AutoSize' in linked frames
43 Call tTextframes_34 'Insert text into original frame must flow into target frame, when first one is full
44 Call tTextframes_35 'Show link - under Format.Frame.Options (previous link, next link)
45 Call tTextframes_36 'Test link frames which are placed on different pages
46 Call tTextframes_37 'Test link frames which are placed on header
47 Call tTextframes_38 'Test link frames which are placed on footer
48 Call tTextframes_39 'Test drag&drop with a linked frame - keyboard
49 Call tTextframes_40 'Test Undo on drag&drop of frames (keyboard)
50 Call tTextframes_41 'Test Undo on removing the link
51 Call tTextframes_42 'Link frame in header with frame in bodytext should be forbidden
52 Call tTextframes_43 'Link frame in footer with frame in bodytext should be forbidden
53 Call tTextframes_44 'Link frame when target frame is not empty should be forbidden
54 Call tTextframes_45 'Recursed links should be forbidden
55 Call tTextframes_46 'Frames which couldn't be linked with the current one is part of another 'chain'
56 Call tTextframes_47 'Frames couldn't be linked with the current one is in protected section
57 Call tTextframes_48 'Frames could be linked with the current one is set to "editable in protected documents" even it is in protected section
61 '---------------------------------------------------
63 testcase tTextframes_33
65 printlog "- Test attribute 'AutoSize' in linked frames"
66 '/// Test attribute 'AutoSize' in linked frames
71 Call fInsertFrame(30,30 , 50,50)
73 Call wTypeKeys "<ESCAPE>"
76 '/// insert another frame
77 Call fInsertFrame(50,50 , 80,80)
79 printlog "Move the second frame away from the first one."
80 Call wTypeKeys "<RIGHT>",10
82 '/// Set focus to first frame
83 Call wTypeKeys "<TAB>"
87 Call hToolbarSelect("FRAME", true )
90 '/// Click link frame button
94 '/// Target the second frame
95 Call gMouseClick(60,70)
98 '/// Format/Frame / Type ,
99 '/// + 'AutoSize' should be turned off in 1st frame (origination)
100 Call fFormatFrame("TabType")
103 Warnlog "'AutoSize' should be turned off!"
108 '/// Set focus to second frame
109 Call wTypeKeys "<TAB>"
112 '/// + 'AutoSize' should be actived in 2nd frame (target)
113 Call fFormatFrame("TabType")
117 Warnlog "'AutoSize' should be actived!"
125 '-----------------------------------------------------------------
127 testcase tTextframes_34
130 Dim sOriginalName as String
131 Dim sTargetName as String
133 sOriginalName = "TEST1"
134 sTargetName = "TEST2"
136 printlog "- Test attribute 'AutoSize' in linked frames"
137 '/// Test attribute 'AutoSize' in linked frames
141 '/// insert a frame , set frame name
142 Call fInsertFrame(30,30 , 50,50)
144 Call fFormatFrame("TabZusaetze")
145 ObjektName.SetText sOriginalName
148 Call wTypeKeys "<ESCAPE>"
151 '/// insert another frame , set frame name
152 Call fInsertFrame(50,50 , 80,80)
154 printlog "Move second frame away from the first frame."
155 Call wTypeKeys "<RIGHT>", 12
157 printlog "Name second object."
158 Call fFormatFrame("TabZusaetze")
159 ObjektName.SetText sTargetName
162 '/// Set focus to first frame
163 Call wTypeKeys "<TAB>"
166 '/// Active frame bar
167 Call hToolbarSelect("FRAME", true )
170 '/// Click link frame button
174 '/// Target the second frame
175 Call gMouseClick(60,70)
178 Call wTypeKeys "<RETURN>"
181 Call wBlindtextEinfuegen
184 '/// set focus to the frame which the focus is in
185 Call wTypeKeys "<ESCAPE>"
188 '/// Check if the link is showed correctly (Format.Frame.Options)
189 Call fFormatFrame("TabZusaetze")
190 if ObjektName.GetText <> sTargetName then Warnlog "The focus should be in 2nd frame!"
197 '-----------------------------------------------------------------
199 testcase tTextframes_35
201 Dim iNoLink as Integer
207 printlog "- Show link - under Format.Frame.Options (previous link, next link)"
208 '/// Show link - under Format.Frame.Options (previous link, next link)
213 Call fInsertFrame(30,30 , 50,50)
215 Call wTypeKeys "<ESCAPE>"
218 '/// insert another frame
219 Call fInsertFrame(50,50 , 80,80)
221 printlog "Move the second frame away from the first one."
222 Call wTypeKeys "<RIGHT>",10
224 '/// Set focus to first frame
225 Call wTypeKeys "<TAB>"
228 '/// Active frame bar
229 Call hToolbarSelect("FRAME", true )
232 '/// Click link frame button
236 '/// Target the second frame
237 Call gMouseClick(60,70)
240 '/// Check if the link is showed correctly (Format.Frame.Options)
241 Call fFormatFrame("TabZusaetze")
242 if PreviousLink.GetSelIndex <> iNoLink then Warnlog "1st frame: privious link should be none"
243 if NextLink.GetSelIndex <> iLink then Warnlog "1st frame: next link isn't right!"
246 '/// Set focus to second frame
247 Call wTypeKeys "<TAB>"
250 '/// Check if the link is showed correctly (Format.Frame.Options)
251 Call fFormatFrame("TabZusaetze")
252 if PreviousLink.GetSelIndex <> iLink then Warnlog "2nd frame: privious link isn't right!"
253 if NextLink.GetSelIndex <> iNoLink then Warnlog "2nd frame: next link should be none"
260 '-----------------------------------------------------------------
262 testcase tTextframes_36
264 Dim sTestFile as String
265 Dim sTestText as String
266 Dim iNoLink as Integer
269 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\textframe\twopages.sxw")
273 printlog "- Test link frames which are placed on different pages"
274 '/// Test link frames which are placed on different pages
278 '/// Open a test file
279 '/// + This test file is designed for testing link
280 '/// + frames which are placed on different pages
281 '/// + There are 2 pages in the file and 1 frame/page
282 Call hFileOpen(sTestFile,false)
283 Call sMakeReadOnlyDocumentEditable
285 'Set focus to first frame
286 Call wTypeKeys ( "<Shift F4>" )
289 'Check if frame is in 1st page
292 Kontext "NavigatorWriter"
294 if Seitennummer.GetText <> "1" then
295 Warnlog "The test frame isn't in the first page!"
299 'Set focus to second frame
300 Call wTypeKeys "<TAB>"
303 'Check if frame is in 2nd page
306 Kontext "NavigatorWriter"
308 if Seitennummer.GetText <> "2" then
309 Warnlog "The test frame isn't in the second page!"
313 '/// Set focus to first frame
314 Call wTypeKeys "<TAB>"
317 '/// Set link in Format/Frame/Options
318 Call fFormatFrame("TabZusaetze")
320 NextLink.Select iLink
323 Warnlog "Can't link 2 frames which are placed on different pages!"
327 '/// Check if the link is correctly
328 Call fFormatFrame("TabZusaetze")
329 if PreviousLink.GetSelIndex <> iNoLink then Warnlog "1st frame: privious link should be none"
330 if NextLink.GetSelIndex <> iLink then Warnlog "1st frame: next link isn't right!"
333 '/// Set focus to second frame
334 Call wTypeKeys "<TAB>"
337 '/// Check if the link is correctly
338 Call fFormatFrame("TabZusaetze")
339 if PreviousLink.GetSelIndex <> iLink then Warnlog "2nd frame: privious link isn't right!"
340 if NextLink.GetSelIndex <> iNoLink then Warnlog "2nd frame: next link should be none"
343 printlog " Close active document "
344 Do Until GetDocumentCount = 0
350 '-----------------------------------------------------------------
352 testcase tTextframes_37
354 Dim sTestFile as String
355 Dim sTestText as String
356 Dim iNoLink as String
359 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\textframe\Header.sxw")
363 printlog "- Test link frames which are placed on header"
364 '/// Test link frames which are placed on header
368 '/// Open a test file
369 '/// + This test file is designed for testing link
370 '/// + frames which are placed on header
371 '/// + There are 2 frames in the header
373 Call hFileOpen(sTestFile,false)
374 Call sMakeReadOnlyDocumentEditable
376 '/// Set focus to first frame
377 Call wTypeKeys ( "<Shift F4>" )
381 '/// Set link in Format.Frame.Options
382 Call fFormatFrame("TabZusaetze")
384 NextLink.Select iLink
387 Warnlog "Can't link 2 frames which are in the header"
391 '/// Check if the link is correctly
392 Call fFormatFrame("TabZusaetze")
393 if PreviousLink.GetSelIndex <> iNoLink then Warnlog "1st frame: privious link should be none"
394 if NextLink.GetSelIndex <> iLink then Warnlog "1st frame: next link isn't right!"
397 '/// Set focus to second frame
398 Call wTypeKeys "<TAB>"
401 '/// Check if the link is correctly
402 Call fFormatFrame("TabZusaetze")
403 if PreviousLink.GetSelIndex <> iLink then Warnlog "2nd frame: privious link isn't right!"
404 if NextLink.GetSelIndex <> iNoLink then Warnlog "2nd frame: next link should be none"
407 printlog " Close active document "
408 Do Until GetDocumentCount = 0
414 '-----------------------------------------------------------------
416 testcase tTextframes_38
418 Dim sTestFile as String
419 Dim sTestText as String
420 Dim iNoLink as String
423 sTestFile = Convertpath (gTesttoolpath + "writer\optional\input\textframe\Footer.sxw")
427 printlog "- Test link frames which are placed on footer"
428 '/// Test link frames which are placed on footer
432 '/// Open a test file
433 '/// + This test file is designed for testing link
434 '/// + frames which are placed on header
435 '/// + There are 2 frames in the header
436 Call hFileOpen(sTestFile,false)
437 Call sMakeReadOnlyDocumentEditable
439 '/// Set focus to first frame
440 Call wTypeKeys ( "<Shift F4>" )
443 '/// Set link in Format.Frame.Options
444 Call fFormatFrame("TabZusaetze")
446 NextLink.Select iLink
449 Warnlog "Can't link 2 frames which are in the header"
453 '/// Check if the link is correctly
454 Call fFormatFrame("TabZusaetze")
455 if PreviousLink.GetSelIndex <> iNoLink then Warnlog "1st frame: privious link should be none"
456 if NextLink.GetSelIndex <> iLink then Warnlog "1st frame: next link isn't right!"
459 '/// Set focus to second frame
460 Call wTypeKeys "<TAB>"
463 '/// Check if the link is correctly
464 Call fFormatFrame("TabZusaetze")
465 if PreviousLink.GetSelIndex <> iLink then Warnlog "2nd frame: privious link isn't right!"
466 if NextLink.GetSelIndex <> iNoLink then Warnlog "2nd frame: next link should be none"
469 printlog " Close active document "
470 Do Until GetDocumentCount = 0
476 '-----------------------------------------------------------------
478 testcase tTextframes_39
480 Dim sHorizontalBy1 as String
481 Dim sHorizontalBy2 as String
482 Dim sVerticalBy1 as String
483 Dim sVerticalBy2 as String
484 Dim sHorizontalByNew1 as String
485 Dim sHorizontalByNew2 as String
486 Dim sVerticalByNew1 as String
487 Dim sVerticalByNew2 as String
489 sHorizontalBy1 = "2"+ gSeperator + "00" + gMeasurementUnit
490 sVerticalBy1 = "1"+ gSeperator + "00" + gMeasurementUnit
491 sHorizontalBy2 = "7"+ gSeperator + "00" + gMeasurementUnit
492 sVerticalBy2 = "4"+ gSeperator + "00" + gMeasurementUnit
493 sHorizontalByNew1 = "3"+ gSeperator + "00" + gMeasurementUnit
494 sVerticalByNew1 = "2"+ gSeperator + "00" + gMeasurementUnit
495 sHorizontalByNew2 = "7"+ gSeperator + "00" + gMeasurementUnit
496 sVerticalByNew2 = "4"+ gSeperator + "00" + gMeasurementUnit
498 printlog "- Test drag&drop with a linked frame - keyboard"
499 '/// Test drag&drop with a linked frame - keyboard
503 '/// insert a frame and set Horizontal and Vertical
504 Call fInsertFrame(30,30 , 49,49)
506 Call fFormatFrame("TabType")
507 HorizontalBy.SetText sHorizontalBy1
509 VerticalBy.SetText sVerticalBy1
513 Call wTypeKeys "<ESCAPE>"
516 '/// insert another frame and set Horizontal and Vertical
517 Call fInsertFrame(51,51 , 80,80)
519 Call fFormatFrame("TabType")
520 HorizontalBy.SetText sHorizontalBy2
522 VerticalBy.SetText sVerticalBy2
526 Call wTypeKeys "<Tab>"
529 Call fFormatFrame("TabZusaetze")
534 '/// Move 1st frame with keyboard (right and down)
535 Call wTypeKeys "<Right>"
537 Call wTypeKeys "<Down>"
540 Call fFormatFrame("TabType")
541 if HorizontalBy.GetText <> sHorizontalByNew1 then QAErrorLog "#110726#1st frame: Horizontal by isn't right!"
542 if VerticalBy.GetText <> sVerticalByNew1 then QAErrorLog "#110726#1st frame: Vertical by isn't right!"
545 Call wTypeKeys "<Tab>"
547 '/// Move 2nd frame with keyboard (right and down)
548 Call wTypeKeys "<Right>"
550 Call wTypeKeys "<Down>"
553 '/// Check the result
554 Call fFormatFrame("TabType")
555 if HorizontalBy.GetText <> sHorizontalByNew2 then QAErrorLog "#110726# 2nd frame: Horizontal by isn't right! "
556 if VerticalBy.GetText <> sVerticalByNew2 then QAErrorLog "#110726# 2nd frame: Vertical by isn't right! "
563 '-----------------------------------------------------------------
565 testcase tTextframes_40
567 Dim sHorizontalBy as String
569 sHorizontalBy = "2"+ gSeperator + "00" + gMeasurementUnit
571 printlog "- Test Undo on drag&drop of frames (keyboard)"
572 '/// Test Undo on drag&drop of frames (keyboard)
577 Call fInsertFrame(30,30 , 49,49)
579 Call fFormatFrame("TabType")
580 HorizontalBy.SetText sHorizontalBy
584 Call wTypeKeys "<ESCAPE>"
587 '/// insert another frame
588 Call fInsertFrame(51,51 , 80,80)
590 printlog "Move the second frame away from the first one."
591 Call wTypeKeys "<RIGHT>",10
592 ' Call wTypeKeys "<DOWN>",7
594 Call wTypeKeys "<Tab>"
596 '/// Active frame bar
597 Call hToolbarSelect("FRAME", true )
600 '/// Click link frame button
604 '/// Target the second frame
605 Call gMouseClick(75,30)
608 '/// Move 1st frame with keyboard (Left)
609 Call wTypeKeys "<Left>"
616 '/// Check if the frame is moved
617 Call fFormatFrame("TabType")
618 if HorizontalBy.GetText <> sHorizontalBy then Warnlog "Undo on drag&drop of frames doesn't work!"
625 '-----------------------------------------------------------------
627 testcase tTextframes_41
630 Dim iNolink as Integer
635 printlog "- Test Undo on removing the link"
636 '/// Test Undo on removing the link
641 Call fInsertFrame(30,30 , 49,49)
643 Call wTypeKeys "<ESCAPE>"
646 '/// insert another frame
647 Call fInsertFrame(51,51 , 80,80)
649 printlog "Move the second frame away from the first one."
650 Call wTypeKeys "<RIGHT>",10
652 '/// Set focus to 1st frame
653 Call wTypeKeys "<Tab>"
655 '/// Active frame bar
656 Call hToolbarSelect("FRAME", true )
659 '/// Click link frame button
663 '/// Target the second frame
664 Call gMouseClick(60,70)
668 Kontext "FrameObjectbar"
669 VerkettungLoesen.Click
672 Call fFormatFrame("TabZusaetze")
673 if NextLink.GetSelIndex <> iNoLink then Warnlog "Remove link doesn't work!"
680 '/// check if the frame is moved
681 Call fFormatFrame("TabZusaetze")
682 if NextLink.GetSelIndex <> iLink then Warnlog "Undo on removing link doesn't work!"
689 '-----------------------------------------------------------------
691 testcase tTextframes_42
693 Dim iNoLink as Integer
697 printlog "- Link frame in header with frame in bodytext should be forbidden"
698 '/// Link frame in header with frame in bodytext should be forbidden
702 '/// insert a frame in header
703 DocumentWriter.UseMenu
704 MenuSelect(Menugetitemid(4))
706 MenuSelect(Menugetitemid(9))
708 MenuSelect(Menugetitemid(1))
713 Call wTypeKeys "<ESCAPE>"
716 '/// insert another frame in bodytext
717 Call fInsertFrame(50,50 , 70,65)
719 Call wTypeKeys "<Tab>"
721 '/// Try to link two frames
722 Call hToolbarSelect("FRAME", true )
726 Call gMouseClick(60,60)
729 Call fFormatFrame("TabZusaetze")
730 if NextLink.GetSelIndex <> iNoLink then Warnlog "There should be no link between 2 frames!"
737 '-----------------------------------------------------------------
739 testcase tTextframes_43
745 printlog "- Link frame in footer with frame in bodytext should be forbidden"
746 '/// Link frame in footer with frame in bodytext should be forbidden
750 '/// insert a frame in footer
751 DocumentWriter.UseMenu
752 MenuSelect(Menugetitemid(4))
754 MenuSelect(Menugetitemid(10))
756 MenuSelect(Menugetitemid(1))
761 Call wTypeKeys "<ESCAPE>"
764 '/// insert another frame in bodytext
765 Call fInsertFrame(50,50 , 70,70)
767 Call wTypeKeys "<Tab>"
769 '/// Try to link two frames
770 Call fFormatFrame("TabZusaetze")
773 NextLink.Select iLink
775 Warnlog "There should be no link between 2 frames!"
784 '-----------------------------------------------------------------
786 testcase tTextframes_44
789 Dim iNoLink as Integer
794 printlog "- Link frame in footer with frame in bodytext should be forbidden"
795 '/// Link frame in footer with frame in bodytext should be forbidden
800 Call fInsertFrame(50,30 , 50,40)
802 Call wTypeKeys "<ESCAPE>"
805 '/// insert another frame
806 Call fInsertFrame(60,50 , 70,65)
807 Call wTypeKeys "<ESCAPE>"
809 '/// input some text in the target frame(2nd frame)
810 Call gMouseClick(65,60)
813 Call wTypeKeys ( "<Shift F4>" )
816 Call hToolbarSelect("FRAME", true )
820 Call gMouseClick(50,60)
823 Call fFormatFrame("TabZusaetze")
824 if NextLink.GetSelIndex <> iNoLink then Warnlog "There should be no link between 2 frames!"
831 '-----------------------------------------------------------------
833 testcase tTextframes_45
835 Dim iNoLink as Integer
839 printlog "- Recursed links should be forbidden"
840 '/// Recursed links should be forbidden
845 Call fInsertFrame(30,30 , 45,45)
847 Call wTypeKeys "<ESCAPE>"
850 '/// insert another frame
851 Call fInsertFrame(50,50 , 70,70)
853 printlog "Move the second frame away from the first one."
854 Call wTypeKeys "<RIGHT>",1
856 '/// set focus to 1st frame
857 Call wTypeKeys "<TAB>"
860 '/// link two frames (2nd frame is target frame)
861 Kontext "FrameObjectbar"
865 Call gMouseClick(60,60)
868 '/// link two frames (1st frame is target frame)
869 Call wTypeKeys "<TAB>"
870 Call hToolbarSelect("FRAME", true )
874 Call gMouseClick(35,35)
877 Call fFormatFrame("TabZusaetze")
878 if NextLink.GetItemCount <> iNoLink then Warnlog "There should be no link between 2 frames!" & NextLink.GetItemCount
885 '-----------------------------------------------------------------
887 testcase tTextframes_46
889 Dim iNoLink as Integer
893 printlog "- Frames couldn't be linked with the current one is part of another 'chain'"
894 '/// Frames couldn't be linked with the current one is part of another 'chain'
899 Call fInsertFrame(30,30 , 49,49)
901 Call wTypeKeys "<ESCAPE>"
904 '/// insert another frame
905 Call fInsertFrame(51,51 , 65,65)
907 printlog "Move the frame away from the position of the first one."
908 Call wTypeKeys "<RIGHT>",4
909 Call wTypeKeys "<DOWN>",4
911 Call wTypeKeys "<ESCAPE>"
914 '/// insert 3rd frame
915 Call fInsertFrame(70,70 , 80,80)
918 printlog "Move the frame away from the position of the first one."
919 Call wTypeKeys "<LEFT>",8
920 Call wTypeKeys "<UP>",8
922 '/// set focus to 1st frame
923 Call wTypeKeys "<SHIFT F4>" 'make sure object is selected.
924 Call wTypeKeys "<TAB>"
927 '/// link two frames 1 & 2 (2nd frame is target frame)
928 '/// Active frame bar
929 Call hToolbarSelect("FRAME", true )
933 Call gMouseClick(70,70)
936 '/// set focus to 3rd frame
937 Call wTypeKeys "<TAB>" , 2
939 '/// link two frames 3 & 2 (2nd frame is target frame)
940 Kontext "FrameObjectbar"
944 Call gMouseClick(70,70)
947 Call fFormatFrame("TabZusaetze")
948 if NextLink.GetSelIndex <> iNoLink then Warnlog "Shouldn't link to 2nd frame ! "
955 '-----------------------------------------------------------------
957 testcase tTextframes_47
963 printlog "- Frames couldn't be linked with the current one is in protected section"
964 '/// Frames couldn't be linked with the current one is in protected section
968 '/// Insert a section
972 Active.Setpage TabBereiche
973 Kontext "TabBereiche"
978 Call wTypeKeys "<UP>" , 1
979 Call wTypeKeys "<RETURN>", 6
981 '/// Insert a frame (A) in the section
983 Call wTypeKeys "<UP>" , 2
984 Call wTypeKeys "<ESCAPE>"
986 '/// Set the section to be protected
988 Kontext "BereicheBearbeiten"
991 BereicheBearbeiten.OK
993 Call wTypeKeys "<DOWN>" , 10
995 '/// Insert another frame (B) out of the section
996 Call fInsertFrame(30,70 , 60,90)
998 Call wTypeKeys "<RIGHT>" , 8
999 Call wTypeKeys "<DOWN>" , 8
1001 '/// Link B->A (A is target)
1002 Call fFormatFrame("TabZusaetze")
1004 NextLink.Select iLink
1006 QAErrorLog "#110862# Should NOT link 2 frames when target frame is in the protected section!"
1015 '-----------------------------------------------------------------
1017 testcase tTextframes_48
1019 Dim iLink as Integer
1023 printlog "- Frames could be linked with the current one is set to 'editable in protected documents' even it is in protected section "
1027 printlog "Insert a section"
1031 Active.Setpage TabBereiche
1032 Kontext "TabBereiche"
1037 Call wTypeKeys "<UP>" , 1
1038 Call wTypeKeys "<RETURN>", 6
1040 printlog "Insert a frame (A) in the section , and check 'editable in protected documents'"
1042 Call wTypeKeys "<UP>" , 2
1044 Call fFormatFrame("TabZusaetze")
1049 Call wTypeKeys "<ESCAPE>"
1051 printlog "Set the section to be protected"
1053 Kontext "BereicheBearbeiten"
1056 BereicheBearbeiten.OK
1058 Call wTypeKeys "<DOWN>" , 10
1059 printlog "nsert another frame (B) out of the section"
1060 Call fInsertFrame(50,50 , 60,60)
1062 printlog "Link B->A (A is target)"
1063 Call fFormatFrame("TabZusaetze")
1065 NextLink.Select iLink
1068 Warnlog "link 2 frames should work!"
1076 '-----------------------------------------------------------------