diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-12 09:36:34 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-12 09:36:34 +0000 |
commit | bf6d763f353ada5a683950345a858345f1e38b05 (patch) | |
tree | df0bfc36c4692c3d100246ff9db2252f1c5e7fd6 /testautomation/tools | |
parent | d215e51e30e5cb9e3f95a6c685af2f1766b80717 (diff) |
CWS-TOOLING: integrate CWS unifypaper01
2009-05-27 17:14:41 +0200 cmc r272362 : #i92819#, psprint moved into vcl
2009-05-19 15:45:46 +0200 cmc r272083 : #i92819# having difficultly in getting this right under windows
2009-05-18 18:04:22 +0200 cmc r272043 : #i92819# missing some export magic somewhere
2009-05-18 15:34:18 +0200 cmc r272028 : #i92819# get depends right
2009-05-18 11:50:43 +0200 cmc r272010 : ##i92819# fix import/export stuff
2009-05-18 10:07:00 +0200 cmc r272000 : #i92819# fix window imp name
2009-05-16 15:17:23 +0200 cmc r271975 : #i92819# fix win paper names
2009-05-16 11:11:29 +0200 cmc r271974 : #i92819# std::abs prolematic for msvc
2009-05-15 15:36:56 +0200 cmc r271941 : #i92819# handle missing setting, at least on mac
2009-05-15 10:13:44 +0200 cmc r271927 : #i92819# adjust for moved page dialog
2009-05-14 13:47:14 +0200 cmc r271887 : remove dead files that reappeared
2009-05-14 09:57:17 +0200 cmc r271872 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@271830 (milestone: DEV300:m48)
2009-05-11 12:27:18 +0200 cmc r271763 : #i92819# check return value
2009-05-06 17:28:25 +0200 cmc r271602 : #i92819# these B4/B5s are the JIS ones according to their dimensions
2009-05-06 17:17:03 +0200 cmc r271601 : #i92819# micro-optimization
2009-05-03 18:20:48 +0200 cmc r271434 : #i92819# paper libs
2009-05-03 16:08:32 +0200 cmc r271433 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@271427 (milestone: DEV300:m47)
2009-04-06 15:33:37 +0200 cmc r270556 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@270033 (milestone: DEV300:m45)
2009-03-12 14:36:35 +0100 cmc r269415 : #i92819# merge paper utilities
2009-03-11 13:44:27 +0100 cmc r269328 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@269297 (milestone: DEV300:m43)
2009-03-09 14:42:07 +0100 cmc r269190 : remove config_office from synced version
2009-03-09 14:34:50 +0100 cmc r269187 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@268395 (milestone: DEV300:m42)
2009-03-09 12:11:29 +0100 cmc r269077 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@265758 (milestone: DEV300:m38)
2009-03-06 17:17:39 +0100 cmc r269027 : #i92819# paper goo
2008-12-04 11:29:30 +0100 cmc r264826 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@264807 (milestone: DEV300:m37)
2008-11-26 10:33:06 +0100 cmc r264357 : CWS-TOOLING: rebase CWS unifypaper01 to trunk@264325 (milestone: DEV300:m36)
2008-11-21 14:09:36 +0100 cmc r264138 : #i92819# paper consolidation
Diffstat (limited to 'testautomation/tools')
-rwxr-xr-x | testautomation/tools/hid/cons.txt | 83 | ||||
-rwxr-xr-x | testautomation/tools/hid/hid.bat | 2 | ||||
-rwxr-xr-x | testautomation/tools/hid/hid.pl | 98 | ||||
-rwxr-xr-x | testautomation/tools/hid/hid.sh | 2 |
4 files changed, 185 insertions, 0 deletions
diff --git a/testautomation/tools/hid/cons.txt b/testautomation/tools/hid/cons.txt new file mode 100755 index 000000000000..ad1b62d7671f --- /dev/null +++ b/testautomation/tools/hid/cons.txt @@ -0,0 +1,83 @@ +644j_HID_Eigen 01010100101010101010101010 + +TB_SW_TEXT_TOOLBOX 23265 +TB_SW_TABLE_TOOLBOX 23266 +TB_SW_GRAFIK_TOOLBOX 23268 +TB_SW_DRAW_TEXTBOX_TOOLBOX 23269 +TB_SW_DRAW_TEXT_TOOLBOX 23270 +TB_SW_NUM_TOOLBOX 23271 +TB_SW_OLE_TOOLBOX 23272 +TB_SW_TOOLS_TOOLBOX 23273 +TB_SW_PREVIEW_TOOLBOX 20631 +HDE_OL_SW_FORMAT_GRAFIK 23267 +HDE_HID_LAB_LAB 54920 +HDE_PDF_EXPORT_DLG 33375 +TB_WEB_TOOLS_TOOLBOX 20402 +TB_WEB_TOOLBOX 20403 + +TB_SC_TEXT_TOOLBOX 25001 +TB_SC_DRAW_Text_TOOLBOX 25005 +TB_SC_PREVIEW_TOOLBOX 25006 +TB_SC_TOOLS_TOOLBOX 25035 +TB_SC_OLE_TOOLBOX 26436 + +TB_IM_TOOLS_TOOLBOX 23011 +TB_IM_DIA_TOOLBOX 23012 +TB_IM_TOOLBOX 23030 +TB_IM_SLIDE_OBJ_TOOLBOX 23014 +TB_SD_BEZIER_TOOLBOX 23015 +TB_IM_TEXT_TOOLBOX 23016 +TB_IM_OUTLINIG_TOOLBOX 23017 +TB_SD_GLUEPOINTS_TOOLBOX 23019 +TB_IM_OPTIONS_TOOLBOX 23020 +TB_IM_COMMONTASK_TOOLBOX 23021 +TB_SD_TOOLS_TOOLBOX 23025 +TB_SD_OPTION_TOOLBOX 23026 +TB_SD_TOOLBOX 23027 +TB_SD_TEXT_TOOLBOX 23028 + +TB_Fullscreen_Toolbox 558 + +TB_Basic_Controls 63543 + +HDE_PRN_UNX_PAPER 602472448 +HDE_PRN_UNX_PAPERSIZE 602476034 +HDE_PRN_UNX_ORIENTATION 602476036 +HDE_PRN_UNX_DUPLEX 602476038 +HDE_PRN_UNX_INPUT_SLOT 602476040 +HDE_PRN_UNX_SCALE 602479114 +HDE_PRN_UNX_DEVICE 602456064 +HDE_PRN_UNX_OPTION 602459652 +HDE_PRN_UNX_VALUE 602459654 +HDE_PRN_UNX_POSTSCRIPT 602465288 +HDE_PRN_UNX_COLOR 602459658 +HDE_PRN_UNX_COLORDEPTH 602465292 +HDE_PRN_UNX_COMPRESS 602457101 + +SID_VERB_OPEN 6103 +SID_VERB_START 6102 + +TB_Macro 14850 +TB_Macro_Controls 14916 +TZ_Filter_Warning 34195 + +MSC_Super_ID 123456 +MSC_Super_ID2 1234567 +MSC_Super_ID3 12345678 + +sfx2:ListBox:TP_CONFIG_ACCEL:BOX_ACC_KEY 575016462 + +HID_OPTIONS_JAVA_LIST 39997 + +PDF1TBO 867876864 +PDF2TBO 867860480 + +FontWork1TBO 40026 +FontWork2TBO 40027 + +Eval1TBO 64360 +Eval2TBO 64361 +HTMLTBO 808846359 + + + diff --git a/testautomation/tools/hid/hid.bat b/testautomation/tools/hid/hid.bat new file mode 100755 index 000000000000..b454bb366012 --- /dev/null +++ b/testautomation/tools/hid/hid.bat @@ -0,0 +1,2 @@ +perl.exe hid.pl hid.lst hid.txt cons.txt + diff --git a/testautomation/tools/hid/hid.pl b/testautomation/tools/hid/hid.pl new file mode 100755 index 000000000000..6ed824933cce --- /dev/null +++ b/testautomation/tools/hid/hid.pl @@ -0,0 +1,98 @@ +#************************************************************************** +#* 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: hid.pl,v $ +#* +#* $Revision: 1.4 $ +#* +#* last change: $Author: tbo $ $Date: 2008/04/03 10:11:10 $ +#* +#* 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 : thorsten.bosbach@sun.com +#* +#* short description : Generate a cleaned hid.lst +#* +#****************************************************************** +# +# syntax : hid.pl Input Output ConstantEntries +# usually: hid.pl hid.lst hid.txt const.txt +# + +for (@ARGV){print $_."\n";} +open (HID,"<".@ARGV[0]) || die "Can't find old HID-file (first argument)"; +@ary=( <HID> ); +close HID; +open (HID,">".@ARGV[1]) || die "Can't find new HID-file (second argument)"; + +@longnum = @longname = (); + +for (@ary) { + s/MN_VIEW 21//g; # remove slots that are wrong + s/MN_INSERT 24//g; + s/MN_SUB_TOOLBAR 92//g; + s/SID_OBJECT_MIRROR 27085//g; + s/UID_SQLERROR_BUTTONMORE 38844//g; + s/MN_EXTRA 22//g; # ------------------------------------------- + s/RID_UNDO_DELETE_WARNING 20558//g; + s/.* 01010101010//g; + s/ +/ /g; # remove double blanks + @x = split(/\s+/) ; # seperate Longnames and HIDs +# @x[0]=~ tr/a-z/A-Z/; +# @x[1]=~ tr/a-z/A-Z/; + $longname[++$#longname] = @x[0]; + $longnum[++$#longnum] = @x[1]; + $_=@x[0]." ".@x[1]."\n"; +} + +@ary = @ary[ sort{ # sort + @longnum[$a] <=> @longnum[$b] || + @longname[$a] cmp @longname[$b] + }0..$#ary + ]; + +# @ary = grep( !/^ *$/, @ary); + +#remove double entries + +$n=""; +for (@ary) { + if ($n eq $_ || $_>0 ){ + $_=""; + } + else{ + $n=$_; + } + } + +@ary = grep( !/^ *$/, @ary); + +# to insert the constant entries at the beginning, read it and write it out +open (CON,"<".@ARGV[2]) || die "Can't find constant entries-file: const.txt (third argument)"; +@const=( <CON> ); +close CON; +print HID @const; + +print HID @ary; +close HID; diff --git a/testautomation/tools/hid/hid.sh b/testautomation/tools/hid/hid.sh new file mode 100755 index 000000000000..f7c6d27a5f98 --- /dev/null +++ b/testautomation/tools/hid/hid.sh @@ -0,0 +1,2 @@ + perl hid.pl hid.lst hid.txt cons.txt + cp hid.txt ../../global/hid/hid.lst |