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_hhConversion.bas,v $
13 '* last change: $Author: fredrikh $ $Date: 2008-06-18 09:11:25 $
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 Hangul/Hanja Conversion
38 '\*******************************************************************
43 Dim bAsianLanguage
as Boolean
45 use
"writer\tools\includes\w_tools.inc"
46 use
"writer\tools\includes\w_tool3.inc"
47 use
"writer\optional\includes\tools\tools1.inc"
48 use
"writer\optional\includes\tools\tools2.inc"
49 use
"writer\optional\includes\hangulhanjaonversion\hhConversion1.inc"
50 use
"writer\optional\includes\hangulhanjaonversion\hhConversion2.inc"
51 use
"writer\optional\includes\hangulhanjaonversion\hhConversion3.inc"
53 printlog
Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit
)
54 printlog
Chr(13) + "******* Writer - Level 1 - Test *******"
56 Call hStatusIn ( "writer", "w_hhConversion.bas" , "HH Converstion" )
58 printlog
Chr(13) + " - Test Hangul/Hanja Conversion"
60 'Enable 'Asian Language support' ON
61 bAsianLanguage
= ActiveDeactivateAsianSupport(TRUE)
63 printlog
Chr(13) + " - No selection "
73 printlog
Chr(13) + " - Single selection "
75 Call tHHSingleSelction_1
77 printlog
Chr(13) + " - Multi selection "
79 Call tHHMultiSelction_1
81 printlog
Chr(13) + " - in text box and draw box "
86 printlog
Chr(13) + " - Hangul/Hanja Conversion"
100 Call tHHConversion_13
101 Call tHHConversion_14
102 Call tHHConversion_15
103 Call tHHConversion_16
104 Call tHHConversion_17
105 Call tHHConversion_18
106 Call tHHConversion_19
107 Call tHHConversion_20
108 Call tHHConversion_21
109 Call tHHConversion_22
110 Call tHHConversion_23
111 Call tHHConversion_24
112 Call tHHConversion_25
113 Call tHHConversion_26
115 printlog
Chr(13) + " - Hangul/Hanja Options"
130 'Set the 'Asian Language support' to default
131 Call ActiveDeactivateAsianSupport(bAsianLanguage
)
134 Printlog
Chr(13) + "End of Level 1 Test - Hangul/Hanja Conversion"
135 Printlog
"Duration: "+ WieLange ( StartZeit
)
136 Printlog
"Date: " + Date + " Time: " + Time
141 use
"global\system\includes\master.inc"
142 use
"global\system\includes\gvariabl.inc"
144 gApplication
= "WRITER"