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 2000, 2010 Oracle and/or its affiliates.
7 ' OpenOffice.org - a multi-platform office productivity suite
9 ' This file is part of OpenOffice.org.
11 ' OpenOffice.org is free software: you can redistribute it and/or modify
12 ' it under the terms of the GNU Lesser General Public License version 3
13 ' only, as published by the Free Software Foundation.
15 ' OpenOffice.org is distributed in the hope that it will be useful,
16 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ' GNU Lesser General Public License version 3 for more details
19 ' (a copy is included in the LICENSE file that accompanied this code).
21 ' You should have received a copy of the GNU Lesser General Public License
22 ' version 3 along with OpenOffice.org. If not, see
23 ' <http://www.openoffice.org/license.html>
24 ' for a copy of the LGPLv3 License.
26 '/************************************************************************
28 '* owner : helge.delfs@oracle.com
30 '* short description : Test Hangul/Hanja Conversion
32 '\*******************************************************************
37 Dim bAsianLanguage
as Boolean
39 use
"writer\tools\includes\w_tools.inc"
40 use
"writer\tools\includes\w_tool3.inc"
41 use
"writer\optional\includes\tools\tools1.inc"
42 use
"writer\optional\includes\tools\tools2.inc"
43 use
"writer\optional\includes\hangulhanjaonversion\hhConversion1.inc"
44 use
"writer\optional\includes\hangulhanjaonversion\hhConversion2.inc"
45 use
"writer\optional\includes\hangulhanjaonversion\hhConversion3.inc"
47 printlog
Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit
)
48 printlog
Chr(13) + "******* Writer - Level 1 - Test *******"
50 Call hStatusIn ( "writer", "w_hhConversion.bas" , "HH Converstion" )
52 printlog
Chr(13) + " - Test Hangul/Hanja Conversion"
54 'Enable 'Asian Language support' ON
55 bAsianLanguage
= ActiveDeactivateAsianSupport(TRUE)
57 printlog
Chr(13) + " - No selection "
67 printlog
Chr(13) + " - Single selection "
69 Call tHHSingleSelction_1
71 printlog
Chr(13) + " - Multi selection "
73 Call tHHMultiSelction_1
75 printlog
Chr(13) + " - in text box and draw box "
80 printlog
Chr(13) + " - Hangul/Hanja Conversion"
100 Call tHHConversion_19
101 Call tHHConversion_20
102 Call tHHConversion_21
103 Call tHHConversion_22
104 Call tHHConversion_23
105 Call tHHConversion_24
106 Call tHHConversion_25
107 Call tHHConversion_26
109 printlog
Chr(13) + " - Hangul/Hanja Options"
124 'Set the 'Asian Language support' to default
125 Call ActiveDeactivateAsianSupport(bAsianLanguage
)
128 Printlog
Chr(13) + "End of Level 1 Test - Hangul/Hanja Conversion"
129 Printlog
"Duration: "+ WieLange ( StartZeit
)
130 Printlog
"Date: " + Date + " Time: " + Time
135 use
"global\system\includes\master.inc"
136 use
"global\system\includes\gvariabl.inc"
138 gApplication
= "WRITER"