diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-02-12 16:56:44 +0100 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-02-12 16:56:44 +0100 |
commit | d270e0649f965acb111edb5a762f31cf2bb1bec6 (patch) | |
tree | e7880fb733facc646f86fab3d2358d110d31a766 | |
parent | 4326ef06febe54729620f31d18505fd9f847a7f1 (diff) |
changefileheader2: #i10000#: convert files with CR/LF characters to CR only
19 files changed, 1493 insertions, 1493 deletions
diff --git a/migrationanalysis/prj/build.lst b/migrationanalysis/prj/build.lst index 37f2413afcc1..54f0af004187 100644 --- a/migrationanalysis/prj/build.lst +++ b/migrationanalysis/prj/build.lst @@ -1,7 +1,7 @@ -at migrationanalysis : soltools shell NULL
-at migrationanalysis\src\msokill nmake - w at_src NULL
-at migrationanalysis\src\driver_docs nmake - w at_src_driver NULL
-at migrationanalysis\src\resources nmake - w at_src_resources NULL
-at migrationanalysis\src\wizard nmake - w at_src_wizard NULL
-at migrationanalysis\util nmake - w at_util at_src.w at_src_driver.w at_src_resources.w at_src_wizard.w NULL
-
+at migrationanalysis : soltools shell NULL +at migrationanalysis\src\msokill nmake - w at_src NULL +at migrationanalysis\src\driver_docs nmake - w at_src_driver NULL +at migrationanalysis\src\resources nmake - w at_src_resources NULL +at migrationanalysis\src\wizard nmake - w at_src_wizard NULL +at migrationanalysis\util nmake - w at_util at_src.w at_src_driver.w at_src_resources.w at_src_wizard.w NULL + diff --git a/migrationanalysis/prj/d.lst b/migrationanalysis/prj/d.lst index 9d07d2e618fa..226e3980d1a9 100644 --- a/migrationanalysis/prj/d.lst +++ b/migrationanalysis/prj/d.lst @@ -1,3 +1,3 @@ -..\%__SRC%\bin\ProAnalysisWizard\ProAnalysisWizard.exe %_DEST%\bin%_EXT%\ProAnalysisWizard.exe
-..\%__SRC%\bin\ProAnalysisWizard.zip %_DEST%\bin%_EXT%\ProAnalysisWizard.zip
-
+..\%__SRC%\bin\ProAnalysisWizard\ProAnalysisWizard.exe %_DEST%\bin%_EXT%\ProAnalysisWizard.exe +..\%__SRC%\bin\ProAnalysisWizard.zip %_DEST%\bin%_EXT%\ProAnalysisWizard.zip + diff --git a/migrationanalysis/src/driver_docs/makefile.mk b/migrationanalysis/src/driver_docs/makefile.mk index 70f370574055..23b8d5f7b330 100644 --- a/migrationanalysis/src/driver_docs/makefile.mk +++ b/migrationanalysis/src/driver_docs/makefile.mk @@ -1,5 +1,5 @@ -#*************************************************************************
-#
+#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,105 +23,105 @@ # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=migrationanalysis
-TARGET=driverdocs
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-
-PAW_DOCDEST:=$(BIN)$/ProAnalysisWizard$/Resources
-PAW_DATDEST:=$(BIN)$/ProAnalysisWizard$/Resources$/lang
-
-PAW_DRIVER_DOCS:= \
- $(PAW_DOCDEST)$/_OOoDocAnalysisExcelDriver.xls \
- $(PAW_DOCDEST)$/_OOoDocAnalysisWordDriver.doc \
- $(PAW_DOCDEST)$/_OOoDocAnalysisPPTDriver.ppt
-
-PAW_DRIVER_DOCS_SRC:= \
- .$/PAW$/_OOoDocAnalysisExcelDriver.xls \
- .$/PAW$/_OOoDocAnalysisWordDriver.doc \
- .$/PAW$/_OOoDocAnalysisPPTDriver.ppt
-
-PAW_DAT_FILES= \
- $(foreach,i,$(alllangiso) $(PAW_DATDEST)$/$i.dat)
-
-DAT_DATA_FILE=allstrings.ulf
-DAT_DON_FILE_PAW=$(MISC)$/$(DAT_DATA_FILE).paw
-
-ULFFILES=$(DAT_DATA_FILE)
-.IF "$(WITH_LANG)"!=""
-ULFDIR:=$(COMMONMISC)$/$(TARGET)
-.ELSE # "$(WITH_LANG)"!=""
-ULFDIR:=.
-.ENDIF # "$(WITH_LANG)"!=""
-
-COMMON_SRC:= \
- .$/sources$/AnalysisDriver.bas \
- .$/sources$/CollectedFiles.cls \
- .$/sources$/CommonMigrationAnalyser.bas \
- .$/sources$/CommonPreparation.bas \
- .$/sources$/DocumentAnalysis.cls \
- .$/sources$/FileTypeAssociation.cls \
- .$/sources$/IssueInfo.cls \
- .$/sources$/LocalizeResults.bas \
- .$/sources$/PrepareInfo.cls \
- .$/sources$/StringDataManager.cls \
- .$/sources$/Stripped_OOoDocAnalysisExcelDriver.xls \
- .$/sources$/Stripped_OOoDocAnalysisPPTDriver.ppt \
- .$/sources$/Stripped_OOoDocAnalysisWordDriver.doc \
- .$/sources$/common_res.bas \
- .$/sources$/results_res.bas
-
-EXCEL_SRC:= \
- .$/sources$/excel$/ApplicationSpecific.bas \
- .$/sources$/excel$/MigrationAnalyser.cls \
- .$/sources$/excel$/Preparation.bas \
- .$/sources$/excel$/excel_res.bas
-
-PP_SRC:= \
- .$/sources$/powerpoint$/ApplicationSpecific.bas \
- .$/sources$/powerpoint$/MigrationAnalyser.cls \
- .$/sources$/powerpoint$/Preparation.bas \
- .$/sources$/powerpoint$/powerpoint_res.bas
-
-WORD_SRC:= \
- .$/sources$/word$/ApplicationSpecific.bas \
- .$/sources$/word$/MigrationAnalyser.cls \
- .$/sources$/word$/Preparation.bas \
- .$/sources$/word$/word_res.bas
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-ALLTAR : $(PAW_DRIVER_DOCS) $(DAT_DON_FILE_PAW)
-
-$(PAW_DRIVER_DOCS) : .$/PAW$/$$(@:f)
- -$(MKDIRHIER) $(@:d)
- $(COPY) .$/PAW$/$(@:f) $@
-
-$(PAW_DAT_FILES) : $(ULFDIR)$/$(DAT_DATA_FILE)
- -$(MKDIRHIER) $(@:d)
- $(TOUCH) $@
-
-$(DAT_DON_FILE_PAW) : $(PAW_DAT_FILES)
- @echo --------------------------------
- @echo building $@
- -$(MKDIRHIER) $(@:d)
- @echo making $(PAW_DAT_FILES)
- $(PERL) ulf2dat.pl -i $(ULFDIR)$/$(DAT_DATA_FILE) $(PAW_DAT_FILES) && $(TOUCH) $@
-
-.IF "$(VB6_LOCATION)" != ""
-$(PAW_DRIVER_DOCS_SRC) : $(COMMON_SRC) $(EXCEL_SRC) $(PP_SRC) $(WORD_SRC)
- @echo --------------------------------
- @echo create driver docs
- cscript CreateDriverDocs.wsf
-.ENDIF
-
+#************************************************************************* + +PRJ=..$/.. + +PRJNAME=migrationanalysis +TARGET=driverdocs + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# --- Files -------------------------------------------------------- + +PAW_DOCDEST:=$(BIN)$/ProAnalysisWizard$/Resources +PAW_DATDEST:=$(BIN)$/ProAnalysisWizard$/Resources$/lang + +PAW_DRIVER_DOCS:= \ + $(PAW_DOCDEST)$/_OOoDocAnalysisExcelDriver.xls \ + $(PAW_DOCDEST)$/_OOoDocAnalysisWordDriver.doc \ + $(PAW_DOCDEST)$/_OOoDocAnalysisPPTDriver.ppt + +PAW_DRIVER_DOCS_SRC:= \ + .$/PAW$/_OOoDocAnalysisExcelDriver.xls \ + .$/PAW$/_OOoDocAnalysisWordDriver.doc \ + .$/PAW$/_OOoDocAnalysisPPTDriver.ppt + +PAW_DAT_FILES= \ + $(foreach,i,$(alllangiso) $(PAW_DATDEST)$/$i.dat) + +DAT_DATA_FILE=allstrings.ulf +DAT_DON_FILE_PAW=$(MISC)$/$(DAT_DATA_FILE).paw + +ULFFILES=$(DAT_DATA_FILE) +.IF "$(WITH_LANG)"!="" +ULFDIR:=$(COMMONMISC)$/$(TARGET) +.ELSE # "$(WITH_LANG)"!="" +ULFDIR:=. +.ENDIF # "$(WITH_LANG)"!="" + +COMMON_SRC:= \ + .$/sources$/AnalysisDriver.bas \ + .$/sources$/CollectedFiles.cls \ + .$/sources$/CommonMigrationAnalyser.bas \ + .$/sources$/CommonPreparation.bas \ + .$/sources$/DocumentAnalysis.cls \ + .$/sources$/FileTypeAssociation.cls \ + .$/sources$/IssueInfo.cls \ + .$/sources$/LocalizeResults.bas \ + .$/sources$/PrepareInfo.cls \ + .$/sources$/StringDataManager.cls \ + .$/sources$/Stripped_OOoDocAnalysisExcelDriver.xls \ + .$/sources$/Stripped_OOoDocAnalysisPPTDriver.ppt \ + .$/sources$/Stripped_OOoDocAnalysisWordDriver.doc \ + .$/sources$/common_res.bas \ + .$/sources$/results_res.bas + +EXCEL_SRC:= \ + .$/sources$/excel$/ApplicationSpecific.bas \ + .$/sources$/excel$/MigrationAnalyser.cls \ + .$/sources$/excel$/Preparation.bas \ + .$/sources$/excel$/excel_res.bas + +PP_SRC:= \ + .$/sources$/powerpoint$/ApplicationSpecific.bas \ + .$/sources$/powerpoint$/MigrationAnalyser.cls \ + .$/sources$/powerpoint$/Preparation.bas \ + .$/sources$/powerpoint$/powerpoint_res.bas + +WORD_SRC:= \ + .$/sources$/word$/ApplicationSpecific.bas \ + .$/sources$/word$/MigrationAnalyser.cls \ + .$/sources$/word$/Preparation.bas \ + .$/sources$/word$/word_res.bas + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + +ALLTAR : $(PAW_DRIVER_DOCS) $(DAT_DON_FILE_PAW) + +$(PAW_DRIVER_DOCS) : .$/PAW$/$$(@:f) + -$(MKDIRHIER) $(@:d) + $(COPY) .$/PAW$/$(@:f) $@ + +$(PAW_DAT_FILES) : $(ULFDIR)$/$(DAT_DATA_FILE) + -$(MKDIRHIER) $(@:d) + $(TOUCH) $@ + +$(DAT_DON_FILE_PAW) : $(PAW_DAT_FILES) + @echo -------------------------------- + @echo building $@ + -$(MKDIRHIER) $(@:d) + @echo making $(PAW_DAT_FILES) + $(PERL) ulf2dat.pl -i $(ULFDIR)$/$(DAT_DATA_FILE) $(PAW_DAT_FILES) && $(TOUCH) $@ + +.IF "$(VB6_LOCATION)" != "" +$(PAW_DRIVER_DOCS_SRC) : $(COMMON_SRC) $(EXCEL_SRC) $(PP_SRC) $(WORD_SRC) + @echo -------------------------------- + @echo create driver docs + cscript CreateDriverDocs.wsf +.ENDIF + diff --git a/migrationanalysis/src/driver_docs/ulf2dat.pl b/migrationanalysis/src/driver_docs/ulf2dat.pl index b413fa8b91d8..25b1fe2f7ebc 100644 --- a/migrationanalysis/src/driver_docs/ulf2dat.pl +++ b/migrationanalysis/src/driver_docs/ulf2dat.pl @@ -1,8 +1,8 @@ -:
-eval 'exec perl -wS $0 ${1+"$@"}'
- if 0;
-#*************************************************************************
-#
+: +eval 'exec perl -wS $0 ${1+"$@"}' + if 0; +#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -26,128 +26,128 @@ eval 'exec perl -wS $0 ${1+"$@"}' # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#***********************************************************************/
-
-
-#### script id #####
-
-( $script_name = $0 ) =~ s/^.*\b(\w+)\.pl$/$1/;
-
-$id_str = ' $Revision: 1.4.108.1 $ ';
-$id_str =~ /Revision:\s+(\S+)\s+\$/
- ? ($script_rev = $1) : ($script_rev = "-");
-
-#########################
-# #
-# Globale Variablen #
-# #
-#########################
-
-use Encode;
-use Encode::Alias;
-
-
-my ($in_name, $ID, $new_ID);
-my ($help);
-
-print STDERR "$script_name -- Version: $script_rev\n" ;
-
-&get_options;
-
-if ( $help ) {
- &usage();
- exit 0;
-};
-
-
-open IN, "<$in_name" or die "Could not open $in_name for reading $! $^E";
-
-foreach $lang ( keys %files )
-{
- open "F_$lang",">$files{$lang}" or die "Could not open $files{$lang} for writing $! $^E";
- binmode "F_$lang";
- $files{$lang} = "F_$lang";
-}
-
-%transunit = ();
-
-while ( <IN> )
-{
- chomp;
- $line = $_;
- $line =~ s/\r$//;
- # [RID_RESXLS_COST_Print_Area]
- if ( $line =~ /^\[(.*)\]$/ )
- {
- $new_ID = $1;
-
- write_transunit();
- $ID = $new_ID;
- %transunit = ();
- }
- # de = "Druckbereich"
- elsif ( $line =~ /^(\S*)\s*=\s*\"(.*)\"$/ )
- {
- $lang = $1;
- $string = $2;
- $transunit{ $lang } = $string;
- }
- elsif ( $line !~ /^\s*$/ )
- {
- die "unknown lineformat in $in_name: $line\n";
- }
-}
-write_transunit();
-
-
-sub write_transunit
-{
- if ( ! $ID )
- {
- return;
- }
- foreach $lang ( keys %files )
- {
- my $string;
- if ( defined $transunit{ $lang } )
- {
- $string = $transunit{ $lang };
- }
- else
- {
- $string = $transunit{ "en-US" };
- }
-
- my $dat_line = "$ID=$string";
- Encode::from_to( $dat_line, "utf8", "UTF-16LE");
- print { $files{$lang} } "$dat_line\015\000\012\000";
- }
-}
-
-
-sub get_options {
- my ($arg,$lang);
-
- while ($arg = shift @ARGV) {
- $arg =~ /^-i$/ and $in_name = shift @ARGV and next;
- $arg =~ /^-help$/ and $help = 1 and next; #show help
-
- $arg =~ /.*[\/\\]([^\/\\]*)\.dat$/;
-# $arg =~ /.*[/\]([^/\]*)\.dat$/;
- $lang = $1;
- print "got $lang = $arg\n";
- $files{ $lang } = $arg;
- }
-}
-
-
-
-sub usage {
- print STDERR "\n\n";
- print STDERR "Syntax: $script_name [-help|-i <ulf-filename>] <dat-filename> ... \n";
- print STDERR "Example: $script_name -i strings.ulf en-US.dat de.dat\n";
- print STDERR "Options:\n\n";
- print STDERR " -i input ulf file\n";
- print STDERR " -help print this help info\n\n";
-};
-
+#***********************************************************************/ + + +#### script id ##### + +( $script_name = $0 ) =~ s/^.*\b(\w+)\.pl$/$1/; + +$id_str = ' $Revision: 1.4.108.1 $ '; +$id_str =~ /Revision:\s+(\S+)\s+\$/ + ? ($script_rev = $1) : ($script_rev = "-"); + +######################### +# # +# Globale Variablen # +# # +######################### + +use Encode; +use Encode::Alias; + + +my ($in_name, $ID, $new_ID); +my ($help); + +print STDERR "$script_name -- Version: $script_rev\n" ; + +&get_options; + +if ( $help ) { + &usage(); + exit 0; +}; + + +open IN, "<$in_name" or die "Could not open $in_name for reading $! $^E"; + +foreach $lang ( keys %files ) +{ + open "F_$lang",">$files{$lang}" or die "Could not open $files{$lang} for writing $! $^E"; + binmode "F_$lang"; + $files{$lang} = "F_$lang"; +} + +%transunit = (); + +while ( <IN> ) +{ + chomp; + $line = $_; + $line =~ s/\r$//; + # [RID_RESXLS_COST_Print_Area] + if ( $line =~ /^\[(.*)\]$/ ) + { + $new_ID = $1; + + write_transunit(); + $ID = $new_ID; + %transunit = (); + } + # de = "Druckbereich" + elsif ( $line =~ /^(\S*)\s*=\s*\"(.*)\"$/ ) + { + $lang = $1; + $string = $2; + $transunit{ $lang } = $string; + } + elsif ( $line !~ /^\s*$/ ) + { + die "unknown lineformat in $in_name: $line\n"; + } +} +write_transunit(); + + +sub write_transunit +{ + if ( ! $ID ) + { + return; + } + foreach $lang ( keys %files ) + { + my $string; + if ( defined $transunit{ $lang } ) + { + $string = $transunit{ $lang }; + } + else + { + $string = $transunit{ "en-US" }; + } + + my $dat_line = "$ID=$string"; + Encode::from_to( $dat_line, "utf8", "UTF-16LE"); + print { $files{$lang} } "$dat_line\015\000\012\000"; + } +} + + +sub get_options { + my ($arg,$lang); + + while ($arg = shift @ARGV) { + $arg =~ /^-i$/ and $in_name = shift @ARGV and next; + $arg =~ /^-help$/ and $help = 1 and next; #show help + + $arg =~ /.*[\/\\]([^\/\\]*)\.dat$/; +# $arg =~ /.*[/\]([^/\]*)\.dat$/; + $lang = $1; + print "got $lang = $arg\n"; + $files{ $lang } = $arg; + } +} + + + +sub usage { + print STDERR "\n\n"; + print STDERR "Syntax: $script_name [-help|-i <ulf-filename>] <dat-filename> ... \n"; + print STDERR "Example: $script_name -i strings.ulf en-US.dat de.dat\n"; + print STDERR "Options:\n\n"; + print STDERR " -i input ulf file\n"; + print STDERR " -help print this help info\n\n"; +}; + diff --git a/migrationanalysis/src/msokill/StdAfx.cpp b/migrationanalysis/src/msokill/StdAfx.cpp index 0f1ffe0adec5..a0ae86acbb47 100644 --- a/migrationanalysis/src/msokill/StdAfx.cpp +++ b/migrationanalysis/src/msokill/StdAfx.cpp @@ -1,5 +1,5 @@ -/*************************************************************************
- *
+/************************************************************************* + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,13 +23,13 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************/
-
-// stdafx.cpp : source file that includes just the standard includes
-// msokill.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
+ ************************************************************************/ + +// stdafx.cpp : source file that includes just the standard includes +// msokill.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/migrationanalysis/src/msokill/StdAfx.h b/migrationanalysis/src/msokill/StdAfx.h index ac8fd27f9861..a1826f7ce4a7 100644 --- a/migrationanalysis/src/msokill/StdAfx.h +++ b/migrationanalysis/src/msokill/StdAfx.h @@ -1,5 +1,5 @@ -/*************************************************************************
- *
+/************************************************************************* + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,32 +23,32 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************/
-
-/*
- *
- * Description: Put MSO in a state where it can be closed using
- * automation or kill it completely
- *
- */
-
-#if !defined(AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_)
-#define AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-
-#include <stdio.h>
-#pragma warning(push, 1)
-#include <windows.h>
-#pragma warning(pop)
-
-// TODO: reference additional headers your program requires here
-
-//{{AFX_INSERT_LOCATION}}
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_)
+ ************************************************************************/ + +/* + * + * Description: Put MSO in a state where it can be closed using + * automation or kill it completely + * + */ + +#if !defined(AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_) +#define AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +#include <stdio.h> +#pragma warning(push, 1) +#include <windows.h> +#pragma warning(pop) + +// TODO: reference additional headers your program requires here + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_STDAFX_H__12149A50_72AF_409A_9B43_8ACCD98F50CE__INCLUDED_) diff --git a/migrationanalysis/src/msokill/makefile.mk b/migrationanalysis/src/msokill/makefile.mk index 287d716c5846..918c7c4c7184 100644 --- a/migrationanalysis/src/msokill/makefile.mk +++ b/migrationanalysis/src/msokill/makefile.mk @@ -1,5 +1,5 @@ -#*************************************************************************
-#
+#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,61 +23,61 @@ # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME = migrationanalysis
-TARGET = msokill
-LIBTARGET = NO
-TARGETTYPE = CUI
-
-ENABLE_EXCEPTIONS = TRUE
-
-# --- Settings ------------------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Allgemein -----------------------------------------------------------
-
-OBJFILES= $(OBJ)$/msokill.obj \
- $(OBJ)$/StdAfx.obj
-
-# --- Targets ------------------------------------------------------
-
-UWINAPILIB=
-LIBSALCPPRT=
-
-APP1NOSAL= TRUE
-APP1TARGET= msokill
-
-#APP1STDLIB
-STDLIB1=msi.lib\
- shell32.lib\
- oleaut32.lib\
- gdi32.lib\
- comdlg32.lib\
- advapi32.lib\
- comctl32.lib\
- shlwapi.lib\
- oledlg.lib\
- ole32.lib\
- uuid.lib\
- oleacc.lib\
- winspool.lib\
-
-APP1OBJS= $(OBJFILES)
-
-PAW_RES_DIR:=$(BIN)$/ProAnalysisWizard$/Resources
-PAW_RES_EXE:=$(PAW_RES_DIR)$/$(APP1TARGET).exe
-
-# --- setup --------------------------------------------------------------
-
-.INCLUDE : target.mk
-
-ALLTAR : $(PAW_RES_EXE)
-
-$(PAW_RES_EXE) : $(BIN)$/$$(@:f)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(BIN)$/$(@:f) $@
-
+#************************************************************************* + +PRJ=..$/.. + +PRJNAME = migrationanalysis +TARGET = msokill +LIBTARGET = NO +TARGETTYPE = CUI + +ENABLE_EXCEPTIONS = TRUE + +# --- Settings ------------------------------------------------------------ + +.INCLUDE : settings.mk + +# --- Allgemein ----------------------------------------------------------- + +OBJFILES= $(OBJ)$/msokill.obj \ + $(OBJ)$/StdAfx.obj + +# --- Targets ------------------------------------------------------ + +UWINAPILIB= +LIBSALCPPRT= + +APP1NOSAL= TRUE +APP1TARGET= msokill + +#APP1STDLIB +STDLIB1=msi.lib\ + shell32.lib\ + oleaut32.lib\ + gdi32.lib\ + comdlg32.lib\ + advapi32.lib\ + comctl32.lib\ + shlwapi.lib\ + oledlg.lib\ + ole32.lib\ + uuid.lib\ + oleacc.lib\ + winspool.lib\ + +APP1OBJS= $(OBJFILES) + +PAW_RES_DIR:=$(BIN)$/ProAnalysisWizard$/Resources +PAW_RES_EXE:=$(PAW_RES_DIR)$/$(APP1TARGET).exe + +# --- setup -------------------------------------------------------------- + +.INCLUDE : target.mk + +ALLTAR : $(PAW_RES_EXE) + +$(PAW_RES_EXE) : $(BIN)$/$$(@:f) + -$(MKDIRHIER) $(@:d) + $(COPY) $(BIN)$/$(@:f) $@ + diff --git a/migrationanalysis/src/msokill/msokill.cpp b/migrationanalysis/src/msokill/msokill.cpp index 7ff5a2ec6e58..e848715d935e 100644 --- a/migrationanalysis/src/msokill/msokill.cpp +++ b/migrationanalysis/src/msokill/msokill.cpp @@ -1,5 +1,5 @@ -/*************************************************************************
- *
+/************************************************************************* + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,237 +23,237 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************/
-
-/*
- * Description: Put MSO in a state where it can be closed using
- * automation or kill it completely
- */
-
-#include "stdafx.h"
-#include <stdio.h>
-
-
-void KillOffice();
-BOOL KillAppFromWindow(HWND hWnd, char *appName);
-BOOL CloseActiveDialogs();
-void printUsage();
-
-//Callbacks used in closing
-BOOL CALLBACK CloseOfficeDlgProc(HWND hwndChild, LPARAM lParam);
-BOOL CALLBACK CountOfficeDlgProc(HWND hwndChild, LPARAM lParam);
-
-//Global counters for number of windows found
-int gWDDlgCount = 0;
-int gXLDlgCount = 0;
-int gPPDlgCount = 0;
-
-//Dialog window class names for excel, powerpoint and word
-//These are "Best guess" dialog names
-const char *pWordDlg2k = "bosa_sdm_Microsoft Word 9.0";
-const char *pWordDlg2k3 = "bosa_sdm_Microsoft Office Word";
-const char *pXLDlg2k = "bosa_sdm_XL9";
-const char *pPPDlg2k = "#32770";
-const char *pXLDlg2k3 = "bosa_sdm_XL9";
-const char *pPPDlg2k3 = "#32770";
-const char *pGenMSODlg = "bosa_sdm_Mso96";
-//consider adding - bosa_sdm_Mso96
-
-//Command Line Argument constants
-const char *ARG_HELP = "--help";
-const char *ARG_KILL = "--kill";
-const char *ARG_CLOSE = "--close";
-
-//Window class names for MSO apps - if we need to look at other office instances
-//then this list would need to be expanded
-#define NUM_WINDOWCLASSNAMES 4
-char *wndClassName[NUM_WINDOWCLASSNAMES] = {"OpusApp", "XLMAIN", "PP9FrameClass", "PP10FrameClass"};
-
-int main(int argc, char* argv[])
-{
- if (argc < 2) {
- printUsage();
- return 0;
- }
-
- if (strcmpi(argv[1], ARG_HELP) == 0) {
- printUsage();
- return 0;
- }
-
- if (strcmpi(argv[1], ARG_KILL) == 0) {
- KillOffice();
- return 0;
- }
-
- if (strcmpi(argv[1], ARG_CLOSE) == 0) {
- CloseActiveDialogs();
- return 0;
- }
-
- return 0;
-}
-
-/*--------------------------------------------------------------
- Find the MSO window if it is available and explictly kill it
- MSO apps in this case are Excel, Word and PP
- Use FindWindow Win32 API to detect if they are available
-
- -------------------------------------------------------------*/
-void KillOffice() {
- HWND hWnd;
-
- for (int i=0;i<NUM_WINDOWCLASSNAMES;i++) {
- int j = 0;
- while (((hWnd = FindWindow(wndClassName[i], NULL )) != NULL) && (j < 10)) {
- KillAppFromWindow(hWnd, wndClassName[i]);
- j++;
- }
- }
-}
-
-/*--------------------------------------------------------------
- Using window handle, get process handle and try to kill the
- app. This may not be successful if you do not have enough
- privileges to kill the app.
-
- --------------------------------------------------------------*/
-BOOL KillAppFromWindow(
- HWND hWnd,
- char *
-#ifdef _DEBUG
- appName
-#endif
-)
-{
- BOOL bRet = TRUE;
-
- if(hWnd == NULL) {
- //The app doesn't appear to be running
-#ifdef _DEBUG
- printf("App %s: window not found.\n,", appName);
-#endif
- bRet = FALSE;
- } else {
- DWORD pid; // Variable to hold the process ID.
- DWORD dThread; // Variable to hold (unused) thread ID.
- dThread = GetWindowThreadProcessId(hWnd, &pid);
- HANDLE hProcess; // Handle to existing process
-
- hProcess = OpenProcess(SYNCHRONIZE | PROCESS_ALL_ACCESS, TRUE, pid);
- if (hProcess == NULL) {
-#ifdef _DEBUG
- printf("App %s : Failed to get process handle",appName);
-#endif
- bRet = FALSE;
- } else {
- if (!TerminateProcess(hProcess, 0)) {
- LPTSTR lpMsgBuf;
- FormatMessage(
- FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
- NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPTSTR) &lpMsgBuf, 0, NULL );
- printf("%s\n", lpMsgBuf);
- LocalFree( lpMsgBuf );
- bRet = FALSE;
- }
-#ifdef _DEBUG
- else {
- printf("Kill %s appears to be successful.\n", appName);
- }
-#endif
- }
- }
- return bRet;
-}
-
-/*--------------------------------------------------------------
- Close the dialogs if possible based on their window class
- Use the EnumChildWindows win32 api for this
- --------------------------------------------------------------*/
-BOOL CloseActiveDialogs() {
- char buff[1024];
-
- gWDDlgCount = 0;
- gXLDlgCount = 0;
- gPPDlgCount = 0;
-
- EnumChildWindows(GetDesktopWindow(), CloseOfficeDlgProc, (LPARAM) 0);
- sprintf(buff, "Word: %d\tExcel: %d\tPP: %d", gWDDlgCount, gXLDlgCount, gPPDlgCount);
- return TRUE;
-}
-
-/*--------------------------------------------------------------
- Callback for EnumChildWindows that sends close message to
- any dialogs that match window class of MSO dialogs
-
- --------------------------------------------------------------*/
-BOOL CALLBACK CloseOfficeDlgProc(HWND hwndChild, LPARAM)
-{
- //bosa_sdm_Microsoft Word 9.0
- //bosa_sdm_XL9
- //#32770 (Dialog)
-
- char szBuff[4096];
- if (GetClassName(hwndChild, szBuff, 4096) == 0) {
-
- } else {
- if ((strcmpi(szBuff, pWordDlg2k) == 0) || (strcmpi(szBuff, pWordDlg2k3) == 0)) {
- gWDDlgCount++;
- SendMessage(hwndChild, WM_CLOSE, 0, 0);
- }
- if (strcmpi(szBuff, pXLDlg2k) == 0) {
- gXLDlgCount++;
- SendMessage(hwndChild, WM_CLOSE, 0, 0);
- }
- if (strcmpi(szBuff, pPPDlg2k) == 0) {
- gPPDlgCount++;
- SendMessage(hwndChild, WM_CLOSE, 0, 0);
- }
- if (strcmpi(szBuff, pGenMSODlg) == 0) {
- SendMessage(hwndChild, WM_CLOSE, 0, 0);
- }
- }
-
- return TRUE;
-}
-
-
-/*--------------------------------------------------------------
- Callback for EnumChildWindows that counts numnnber of
- dialogs that match window class of MSO dialogs
-
- --------------------------------------------------------------*/
-BOOL CALLBACK CountOfficeDlgProc(HWND hwndChild, LPARAM)
-{
- char szBuff[4096];
- if (GetClassName(hwndChild, szBuff, 4096) == 0) {
-
- } else {
- if ((strcmpi(szBuff, pWordDlg2k) == 0) || (strcmpi(szBuff, pWordDlg2k3) == 0)) {
- gWDDlgCount++;
- }
- if (strcmpi(szBuff, pXLDlg2k) == 0) {
- gXLDlgCount++;
- }
- if (strcmpi(szBuff, pPPDlg2k) == 0) {
- gPPDlgCount++;
- }
- }
-
- return TRUE;
-}
-
-/*--------------------------------------------------------------
- Simple usage message...
-
- -------------------------------------------------------------*/
-void printUsage() {
- printf("Recovery Assistant Utility - try and put MSO apps in a recoverable state\n");
- printf("Copyright Sun Microsystems 2008\n");
- printf("Options:\n");
- printf(" --help : This message\n");
- printf(" --close: Attempt to close any open dialogs owned by \n");
- printf(" MSO apps so Application.Quit() can succeed\n");
- printf(" --kill : Kill any open MSO apps. Use with caution and only as a last resort\n\n");
+ ************************************************************************/ + +/* + * Description: Put MSO in a state where it can be closed using + * automation or kill it completely + */ + +#include "stdafx.h" +#include <stdio.h> + + +void KillOffice(); +BOOL KillAppFromWindow(HWND hWnd, char *appName); +BOOL CloseActiveDialogs(); +void printUsage(); + +//Callbacks used in closing +BOOL CALLBACK CloseOfficeDlgProc(HWND hwndChild, LPARAM lParam); +BOOL CALLBACK CountOfficeDlgProc(HWND hwndChild, LPARAM lParam); + +//Global counters for number of windows found +int gWDDlgCount = 0; +int gXLDlgCount = 0; +int gPPDlgCount = 0; + +//Dialog window class names for excel, powerpoint and word +//These are "Best guess" dialog names +const char *pWordDlg2k = "bosa_sdm_Microsoft Word 9.0"; +const char *pWordDlg2k3 = "bosa_sdm_Microsoft Office Word"; +const char *pXLDlg2k = "bosa_sdm_XL9"; +const char *pPPDlg2k = "#32770"; +const char *pXLDlg2k3 = "bosa_sdm_XL9"; +const char *pPPDlg2k3 = "#32770"; +const char *pGenMSODlg = "bosa_sdm_Mso96"; +//consider adding - bosa_sdm_Mso96 + +//Command Line Argument constants +const char *ARG_HELP = "--help"; +const char *ARG_KILL = "--kill"; +const char *ARG_CLOSE = "--close"; + +//Window class names for MSO apps - if we need to look at other office instances +//then this list would need to be expanded +#define NUM_WINDOWCLASSNAMES 4 +char *wndClassName[NUM_WINDOWCLASSNAMES] = {"OpusApp", "XLMAIN", "PP9FrameClass", "PP10FrameClass"}; + +int main(int argc, char* argv[]) +{ + if (argc < 2) { + printUsage(); + return 0; + } + + if (strcmpi(argv[1], ARG_HELP) == 0) { + printUsage(); + return 0; + } + + if (strcmpi(argv[1], ARG_KILL) == 0) { + KillOffice(); + return 0; + } + + if (strcmpi(argv[1], ARG_CLOSE) == 0) { + CloseActiveDialogs(); + return 0; + } + + return 0; +} + +/*-------------------------------------------------------------- + Find the MSO window if it is available and explictly kill it + MSO apps in this case are Excel, Word and PP + Use FindWindow Win32 API to detect if they are available + + -------------------------------------------------------------*/ +void KillOffice() { + HWND hWnd; + + for (int i=0;i<NUM_WINDOWCLASSNAMES;i++) { + int j = 0; + while (((hWnd = FindWindow(wndClassName[i], NULL )) != NULL) && (j < 10)) { + KillAppFromWindow(hWnd, wndClassName[i]); + j++; + } + } +} + +/*-------------------------------------------------------------- + Using window handle, get process handle and try to kill the + app. This may not be successful if you do not have enough + privileges to kill the app. + + --------------------------------------------------------------*/ +BOOL KillAppFromWindow( + HWND hWnd, + char * +#ifdef _DEBUG + appName +#endif +) +{ + BOOL bRet = TRUE; + + if(hWnd == NULL) { + //The app doesn't appear to be running +#ifdef _DEBUG + printf("App %s: window not found.\n,", appName); +#endif + bRet = FALSE; + } else { + DWORD pid; // Variable to hold the process ID. + DWORD dThread; // Variable to hold (unused) thread ID. + dThread = GetWindowThreadProcessId(hWnd, &pid); + HANDLE hProcess; // Handle to existing process + + hProcess = OpenProcess(SYNCHRONIZE | PROCESS_ALL_ACCESS, TRUE, pid); + if (hProcess == NULL) { +#ifdef _DEBUG + printf("App %s : Failed to get process handle",appName); +#endif + bRet = FALSE; + } else { + if (!TerminateProcess(hProcess, 0)) { + LPTSTR lpMsgBuf; + FormatMessage( + FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, + NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + (LPTSTR) &lpMsgBuf, 0, NULL ); + printf("%s\n", lpMsgBuf); + LocalFree( lpMsgBuf ); + bRet = FALSE; + } +#ifdef _DEBUG + else { + printf("Kill %s appears to be successful.\n", appName); + } +#endif + } + } + return bRet; +} + +/*-------------------------------------------------------------- + Close the dialogs if possible based on their window class + Use the EnumChildWindows win32 api for this + --------------------------------------------------------------*/ +BOOL CloseActiveDialogs() { + char buff[1024]; + + gWDDlgCount = 0; + gXLDlgCount = 0; + gPPDlgCount = 0; + + EnumChildWindows(GetDesktopWindow(), CloseOfficeDlgProc, (LPARAM) 0); + sprintf(buff, "Word: %d\tExcel: %d\tPP: %d", gWDDlgCount, gXLDlgCount, gPPDlgCount); + return TRUE; +} + +/*-------------------------------------------------------------- + Callback for EnumChildWindows that sends close message to + any dialogs that match window class of MSO dialogs + + --------------------------------------------------------------*/ +BOOL CALLBACK CloseOfficeDlgProc(HWND hwndChild, LPARAM) +{ + //bosa_sdm_Microsoft Word 9.0 + //bosa_sdm_XL9 + //#32770 (Dialog) + + char szBuff[4096]; + if (GetClassName(hwndChild, szBuff, 4096) == 0) { + + } else { + if ((strcmpi(szBuff, pWordDlg2k) == 0) || (strcmpi(szBuff, pWordDlg2k3) == 0)) { + gWDDlgCount++; + SendMessage(hwndChild, WM_CLOSE, 0, 0); + } + if (strcmpi(szBuff, pXLDlg2k) == 0) { + gXLDlgCount++; + SendMessage(hwndChild, WM_CLOSE, 0, 0); + } + if (strcmpi(szBuff, pPPDlg2k) == 0) { + gPPDlgCount++; + SendMessage(hwndChild, WM_CLOSE, 0, 0); + } + if (strcmpi(szBuff, pGenMSODlg) == 0) { + SendMessage(hwndChild, WM_CLOSE, 0, 0); + } + } + + return TRUE; +} + + +/*-------------------------------------------------------------- + Callback for EnumChildWindows that counts numnnber of + dialogs that match window class of MSO dialogs + + --------------------------------------------------------------*/ +BOOL CALLBACK CountOfficeDlgProc(HWND hwndChild, LPARAM) +{ + char szBuff[4096]; + if (GetClassName(hwndChild, szBuff, 4096) == 0) { + + } else { + if ((strcmpi(szBuff, pWordDlg2k) == 0) || (strcmpi(szBuff, pWordDlg2k3) == 0)) { + gWDDlgCount++; + } + if (strcmpi(szBuff, pXLDlg2k) == 0) { + gXLDlgCount++; + } + if (strcmpi(szBuff, pPPDlg2k) == 0) { + gPPDlgCount++; + } + } + + return TRUE; +} + +/*-------------------------------------------------------------- + Simple usage message... + + -------------------------------------------------------------*/ +void printUsage() { + printf("Recovery Assistant Utility - try and put MSO apps in a recoverable state\n"); + printf("Copyright Sun Microsystems 2008\n"); + printf("Options:\n"); + printf(" --help : This message\n"); + printf(" --close: Attempt to close any open dialogs owned by \n"); + printf(" MSO apps so Application.Quit() can succeed\n"); + printf(" --kill : Kill any open MSO apps. Use with caution and only as a last resort\n\n"); }
\ No newline at end of file diff --git a/migrationanalysis/src/resources/makefile.mk b/migrationanalysis/src/resources/makefile.mk index 90d90e156851..574f5b966844 100644 --- a/migrationanalysis/src/resources/makefile.mk +++ b/migrationanalysis/src/resources/makefile.mk @@ -1,5 +1,5 @@ -#*************************************************************************
-#
+#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,37 +23,37 @@ # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=migrationanalysis
-TARGET=resources
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-
-PAW_DEST:=$(BIN)$/ProAnalysisWizard$/Resources
-PAW_RESULT:= $(PAW_DEST)$/results.xlt
-PAW_RESULTSRC:= results_paw.xlt
-
-ANALYSIS_DTD:=analysis.dtd
-PAW_ANALYSIS_DTD:=$(PAW_DEST)$/analysis.dtd
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-ALLTAR : $(PAW_RESULT) $(PAW_ANALYSIS_DTD)
-
-$(PAW_RESULT) : $(PAW_RESULTSRC)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(PAW_RESULTSRC) $@
-
-$(PAW_ANALYSIS_DTD) : $(ANALYSIS_DTD)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(ANALYSIS_DTD) $@
-
+#************************************************************************* + +PRJ=..$/.. + +PRJNAME=migrationanalysis +TARGET=resources + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# --- Files -------------------------------------------------------- + +PAW_DEST:=$(BIN)$/ProAnalysisWizard$/Resources +PAW_RESULT:= $(PAW_DEST)$/results.xlt +PAW_RESULTSRC:= results_paw.xlt + +ANALYSIS_DTD:=analysis.dtd +PAW_ANALYSIS_DTD:=$(PAW_DEST)$/analysis.dtd + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + +ALLTAR : $(PAW_RESULT) $(PAW_ANALYSIS_DTD) + +$(PAW_RESULT) : $(PAW_RESULTSRC) + -$(MKDIRHIER) $(@:d) + $(COPY) $(PAW_RESULTSRC) $@ + +$(PAW_ANALYSIS_DTD) : $(ANALYSIS_DTD) + -$(MKDIRHIER) $(@:d) + $(COPY) $(ANALYSIS_DTD) $@ + diff --git a/migrationanalysis/src/wizard/makefile.mk b/migrationanalysis/src/wizard/makefile.mk index 7feb9d3e2a78..f421379a6aa3 100644 --- a/migrationanalysis/src/wizard/makefile.mk +++ b/migrationanalysis/src/wizard/makefile.mk @@ -1,5 +1,5 @@ -#*************************************************************************
-#
+#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,94 +23,94 @@ # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=migrationanalysis
-TARGET=wizard
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-
-PAW_APPSDEST:=$(BIN)$/ProAnalysisWizard
-ALTERNATE_SRC:=..$/exe
-
-PAW_DATDEST:=$(PAW_APPSDEST)$/Resources
-
-PROJECTDEST:=$(BIN)$/ProAnalysisWizard
-RCFILES:=$(RES)$/$(TARGET).rc
-RESFILE:=$(RES)$/$(TARGET).res
-ULFFILES:=$(TARGET).ulf
-.IF "$(WITH_LANG)"!=""
-ULFDIR:=$(COMMONMISC)$/$(TARGET)
-.ELSE # "$(WITH_LANG)"!=""
-ULFDIR:=.
-.ENDIF # "$(WITH_LANG)"!=""
-MANIFEST:=$(RES)$/DocAnalysisWizard.exe.manifest
-
-LAUNCHER_APP:= $(BIN)$/LaunchDrivers.exe
-
-BASIC_APPS:= \
- $(LAUNCHER_APP) \
- $(PAW_APPSDEST)$/ProAnalysisWizard.exe
-
-BASIC_VBP:= \
- $(BIN)$/LaunchDrivers.vbp \
- $(PAW_APPSDEST)$/ProAnalysisWizard.vbp
-
-PAW_RES_DLLS:=$(PAW_DATDEST)$/Resources.dll
-PAW_LAUNCHER:=$(PAW_DATDEST)$/LaunchDrivers.exe
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-ALLTAR : $(BASIC_APPS) $(PAW_RES_DLLS) $(PAW_LAUNCHER)
-
-$(MANIFEST) : $$(@:f)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $< $@
-
-.IF "$(VB6_LOCATION)" != ""
-
-$(BASIC_VBP) : $$(@:b).vbp
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(@:f) $@
-
-$(BASIC_APPS) : $(BASIC_VBP)
- -$(MKDIRHIER) $(@:d)
- cd $(@:d) && "$(VB6_LOCATION)$/vb6.exe" /m $(@:b).vbp
-
-$(PAW_LAUNCHER) : $(LAUNCHER_APP)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(LAUNCHER_APP) $@
-
-.ELSE # "$(VB6_LOCATION)" != ""
-
-$(BASIC_APPS) : $(ALTERNATE_SRC)$/$$(@:f)
- @echo "------------------------------------"
- @echo "No VB6 found: using prebuild wizards"
- @echo "------------------------------------"
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(ALTERNATE_SRC)$/$(@:f) $@
-
-$(PAW_LAUNCHER) : $(ALTERNATE_SRC)$/$$(@:f)
- -$(MKDIRHIER) $(@:d)
- $(COPY) $(ALTERNATE_SRC)$/$(@:f) $@
-
-.ENDIF # "$(VB6_LOCATION)" != ""
-
-# Generate the native Windows resource file
-# using lngconvex.exe
-
-$(RCFILES) : $(MANIFEST) $(ULFDIR)$/$(TARGET).ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt
- $(LNGCONVEX) -ulf $(ULFDIR)$/$(TARGET).ulf -rc $(RES)$/$(TARGET).rc -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt
-
-$(PAW_RES_DLLS) : $(RCFILES)
- -$(MKDIRHIER) $(@:d)
- link /NOENTRY /DLL /MACHINE:X86 /OUT:$@ $(RESFILE)
-
+#************************************************************************* + +PRJ=..$/.. + +PRJNAME=migrationanalysis +TARGET=wizard + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# --- Files -------------------------------------------------------- + +PAW_APPSDEST:=$(BIN)$/ProAnalysisWizard +ALTERNATE_SRC:=..$/exe + +PAW_DATDEST:=$(PAW_APPSDEST)$/Resources + +PROJECTDEST:=$(BIN)$/ProAnalysisWizard +RCFILES:=$(RES)$/$(TARGET).rc +RESFILE:=$(RES)$/$(TARGET).res +ULFFILES:=$(TARGET).ulf +.IF "$(WITH_LANG)"!="" +ULFDIR:=$(COMMONMISC)$/$(TARGET) +.ELSE # "$(WITH_LANG)"!="" +ULFDIR:=. +.ENDIF # "$(WITH_LANG)"!="" +MANIFEST:=$(RES)$/DocAnalysisWizard.exe.manifest + +LAUNCHER_APP:= $(BIN)$/LaunchDrivers.exe + +BASIC_APPS:= \ + $(LAUNCHER_APP) \ + $(PAW_APPSDEST)$/ProAnalysisWizard.exe + +BASIC_VBP:= \ + $(BIN)$/LaunchDrivers.vbp \ + $(PAW_APPSDEST)$/ProAnalysisWizard.vbp + +PAW_RES_DLLS:=$(PAW_DATDEST)$/Resources.dll +PAW_LAUNCHER:=$(PAW_DATDEST)$/LaunchDrivers.exe + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + +ALLTAR : $(BASIC_APPS) $(PAW_RES_DLLS) $(PAW_LAUNCHER) + +$(MANIFEST) : $$(@:f) + -$(MKDIRHIER) $(@:d) + $(COPY) $< $@ + +.IF "$(VB6_LOCATION)" != "" + +$(BASIC_VBP) : $$(@:b).vbp + -$(MKDIRHIER) $(@:d) + $(COPY) $(@:f) $@ + +$(BASIC_APPS) : $(BASIC_VBP) + -$(MKDIRHIER) $(@:d) + cd $(@:d) && "$(VB6_LOCATION)$/vb6.exe" /m $(@:b).vbp + +$(PAW_LAUNCHER) : $(LAUNCHER_APP) + -$(MKDIRHIER) $(@:d) + $(COPY) $(LAUNCHER_APP) $@ + +.ELSE # "$(VB6_LOCATION)" != "" + +$(BASIC_APPS) : $(ALTERNATE_SRC)$/$$(@:f) + @echo "------------------------------------" + @echo "No VB6 found: using prebuild wizards" + @echo "------------------------------------" + -$(MKDIRHIER) $(@:d) + $(COPY) $(ALTERNATE_SRC)$/$(@:f) $@ + +$(PAW_LAUNCHER) : $(ALTERNATE_SRC)$/$$(@:f) + -$(MKDIRHIER) $(@:d) + $(COPY) $(ALTERNATE_SRC)$/$(@:f) $@ + +.ENDIF # "$(VB6_LOCATION)" != "" + +# Generate the native Windows resource file +# using lngconvex.exe + +$(RCFILES) : $(MANIFEST) $(ULFDIR)$/$(TARGET).ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt + $(LNGCONVEX) -ulf $(ULFDIR)$/$(TARGET).ulf -rc $(RES)$/$(TARGET).rc -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt + +$(PAW_RES_DLLS) : $(RCFILES) + -$(MKDIRHIER) $(@:d) + link /NOENTRY /DLL /MACHINE:X86 /OUT:$@ $(RESFILE) + diff --git a/migrationanalysis/util/delzip b/migrationanalysis/util/delzip index e2b3a64d3ade..594f345bdece 100644 --- a/migrationanalysis/util/delzip +++ b/migrationanalysis/util/delzip @@ -1 +1 @@ -ECHO is off
+ECHO is off diff --git a/migrationanalysis/util/makefile.mk b/migrationanalysis/util/makefile.mk index 50a0f1620831..550af0ab40f9 100644 --- a/migrationanalysis/util/makefile.mk +++ b/migrationanalysis/util/makefile.mk @@ -1,5 +1,5 @@ -#*************************************************************************
-#
+#************************************************************************* +# # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2000, 2010 Oracle and/or its affiliates. @@ -23,31 +23,31 @@ # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. # -#*************************************************************************
-
-PRJ=..
-
-PRJNAME=migrationanalysis
-TARGET=paw
-
-no_common_build_zip=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-
-ZIPFLAGS =
-ZIP1DIR = $(BIN)$/ProAnalysisWizard
-ZIP1TARGET = MigrationAnalysis
-ZIP1LIST = ProAnalysisWizard.exe Resources$/* Resources$/lang$/*
-
-ZIP2DIR = $(BIN)$/ProAnalysisWizard
-ZIP2TARGET = ProAnalysisWizard
-ZIP2LIST = Resources$/* Resources$/lang$/*
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
+#************************************************************************* + +PRJ=.. + +PRJNAME=migrationanalysis +TARGET=paw + +no_common_build_zip=TRUE + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# --- Files -------------------------------------------------------- + +ZIPFLAGS = +ZIP1DIR = $(BIN)$/ProAnalysisWizard +ZIP1TARGET = MigrationAnalysis +ZIP1LIST = ProAnalysisWizard.exe Resources$/* Resources$/lang$/* + +ZIP2DIR = $(BIN)$/ProAnalysisWizard +ZIP2TARGET = ProAnalysisWizard +ZIP2LIST = Resources$/* Resources$/lang$/* + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + diff --git a/reportbuilder/java/libformula.properties b/reportbuilder/java/libformula.properties index c18f9ddb3910..c9a7d35d1afe 100644 --- a/reportbuilder/java/libformula.properties +++ b/reportbuilder/java/libformula.properties @@ -27,8 +27,8 @@ ## # Any configuration will happen here. -org.pentaho.reporting.libraries.formula.datesystem.StartYear=1930
-org.pentaho.reporting.libraries.formula.datesystem.ExcelHack=false
+org.pentaho.reporting.libraries.formula.datesystem.StartYear=1930 +org.pentaho.reporting.libraries.formula.datesystem.ExcelHack=false # # A list of all known functions. diff --git a/reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu b/reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu index 1114f766fd1d..9e7b00669c45 100644 --- a/reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu +++ b/reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!--***********************************************************************
- *
+<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,172 +24,172 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<oor:component-data oor:name="ExtendedColorScheme" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <node oor:name="ExtendedColorScheme">
- <prop oor:name="CurrentColorScheme">
- <value>default</value>
- </prop>
- <node oor:name="ColorSchemes">
- <node oor:name="default" oor:op="replace">
- <node oor:name="SunReportBuilder" oor:op="replace">
- <node oor:name="Entries">
- <node oor:name="ReportHeader" oor:op="replace">
- <prop oor:name="Color">
- <value>0x007Fa04C</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x007Fa04C</value>
- </prop>
- </node>
- <node oor:name="ReportFooter" oor:op="replace">
- <prop oor:name="Color">
- <value>0x007Fa04C</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x007Fa04C</value>
- </prop>
- </node>
- <node oor:name="PageHeader" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00F0C158/</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00F0C158/</value>
- </prop>
- </node>
- <node oor:name="PageFooter" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00F0C158</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00F0C158</value>
- </prop>
- </node>
- <node oor:name="GroupHeader" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00AAC1D2</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00AAC1D2</value>
- </prop>
- </node>
- <node oor:name="GroupFooter" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00AAC1D2</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00AAC1D2</value>
- </prop>
- </node>
- <node oor:name="ColumnHeader" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00AAC1D2</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00AAC1D2</value>
- </prop>
- </node>
- <node oor:name="ColumnFooter" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00AAC1D2</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00AAC1D2</value>
- </prop>
- </node>
- <node oor:name="Detail" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00F1C4A2</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00F1C4A2</value>
- </prop>
- </node>
- <node oor:name="OverlappedControl" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00FF3366</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00FF3366</value>
- </prop>
- </node>
- <node oor:name="TextBoxBoundContent" oor:op="replace">
- <prop oor:name="Color">
- <value>0x00808080</value>
- </prop>
- <prop oor:name="DefaultColor">
- <value>0x00808080</value>
- </prop>
- </node>
- </node>
- </node>
- </node>
- </node>
- </node>
- <node oor:name="EntryNames">
- <node oor:name="SunReportBuilder" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Sun Report Builder</value>
- </prop>
- <node oor:name="Entries">
- <node oor:name="ReportHeader" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Report Header</value>
- </prop>
- </node>
- <node oor:name="ReportFooter" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Report Footer</value>
- </prop>
- </node>
- <node oor:name="PageHeader" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Page Header</value>
- </prop>
- </node>
- <node oor:name="PageFooter" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Page Footer</value>
- </prop>
- </node>
- <node oor:name="GroupHeader" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Group Header</value>
- </prop>
- </node>
- <node oor:name="GroupFooter" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Group Footer</value>
- </prop>
- </node>
- <node oor:name="ColumnHeader" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Column Header</value>
- </prop>
- </node>
- <node oor:name="ColumnFooter" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Column Footer</value>
- </prop>
- </node>
- <node oor:name="Detail" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Detail</value>
- </prop>
- </node>
- <node oor:name="OverlappedControl" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Overlapped Control</value>
- </prop>
- </node>
- <node oor:name="TextBoxBoundContent" oor:op="replace">
- <prop oor:name="DisplayName">
- <value xml:lang="en-US">Text Box Bound Content</value>
- </prop>
- </node>
- </node>
- </node>
- </node>
-</oor:component-data>
-
+ ************************************************************************ --> +<oor:component-data oor:name="ExtendedColorScheme" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <node oor:name="ExtendedColorScheme"> + <prop oor:name="CurrentColorScheme"> + <value>default</value> + </prop> + <node oor:name="ColorSchemes"> + <node oor:name="default" oor:op="replace"> + <node oor:name="SunReportBuilder" oor:op="replace"> + <node oor:name="Entries"> + <node oor:name="ReportHeader" oor:op="replace"> + <prop oor:name="Color"> + <value>0x007Fa04C</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x007Fa04C</value> + </prop> + </node> + <node oor:name="ReportFooter" oor:op="replace"> + <prop oor:name="Color"> + <value>0x007Fa04C</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x007Fa04C</value> + </prop> + </node> + <node oor:name="PageHeader" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00F0C158/</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00F0C158/</value> + </prop> + </node> + <node oor:name="PageFooter" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00F0C158</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00F0C158</value> + </prop> + </node> + <node oor:name="GroupHeader" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00AAC1D2</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00AAC1D2</value> + </prop> + </node> + <node oor:name="GroupFooter" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00AAC1D2</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00AAC1D2</value> + </prop> + </node> + <node oor:name="ColumnHeader" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00AAC1D2</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00AAC1D2</value> + </prop> + </node> + <node oor:name="ColumnFooter" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00AAC1D2</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00AAC1D2</value> + </prop> + </node> + <node oor:name="Detail" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00F1C4A2</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00F1C4A2</value> + </prop> + </node> + <node oor:name="OverlappedControl" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00FF3366</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00FF3366</value> + </prop> + </node> + <node oor:name="TextBoxBoundContent" oor:op="replace"> + <prop oor:name="Color"> + <value>0x00808080</value> + </prop> + <prop oor:name="DefaultColor"> + <value>0x00808080</value> + </prop> + </node> + </node> + </node> + </node> + </node> + </node> + <node oor:name="EntryNames"> + <node oor:name="SunReportBuilder" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Sun Report Builder</value> + </prop> + <node oor:name="Entries"> + <node oor:name="ReportHeader" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Report Header</value> + </prop> + </node> + <node oor:name="ReportFooter" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Report Footer</value> + </prop> + </node> + <node oor:name="PageHeader" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Page Header</value> + </prop> + </node> + <node oor:name="PageFooter" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Page Footer</value> + </prop> + </node> + <node oor:name="GroupHeader" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Group Header</value> + </prop> + </node> + <node oor:name="GroupFooter" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Group Footer</value> + </prop> + </node> + <node oor:name="ColumnHeader" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Column Header</value> + </prop> + </node> + <node oor:name="ColumnFooter" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Column Footer</value> + </prop> + </node> + <node oor:name="Detail" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Detail</value> + </prop> + </node> + <node oor:name="OverlappedControl" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Overlapped Control</value> + </prop> + </node> + <node oor:name="TextBoxBoundContent" oor:op="replace"> + <prop oor:name="DisplayName"> + <value xml:lang="en-US">Text Box Bound Content</value> + </prop> + </node> + </node> + </node> + </node> +</oor:component-data> + diff --git a/reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu b/reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu index c29900c271b8..229502286ccb 100644 --- a/reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu +++ b/reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!--***********************************************************************
- *
+<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,131 +24,131 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="DbReportWindowState" oor:package="org.openoffice.Office.UI">
- <node oor:name="UIElements">
- <node oor:name="States">
- <node oor:name="private:resource/toolbar/toolbar" oor:op="replace">
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>0,1</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="DockingArea" oor:type="xs:int">
- <value>0</value>
- </prop>
- <prop oor:name="Style" oor:type="xs:int">
- <value>0</value>
- </prop>
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Standard</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/Formatting" oor:op="replace">
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>0,1</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="DockingArea" oor:type="xs:int">
- <value>0</value>
- </prop>
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Formatting</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
+ ************************************************************************ --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="DbReportWindowState" oor:package="org.openoffice.Office.UI"> + <node oor:name="UIElements"> + <node oor:name="States"> + <node oor:name="private:resource/toolbar/toolbar" oor:op="replace"> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,1</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="DockingArea" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="Style" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Standard</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/Formatting" oor:op="replace"> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,1</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="DockingArea" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Formatting</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> </prop> - </node>
- <node oor:name="private:resource/toolbar/reportcontrols" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Report Controls</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>0,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/drawbar" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Drawing objects</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>297,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>false</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/alignmentbar" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Align</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>489,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/sectionalignmentbar" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Align at Section</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>0,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/sectionshrinkbar" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Shrink at Section</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>0,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- <node oor:name="private:resource/toolbar/resizebar" oor:op="replace">
- <prop oor:name="UIName" oor:type="xs:string">
- <value xml:lang="en-US">Object Resizing</value>
- </prop>
- <prop oor:name="DockPos" oor:type="xs:string">
- <value>670,2</value>
- </prop>
- <prop oor:name="Docked" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- <prop oor:name="Visible" oor:type="xs:boolean">
- <value>true</value>
- </prop>
- </node>
- </node>
- </node>
-</oor:component-data>
+ </node> + <node oor:name="private:resource/toolbar/reportcontrols" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Report Controls</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/drawbar" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Drawing objects</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>297,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>false</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/alignmentbar" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Align</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>489,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/sectionalignmentbar" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Align at Section</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/sectionshrinkbar" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Shrink at Section</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + <node oor:name="private:resource/toolbar/resizebar" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Object Resizing</value> + </prop> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>670,2</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>true</value> + </prop> + </node> + </node> + </node> +</oor:component-data> diff --git a/reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu b/reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu index 24d9a1f7845e..ed78f4b13608 100644 --- a/reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu +++ b/reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu @@ -1,6 +1,6 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!--***********************************************************************
- *
+<?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,380 +24,380 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<oor:component-data oor:name="ReportCommands" oor:package="org.openoffice.Office.UI" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <node oor:name="UserInterface">
- <node oor:name="Commands">
- <node oor:name=".uno:ReportHeaderFooter" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Report Header/Footer</value>
- </prop>
- </node>
- <node oor:name=".uno:PageHeaderFooter" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Page Header/Footer</value>
- </prop>
- </node>
- <node oor:name=".uno:ShowRuler" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Ruler</value>
- </prop>
- </node>
- <node oor:name=".uno:DbSortingAndGrouping" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Sorting and Grouping</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:AddField" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Add Field</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:ConditionalFormatting" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Conditional Formatting...</value>
- </prop>
- </node>
- <node oor:name=".uno:PageDialog" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Page Settings</value>
- </prop>
- <prop oor:name="ContextLabel" oor:type="xs:string">
- <value xml:lang="en-US">~Page...</value>
- </prop>
- </node>
- <node oor:name=".uno:ResetAttributes" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Default Formatting</value>
- </prop>
- </node>
- <node oor:name=".uno:InsertPageNumberField" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Page Numbers...</value>
- </prop>
- </node>
- <node oor:name=".uno:InsertDateTimeField" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Date and Time...</value>
- </prop>
- </node>
- <node oor:name=".uno:SelectReport" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Select Report</value>
- </prop>
- </node>
- <node oor:name=".uno:SubReportInNewWindow" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Subreport in New Window...</value>
- </prop>
- </node>
- <node oor:name=".uno:FontColor" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Font Color</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:GridMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Gr~id</value>
- </prop>
- </node>
- <node oor:name=".uno:ColumnHeaderFooter" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Column Header/Footer</value>
- </prop>
- </node>
- <node oor:name=".uno:PasteSpecial" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Paste ~Special...</value>
- </prop>
- </node>
- <node oor:name=".uno:ExecuteReport" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Execute Report...</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:ImageControl" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Graphic...</value>
- </prop>
- </node>
- <node oor:name=".uno:TextDocument" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Text Document</value>
- </prop>
- </node>
- <node oor:name=".uno:Spreadsheet" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Spreadsheet Document</value>
- </prop>
- </node>
- <node oor:name=".uno:ReportNavigator" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Report Navigator</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SmallestWidth" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Fit to smallest width</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SmallestHeight" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Fit to smallest height</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:GreatestWidth" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Fit to greatest width</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:GreatestHeight" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Fit to greatest height</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:ControlProperties" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Properties</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:Distribution" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Distribution...</value>
- </prop>
- </node>
- <node oor:name=".uno:SelectAllInSection" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Select Objects in Section</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignLeft" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Left Align on Section</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignRight" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Right Align on Section</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignTop" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Top Align on Section</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignBottom" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Bottom Align on Section</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignCenter" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Centered on Section</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionAlignMiddle" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Middle on Section</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SelectAllLabels" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Select all Labels</value>
- </prop>
- </node>
- <node oor:name=".uno:SelectAllEdits" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Select all Formatted Fields</value>
- </prop>
- </node>
-
- <!-- U will find corresponding icons in default_images/res/commandimagelist. -->
- <!-- The name has no .uno: prefix but lc_ or lch_ or sc_ or sch_ -->
-
- <node oor:name=".uno:EditShapeMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Shape Arrange</value>
- </prop>
- </node>
-
- <node oor:name=".uno:EditControlMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Control</value>
- </prop>
- </node>
-
- <!--
- <node oor:name=".uno:EditSectionMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Section</value>
- </prop>
- </node>
--->
-
- <node oor:name=".uno:AlignmentMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Alignment</value>
- </prop>
- </node>
-
- <node oor:name=".uno:ResizeMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Resize</value>
- </prop>
- </node>
-
- <node oor:name=".uno:SectionAlignmentMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Section alignment</value>
- </prop>
- </node>
-
- <node oor:name=".uno:ReportControlMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Report Controls</value>
- </prop>
- </node>
-
- <node oor:name=".uno:ShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:BasicShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Basic Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:SymbolShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Symbol Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:ArrowShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Arrow Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:FlowChartShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">FlowChart Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:CalloutShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Callout Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:StarShapesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Star Shapes</value>
- </prop>
- </node>
-
- <node oor:name=".uno:SectionShrinkMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Section</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionShrink" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Shrink</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionShrinkTop" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Shrink from top</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
- <node oor:name=".uno:SectionShrinkBottom" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Shrink from bottom</value>
- </prop>
- <prop oor:name="Properties" oor:type="xs:int">
- <value>1</value>
- </prop>
- </node>
-
- </node>
- <node oor:name="Popups">
- <node oor:name=".uno:ExportReportTo" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Report Output Format</value>
- </prop>
- </node>
- <node oor:name=".uno:SnapLinesMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Guides</value>
- </prop>
- </node>
- <node oor:name=".uno:ObjectResize" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Object Resizing</value>
- </prop>
- </node>
- <node oor:name=".uno:ArrangeMenu" oor:op="replace">
- <prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">A~rrange</value>
- </prop>
- </node>
- </node>
- </node>
-</oor:component-data>
+ ************************************************************************ --> +<oor:component-data oor:name="ReportCommands" oor:package="org.openoffice.Office.UI" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <node oor:name="UserInterface"> + <node oor:name="Commands"> + <node oor:name=".uno:ReportHeaderFooter" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Report Header/Footer</value> + </prop> + </node> + <node oor:name=".uno:PageHeaderFooter" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Page Header/Footer</value> + </prop> + </node> + <node oor:name=".uno:ShowRuler" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Ruler</value> + </prop> + </node> + <node oor:name=".uno:DbSortingAndGrouping" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Sorting and Grouping</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:AddField" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Add Field</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:ConditionalFormatting" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Conditional Formatting...</value> + </prop> + </node> + <node oor:name=".uno:PageDialog" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Page Settings</value> + </prop> + <prop oor:name="ContextLabel" oor:type="xs:string"> + <value xml:lang="en-US">~Page...</value> + </prop> + </node> + <node oor:name=".uno:ResetAttributes" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Default Formatting</value> + </prop> + </node> + <node oor:name=".uno:InsertPageNumberField" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Page Numbers...</value> + </prop> + </node> + <node oor:name=".uno:InsertDateTimeField" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Date and Time...</value> + </prop> + </node> + <node oor:name=".uno:SelectReport" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Select Report</value> + </prop> + </node> + <node oor:name=".uno:SubReportInNewWindow" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Subreport in New Window...</value> + </prop> + </node> + <node oor:name=".uno:FontColor" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Font Color</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:GridMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Gr~id</value> + </prop> + </node> + <node oor:name=".uno:ColumnHeaderFooter" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Column Header/Footer</value> + </prop> + </node> + <node oor:name=".uno:PasteSpecial" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Paste ~Special...</value> + </prop> + </node> + <node oor:name=".uno:ExecuteReport" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Execute Report...</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:ImageControl" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Graphic...</value> + </prop> + </node> + <node oor:name=".uno:TextDocument" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Text Document</value> + </prop> + </node> + <node oor:name=".uno:Spreadsheet" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Spreadsheet Document</value> + </prop> + </node> + <node oor:name=".uno:ReportNavigator" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Report Navigator</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SmallestWidth" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Fit to smallest width</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SmallestHeight" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Fit to smallest height</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:GreatestWidth" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Fit to greatest width</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:GreatestHeight" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Fit to greatest height</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:ControlProperties" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Properties</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:Distribution" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Distribution...</value> + </prop> + </node> + <node oor:name=".uno:SelectAllInSection" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Select Objects in Section</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignLeft" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Left Align on Section</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignRight" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Right Align on Section</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignTop" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Top Align on Section</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignBottom" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Bottom Align on Section</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignCenter" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Centered on Section</value> + </prop> + </node> + <node oor:name=".uno:SectionAlignMiddle" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Middle on Section</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SelectAllLabels" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Select all Labels</value> + </prop> + </node> + <node oor:name=".uno:SelectAllEdits" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Select all Formatted Fields</value> + </prop> + </node> + + <!-- U will find corresponding icons in default_images/res/commandimagelist. --> + <!-- The name has no .uno: prefix but lc_ or lch_ or sc_ or sch_ --> + + <node oor:name=".uno:EditShapeMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Shape Arrange</value> + </prop> + </node> + + <node oor:name=".uno:EditControlMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Control</value> + </prop> + </node> + + <!-- + <node oor:name=".uno:EditSectionMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Section</value> + </prop> + </node> +--> + + <node oor:name=".uno:AlignmentMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Alignment</value> + </prop> + </node> + + <node oor:name=".uno:ResizeMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Resize</value> + </prop> + </node> + + <node oor:name=".uno:SectionAlignmentMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Section alignment</value> + </prop> + </node> + + <node oor:name=".uno:ReportControlMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Report Controls</value> + </prop> + </node> + + <node oor:name=".uno:ShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Shapes</value> + </prop> + </node> + + <node oor:name=".uno:BasicShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Basic Shapes</value> + </prop> + </node> + + <node oor:name=".uno:SymbolShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Symbol Shapes</value> + </prop> + </node> + + <node oor:name=".uno:ArrowShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Arrow Shapes</value> + </prop> + </node> + + <node oor:name=".uno:FlowChartShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">FlowChart Shapes</value> + </prop> + </node> + + <node oor:name=".uno:CalloutShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Callout Shapes</value> + </prop> + </node> + + <node oor:name=".uno:StarShapesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Star Shapes</value> + </prop> + </node> + + <node oor:name=".uno:SectionShrinkMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Section</value> + </prop> + </node> + <node oor:name=".uno:SectionShrink" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Shrink</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionShrinkTop" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Shrink from top</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + <node oor:name=".uno:SectionShrinkBottom" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Shrink from bottom</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> + + </node> + <node oor:name="Popups"> + <node oor:name=".uno:ExportReportTo" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Report Output Format</value> + </prop> + </node> + <node oor:name=".uno:SnapLinesMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">~Guides</value> + </prop> + </node> + <node oor:name=".uno:ObjectResize" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Object Resizing</value> + </prop> + </node> + <node oor:name=".uno:ArrangeMenu" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">A~rrange</value> + </prop> + </node> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu index 436b4f3ec68e..e39bbc75471c 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='UTF-8'?>
-<!--***********************************************************************
- *
+<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,13 +24,13 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Paths" oor:package="org.openoffice.Office">
- <node oor:name="Paths">
- <node oor:name="Template" oor:op="fuse">
- <node oor:name="InternalPaths">
- <node oor:name="%origin%/templates" oor:op="fuse"/>
- </node>
- </node>
- </node>
-</oor:component-data>
+ ************************************************************************ --> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Paths" oor:package="org.openoffice.Office"> + <node oor:name="Paths"> + <node oor:name="Template" oor:op="fuse"> + <node oor:name="InternalPaths"> + <node oor:name="%origin%/templates" oor:op="fuse"/> + </node> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu index f3b420447784..d0ddad5b2a7c 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='UTF-8'?>
-<!--***********************************************************************
- *
+<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,33 +24,33 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
-<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter">
- <node oor:name="Filters">
- <node oor:name="MediaWiki" oor:op="fuse">
- <prop oor:name="FileFormatVersion"><value>0</value></prop>
- <prop oor:name="Type"><value>MediaWiki</value></prop>
- <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
- <prop oor:name="UIComponent"/>
- <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop>
- <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop>
- <prop oor:name="UIName">
- <value xml:lang="x-default">MediaWiki</value>
- </prop>
- <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
- </node>
- <node oor:name="MediaWiki_Web" oor:op="fuse">
- <prop oor:name="FileFormatVersion"><value>0</value></prop>
- <prop oor:name="Type"><value>MediaWiki</value></prop>
- <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
- <prop oor:name="UIComponent"/>
- <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop>
- <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop>
- <prop oor:name="UIName">
- <value xml:lang="x-default">MediaWiki</value>
- </prop>
- <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
- </node>
- </node>
-</oor:component-data>
+ ************************************************************************ --> +<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter"> + <node oor:name="Filters"> + <node oor:name="MediaWiki" oor:op="fuse"> + <prop oor:name="FileFormatVersion"><value>0</value></prop> + <prop oor:name="Type"><value>MediaWiki</value></prop> + <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop> + <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop> + </node> + <node oor:name="MediaWiki_Web" oor:op="fuse"> + <prop oor:name="FileFormatVersion"><value>0</value></prop> + <prop oor:name="Type"><value>MediaWiki</value></prop> + <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop> + <prop oor:name="UIComponent"/> + <prop oor:name="UserData"><value oor:separator=",">com.sun.star.documentconversion.XSLTFilter,,,com.sun.star.comp.Writer.XMLOasisExporter,,%origin%/filter/odt2mediawiki.xsl</value></prop> + <prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop> + </node> + </node> +</oor:component-data> diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu index fa7dac4c59e6..64031b844aaf 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu +++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu @@ -1,6 +1,6 @@ -<?xml version='1.0' encoding='UTF-8'?>
-<!--***********************************************************************
- *
+<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. @@ -24,21 +24,21 @@ * <http://www.openoffice.org/license.html> * for a copy of the LGPLv3 License. * - ************************************************************************ -->
-<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
-<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types">
- <node oor:name="Types">
- <node oor:name="MediaWiki" oor:op="fuse">
- <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop>
- <prop oor:name="URLPattern"/>
- <prop oor:name="Extensions"><value>txt</value></prop>
- <prop oor:name="MediaType"/>
- <prop oor:name="Preferred"><value>false</value></prop>
- <prop oor:name="PreferredFilter"/>
- <prop oor:name="UIName">
- <value xml:lang="x-default">MediaWiki</value>
- </prop>
- <prop oor:name="ClipboardFormat"/>
- </node>
- </node>
-</oor:component-data>
+ ************************************************************************ --> +<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> +<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types"> + <node oor:name="Types"> + <node oor:name="MediaWiki" oor:op="fuse"> + <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop> + <prop oor:name="URLPattern"/> + <prop oor:name="Extensions"><value>txt</value></prop> + <prop oor:name="MediaType"/> + <prop oor:name="Preferred"><value>false</value></prop> + <prop oor:name="PreferredFilter"/> + <prop oor:name="UIName"> + <value xml:lang="x-default">MediaWiki</value> + </prop> + <prop oor:name="ClipboardFormat"/> + </node> + </node> +</oor:component-data> |