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: g_customshapes.inc,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 10:42:39 $
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 : Customshapes-test
38 '*********************************************************************
40 ' #1 tFormatPaintbrush
41 '\********************************************************************
42 testcase tCustomshapes
44 dim counter as Integer
45 dim MakeInto3Dcounter as Integer
47 '/// Create new document ///'
49 if gApplication = "DRAW" then
50 Kontext "Documentdraw"
52 Kontext "DocumentImpress"
56 printlog "insert a Smiley."
57 '/// From the toolbar: Insert three objects: ///'
58 '/// insert a Smiley. ///'
60 if Toolbar.Exists then
61 if Toolbar.IsVisible then
66 warnlog "bug for GH from FHA; .tearoff doesnt tell success"
69 kontext "SymbolShapes"
70 SymbolShapesSmiley.Click
74 gMouseMove (40,40,60,60)
78 kontext "SymbolShapes"
81 '/// Unmark all objects ///'
84 '/// Mark the Smiley ///'
87 printlog "Rename the object to 'First'."
88 '/// Rename the object to 'First' ///"
92 if hMenuFindSelect(27027, true, 15) = false then
93 Warnlog "Context-Menu-entry `Rename` was not found. Therefore the test ends."
97 kontext "NameDlgObject"
98 NameField.SetText "First"
101 printlog "Set the object -Title/Description to 'SecondTitle' and 'SecondText'"
102 '/// Open the Context-menu and set the description of the object to 'First' ///"
105 'Choose "Description"
106 if hMenuFindSelect(27033, true, 14) = false then
107 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
111 kontext "DescriptionObject"
112 DescriptionTitle.SetText "FirstTitle"
113 DescriptionText.SetText "FirstText"
116 warnlog "the Toolbar wasnt visible."
119 warnlog "the Toolbar didnt exist."
123 printlog "Insert a Triangle."
124 '/// Insert a Triangle ///'
126 if Toolbar.Exists then
127 if Toolbar.IsVisible then
131 warnlog "bug for GH from FHA; .tearoff doesnt tell success"
133 kontext "BasicShapes"
135 IsoscelesTriangle.click
139 gMouseMove (45,33,55,42)
142 kontext "BasicShapes"
146 '/// Unmark all objects ///'
148 '/// Mark the Triangle ///'
151 printlog "Rename the object into 'Second'."
152 '/// Rename the object into 'Second'. ///'
156 if hMenuFindSelect(27027, true, 15) = false then
157 Warnlog "Context-Menu-entry `Rename` was not found. Therefore the test ends."
163 kontext "NameDlgObject"
164 NameField.SetText "Second"
167 printlog "Set the object -Title/Description to 'SecondTitle' and 'SecondText'."
168 '/// Open the Context-menu and set the description of the object to 'SecondTitle' and 'SecondText' ///"
171 'Choose "Description"
172 if hMenuFindSelect(27033, true, 14) = false then
173 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
177 kontext "DescriptionObject"
178 DescriptionTitle.SetText "SecondTitle"
179 DescriptionText.SetText "SecondText"
182 warnlog "the Toolbar wasnt visible."
185 warnlog "the Toolbar didnt exist."
189 printlog "Insert Thinking-cloud."
190 '/// Insert Thinking-cloud. ///'
192 if Toolbar.Exists then
193 if Toolbar.IsVisible then
196 CalloutShapes.TearOff ' insert Thinking-cloud
198 warnlog "bug for GH from FHA; .tearoff doesnt tell success"
206 gMouseMove (1,1,35,30)
214 '/// Unmark all objects ///'
216 '/// Mark the cloud ///'
219 printlog "Rename the object to 'Third'."
220 '/// Rename the object to 'Third'. ///'
224 if hMenuFindSelect(27027, true, 15) = false then
225 Warnlog "Context-Menu-entry `Rename` was not found. Therefore the test ends."
229 Kontext "NameDlgObject"
230 NameField.SetText "Third"
233 printlog "Set the object -Title/Description to 'ThirdTitle' and 'ThirdText'."
234 '/// Open the Context-menu and set the description of the object to 'First' ///"
237 'Choose "Description"
238 if hMenuFindSelect(27033, true, 14) = false then
239 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
243 kontext "DescriptionObject"
244 DescriptionTitle.SetText "ThirdTitle"
245 DescriptionText.SetText "ThirdText"
248 warnlog "the Toolbar wasnt visible."
251 warnlog "the Toolbar didnt exist."
255 printlog "Change all objects into 3D."
256 '/// Change all objects into 3D. ///'
257 if gApplication = "DRAW" then
258 Kontext "Documentdraw"
260 Kontext "DocumentImpress"
262 For MakeInto3Dcounter = 1 to 3
263 hTypeKeys "<TAB>", MakeInto3Dcounter
265 if Toolbar.Exists then
266 if Toolbar.IsVisible then
267 if ExtrusionOnOff.Exists then
272 Toolbar.OpenContextMenu ' enable forms button in menuebar
276 if hMenuFindSelect(1024, true, 25) = false then
277 Warnlog "Context-Menu-entry `Extrusion On/Off` was not found. Therefore the test ends."
286 Kontext "ExtrusionObjectBar"
287 if ExtrusionObjectBar.Exists then
288 if ExtrusionObjectBar.IsVisible then
289 printlog " Objects got converted into Extrusion-objects, correct."
291 warnlog " No Extrusion-toolbar visible. Eventually a problem making objects into Extrusion-Objects."
296 warnlog " the 'Toolbar' -Toolbar didnt exist."
300 Next MakeInto3Dcounter
302 printlog "See if the objects still are Custom Shapes."
303 '/// See if the objects still are Custom Shapes ///'
304 '/// We do so by moving the lower part of the the thinking-cloud. ///'
306 hTypeKeys "<TAB><TAB><TAB>"
308 hTypeKeys "<MOD1 TAB>" ,9
309 if gApplication = "IMPRESS" then
310 hTypeKeys "<RIGHT>" ,86
313 hTypeKeys "<RIGHT>" ,131
321 printlog "Check the name of the selected object (should be 'First')"
322 '/// Check the name of the selected object (should be 'First') ///'
326 if hMenuFindSelect(27027, true, 15) = false then
327 Warnlog "Context-Menu-entry `Rename` was not found. Therefore the test ends."
333 kontext "NameDlgObject"
334 if NameField.GetText <> "First" then
335 warnlog " Wrong object. Should have been the first, but was the " + NameField.GetText
337 Printlog " The first object still had the correct name, good."
341 printlog "Open the Context-menu and check if the description of the object is right"
342 '/// Open the Context-menu and check if the description of the object is right ///"
345 'Choose "Description"
346 if hMenuFindSelect(27033, true, 14) = false then
347 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
351 kontext "DescriptionObject"
352 if DescriptionTitle.GetText <> "FirstTitle" then
353 Warnlog " The description-title for the first object were not 'FirstTitle', but: " + DescriptionTitle.GetText
355 if DescriptionText.GetText <> "FirstText" then
356 Warnlog " The description-text for the first object were not 'FirstText', but: " + DescriptionText.GetText
360 Kontext "ExtrusionObjectBar"
361 if ExtrusionObjectBar.Exists then
362 if ExtrusionObjectBar.IsVisible then
363 printlog " The first object got converted into a 3D-object (Extrusion-Object), correct."
365 warnlog " No Extrusion-Object-toolbar visible. Eventually a problem making the object into 3D."
370 hTypeKeys "<TAB><TAB>"
371 '/// Check the name of the selected object (should be 'Second') ///'
375 if hMenuFindSelect(27027, true, 15) = false then
376 Warnlog " Context-Menu-entry `Rename` was not found. Therefore the test ends."
382 kontext "NameDlgObject"
383 if NameField.GetText <> "Second" then
384 warnlog " Wrong object. Should have been the second, but was the " + NameField.GetText
386 Printlog " The second object still had the correct name, good."
390 printlog "Open the Context-menu and check if the description of the object is right"
391 '/// Open the Context-menu and check if the description of the object is right ///"
394 'Choose "Description"
395 if hMenuFindSelect(27033, true, 14) = false then
396 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
400 kontext "DescriptionObject"
401 if DescriptionTitle.GetText <> "SecondTitle" then
402 Warnlog " The description-title for the second object were not 'SecondTitle', but: " + DescriptionTitle.GetText
404 printlog " The description-title for the second object were correct"
406 if DescriptionText.GetText <> "SecondText" then
407 Warnlog " The description-text for the second object were not 'SecondText', but: " + DescriptionText.GetText
409 printlog " The description-text for the second object were correct"
413 Kontext "ExtrusionObjectBar"
414 if ExtrusionObjectBar.Exists then
415 if ExtrusionObjectBar.IsVisible then
416 printlog " The first second got converted into 3D-object (Extrusion-Object), correct."
418 warnlog " No Extrusion-Object-toolbar visible. Eventually a problem making the object into 3D."
423 hTypeKeys "<TAB><TAB><TAB>"
424 '/// Check the name of the selected object (should be "Third") ///'
428 if hMenuFindSelect(27027, true, 15) = false then
429 Warnlog "Context-Menu-entry `Rename` was not found. Therefore the test ends."
435 kontext "NameDlgObject"
436 if NameField.GetText <> "Third" then
437 warnlog " Wrong object. Should have been the third, but was the " + NameField.GetText
439 Printlog " The third object still had the correct name, good."
443 printlog "Open the Context-menu and check if the description of the object is right"
444 '/// Open the Context-menu and check if the description of the object is right ///"
447 'Choose "Description"
448 if hMenuFindSelect(27033, true, 14) = false then
449 Warnlog "Context-Menu-entry `Description` was not found. Therefore the test ends."
453 kontext "DescriptionObject"
454 if DescriptionTitle.GetText <> "ThirdTitle" then
455 Warnlog " The description-title for object three were not 'ThirdTitle', but: " + DescriptionTitle.GetText
457 printlog " The description-title for the second object were correct."
459 if DescriptionText.GetText <> "ThirdText" then
460 Warnlog " The description-text for object three were not 'ThirdText', but: " + DescriptionText.GetText
462 printlog " The description-text for object three were correct."
466 Kontext "ExtrusionObjectBar"
467 if ExtrusionObjectBar.Exists then
468 if ExtrusionObjectBar.IsVisible then
469 printlog " The third object got converted into 3D-object (Extrusion-Object), correct."
471 warnlog " No Extrusion-Object-toolbar visible. Eventually a problem making the object into 3D."
475 printlog "End of test. Close the document."
476 Call hCloseDocument '/// Close Document ///'
478 endcase 'tCustomshapes
479 '---------------------------------------------------------
480 testcase tFormatPaintbrush
482 dim counter, ZaehlerVerlauf, j as Integer
484 dim HatchingDistance as string
485 dim HatchingAngle as string
486 dim HatchingLineType as string
487 dim HatchingLineColor as string
489 dim position_value as string
490 dim show_value as boolean
491 dim distance_value as string
492 dim color_value as string
493 dim transparency_value as string
495 dim NoTransparency_value as boolean
496 dim linearTransparency_value as boolean
497 dim MFLintransparency_value as string
498 dim Transparencyverlauf_value as boolean
499 dim TransparencyType_value as string
500 dim MFCenterX_value as string
501 dim MFCenterY_value as string
502 dim MFAngle_value as string
503 dim MFRand_value as string
504 dim MFStart_value as string
505 dim MFEnd_value as string
507 dim colorname_value as string
508 dim color2_value as string
509 dim colormodel_value as integer
510 dim R_value as string
511 dim G_value as string
512 dim B_value as string
513 dim C_value as string
514 dim M_value as string
515 dim Y_value as string
516 dim K_value as string
518 dim type_value as string
519 dim centerx_value as string
520 dim centery_value as string
521 dim angle_value as string
522 dim rand_value as string
523 dim from_value as string
524 dim fromvalue_value as string
525 dim to_value as string
526 dim tovalue_value as string
527 dim to_wert_value as string
529 dim front_value as string
530 dim background_value as string
532 '/// Create new document ///'
534 '/// Create a new rectangle ///'
535 hRechteckErstellen ( 10, 10, 30, 30 )
537 '/// Switch to Tabpage "Area" ///'
539 Active.SetPage TabArea
542 FillOptions.Select 4 '/// Select hatching, control after closing and reopening dialog if changes are recognized ///'
543 '/// Switch to Tabpage "Hatching" ///'
545 Active.setpage TabSchraffuren
546 Kontext "TabSchraffuren"
548 '/// Get the values for the Rectangle ///'
549 HatchingDistance = Abstand.GetText
550 HatchingAngle = Winkel.GetText
552 HatchingLineType = Linientyp.GetSelText
553 HatchingLineColor = Linienfarbe.GetSelText
559 '/// Switch to Tabpage "Shaddow" ///'
561 Active.setpage TabSchatten
562 Kontext "TabSchatten"
564 show_value = Anzeigen.isChecked 'Boolean
565 if Anzeigen.isChecked then
566 position_value = Position.GetSelText
567 distance_value = Entfernung.GetSelText
568 color_value = Farbe.GetSelText
569 transparency_value = Transparenz.GetSelText
573 '/// Switch to Tabpage "Transparency" ///'
575 Active.SetPage TabTransparenz
576 Kontext "TabTransparenz"
578 NoTransparency_value = KeineTransparenz.isChecked
579 linearTransparency_value = LineareTransparenz.isChecked
580 MFLinTransparency_value = MFLinTransparenz.GetText
581 Transparencyverlauf_value = Transparenzverlauf.isChecked
582 TransparencyType_value = TransparenzverlaufTyp.GetSelText
583 MFCenterX_value = MFZentrumX.GetText
584 MFCenterY_value = MFZentrumY.GetText
585 MFAngle_value = MFWinkel.GetText
586 MFRand_value = MFRand.GetText
587 MFStart_value = MFStartwert.GetText
588 MFEnd_value = MFEndwert.GetText
591 '/// Switch to Tabpage "Color" ///'
593 Active.setpage TabFarben
596 colorname_value = FarbName.GetText
597 color_value = Farbe.GetSelText
598 colormodel_value = Farbmodell.GetSelIndex
599 if colormodel_value = 1 then
603 else 'farbmodell_value = 2
611 '/// Switch to Tabpage "Gradient" ///'
613 Active.setpage TabFarbverlaeufe
614 Kontext "TabFarbverlaeufe"
616 type_value = Typ.GetSelText
617 Centerx_value = ZentrumX.GetText
618 Centery_value = ZentrumY.GetText
619 angle_value = Winkel.GetText
620 rand_value = Rand.GetText
621 from_value = Von.GetSelText
622 fromvalue_value = VonWert.GetText
623 to_value = Bis.GetSelText
624 tovalue_value = BisWert.GetText
627 '/// Switch to Tabpage "Bitmap" ///'
629 Active.setpage TabBitmap
632 front_value = Vordergrund.GetSelText
633 background_value = Hintergrund.GetSelText
635 '/// Close the FormatArea-dialogue with "OK" ///'
639 '/// Create a second rectangle, and use the "Paintbrush-icon" to copy the settings for the first rectangle onto the new one ///'
640 hRechteckErstellen ( 70, 70, 90, 90 )
641 if gApplication = "DRAW" then
642 kontext "Documentdraw"
643 Documentdraw.Mousedown 20, 20
644 Documentdraw.Mouseup 20, 20
646 kontext "Standardbar"
647 FormatPaintbrush.Click
648 kontext "Documentdraw"
650 Documentdraw.Mousedown 80, 80
651 Documentdraw.Mouseup 80, 80
654 Kontext "DocumentImpress"
655 DocumentImpress.Mousedown 20, 20
656 DocumentImpress.Mouseup 20, 20
658 kontext "Standardbar"
659 FormatPaintbrush.Click
660 kontext "DocumentImpress"
662 DocumentImpress.Mousedown 80, 80
663 DocumentImpress.Mouseup 80, 80
667 '/// Check if the Formatting is like the first one. ///'
669 '/// Switch to Tabpage "Area" ///'
671 Active.SetPage TabArea
673 ' if FillOptions.GetSelIndex <> 4 then '/// The selected value should be 'no fill' ///'
674 ' warnlog "The FillOptions-value was not transferred correctly."
676 ' printlog "The FillOptions-value was transferred correctly."
679 sleep 1 '/// control if changes are still there after closing and reopening dialog ///'
680 FillOptions.Select 4 '/// Select hatching, control after closing and reopening dialog if changes are recognized ///'
681 '/// Switch to Tabpage "Hatching" ///'
683 Active.setpage TabSchraffuren
684 kontext "TabSchraffuren"
686 if HatchingDistance <> Abstand.GetText then
687 warnlog "Hatching:Distance changed. Should be: " + HatchingDistance + ". Was: " + Abstand.GetText
689 if HatchingAngle <> Winkel.GetText then
690 warnlog "Hatching:Angle changed. Should be: " + HatchingAngle + ". Was: " + Winkel.GetText
693 if HatchingLineType <> Linientyp.GetSelText then
694 warnlog "Hatching:LineType changed. Should be: " + HatchingLineType + ". Was: " + Linientyp.GetSelText
696 if HatchingLineColor <> Linienfarbe.GetSelText then
697 warnlog "Hatching:LineColor changed. Should be: " + HatchingLineColor + ". Was: " + Linienfarbe.GetSelText
701 '/// Switch to Tabpage "Shaddow" ///'
703 Active.setpage TabSchatten
704 Kontext "TabSchatten"
706 if Show_value = true then
707 if Anzeigen.isChecked <> true then
708 warnlog "Shaddow:Show had changed! Should have been true, but was " + Anzeigen.isChecked
710 if position_value <> Position.GetSelText then
711 warnlog "Shaddow:position:value changed. Should be: " + position_value + ". Was: " + Position.GetSelText
713 if distance_value <> Entfernung.GetSelText then
714 warnlog "Shaddow:distance:value changed. Should be: " + distance_value + ". Was: " + Entfernung.GetSelText
716 if color_value <> Farbe.GetSelText then
717 warnlog "Shaddow:Color:value changed. Should be: " + color_value + ". Was: " + Farbe.GetSelText
719 if transparency_value <> Transparenz.GetSelText then
720 warnlog "Shaddow:transparency:value changed. Should be: " + transparency_value + ". Was: " + Transparenz.GetSelText
726 '/// Switch to Tabpage "Transparency" ///'
728 Active.SetPage TabTransparenz
729 Kontext "TabTransparenz"
730 if NoTransparency_value <> KeineTransparenz.isChecked then
731 warnlog "Transparency:NoTransparency -value changed. Should be: " + NoTransparency_value + ". Was: " + KeineTransparenz.isChecked
733 if linearTransparency_value <> LineareTransparenz.isChecked then
734 warnlog "Transparency:lineareTransparency -value changed. Should be: " + linearTransparency_value + ". Was: " + LineareTransparenz.isChecked
736 if MFLinTransparency_value <> MFLinTransparenz.GetText then
737 warnlog "Transparency:MFLinTransparency -value changed. Should be: " + MFLinTransparency_value + ". Was: " + MFLinTransparenz.GetText
739 if Transparencyverlauf_value <> Transparenzverlauf.isChecked then
740 warnlog "Transparency:Transparencyverlauf -value changed. Should be: " + Transparencyverlauf_value + ". Was: " + Transparenzverlauf.isChecked
742 if TransparencyType_value <> TransparenzverlaufTyp.GetSelText then
743 warnlog "Transparency:TransparencyType -value changed. Should be: " + TransparencyType_value + ". Was: " + TransparenzverlaufTyp.GetSelText
745 if MFCenterX_value <> MFZentrumX.GetText then
746 warnlog "Transparency:MFCenterX -value changed. Should be: " + MFCenterX_value + ". Was: " + MFZentrumX.GetText
748 if MFCenterY_value <> MFZentrumY.GetText then
749 warnlog "Transparency:MFCenterY -value changed. Should be: " + MFCenterY_value + ". Was: " + MFZentrumY.GetText
751 if MFAngle_value <> MFWinkel.GetText then
752 warnlog "Transparency:MFAngle -value changed. Should be: " + MFAngle_value + ". Was: " + MFWinkel.GetText
754 if MFRand_value <> MFRand.GetText then
755 warnlog "Transparency:MFRand -value changed. Should be: " + MFRand_value + ". Was: " + MFRand.GetText
757 if MFStart_value <> MFStartwert.GetText then
758 warnlog "Transparency:MFStart -value changed. Should be: " + MFStart_value + ". Was: " + MFStartwert.GetText
760 if MFEnd_value <> MFEndwert.GetText then
761 warnlog "Transparency:MFEnd -value changed. Should be: " + MFEnd_value + ". Was: " + MFEndwert.GetText
765 '/// Switch to Tabpage "Color" ///'
767 Active.setpage TabFarben
770 if colorname_value <> FarbName.GetText then
771 warnlog "colorname_value changed. Should be: " + colorname_value + ". Was: " + FarbName.GetText
773 if color_value <> Farbe.GetSelText then
774 warnlog "color_value changed. Should be: " + color_value + ". Was: " + Farbe.GetSelText
776 if colormodel_value <> Farbmodell.GetSelIndex then
777 warnlog "colormodel_value changed. Should be: " + colormodel_value + ". Was: " + Farbmodell.GetSelIndex
779 if colormodel_value = 1 then
780 if R_value <> R.GetText then
781 warnlog "R_value changed. Should be: " + R_value + ". Was: " + R.GetText
783 if G_value <> G.GetText then
784 warnlog "G_value changed. Should be: " + G_value + ". Was: " + G.GetText
786 if B_value <> B.GetText then
787 warnlog "B_value changed. Should be: " + B_value + ". Was: " + B.GetText
790 if colormodel_value = 2 then
791 if C_value <> C.GetText then
792 warnlog "C_value changed.Should be: " + C_value + ". Was: " + C.GetText
794 if M_value <> M.GetText then
795 warnlog "M_value changed. Should be: " + M_value + ". Was: " + M.GetText
797 if Y_value <> Y.GetText then
798 warnlog "Y_value changed. Should be: " + Y_value + ". Was: " + Y.GetText
800 if K_value <> K.GetText then
801 warnlog "K_value changed. Should be: " + K_value + ". Was: " + K.GetText
806 '/// Switch to Tabpage "Gradient" ///'
808 Active.setpage TabFarbverlaeufe
809 Kontext "TabFarbverlaeufe"
810 if type_value <> Typ.GetSelText then
811 warnlog "type_value changed. Should be: " + type_value + ". Was: " + Typ.GetSelText
813 if centerx_value <> ZentrumX.GetText then
814 warnlog "centerx_value changed. Should be: " + centerx_value + ". Was: " + ZentrumX.GetText
816 if centery_value <> ZentrumY.GetText then
817 warnlog "centery_value changed. Should be: " + centery_value + ". Was: " + ZentrumY.GetText
819 if angle_value <> Winkel.GetText then
820 warnlog "angle_value changed. Should be: " + angle_value + ". Was: " + Winkel.GetText
822 if rand_value <> Rand.GetText then
823 warnlog "rand_value changed. Should be: " + rand_value + ". Was: " + Rand.GetText
825 if from_value <> Von.GetSelText then
826 warnlog "from_value changed. Should be: " + from_value + ". Was: " + Von.GetSelText
828 if fromvalue_value <> VonWert.GetText then
829 warnlog "fromvalue_value changed. Should be: " + fromvalue_value + ". Was: " + VonWert.GetText
831 if to_value <> Bis.GetSelText then
832 warnlog "to_value changed. Should be: " + to_value + ". Was: " + Bis.GetSelText
834 if tovalue_value <> BisWert.GetText then
835 warnlog "tovalue_value changed. Should be: " + tovalue_value + ". Was: " + BisWert.GetText
839 '/// Switch to Tabpage "Bitmap" ///'
841 Active.setpage TabBitmap
843 if front_value <> Vordergrund.GetSelText then
844 warnlog "vordergrund_value changed. Should be: " + front_value + ". Was: " + Vordergrund.GetSelText
846 if background_value <> Hintergrund.GetSelText then
847 warnlog "background_value changed. Should be: " + background_value + ". Was: " + Hintergrund.GetSelText
851 Call hCloseDocument '/// Close Document ///'
853 endcase 'tFormatPaintbrush