summaryrefslogtreecommitdiff
path: root/migrationanalysis/src
diff options
context:
space:
mode:
Diffstat (limited to 'migrationanalysis/src')
-rw-r--r--migrationanalysis/src/driver_docs/CreateDriverDocs.wsf5
-rw-r--r--migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs49
-rw-r--r--migrationanalysis/src/driver_docs/makefile.mk258
-rw-r--r--migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/CollectedFiles.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/CommonPreparation.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/DocumentAnalysis.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/FileTypeAssociation.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/IssueInfo.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/PrepareInfo.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/StringDataManager.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/common_res.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/ApplicationSpecific.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/MigrationAnalyser.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/Preparation.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/SetTextBoxFont.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/ThisWorkbook.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/excel/excel_res.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/ApplicationSpecific.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/Loader.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/MigrationAnalyser.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/Preparation.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/Slide1.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/powerpoint/powerpoint_res.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/word/ApplicationSpecific.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/word/Preparation.bas48
-rw-r--r--migrationanalysis/src/driver_docs/sources/word/ThisDocument.cls48
-rw-r--r--migrationanalysis/src/driver_docs/sources/word/word_res.bas48
-rw-r--r--migrationanalysis/src/driver_docs/ulf2dat.pl309
-rw-r--r--migrationanalysis/src/msokill/StdAfx.cpp72
-rw-r--r--migrationanalysis/src/msokill/StdAfx.h110
-rw-r--r--migrationanalysis/src/msokill/makefile.mk168
-rw-r--r--migrationanalysis/src/msokill/msokill.cpp518
-rw-r--r--migrationanalysis/src/resources/makefile.mk120
-rw-r--r--migrationanalysis/src/wizard/Analyse.bas49
-rw-r--r--migrationanalysis/src/wizard/CollectedFiles.cls49
-rw-r--r--migrationanalysis/src/wizard/Get Directory Dialog.bas5
-rw-r--r--migrationanalysis/src/wizard/IniSupport.bas49
-rw-r--r--migrationanalysis/src/wizard/LaunchDrivers.vbp2
-rw-r--r--migrationanalysis/src/wizard/Office10Issues.bas49
-rw-r--r--migrationanalysis/src/wizard/ProAnalysisWizard.vbp2
-rw-r--r--migrationanalysis/src/wizard/RunServer.bas49
-rw-r--r--migrationanalysis/src/wizard/Utilities.bas49
-rw-r--r--migrationanalysis/src/wizard/Wizard.bas49
-rw-r--r--migrationanalysis/src/wizard/Wizard.frm7
-rw-r--r--migrationanalysis/src/wizard/makefile.mk234
48 files changed, 1695 insertions, 1803 deletions
diff --git a/migrationanalysis/src/driver_docs/CreateDriverDocs.wsf b/migrationanalysis/src/driver_docs/CreateDriverDocs.wsf
index 8fc82d96d53a..a9442ff58cdb 100644
--- a/migrationanalysis/src/driver_docs/CreateDriverDocs.wsf
+++ b/migrationanalysis/src/driver_docs/CreateDriverDocs.wsf
@@ -2,13 +2,10 @@
' *
' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
' *
-' * Copyright 2008 by Sun Microsystems, Inc.
+' * Copyright 2000, 2010 Oracle and/or its affiliates.
' *
' * OpenOffice.org - a multi-platform office productivity suite
' *
-' * $RCSfile: CreateDriverDocs.wsf,v $
-' * $Revision: 1.2.140.3 $
-' *
' * This file is part of OpenOffice.org.
' *
' * OpenOffice.org is free software: you can redistribute it and/or modify
diff --git a/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs b/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
index 7ec5083107cd..4fa6b203ae4a 100644
--- a/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
+++ b/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
@@ -1,31 +1,28 @@
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: DocAnalysisRunMacro.vbs,v $
-' * $Revision: 1.2.140.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
'### Support Module for running macros in Word. Excel and Powerpoint
'### using automation
diff --git a/migrationanalysis/src/driver_docs/makefile.mk b/migrationanalysis/src/driver_docs/makefile.mk
index bc337be70099..23b8d5f7b330 100644
--- a/migrationanalysis/src/driver_docs/makefile.mk
+++ b/migrationanalysis/src/driver_docs/makefile.mk
@@ -1,131 +1,127 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: makefile.mk,v $
-#
-# $Revision: 1.8.34.3 $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-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
-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+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/sources/AnalysisDriver.bas b/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas
index 5cb0fa6c5401..cb9f85b376c1 100644
--- a/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas
+++ b/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "AnalysisDriver"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: AnalysisDriver.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/CollectedFiles.cls b/migrationanalysis/src/driver_docs/sources/CollectedFiles.cls
index 6871b34c1471..de81fc9261f0 100644
--- a/migrationanalysis/src/driver_docs/sources/CollectedFiles.cls
+++ b/migrationanalysis/src/driver_docs/sources/CollectedFiles.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: CollectedFiles.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas b/migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas
index d165054fa7b0..5fae03a4d399 100644
--- a/migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas
+++ b/migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "CommonMigrationAnalyser"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: CommonMigrationAnalyser.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/CommonPreparation.bas b/migrationanalysis/src/driver_docs/sources/CommonPreparation.bas
index 2d0e04f80e4a..76fb80150d77 100644
--- a/migrationanalysis/src/driver_docs/sources/CommonPreparation.bas
+++ b/migrationanalysis/src/driver_docs/sources/CommonPreparation.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "CommonPreparation"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: CommonPreparation.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/DocumentAnalysis.cls b/migrationanalysis/src/driver_docs/sources/DocumentAnalysis.cls
index cc974e3a2c79..b4681eeb0163 100644
--- a/migrationanalysis/src/driver_docs/sources/DocumentAnalysis.cls
+++ b/migrationanalysis/src/driver_docs/sources/DocumentAnalysis.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: DocumentAnalysis.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/FileTypeAssociation.cls b/migrationanalysis/src/driver_docs/sources/FileTypeAssociation.cls
index 6a578f43c01b..99828299f009 100644
--- a/migrationanalysis/src/driver_docs/sources/FileTypeAssociation.cls
+++ b/migrationanalysis/src/driver_docs/sources/FileTypeAssociation.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: FileTypeAssociation.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/IssueInfo.cls b/migrationanalysis/src/driver_docs/sources/IssueInfo.cls
index 23c95c8fa7d0..0979460cc335 100644
--- a/migrationanalysis/src/driver_docs/sources/IssueInfo.cls
+++ b/migrationanalysis/src/driver_docs/sources/IssueInfo.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: IssueInfo.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/PrepareInfo.cls b/migrationanalysis/src/driver_docs/sources/PrepareInfo.cls
index 71eacb640562..e1a7253bd3ee 100644
--- a/migrationanalysis/src/driver_docs/sources/PrepareInfo.cls
+++ b/migrationanalysis/src/driver_docs/sources/PrepareInfo.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: PrepareInfo.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
'H&F Info
diff --git a/migrationanalysis/src/driver_docs/sources/StringDataManager.cls b/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
index 6bea8530bf95..a6081121c1af 100644
--- a/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
+++ b/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: StringDataManager.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/common_res.bas b/migrationanalysis/src/driver_docs/sources/common_res.bas
index 5a3a048261d0..113f8da16b58 100644
--- a/migrationanalysis/src/driver_docs/sources/common_res.bas
+++ b/migrationanalysis/src/driver_docs/sources/common_res.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "common_res"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: common_res.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Public RID_STR_COMMON_RESULTS_SHEET_NAME_OVERVIEW As String
diff --git a/migrationanalysis/src/driver_docs/sources/excel/ApplicationSpecific.bas b/migrationanalysis/src/driver_docs/sources/excel/ApplicationSpecific.bas
index d74f29baa0b2..88351b178115 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/ApplicationSpecific.bas
+++ b/migrationanalysis/src/driver_docs/sources/excel/ApplicationSpecific.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "ApplicationSpecific"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: ApplicationSpecific.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/excel/MigrationAnalyser.cls b/migrationanalysis/src/driver_docs/sources/excel/MigrationAnalyser.cls
index 66f48ed7faaa..1378417344cc 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/MigrationAnalyser.cls
+++ b/migrationanalysis/src/driver_docs/sources/excel/MigrationAnalyser.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: MigrationAnalyser.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/excel/Preparation.bas b/migrationanalysis/src/driver_docs/sources/excel/Preparation.bas
index d2d4ed82ee68..aba750604c3e 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/Preparation.bas
+++ b/migrationanalysis/src/driver_docs/sources/excel/Preparation.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "Preparation"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Preparation.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/excel/SetTextBoxFont.bas b/migrationanalysis/src/driver_docs/sources/excel/SetTextBoxFont.bas
index 16c4194e1ccb..7338eefd92d1 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/SetTextBoxFont.bas
+++ b/migrationanalysis/src/driver_docs/sources/excel/SetTextBoxFont.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "SetTextBoxFont"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: SetTextBoxFont.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/excel/ThisWorkbook.cls b/migrationanalysis/src/driver_docs/sources/excel/ThisWorkbook.cls
index bff0f7bcd4f9..57689ef1e457 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/ThisWorkbook.cls
+++ b/migrationanalysis/src/driver_docs/sources/excel/ThisWorkbook.cls
@@ -1,30 +1,28 @@
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: ThisWorkbook.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Public xlStrings As StringDataManager
diff --git a/migrationanalysis/src/driver_docs/sources/excel/excel_res.bas b/migrationanalysis/src/driver_docs/sources/excel/excel_res.bas
index 55b7dc01b3a1..daa8327bd875 100644
--- a/migrationanalysis/src/driver_docs/sources/excel/excel_res.bas
+++ b/migrationanalysis/src/driver_docs/sources/excel/excel_res.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "excel_res"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: excel_res.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Public RID_RESXLT_COST_CHART_BarOfPie_Comment As String
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/ApplicationSpecific.bas b/migrationanalysis/src/driver_docs/sources/powerpoint/ApplicationSpecific.bas
index 0d18d13cbae5..c91444949a03 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/ApplicationSpecific.bas
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/ApplicationSpecific.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "ApplicationSpecific"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: ApplicationSpecific.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/Loader.bas b/migrationanalysis/src/driver_docs/sources/powerpoint/Loader.bas
index 2714aa181b4d..9ffc880ce9ae 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/Loader.bas
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/Loader.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "Loader"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Loader.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/MigrationAnalyser.cls b/migrationanalysis/src/driver_docs/sources/powerpoint/MigrationAnalyser.cls
index babc26ddf8ed..195f87d439a9 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/MigrationAnalyser.cls
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/MigrationAnalyser.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: MigrationAnalyser.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/Preparation.bas b/migrationanalysis/src/driver_docs/sources/powerpoint/Preparation.bas
index d5fa4a10b260..40454eb0bdd7 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/Preparation.bas
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/Preparation.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "Preparation"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Preparation.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/Slide1.cls b/migrationanalysis/src/driver_docs/sources/powerpoint/Slide1.cls
index 4cafcf4afab2..9f6d4bd13752 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/Slide1.cls
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/Slide1.cls
@@ -1,30 +1,28 @@
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Slide1.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/powerpoint/powerpoint_res.bas b/migrationanalysis/src/driver_docs/sources/powerpoint/powerpoint_res.bas
index 0aba1c6cf755..cddc6e508e22 100644
--- a/migrationanalysis/src/driver_docs/sources/powerpoint/powerpoint_res.bas
+++ b/migrationanalysis/src/driver_docs/sources/powerpoint/powerpoint_res.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "powerpoint_res"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: powerpoint_res.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Public RID_STR_PP_TRUE As String
diff --git a/migrationanalysis/src/driver_docs/sources/word/ApplicationSpecific.bas b/migrationanalysis/src/driver_docs/sources/word/ApplicationSpecific.bas
index 8ab02518c0f8..884c874230f6 100644
--- a/migrationanalysis/src/driver_docs/sources/word/ApplicationSpecific.bas
+++ b/migrationanalysis/src/driver_docs/sources/word/ApplicationSpecific.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "ApplicationSpecific"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: ApplicationSpecific.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls b/migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls
index d4093ffeec85..da95587ef5af 100644
--- a/migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls
+++ b/migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls
@@ -9,31 +9,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: MigrationAnalyser.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/word/Preparation.bas b/migrationanalysis/src/driver_docs/sources/word/Preparation.bas
index e1d6bc944896..11ec18ed7b94 100644
--- a/migrationanalysis/src/driver_docs/sources/word/Preparation.bas
+++ b/migrationanalysis/src/driver_docs/sources/word/Preparation.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "Preparation"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Preparation.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/driver_docs/sources/word/ThisDocument.cls b/migrationanalysis/src/driver_docs/sources/word/ThisDocument.cls
index e1ede6901870..a8547bd850ad 100644
--- a/migrationanalysis/src/driver_docs/sources/word/ThisDocument.cls
+++ b/migrationanalysis/src/driver_docs/sources/word/ThisDocument.cls
@@ -1,30 +1,28 @@
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: ThisDocument.cls,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Public wrdStrings As StringDataManager
diff --git a/migrationanalysis/src/driver_docs/sources/word/word_res.bas b/migrationanalysis/src/driver_docs/sources/word/word_res.bas
index 95176e9e4612..7356353e3fe2 100644
--- a/migrationanalysis/src/driver_docs/sources/word/word_res.bas
+++ b/migrationanalysis/src/driver_docs/sources/word/word_res.bas
@@ -1,31 +1,29 @@
Attribute VB_Name = "word_res"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: word_res.bas,v $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
'Word Strings
diff --git a/migrationanalysis/src/driver_docs/ulf2dat.pl b/migrationanalysis/src/driver_docs/ulf2dat.pl
index 129bcc9fb319..25b1fe2f7ebc 100644
--- a/migrationanalysis/src/driver_docs/ulf2dat.pl
+++ b/migrationanalysis/src/driver_docs/ulf2dat.pl
@@ -1,156 +1,153 @@
-:
-eval 'exec perl -wS $0 ${1+"$@"}'
- if 0;
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: ulf2dat.pl,v $
-# $Revision: 1.4.108.1 $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-
-#### 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";
-};
-
+:
+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.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#***********************************************************************/
+
+
+#### 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 437fd8d04299..a0ae86acbb47 100644
--- a/migrationanalysis/src/msokill/StdAfx.cpp
+++ b/migrationanalysis/src/msokill/StdAfx.cpp
@@ -1,37 +1,35 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: StdAfx.cpp,v $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// 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
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+// 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 7bbae51de8f5..a1826f7ce4a7 100644
--- a/migrationanalysis/src/msokill/StdAfx.h
+++ b/migrationanalysis/src/msokill/StdAfx.h
@@ -1,56 +1,54 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: StdAfx.h,v $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-/*
- *
- * 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_)
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+/*
+ *
+ * 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 349a1a59c395..918c7c4c7184 100644
--- a/migrationanalysis/src/msokill/makefile.mk
+++ b/migrationanalysis/src/msokill/makefile.mk
@@ -1,85 +1,83 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: makefile.mk,v $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-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) $@
-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+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 0b2e93768076..e848715d935e 100644
--- a/migrationanalysis/src/msokill/msokill.cpp
+++ b/migrationanalysis/src/msokill/msokill.cpp
@@ -1,261 +1,259 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: msokill.cpp,v $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-/*
- * 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");
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+/*
+ * 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 f94a9c2cf4d9..574f5b966844 100644
--- a/migrationanalysis/src/resources/makefile.mk
+++ b/migrationanalysis/src/resources/makefile.mk
@@ -1,61 +1,59 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: makefile.mk,v $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-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) $@
-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+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/Analyse.bas b/migrationanalysis/src/wizard/Analyse.bas
index b74838057e60..48c30ea9fcab 100644
--- a/migrationanalysis/src/wizard/Analyse.bas
+++ b/migrationanalysis/src/wizard/Analyse.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "Analyse"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Analyse.bas,v $
-' * $Revision: 1.2.66.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/CollectedFiles.cls b/migrationanalysis/src/wizard/CollectedFiles.cls
index bc7fbb2b279c..2dcc1a13e95c 100644
--- a/migrationanalysis/src/wizard/CollectedFiles.cls
+++ b/migrationanalysis/src/wizard/CollectedFiles.cls
@@ -13,32 +13,29 @@ Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: CollectedFiles.cls,v $
-' * $Revision: 1.9.66.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/Get Directory Dialog.bas b/migrationanalysis/src/wizard/Get Directory Dialog.bas
index 553283e7b90c..a4520bda67a0 100644
--- a/migrationanalysis/src/wizard/Get Directory Dialog.bas
+++ b/migrationanalysis/src/wizard/Get Directory Dialog.bas
@@ -3,13 +3,10 @@ Attribute VB_Name = "BrowseDirectorysOnly"
' *
' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
' *
-' * Copyright 2008 by Sun Microsystems, Inc.
+' * Copyright 2000, 2010 Oracle and/or its affiliates.
' *
' * OpenOffice.org - a multi-platform office productivity suite
' *
-' * $RCSfile: Get\040Directory\040Dialog.bas,v $
-' * $Revision: 1.5.148.1 $
-' *
' * This file is part of OpenOffice.org.
' *
' * OpenOffice.org is free software: you can redistribute it and/or modify
diff --git a/migrationanalysis/src/wizard/IniSupport.bas b/migrationanalysis/src/wizard/IniSupport.bas
index f14a7ad1ef5d..81347eccab56 100644
--- a/migrationanalysis/src/wizard/IniSupport.bas
+++ b/migrationanalysis/src/wizard/IniSupport.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "IniSupport"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: IniSupport.bas,v $
-' * $Revision: 1.6.148.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/LaunchDrivers.vbp b/migrationanalysis/src/wizard/LaunchDrivers.vbp
index 868a1d14ee00..ac94808700dd 100644
--- a/migrationanalysis/src/wizard/LaunchDrivers.vbp
+++ b/migrationanalysis/src/wizard/LaunchDrivers.vbp
@@ -21,7 +21,7 @@ RevisionVer=000
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="OpenOffice.org"
-VersionLegalCopyright="Copyright 2006-2008 Sun Microsystems, Inc."
+VersionLegalCopyright="Copyright 2000, 2010 Oracle and/or its affiliates."
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
diff --git a/migrationanalysis/src/wizard/Office10Issues.bas b/migrationanalysis/src/wizard/Office10Issues.bas
index bd65b7b9288c..11196a153290 100644
--- a/migrationanalysis/src/wizard/Office10Issues.bas
+++ b/migrationanalysis/src/wizard/Office10Issues.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "Office10Issues"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Office10Issues.bas,v $
-' * $Revision: 1.8.148.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
'Disable Option Explicit so this will compile on earlier Office versions
diff --git a/migrationanalysis/src/wizard/ProAnalysisWizard.vbp b/migrationanalysis/src/wizard/ProAnalysisWizard.vbp
index 99b320e839b6..982f96631d5a 100644
--- a/migrationanalysis/src/wizard/ProAnalysisWizard.vbp
+++ b/migrationanalysis/src/wizard/ProAnalysisWizard.vbp
@@ -41,7 +41,7 @@ ServerSupportFiles=0
VersionComments="A tool for analyzing issues and working around some of them when migrating documents from Microsoft Office"
VersionCompanyName="OpenOffice.org"
VersionFileDescription="ProAnalysisWizard.exe"
-VersionLegalCopyright="Copyright 2005-2008 Sun Microsystems, Inc."
+VersionLegalCopyright="Copyright 2000, 2010 Oracle and/or its affiliates."
VersionProductName="ProAnalysisWizard"
CondComp="VB5 = 1 : PREPARATION = 1"
CompilationType=-1
diff --git a/migrationanalysis/src/wizard/RunServer.bas b/migrationanalysis/src/wizard/RunServer.bas
index 310098345c73..9c8f4ab88184 100644
--- a/migrationanalysis/src/wizard/RunServer.bas
+++ b/migrationanalysis/src/wizard/RunServer.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "RunServer"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: RunServer.bas,v $
-' * $Revision: 1.2.66.2 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/Utilities.bas b/migrationanalysis/src/wizard/Utilities.bas
index 8db22755a55b..163435563c33 100644
--- a/migrationanalysis/src/wizard/Utilities.bas
+++ b/migrationanalysis/src/wizard/Utilities.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "Utilities"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Utilities.bas,v $
-' * $Revision: 1.11.66.1 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/Wizard.bas b/migrationanalysis/src/wizard/Wizard.bas
index 5f6b764c968d..93bd7a849178 100644
--- a/migrationanalysis/src/wizard/Wizard.bas
+++ b/migrationanalysis/src/wizard/Wizard.bas
@@ -1,32 +1,29 @@
Attribute VB_Name = "modWizard"
'/*************************************************************************
' *
-' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-' *
-' * Copyright 2008 by Sun Microsystems, Inc.
-' *
-' * OpenOffice.org - a multi-platform office productivity suite
-' *
-' * $RCSfile: Wizard.bas,v $
-' * $Revision: 1.28.66.2 $
-' *
-' * This file is part of OpenOffice.org.
-' *
-' * OpenOffice.org is free software: you can redistribute it and/or modify
-' * it under the terms of the GNU Lesser General Public License version 3
-' * only, as published by the Free Software Foundation.
-' *
-' * OpenOffice.org is distributed in the hope that it will be useful,
-' * but WITHOUT ANY WARRANTY; without even the implied warranty of
-' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-' * GNU Lesser General Public License version 3 for more details
-' * (a copy is included in the LICENSE file that accompanied this code).
-' *
-' * You should have received a copy of the GNU Lesser General Public License
-' * version 3 along with OpenOffice.org. If not, see
-' * <http://www.openoffice.org/license.html>
-' * for a copy of the LGPLv3 License.
-' *
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
' ************************************************************************/
Option Explicit
diff --git a/migrationanalysis/src/wizard/Wizard.frm b/migrationanalysis/src/wizard/Wizard.frm
index bdf08b91d04c..ebb955386c68 100644
--- a/migrationanalysis/src/wizard/Wizard.frm
+++ b/migrationanalysis/src/wizard/Wizard.frm
@@ -1339,13 +1339,8 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' *******************************************************************************
-' * $RCSfile: Wizard.frm,v $
' *
-' * Description:
-' *
-' * Last change: $Date: 2008/10/07 11:35:55 $ $Revision: 1.42.66.2 $
-' *
-' * Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use of this
+' * Copyright 2000, 2010 Oracle and/or its affiliates. All rights reserved. Use of this
' * product is subject to license terms.
' *
' *******************************************************************************
diff --git a/migrationanalysis/src/wizard/makefile.mk b/migrationanalysis/src/wizard/makefile.mk
index eee2461ccf5b..f421379a6aa3 100644
--- a/migrationanalysis/src/wizard/makefile.mk
+++ b/migrationanalysis/src/wizard/makefile.mk
@@ -1,118 +1,116 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: makefile.mk,v $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-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)
-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+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)
+