office-gobmx/testautomation/writer/optional/w_formatparagraph.bas

142 lines
4.5 KiB
QBasic
Raw Normal View History

2008-06-18 03:11:27 -05:00
'encoding UTF-8 Do not remove or change this line!
'**************************************************************************
' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
'
' Copyright 2000, 2010 Oracle and/or its affiliates.
'
' OpenOffice.org - a multi-platform office productivity suite
'
' This file is part of OpenOffice.org.
'
' OpenOffice.org is free software: you can redistribute it and/or modify
' it under the terms of the GNU Lesser General Public License version 3
' only, as published by the Free Software Foundation.
'
' OpenOffice.org is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU Lesser General Public License version 3 for more details
' (a copy is included in the LICENSE file that accompanied this code).
'
' You should have received a copy of the GNU Lesser General Public License
' version 3 along with OpenOffice.org. If not, see
' <http://www.openoffice.org/license.html>
' for a copy of the LGPLv3 License.
'
2008-06-18 03:11:27 -05:00
'/************************************************************************
'*
'* owner : helge.delfs@oracle.com
2008-06-18 03:11:27 -05:00
'*
'* short description : Test the functionality of Paragraph
'*
'\*******************************************************************
global gSeperator as String
global gMeasurementUnit as String
sub main
Dim StartZeit
StartZeit = Now()
use "writer\tools\includes\w_tools.inc"
use "writer\tools\includes\w_tool3.inc"
use "writer\optional\includes\tools\tools1.inc"
use "writer\optional\includes\tools\tools2.inc"
use "writer\optional\includes\formatparagraph\w_formatparagraph1.inc"
use "writer\optional\includes\formatparagraph\w_formatparagraph2.inc"
use "writer\optional\includes\formatparagraph\w_formatparagraph3.inc"
printlog Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit )
printlog Chr(13) + "******* Writer - Level 1 - Test *******"
printlog Chr(13) + " - Test of paragraph function -"
Call hStatusIn ( "writer", "w_formatparagraph.bas" , "Paragrahp" )
CWS-TOOLING: integrate CWS fhawfixes2 2009-07-08 14:58:06 +0200 oc r273832 : #i103413# 2009-07-01 22:02:46 +0200 fredrikh r273615 : i103249 2009-07-01 17:12:45 +0200 fredrikh r273605 : i103249 2009-07-01 16:55:27 +0200 fredrikh r273603 : i102752 2009-07-01 16:51:30 +0200 fredrikh r273602 : i102752 2009-07-01 15:49:58 +0200 fredrikh r273597 : i102752 2009-07-01 15:32:34 +0200 fredrikh r273596 : i103216 2009-07-01 15:10:05 +0200 fredrikh r273590 : i102752 2009-07-01 14:41:23 +0200 fredrikh r273587 : i102752 2009-07-01 14:40:11 +0200 fredrikh r273585 : i102752 2009-07-01 13:14:31 +0200 fredrikh r273572 : i102752 2009-07-01 13:02:47 +0200 fredrikh r273570 : i102752 2009-07-01 12:54:54 +0200 fredrikh r273569 : i102752 2009-07-01 12:24:23 +0200 fredrikh r273567 : i102752 2009-07-01 12:23:10 +0200 fredrikh r273566 : i102752 2009-07-01 12:22:06 +0200 fredrikh r273565 : i102752 2009-07-01 12:13:26 +0200 fredrikh r273563 : i102752 2009-06-30 18:00:13 +0200 fredrikh r273530 : i103220 2009-06-30 17:52:06 +0200 fredrikh r273528 : i102845 2009-06-30 17:36:50 +0200 fredrikh r273526 : CWS-TOOLING: rebase CWS fhawfixes2 to trunk@273468 (milestone: DEV300:m51) 2009-06-30 11:36:55 +0200 fredrikh r273499 : CWS-TOOLING: rebase CWS fhawfixes2 to trunk@272827 (milestone: DEV300:m50) 2009-06-29 14:12:15 +0200 fredrikh r273473 : i94734 2009-06-24 18:59:13 +0200 fredrikh r273362 : i102846 2009-06-24 16:01:32 +0200 fredrikh r273352 : i102999 2009-06-24 14:33:37 +0200 fredrikh r273347 : i103063 & i102999 2009-06-24 14:32:18 +0200 fredrikh r273346 : i103063 2009-06-24 14:17:42 +0200 fredrikh r273345 : i103063 2009-06-24 13:38:39 +0200 fredrikh r273341 : i103063 2009-06-24 13:38:15 +0200 fredrikh r273340 : i103063 2009-06-24 13:37:32 +0200 fredrikh r273339 : i103063 2009-06-24 13:36:43 +0200 fredrikh r273338 : i103063 2009-06-24 13:36:26 +0200 fredrikh r273337 : i103063 2009-06-24 13:36:08 +0200 fredrikh r273336 : i103063 2009-06-24 13:32:08 +0200 fredrikh r273335 : i103063 2009-06-24 02:01:29 +0200 fredrikh r273305 : i102999 2009-06-23 17:07:02 +0200 fredrikh r273298 : i103042 2009-06-23 17:06:17 +0200 fredrikh r273297 : i103042 2009-06-23 16:27:47 +0200 fredrikh r273295 : i102999 2009-06-23 16:26:46 +0200 fredrikh r273294 : i102999 2009-06-23 16:26:20 +0200 fredrikh r273293 : i102999 2009-06-23 16:25:37 +0200 fredrikh r273291 : i102999 2009-06-23 16:24:52 +0200 fredrikh r273290 : i102999 2009-06-23 16:24:05 +0200 fredrikh r273288 : i102999 2009-06-23 16:23:49 +0200 fredrikh r273287 : i102999 2009-06-23 14:46:08 +0200 fredrikh r273282 : i102999 2009-06-23 13:18:56 +0200 fredrikh r273279 : i102999 2009-06-22 18:17:33 +0200 fredrikh r273250 : i102999 2009-06-22 18:17:10 +0200 fredrikh r273249 : i102999 2009-06-22 18:16:48 +0200 fredrikh r273248 : i102999 2009-06-22 18:16:33 +0200 fredrikh r273247 : i102999 2009-06-22 18:16:07 +0200 fredrikh r273246 : i102999 2009-06-22 18:15:32 +0200 fredrikh r273245 : i102999 2009-06-22 16:14:00 +0200 fredrikh r273237 : i102792 2009-06-22 13:35:09 +0200 fredrikh r273228 : i102648 2009-06-22 12:19:41 +0200 fredrikh r273211 : i102800 2009-06-18 17:57:17 +0200 fredrikh r273127 : i102800 2009-06-17 19:01:42 +0200 fredrikh r273092 : i102800 2009-06-17 14:28:32 +0200 fredrikh r273073 : i102800 2009-06-17 13:16:26 +0200 fredrikh r273061 : i102800 2009-06-17 13:14:19 +0200 fredrikh r273060 : i102800 2009-06-17 12:20:47 +0200 fredrikh r273058 : i102800 2009-06-16 23:56:39 +0200 fredrikh r273043 : i102800 2009-06-16 19:01:53 +0200 fredrikh r273036 : i102800 2009-06-15 17:53:18 +0200 fredrikh r273005 : i102800 2009-06-15 17:19:25 +0200 fredrikh r273003 : i102800 2009-06-15 15:57:40 +0200 fredrikh r272993 : i102799 2009-06-15 15:11:05 +0200 fredrikh r272990 : i102648 2009-06-15 15:09:56 +0200 fredrikh r272989 : i102648 2009-06-15 14:48:42 +0200 fredrikh r272988 : i102648 2009-06-15 12:41:32 +0200 fredrikh r272977 : i102648 2009-06-15 12:27:09 +0200 fredrikh r272975 : i102648 2009-06-10 17:31:22 +0200 fredrikh r272831 : i102648 2009-06-10 15:47:16 +0200 fredrikh r272823 : i102647 2009-06-10 13:21:24 +0200 fredrikh r272805 : i102639 + i96954
2009-07-15 07:25:42 -05:00
Call wOptionsUndo ( "All" ) ' Sets all writer-options to default
2008-06-18 03:11:27 -05:00
'Software Configuration:
'Getting the decimal seperator from global function
gSeperator = GetDecimalSeperator()
'Setting the measurement unit to centimeters.
gMeasurementUnit = fSetMeasurementToCM()
Call tFormatParagraph1
Call tParagraphIndent1
Call tParagraphIndent2
Call tParagraphIndent3
Call tParagraphIndent4
Call tParagraphIndent5
Call tParagraphIndent6
Call tParagraphIndent7
Call tParagraphIndent8
Call tParagraphIndent9
Call tParagraphIndent10
Call tParagraphIndent11
Call tParagraphIndent12
Call tParagraphIndent13
Call tParagraphIndent14
Call tParagraphIndent15
Call tParagraphIndent16
Call tParagraphIndent17
Call tParagraphIndent18
Call tParagraphAlignment1
Call tParagraphAlignment2
Call tParagraphAlignment3
Call tParagraphAlignment4
Call tParagraphAlignment5
Call tParagraphAlignment6
Call tParagraphAlignment7
Call tParagraphAlignment8
Call tParagraphAlignment9
Call tParagraphTextFlow1
Call tParagraphTextFlow2
Call tParagraphTextFlow3
Call tParagraphTextFlow4
Call tParagraphTextFlow5
Call tParagraphTextFlow6
Call tParagraphTextFlow7
Call tParagraphTextFlow8
Call tParagraphTextFlow9
Call tParagraphTextFlow10
Call tParagraphTextFlow11
Call tParagraphTextFlow12
Call tParagraphTextFlow13
Call tParagraphTabs1
Call tParagraphTabs2
Call tParagraphTabs3
Call tParagraphTabs4
Call tParagraphTabs5
Call tParagraphTabs6
Call tParagraphDropCaps1
Call tParagraphDropCaps2
Call tParagraphDropCaps3
Call tParagraphDropCaps4
Call tParagraphDropCaps5
Call tParagraphDropCaps6
Call tParagraphDropCaps7
Call tParagraphDropCaps8
Call tParagraphDropCaps9
Call tParagraphNumbering1
Call tParagraphBorder1
Call tParagraphBorder2
Call tParagraphBorder3
Call tParagraphBorder4
Call tParagraphBorder5
Call tParagraphBorder6
Call hStatusOut
2008-11-03 02:30:57 -06:00
2008-06-18 03:11:27 -05:00
Printlog Chr(13) + "End of Level 1 Test (Format page):"
Printlog "Duration: "+ WieLange ( StartZeit )
Printlog "Date: " + Date + " Time: " + Time
end sub
sub LoadIncludeFiles
use "global\system\includes\master.inc"
use "global\system\includes\gvariabl.inc"
Call GetUseFiles
gApplication = "WRITER"
2008-06-18 03:11:27 -05:00
end sub