jl165 merging heads
[LibreOffice.git] / testautomation / framework / optional / f_CJK_RubyDialogueProposal.bas
blobcd1c7322b884d2469b1a7badcf0aabc5d8c80002
1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 '
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: thorsten.bosbach@oracle.com
30 '* short description: CJK Ruby DialogueProposal test
32 '\*********************************************************************
34 global sAsianLanguageFlag as String
36 sub main
37 PrintLog "---------------------------------------------------------------------"
38 Printlog "----- CJK Ruby Dialogue Proposal test -----"
39 PrintLog "---------------------------------------------------------------------"
41 use "framework\optional\includes\CJK_RubyDialogueProposal_1.inc"
43 sAsianLanguageFlag = CheckAsianLanguageSupport("Current")
44 Call CheckAsianLanguageSupport("On")
45 Call hStatusIn("framework", "f_CJK_RubyDialogueProposal.bas")
47 printLog Chr(13) + "- CJK Ruby Dialogue Proposal test -- Writer"
48 Call tRubyDialog_1 'Check Apply and Close button in Ruby dialogue
49 Call tRubyDialog_2 'Test scrollbar in Ruby dialog
50 Call tRubyDialog_3 'The list in ruby dialogure will be updated
51 'as soon as the uses change the select in the document.
52 Call tRubyDialog_4 'Check default setting for Character Style of Ruby Text
53 Call tRubyDialog_5 'Check Stylist
54 Call hStatusOut
56 if sAsianLanguageFlag = "Off" then
57 Call CheckAsianLanguageSupport("Off")
58 else
59 Call CheckAsianLanguageSupport("On")
60 end if
61 end sub
63 sub LoadIncludeFiles
64 use "global\system\includes\master.inc"
65 use "global\system\includes\gvariabl.inc"
67 use "framework\tools\includes\CJK_tools.inc"
69 gApplication = "WRITER"
70 Call GetUseFiles
71 End sub