diff options
Diffstat (limited to 'testautomation/framework/tools/includes/CJK_tools.inc')
-rwxr-xr-x | testautomation/framework/tools/includes/CJK_tools.inc | 83 |
1 files changed, 25 insertions, 58 deletions
diff --git a/testautomation/framework/tools/includes/CJK_tools.inc b/testautomation/framework/tools/includes/CJK_tools.inc index e877bbb2b3c5..ad64e130e232 100755 --- a/testautomation/framework/tools/includes/CJK_tools.inc +++ b/testautomation/framework/tools/includes/CJK_tools.inc @@ -1,34 +1,28 @@ 'encoding UTF-8 Do not remove or change this line! '************************************************************************** -'* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -'* -'* Copyright 2008 by Sun Microsystems, Inc. -'* -'* OpenOffice.org - a multi-platform office productivity suite -'* -'* $RCSfile: CJK_tools.inc,v $ -'* -'* $Revision: 1.1 $ -'* -'* last change: $Author: jsi $ $Date: 2008-06-16 12:19:05 $ -'* -'* 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. -'* + * 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. + * '/************************************************************************ '* '* owner : hercule.li@sun.com @@ -37,10 +31,6 @@ '* '\*********************************************************************** - -'****************************************************************************** -' This function will check Asina Language Support on/off based on the parameter -'****************************************************************************** function CheckAsianLanguageSupport( sSupport as String ) as String ToolsOptions @@ -67,11 +57,8 @@ function CheckAsianLanguageSupport( sSupport as String ) as String end function +'******************************************************************************' - -'*************************************************************** -' Start up Navigator , and set focus to the correct position -'************************************************************** function fStartupNavigator(navigatorItem as String , subItemNum as Integer) Dim j as Integer @@ -117,28 +104,8 @@ function fStartupNavigator(navigatorItem as String , subItemNum as Integer) sleep 1 end function +'******************************************************************************' -'****************** -'Close Navigator -'****************** -function fCloseNavigator - '/// This function will close Navigator dialogure - - Kontext - Kontext "Navigator" - if ( Navigator.exists() ) then - Navigator.Close() - printlog( "Closed navigator" ) - else - printlog( "Navigator not open." ) - endif - -end function - - -'**************************************************************************** -' This routine will return the Country name based on CountryID -'***************************************************************************** function fGetCountryName( CountryID as Integer ) as String select case iSprache |