@@ -, +, @@
---
main/configure.in | 14 +-
main/default_images/minimizer/opt_16.png | Bin 4033 -> 0 bytes
main/default_images/minimizer/opt_16_h.png | Bin 3683 -> 0 bytes
main/default_images/minimizer/opt_26.png | Bin 4401 -> 0 bytes
main/default_images/minimizer/opt_26_h.png | Bin 3845 -> 0 bytes
.../commandimagelist/lc_presentationminimizer.png | Bin 0 -> 4401 bytes
.../commandimagelist/lch_presentationminimizer.png | Bin 0 -> 3845 bytes
.../commandimagelist/sc_presentationminimizer.png | Bin 0 -> 4033 bytes
.../commandimagelist/sch_presentationminimizer.png | Bin 0 -> 3683 bytes
main/extensions.lst | 6 -
main/helpcontent2/prj/build.lst | 19 +-
main/helpcontent2/source/text/simpress/makefile.mk | 2 +-
.../source/text/simpress/minimizer/infobox.xhp | 44 ++
.../source/text/simpress/minimizer/main.xhp | 77 ++++
.../source/text/simpress/minimizer/makefile.mk | 56 +++
.../source/text/simpress/minimizer/shared.xhp | 37 ++
.../source/text/simpress/minimizer/step1.xhp | 52 +++
.../source/text/simpress/minimizer/step2.xhp | 62 +++
.../source/text/simpress/minimizer/step3.xhp | 67 +++
.../source/text/simpress/minimizer/step4.xhp | 55 +++
.../source/text/simpress/minimizer/step5.xhp | 56 +++
main/helpcontent2/util/simpress/makefile.mk | 7 +
.../data/org/openoffice/Office/Impress.xcu | 170 ++++++++
.../openoffice/Office/UI/DrawImpressCommands.xcu | 8 +
.../schema/org/openoffice/Office/Impress.xcs | 127 ++++++
main/postprocess/packcomponents/makefile.mk | 3 +-
main/postprocess/prj/build.lst | 2 +-
main/scp2/source/ooo/file_library_ooo.scp | 13 +
main/scp2/source/ooo/file_resource_ooo.scp | 2 +
main/scp2/source/ooo/module_hidden_ooo.scp | 1 +
main/scp2/source/ooo/module_lang_template.scp | 3 +-
main/sd/inc/app.hrc | 1 +
main/sd/sdi/drviewsh.sdi | 5 +
main/sd/sdi/sdraw.sdi | 25 ++
main/sd/source/ui/view/drviewse.cxx | 30 ++
main/sd/uiconfig/simpress/menubar/menubar.xml | 1 +
main/sdext/prj/build.lst | 4 +-
main/sdext/prj/d.lst | 26 +-
.../minimizer/PresentationMinimizer.component | 30 ++
.../sdext/source/minimizer/configurationaccess.cxx | 198 +++++++---
.../sdext/source/minimizer/configurationaccess.hxx | 18 +-
main/sdext/source/minimizer/delzip | 1 -
main/sdext/source/minimizer/description.xml | 58 ---
main/sdext/source/minimizer/fileopendialog.cxx | 36 ++-
main/sdext/source/minimizer/fileopendialog.hxx | 6 +-
main/sdext/source/minimizer/graphiccollector.cxx | 61 ++--
main/sdext/source/minimizer/graphiccollector.hxx | 6 +-
main/sdext/source/minimizer/help/component.txt | 2 -
main/sdext/source/minimizer/help/help_de.odt | Bin 8987 -> 0 bytes
main/sdext/source/minimizer/help/help_en-US.odt | Bin 8987 -> 0 bytes
main/sdext/source/minimizer/helpid.hrc | 57 +++
main/sdext/source/minimizer/impoptimizer.cxx | 93 +++--
main/sdext/source/minimizer/impoptimizer.hxx | 9 +-
main/sdext/source/minimizer/informationdialog.cxx | 225 +++++++----
main/sdext/source/minimizer/informationdialog.hxx | 83 +++--
main/sdext/source/minimizer/makefile.mk | 158 +++-----
main/sdext/source/minimizer/manifest.xml | 36 --
main/sdext/source/minimizer/minimizer.hrc | 95 +++++
main/sdext/source/minimizer/minimizer.pmk | 24 --
main/sdext/source/minimizer/minimizer.src | 379 +++++++++++++++++
main/sdext/source/minimizer/optimizationstats.cxx | 3 +-
main/sdext/source/minimizer/optimizerdialog.cxx | 438 +++++++++-----------
main/sdext/source/minimizer/optimizerdialog.hxx | 260 +++++-------
.../source/minimizer/optimizerdialogcontrols.cxx | 289 ++++++++-----
main/sdext/source/minimizer/pagecollector.cxx | 3 +-
main/sdext/source/minimizer/pppoptimizer.cxx | 16 +-
main/sdext/source/minimizer/pppoptimizer.hxx | 4 +-
main/sdext/source/minimizer/pppoptimizerdialog.cxx | 204 +++++-----
main/sdext/source/minimizer/pppoptimizerdialog.hxx | 51 +--
main/sdext/source/minimizer/pppoptimizertoken.cxx | 15 +-
main/sdext/source/minimizer/pppoptimizertoken.hxx | 13 +-
main/sdext/source/minimizer/pppoptimizeruno.cxx | 124 ++----
.../registry/data/org/openoffice/Office/Addons.xcu | 86 ----
.../data/org/openoffice/Office/ProtocolHandler.xcu | 31 --
.../Office/extension/SunPresentationMinimizer.xcu | 404 ------------------
.../org/openoffice/Office/extension/makefile.mk | 46 --
.../data/org/openoffice/Office/makefile.mk | 44 --
.../Office/extension/SunPresentationMinimizer.xcs | 346 ----------------
main/sdext/source/minimizer/unodialog.cxx | 119 ++++--
main/sdext/source/minimizer/unodialog.hxx | 46 +--
main/set_soenv.in | 1 -
81 files changed, 2793 insertions(+), 2300 deletions(-)
delete mode 100644 main/default_images/minimizer/opt_16.png
delete mode 100644 main/default_images/minimizer/opt_16_h.png
delete mode 100644 main/default_images/minimizer/opt_26.png
delete mode 100644 main/default_images/minimizer/opt_26_h.png
create mode 100644 main/default_images/res/commandimagelist/lc_presentationminimizer.png
create mode 100644 main/default_images/res/commandimagelist/lch_presentationminimizer.png
create mode 100644 main/default_images/res/commandimagelist/sc_presentationminimizer.png
create mode 100644 main/default_images/res/commandimagelist/sch_presentationminimizer.png
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/infobox.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/main.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/makefile.mk
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/shared.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/step1.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/step2.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/step3.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/step4.xhp
create mode 100644 main/helpcontent2/source/text/simpress/minimizer/step5.xhp
create mode 100644 main/sdext/source/minimizer/PresentationMinimizer.component
delete mode 100644 main/sdext/source/minimizer/delzip
delete mode 100644 main/sdext/source/minimizer/description.xml
delete mode 100644 main/sdext/source/minimizer/help/component.txt
delete mode 100644 main/sdext/source/minimizer/help/help_de.odt
delete mode 100644 main/sdext/source/minimizer/help/help_en-US.odt
create mode 100644 main/sdext/source/minimizer/helpid.hrc
delete mode 100644 main/sdext/source/minimizer/manifest.xml
create mode 100644 main/sdext/source/minimizer/minimizer.hrc
delete mode 100644 main/sdext/source/minimizer/minimizer.pmk
create mode 100644 main/sdext/source/minimizer/minimizer.src
delete mode 100644 main/sdext/source/minimizer/registry/data/org/openoffice/Office/Addons.xcu
delete mode 100644 main/sdext/source/minimizer/registry/data/org/openoffice/Office/ProtocolHandler.xcu
delete mode 100644 main/sdext/source/minimizer/registry/data/org/openoffice/Office/extension/SunPresentationMinimizer.xcu
delete mode 100644 main/sdext/source/minimizer/registry/data/org/openoffice/Office/extension/makefile.mk
delete mode 100644 main/sdext/source/minimizer/registry/data/org/openoffice/Office/makefile.mk
delete mode 100644 main/sdext/source/minimizer/registry/schema/org/openoffice/Office/extension/SunPresentationMinimizer.xcs
--- a/main/configure.in
+++ a/main/configure.in
@@ -519,9 +519,6 @@ AC_ARG_WITH(beanshell-jar,
[ --with-beanshell-jar=JARFILE Specify path to jarfile manually ],
[ BSH_JAR="$withval"
])
-AC_ARG_ENABLE(minimizer,
-[ --enable-minimizer enables the build of the Presentation Minimizer extension
-],,)
AC_ARG_ENABLE(presenter-screen,
[ --enable-presenter-screen enables the build of the Presenter Screen extension
],,)
@@ -6413,15 +6410,6 @@ fi
AC_SUBST(ENABLE_OPENGL)
-AC_MSG_CHECKING([whether to build the Presentation Minimizer extension])
-if test -n "$enable_minimizer" -a "$enable_minimizer" != "no"; then
- AC_MSG_RESULT([yes])
- ENABLE_MINIMIZER=YES
-else
- AC_MSG_RESULT([no])
- ENABLE_MINIMIZER=NO
-fi
-AC_SUBST(ENABLE_MINIMIZER)
AC_MSG_CHECKING([whether to build the Presenter Screen extension])
if test -n "$enable_presenter_screen" -a "$enable_presenter_screen" != "no"; then
@@ -6461,7 +6449,7 @@ AC_SUBST(SYSTEM_POPPLER)
AC_SUBST(POPPLER_CFLAGS)
AC_SUBST(POPPLER_LIBS)
-if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
+if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
AC_MSG_CHECKING([for sdext module])
if test -d ./sdext; then
AC_MSG_RESULT([OK])
--- a/main/extensions.lst
+++ a/main/extensions.lst
@@ -37,12 +37,6 @@
[ language=all && ENABLE_PRESENTER_SCREEN=YES ]
file://presenter/presenter-screen.oxt
-# the presentation minimizer
-[ language=all && ENABLE_MINIMIZER=YES ]
- file://minimizer/presentation-minimizer.oxt
-
-
-
# English dictionary
[ language=en.* || language=de || language=it ]
b7ce02d25eb302e5b23572cdccaea461 http://numbertext.org/tmp/dict-en.oxt
--- a/main/helpcontent2/prj/build.lst
+++ a/main/helpcontent2/prj/build.lst
@@ -40,6 +40,7 @@ h2 helpcontent2\source\text\simpress\01 nmake - all helpconten
h2 helpcontent2\source\text\simpress\02 nmake - all helpcontent2_simp_02 helpcontent2_aux NULL
h2 helpcontent2\source\text\simpress\04 nmake - all helpcontent2_simp_04 helpcontent2_aux NULL
h2 helpcontent2\source\text\simpress\guide nmake - all helpcontent2_simp_guid helpcontent2_aux NULL
+h2 helpcontent2\source\text\simpress\minimizer nmake - all helpcontent2_simp_mini helpcontent2_aux NULL
h2 helpcontent2\source\text\smath nmake - all helpcontent2_smat helpcontent2_aux NULL
h2 helpcontent2\source\text\smath\00 nmake - all helpcontent2_smat_00 helpcontent2_aux NULL
h2 helpcontent2\source\text\smath\01 nmake - all helpcontent2_smat_01 helpcontent2_aux NULL
@@ -52,13 +53,13 @@ h2 helpcontent2\source\text\swriter\01 nmake - all helpconten
h2 helpcontent2\source\text\swriter\02 nmake - all helpcontent2_swri_02 helpcontent2_aux NULL
h2 helpcontent2\source\text\swriter\04 nmake - all helpcontent2_swri_04 helpcontent2_aux NULL
h2 helpcontent2\source\text\swriter\guide nmake - all helpcontent2_swri_guid helpcontent2_aux NULL
-h2 helpcontent2\util\sbasic nmake - all helpcontent2_ut_sbas helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\schart nmake - all helpcontent2_ut_scha helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\scalc nmake - all helpcontent2_ut_scal helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\sdraw nmake - all helpcontent2_ut_sdra helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\sdatabase nmake - all helpcontent2_ut_sdat helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\shared nmake - all helpcontent2_ut_shar helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\simpress nmake - all helpcontent2_ut_simp helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\smath nmake - all helpcontent2_ut_smat helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
-h2 helpcontent2\util\swriter nmake - all helpcontent2_ut_swri helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\sbasic nmake - all helpcontent2_ut_sbas helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\schart nmake - all helpcontent2_ut_scha helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\scalc nmake - all helpcontent2_ut_scal helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\sdraw nmake - all helpcontent2_ut_sdra helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\sdatabase nmake - all helpcontent2_ut_sdat helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\shared nmake - all helpcontent2_ut_shar helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\simpress nmake - all helpcontent2_ut_simp helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\smath nmake - all helpcontent2_ut_smat helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
+h2 helpcontent2\util\swriter nmake - all helpcontent2_ut_swri helpcontent2_aux helpcontent2_sbas_guid helpcontent2_sbas_shar helpcontent2_sbas_shar_01 helpcontent2_sbas_shar_02 helpcontent2_scal helpcontent2_scal_00 helpcontent2_scal_01 helpcontent2_scal_02 helpcontent2_scal_04 helpcontent2_scal_05 helpcontent2_scal_guid helpcontent2_scha helpcontent2_scha_00 helpcontent2_scha_01 helpcontent2_scha_02 helpcontent2_scha_04 helpcontent2_sdra helpcontent2_sdra_00 helpcontent2_sdra_01 helpcontent2_sdra_04 helpcontent2_sdra_guid helpcontent2_shar helpcontent2_shar_00 helpcontent2_shar_01 helpcontent2_shar_02 helpcontent2_shar_04 helpcontent2_shar_05 helpcontent2_shar_07 helpcontent2_shar_auko helpcontent2_shar_aupi helpcontent2_shar_expl_data helpcontent2_shar_guid helpcontent2_shar_opti helpcontent2_simp helpcontent2_simp_00 helpcontent2_simp_01 helpcontent2_simp_02 helpcontent2_simp_04 helpcontent2_simp_guid helpcontent2_simp_mini helpcontent2_smat helpcontent2_smat_00 helpcontent2_smat_01 helpcontent2_smat_02 helpcontent2_smat_04 helpcontent2_smat_guid helpcontent2_swri helpcontent2_swri_00 helpcontent2_swri_01 helpcontent2_swri_02 helpcontent2_swri_04 helpcontent2_swri_guid NULL
h2 helpcontent2\source\auxiliary nmake - all helpcontent2_aux NULL
--- a/main/helpcontent2/source/text/simpress/makefile.mk
+++ a/main/helpcontent2/source/text/simpress/makefile.mk
@@ -62,7 +62,7 @@ XHPFILES = \
main0212.xhp \
main0213.xhp \
main0214.xhp \
- main0503.xhp
+ main0503.xhp
# --- Targets ------------------------------------------------------
--- a/main/helpcontent2/source/text/simpress/minimizer/infobox.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/infobox.xhp
@@ -0,0 +1,44 @@
+
+
+
+
+
+ Presentation Minimizer - Result
+ /text/simpress/minimizer/infobox.xhp
+
+
+
+
+
+
+ Presentation Minimizer - Result
+ Shows the result of the optimization process.
+
+
+
+
+ Open the copy of this presentation where the changes where applied.
+
+ Go to Presentation Minimizer Wizard
+
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/main.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/main.xhp
@@ -0,0 +1,77 @@
+
+
+
+
+
+ Presentation Minimizer
+ /text/simpress/minimizer/main.xhp
+
+
+
+
+
+ presentations; optimize file size
+ Presentation Minimizer
+
+
+ Presentation Minimizer
+ Opens the Presentation Minimizer wizards, where you can optimize the size of %PRODUCTNAME Impress files, by compresing large images, reducing cropped areas, removing unused master pages, etc.
+
+
+
+ The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed and data, that is no longer needed, will be removed.
+ At the last step of the wizard you can choose to apply the changes to the current presentation or to create an optimized new version of the presentation.
+
+
+
+
+
+
+
+
+
+
+ Help
+ Open the Online Help for this Wizard.
+
+
+ Back
+ Returns to the selections made on the previous page. The current settings remain in effect. This button only becomes active after the first page.
+
+
+ Next
+ The wizard saves the current settings and goes to the next page. Once you reach the last page, this button will become inactive.
+
+
+ Finish
+ According to your selections, the wizard creates a document template and saves it on your hard disk. A new document based on the template appears in the work area, with the filename "UntitledX" (X stands for an automatic number).
+
+
+
+ $[officename] saves the current settings in the wizard according to the selected document template. These will be used as the default settings the next time you activate the wizard.
+
+
+ Dialog ID here, below any <avis> tags (else the tagged text will be shown on the buttons)
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/makefile.mk
+++ a/main/helpcontent2/source/text/simpress/minimizer/makefile.mk
@@ -0,0 +1,56 @@
+#**************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#**************************************************************
+
+
+
+# edit to match directory level
+PRJ=..$/..$/..$/..
+# same for all makefiles in "helpcontent2"
+PRJNAME = helpcontent2
+# edit to match the current package
+PACKAGE = text/simpress/minimizer
+# uniqe name (module wide);
+# using a modified form of package should do here
+TARGET = text_simpress_minimizer
+# edit to match the current module
+MODULE = simpress
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/settings.pmk
+
+# this list matches the *.xhp files to process
+XHPFILES = \
+ main.xhp \
+ step1.xhp \
+ step2.xhp \
+ step3.xhp \
+ step4.xhp \
+ step5.xhp \
+ infobox.xhp \
+ shared.xhp \
+
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : tg_help.mk
--- a/main/helpcontent2/source/text/simpress/minimizer/shared.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/shared.xhp
@@ -0,0 +1,37 @@
+
+
+
+
+
+ Shared content for the Presentation Minimizer Wizard
+ /text/simpress/minimizer/shared.xhp
+
+
+
+ Choose Tools - Presentation Minimizer...
+ Choose Tools - Presentation Minimizer... - Introduction
+ Choose Tools - Presentation Minimizer... - Slides
+ Choose Tools - Presentation Minimizer... - Graphics
+ Choose Tools - Presentation Minimizer... - OLE Objects
+ Choose Tools - Presentation Minimizer... - Summary
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/step1.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/step1.xhp
@@ -0,0 +1,52 @@
+
+
+
+
+
+ Presentation Minimizer - Introduction
+ /text/simpress/minimizer/step1.xhp
+
+
+
+
+
+ Presentation Minimizer - Introduction
+ In this step you can select the settings of the wizard that you have stored previously.
+
+
+
+
+
+ Choose settings for Presentation Minimizer
+ This list box contains a list of all available wizard settings. Choose one to apply the settings to the wizard options.
+
+
+ Delete
+ Delete the wizard settings currently selected on the list box.
+
+
+ Go to Presentation Minimizer - Slides
+
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/step2.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/step2.xhp
@@ -0,0 +1,62 @@
+
+
+
+
+
+ Presentation Minimizer - Slides
+ /text/simpress/minimizer/step2.xhp
+
+
+
+
+
+
+ Presentation Minimizer - Slides
+ Choose which slides to delete.
+
+
+
+
+ Delete unused master pages
+ Delete unused master pages.
+
+
+ Delete hidden slides
+ Delete hidden slides.
+
+
+ Delete slides that are not used for the custom slide show
+ Delete slides that are not used for the custom slide show.
+
+
+ This list box displays all slides that are not used in the custom slide show.
+
+
+ Clear notes
+ Clear the contents of all notes.
+
+ Go to Presentation Minimizer - Graphics
+
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/step3.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/step3.xhp
@@ -0,0 +1,67 @@
+
+
+
+
+
+ Presentation Minimizer - Graphics
+ /text/simpress/minimizer/step3.xhp
+
+
+
+
+
+
+ Presentation Minimizer - Graphics
+ Choose settings for optimizing pictures and graphics.
+
+
+
+
+ Lossless compression
+ Lossless compression.
+
+
+ JPEG compression
+ Compress JPEG graphics.
+
+
+ Quality in percent
+ Specify the quality of the compression. A higher value means less compression.
+
+
+ Reduce image resolution
+ Specify the image resolution in DPI (dots per inch).
+
+
+ Delete cropped graphic areas
+ Delete cropped graphic areas from the graphics.
+
+
+ Break links to external graphics
+ Break all links to external graphics.
+
+ Go to Presentation Minimizer - OLE Objects
+
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/step4.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/step4.xhp
@@ -0,0 +1,55 @@
+
+
+
+
+
+ Presentation Minimizer - OLE Objects
+ /text/simpress/minimizer/step4.xhp
+
+
+
+
+
+
+ Presentation Minimizer - OLE Objects
+ Choose settings for replacing OLE objects.
+
+
+
+
+ Create static replacement graphics for OLE objects
+ Replace OLE object with a static graphic.
+
+
+ For all OLE objects
+ Replace all OLE objects with a static graphic.
+
+
+ For OLE objects not based on OpenDocument format
+ Replace only OLE objects not based on the Open Document Format used by %PRODUCTNAME.
+
+ Go to Presentation Minimizer - Summary
+
+
+
--- a/main/helpcontent2/source/text/simpress/minimizer/step5.xhp
+++ a/main/helpcontent2/source/text/simpress/minimizer/step5.xhp
@@ -0,0 +1,56 @@
+
+
+
+
+
+ Presentation Minimizer - Summary
+ /text/simpress/minimizer/step5.xhp
+
+
+
+
+
+
+ Presentation Minimizer - Summary
+ Choose where to apply the following changes.
+
+
+
+
+ Apply changes to current presentation
+ Apply the changes to the current presentation.
+
+
+ Duplicate presentation before applying changes
+ Create a copy of the current presentation, and apply the changes only to this copy.
+
+
+ Save settings as
+ Apply the changes to the current presentation.
+
+
+ Enter the name of the settings to be stored.
+ Go to Presentation Minimizer Wizard
+
+
--- a/main/helpcontent2/util/simpress/makefile.mk
+++ a/main/helpcontent2/util/simpress/makefile.mk
@@ -269,6 +269,13 @@ LINKLINKFILES= \
text$/simpress$/guide$/table_insert.xhp \
text$/simpress$/guide$/text2curve.xhp \
text$/simpress$/guide$/vectorize.xhp \
+ text$/simpress$/minimizer$/main.xhp \
+ text$/simpress$/minimizer$/step1.xhp \
+ text$/simpress$/minimizer$/step2.xhp \
+ text$/simpress$/minimizer$/step3.xhp \
+ text$/simpress$/minimizer$/step4.xhp \
+ text$/simpress$/minimizer$/step5.xhp \
+ text$/simpress$/minimizer$/infobox.xhp \
text$/simpress$/main0000.xhp \
text$/simpress$/main0100.xhp \
text$/simpress$/main0101.xhp \
--- a/main/officecfg/registry/data/org/openoffice/Office/Impress.xcu
+++ a/main/officecfg/registry/data/org/openoffice/Office/Impress.xcu
@@ -159,4 +159,174 @@
vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml
+
+
+
+ Projector optimized
+
+
+ true
+
+
+ 50
+
+
+ true
+
+
+ 150
+
+
+ true
+
+
+ true
+
+
+ 0
+
+
+ true
+
+
+ true
+
+
+ false
+
+
+ true
+
+
+ true
+
+
+
+
+
+
+ Screen optimized (smallest file size)
+
+
+ true
+
+
+ 25
+
+
+ true
+
+
+ 90
+
+
+ true
+
+
+ true
+
+
+ 0
+
+
+ true
+
+
+ true
+
+
+ false
+
+
+ true
+
+
+ true
+
+
+
+
+ Projector optimized
+
+
+ true
+
+
+ 50
+
+
+ true
+
+
+ 150
+
+
+ true
+
+
+ true
+
+
+ 0
+
+
+ true
+
+
+ true
+
+
+ false
+
+
+ true
+
+
+ true
+
+
+
+
+ Print optimized
+
+
+ true
+
+
+ 75
+
+
+ true
+
+
+ 300
+
+
+ true
+
+
+ true
+
+
+ 0
+
+
+ true
+
+
+ true
+
+
+ false
+
+
+ true
+
+
+ true
+
+
+
+
+
--- a/main/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
+++ a/main/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
@@ -1279,6 +1279,14 @@
1
+
+
+ Minimize Presentation...
+
+
+ 1
+
+
Black and White
--- a/main/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
+++ a/main/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
@@ -86,6 +86,113 @@
+
+
+ Describes the Presentation Optimization Wizard settings of one session
+
+
+
+ Specifies the name settings name
+
+ Default
+
+
+
+ Specifies if JPEG compression is being used
+
+ true
+
+
+
+ Specifies quality of the JPG export. A higher value results in higher quality and file size.
+
+
+
+
+ Represents lowest value that can be used. The lower the value, the less good is the compression quality and the bigger is be the file size.
+
+
+
+
+ Represents highest value that can be used. The higher the value, the better is the compression quality and the smaller is the file size.
+
+
+
+ 45
+
+
+
+ Specifies if the crop area of a picture has to be removed
+
+ true
+
+
+
+ Specifies the Image Resolution that should be used in dpi. A value of zero determines that the image resolution should not be changed.
+
+ 150
+
+
+
+ Specifies if linked graphics are to be embedded
+
+ true
+
+
+
+ Specifies if OLE Objects are converted to Graphic objects at all
+
+ true
+
+
+
+ Specifies the compression type that is being used,.
+
+
+
+
+ Each
+
+
+
+
+ Alien
+
+
+
+ 0
+
+
+
+ Specifies if unused Master Pages are being deleted
+
+ true
+
+
+
+ Specifies if hidden Slides are being deleted
+
+ true
+
+
+
+ Specifies if Notes Pages are being deleted
+
+ false
+
+
+
+ Specifies if the optimization is done on a new document.
+
+ true
+
+
+
+ Specifies if the newly created document is opened automatically.
+
+ true
+
+
@@ -1535,5 +1642,25 @@
+
+
+ Contains configuration for the Presentation Minimizer.
+
+
+
+ describes the name of the last used settings
+
+
+
+
+ The PresentationMinimizer settings
+
+
+
+ List of the saved Presentation Minimizer Wizard settings
+
+
+
+
--- a/main/postprocess/packcomponents/makefile.mk
+++ a/main/postprocess/packcomponents/makefile.mk
@@ -174,7 +174,8 @@ my_components = \
xmlfd \
xmx \
xsltdlg \
- xstor
+ xstor \
+ PresentationMinimizer
.IF "$(OS)" == "MACOSX"
my_components += component/vcl/vcl.macosx
--- a/main/postprocess/prj/build.lst
+++ a/main/postprocess/prj/build.lst
@@ -1,4 +1,4 @@
-po postprocess :: svgio accessibility automation basctl bean BINFILTER:binfilter chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign SDEXT:sdext SWEXT:swext smoketestdoc uui writerfilter oox MYSQLC:mysqlc LIBXSLT:libxslt NULL
+po postprocess :: svgio accessibility automation basctl bean BINFILTER:binfilter chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign sdext SWEXT:swext smoketestdoc uui writerfilter oox MYSQLC:mysqlc LIBXSLT:libxslt NULL
po postprocess usr1 - all po_mkout NULL
po postprocess\checkxml nmake - all po_checkxml NULL
po postprocess\checkdeliver nmake - all po_checkdlv NULL
--- a/main/scp2/source/ooo/file_library_ooo.scp
+++ a/main/scp2/source/ooo/file_library_ooo.scp
@@ -1337,6 +1337,19 @@ File gid_File_Lib_Slideshow
#endif
End
+File gid_File_Lib_PresentationMinimizer
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = SCP2_OOO_BIN_DIR;
+ #ifdef UNX
+ Name = STRING(CONCAT2(PresentationMinimizer.uno,UNXSUFFIX));
+ #elif defined OS2
+ Name = "PresentationMinimizer.dll";
+ #else
+ Name = "PresentationMinimizer.uno.dll";
+ #endif
+End
+
File gid_File_Lib_Sdbc_2
TXT_FILE_BODY;
Styles = (PACKED);
--- a/main/scp2/source/ooo/file_resource_ooo.scp
+++ a/main/scp2/source/ooo/file_resource_ooo.scp
@@ -126,3 +126,5 @@ STD_RES_FILE( gid_File_Res_T602Filter, t602filter )
STD_RES_FILE( gid_File_Res_Forui, forui )
STD_RES_FILE( gid_File_Res_For, for )
+STD_RES_FILE( gid_File_Res_PresentationMinimizer, minimizer )
+
--- a/main/scp2/source/ooo/module_hidden_ooo.scp
+++ a/main/scp2/source/ooo/module_hidden_ooo.scp
@@ -338,6 +338,7 @@ Module gid_Module_Root_Files_5
gid_File_Lib_Sax_Uno,
gid_File_Lib_Fastsax_Uno,
gid_File_Lib_Slideshow,
+ gid_File_Lib_PresentationMinimizer
gid_File_Lib_Recentfile,
gid_File_Lib_Scriptframe,
gid_File_Lib_Sdbc_2,
--- a/main/scp2/source/ooo/module_lang_template.scp
+++ a/main/scp2/source/ooo/module_lang_template.scp
@@ -102,7 +102,8 @@ Module gid_Module_Langpack_Resource_Template
gid_File_Res_Tfu,
gid_File_Res_Eps,
gid_File_Res_UpdChk,
- gid_File_Res_Upd);
+ gid_File_Res_Upd,
+ gid_File_Res_PresentationMinimizer);
End
Module gid_Module_Langpack_Help_Template
--- a/main/sd/inc/app.hrc
+++ a/main/sd/inc/app.hrc
@@ -503,5 +503,6 @@
#define SID_ADD_MOTION_PATH (SID_SD_START+441)
#define SID_TABLE_TOOLBOX (SID_SD_START+442)
+#define SID_PRESENTATION_MINIMIZER (SID_SD_START+442)
#endif
--- a/main/sd/sdi/drviewsh.sdi
+++ a/main/sd/sdi/drviewsh.sdi
@@ -75,6 +75,11 @@ interface ImpressEditView : DrawView
ExecMethod = FuSupport ;
StateMethod = GetMenuState ;
]
+ SID_PRESENTATION_MINIMIZER
+ [
+ ExecMethod = FuSupport ;
+ StateMethod = GetMenuState ;
+ ]
SID_CLEAR_UNDO_STACK // ole : no, status : ?
[
ExecMethod = FuSupport ;
--- a/main/sd/sdi/sdraw.sdi
+++ a/main/sd/sdi/sdraw.sdi
@@ -5385,6 +5385,31 @@ SfxVoidItem PresentationDialog SID_PRESENTATION_DLG
]
//--------------------------------------------------------------------------
+SfxVoidItem PresentationMinimizer SID_PRESENTATION_MINIMIZER
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = TRUE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Asynchron;
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_APPLICATION;
+]
+
+//--------------------------------------------------------------------------
SfxVoidItem PresentationEnd SID_PRESENTATION_END
()
[
--- a/main/sd/source/ui/view/drviewse.cxx
+++ a/main/sd/source/ui/view/drviewse.cxx
@@ -29,6 +29,7 @@
#include
#include
#include
+#include
#include
@@ -102,6 +103,7 @@
#include "fuformatpaintbrush.hxx"
using ::rtl::OUString;
+using com::sun::star::ui::dialogs::XExecutableDialog;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::presentation;
@@ -1472,6 +1474,34 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
}
break;
+ case SID_PRESENTATION_MINIMIZER:
+ {
+ if ( GetDoc()->GetDocumentType() == DOCUMENT_TYPE_IMPRESS &&
+ GetViewShellBase().GetController() != NULL )
+ {
+ try
+ {
+ uno::Reference< uno::XComponentContext > xContext(
+ ::comphelper::getProcessComponentContext() );
+ uno::Sequence< uno::Any > aArgs(1);
+ aArgs[0] <<= GetViewShellBase().GetController();
+
+ uno::Reference< XExecutableDialog > xDialog(
+ xContext->getServiceManager()->
+ createInstanceWithArgumentsAndContext(
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.ui.dialogs.PresentationMinimizerDialog")),
+ aArgs, xContext), uno::UNO_QUERY_THROW );
+ xDialog->execute();
+ }
+ catch (...)
+ {}
+ }
+
+ rReq.Done();
+ }
+ break;
+
default:
break;
}
--- a/main/sd/uiconfig/simpress/menubar/menubar.xml
+++ a/main/sd/uiconfig/simpress/menubar/menubar.xml
@@ -270,6 +270,7 @@
+
--- a/main/sdext/prj/build.lst
+++ a/main/sdext/prj/build.lst
@@ -1,9 +1,7 @@
dx sdext : L10N:l10n offuh comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg LIBXSLT:libxslt xmlhelp NULL
dx sdext usr1 - all sdext_mkout NULL
dx sdext\prj get - all sdext_prj NULL
-dx sdext\source\minimizer nmake - all sdext_minimizer sdext_minimizer_rdoooe sdext_minimizer_rdooo sdext_inc NULL
-dx sdext\source\minimizer\registry\data\org\openoffice\Office\extension nmake - all sdext_minimizer_rdoooe NULL
-dx sdext\source\minimizer\registry\data\org\openoffice\Office nmake - all sdext_minimizer_rdooo NULL
+dx sdext\source\minimizer nmake - all sdext_minimizer sdext_inc NULL
dx sdext\source\presenter\registry\data\org\openoffice\Office\extension nmake - all sdext_presenter_xcu NULL
dx sdext\source\presenter\help\en-US\com.sun.PresenterScreen nmake - all sdext_presenter_help NULL
dx sdext\source\presenter nmake - all sdext_presenter sdext_inc sdext_presenter_xcu sdext_presenter_help NULL
--- a/main/sdext/prj/d.lst
+++ a/main/sdext/prj/d.lst
@@ -1,10 +1,30 @@
-mkdir: %_DEST%\bin%_EXT%\minimizer
mkdir: %_DEST%\bin%_EXT%\presenter
mkdir: %_DEST%\bin%_EXT%\pdfimport
..\%__SRC%\bin\pdf2xml.* %_DEST%\bin%_EXT%\pdf2xml.*
..\%__SRC%\bin\pdfunzip.* %_DEST%\bin%_EXT%\pdfunzip.*
..\%__SRC%\bin\pdfimport.oxt %_DEST%\bin%_EXT%\pdfimport\pdfimport.oxt
-..\%__SRC%\bin\presentation-minimizer.oxt %_DEST%\bin%_EXT%\minimizer\presentation-minimizer.oxt
-..\%__SRC%\bin\presentation_minimizer_develop.zip %_DEST%\bin%_EXT%\minimizer\presentation_minimizer_develop.zip
..\%__SRC%\bin\presenter-screen.oxt %_DEST%\bin%_EXT%\presenter\presenter-screen.oxt
..\%__SRC%\bin\presenter-screen_develop.zip %_DEST%\bin%_EXT%\presenter\presenter-screen_develop.zip
+
+
+
+mkdir: %COMMON_DEST%\res%_EXT%
+..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res
+
+mkdir: %_DEST%\xml%_EXT%
+mkdir: %_DEST%\xml%_EXT%\registry
+mkdir: %_DEST%\xml%_EXT%\registry\spool
+mkdir: %_DEST%\xml%_EXT%\registry\spool\org
+mkdir: %_DEST%\xml%_EXT%\registry\spool\org\openoffice
+mkdir: %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office
+mkdir: %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\Addons
+mkdir: %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\ProtocolHandler
+
+..\%__SRC%\misc\registry\spool\org\openoffice\Office\Addons\*.xcu %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\Addons
+..\%__SRC%\misc\registry\spool\org\openoffice\Office\ProtocolHandler\*.xcu %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\ProtocolHandler
+
+mkdir: %_DEST%\xml%_EXT%
+..\%__SRC%\misc\PresentationMinimizer.component %_DEST%\xml%_EXT%\PresentationMinimizer.component
+
+..\%__SRC%\bin\PresentationMinimizer*.dll %_DEST%\bin%_EXT%\PresentationMinimizer*.dll
+..\%__SRC%\lib\PresentationMinimizer*.so %_DEST%\lib%_EXT%
--- a/main/sdext/source/minimizer/PresentationMinimizer.component
+++ a/main/sdext/source/minimizer/PresentationMinimizer.component
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
--- a/main/sdext/source/minimizer/configurationaccess.cxx
+++ a/main/sdext/source/minimizer/configurationaccess.cxx
@@ -31,13 +31,39 @@
#include
#include
#include
+#include
+
+#include
+
+#include "minimizer.hrc"
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
+using rtl::OUString;
+using rtl::OUStringBuffer;
+
+
+#include
+
+typedef std::map < sal_Int32, rtl::OUString > StringResourceMap;
+
+struct StaticResourceMap
+ : public rtl::StaticWithInit< StringResourceMap, StaticResourceMap >
+{
+ StringResourceMap &
+ operator()() const;
+};
+
+StringResourceMap &
+StaticResourceMap::operator()() const
+{
+ static StringResourceMap aMap;
+ return aMap;
+}
+
static const OUString& GetConfigurationProviderServiceName (void)
{
static const OUString sConfigurationProviderServiceName (
@@ -48,10 +74,31 @@ static const OUString& GetConfigurationProviderServiceName (void)
static const OUString& GetPathToConfigurationRoot (void)
{
static const OUString sPathToConfigurationRoot (
- RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.extension.SunPresentationMinimizer"));
+ RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.Impress/PresentationMinimizer"));
return sPathToConfigurationRoot;
}
+static OUString lcl_loadString(
+ const Reference< resource::XResourceBundle > xResourceBundle,
+ sal_Int32 nResourceId )
+{
+ OUString sString;
+ OUStringBuffer sKey;
+ sKey.appendAscii( RTL_CONSTASCII_STRINGPARAM( "string:" ) );
+ sKey.append( nResourceId );
+
+ try
+ {
+ OSL_VERIFY( xResourceBundle->getByName( sKey.makeStringAndClear() ) >>= sString );
+ }
+ catch( const uno::Exception& )
+ {
+ OSL_ENSURE( false, "OptimizerSettings: missing resource!" );
+ }
+
+ return sString;
+}
+
void OptimizerSettings::LoadSettingsFromConfiguration( const Reference< XNameAccess >& rSettings )
{
if ( rSettings.is() )
@@ -159,8 +206,8 @@ sal_Bool OptimizerSettings::operator==( const OptimizerSettings& rOptimizerSetti
}
-ConfigurationAccess::ConfigurationAccess( const Reference< uno::XComponentContext >& rxMSF, OptimizerSettings* pDefaultSettings ) :
- mxMSF( rxMSF )
+ConfigurationAccess::ConfigurationAccess( const Reference< uno::XComponentContext >& rxContext, OptimizerSettings* pDefaultSettings ) :
+ m_xContext( rxContext )
{
LoadStrings();
maSettings.push_back( pDefaultSettings ?
@@ -174,66 +221,101 @@ ConfigurationAccess::~ConfigurationAccess()
{
}
-rtl::OUString ConfigurationAccess::getPath( const PPPOptimizerTokenEnum eToken )
+rtl::OUString ConfigurationAccess::getString( sal_Int32 nResId )
{
- rtl::OUString aPath;
- try
- {
- static const OUString sProtocol( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.expand:" ) );
- static const OUString stheMacroExpander( RTL_CONSTASCII_USTRINGPARAM( "/singletons/com.sun.star.util.theMacroExpander" ) );
- Reference< container::XNameAccess > xSet( OpenConfiguration( true ), UNO_QUERY_THROW );
- if ( xSet->hasByName( TKGet( eToken ) ) )
- xSet->getByName( TKGet( eToken ) ) >>= aPath;
- if ( aPath.match( sProtocol, 0 ) )
- {
- rtl::OUString aTmp( aPath.copy( 20 ) );
- Reference< util::XMacroExpander > xExpander;
- if ( mxMSF->getValueByName( stheMacroExpander ) >>= xExpander )
- {
- aPath = xExpander->expandMacros( aTmp );
- }
- }
- }
- catch ( Exception& )
- {
- }
- return aPath;
-}
-
-rtl::OUString ConfigurationAccess::getString( const PPPOptimizerTokenEnum eToken ) const
-{
- std::map< PPPOptimizerTokenEnum, rtl::OUString, Compare >::const_iterator aIter( maStrings.find( eToken ) );
- return aIter != maStrings.end() ? ((*aIter).second) : rtl::OUString();
+ const StringResourceMap &aStrings = StaticResourceMap::get();
+ StringResourceMap::const_iterator aIter( aStrings.find( nResId ) );
+ return aIter != aStrings.end() ? ((*aIter).second) : rtl::OUString();
}
void ConfigurationAccess::LoadStrings()
{
+ static bool bLoaded = false;
+ if ( bLoaded )
+ return;
+ else
+ bLoaded = true;
try
{
- do
- {
- Reference< XInterface > xRoot( OpenConfiguration( true ) );
- if ( !xRoot.is() )
- break;
- Reference< container::XNameAccess > xSet( GetConfigurationNode( xRoot, TKGet( TK_Strings ) ), UNO_QUERY );
- if ( xSet.is() )
- {
- const Sequence< OUString > aElements( xSet->getElementNames() );
- for ( int i = 0; i < aElements.getLength(); i++ )
- {
- try
- {
- OUString aString, aPropertyName( aElements[ i ] );
- if ( xSet->getByName( aPropertyName ) >>= aString )
- maStrings[ TKGet( aPropertyName ) ] = aString;
- }
- catch( Exception& )
- {
- }
- }
- }
- }
- while( false );
+
+ Reference< resource::XResourceBundleLoader > xResourceBundleLoader(
+ m_xContext->getValueByName(
+ OUString( RTL_CONSTASCII_USTRINGPARAM(
+ "/singletons/com.sun.star.resource.OfficeResourceLoader" ) ) ),
+ UNO_QUERY_THROW );
+
+ Reference< resource::XResourceBundle > xResourceBundle(
+ xResourceBundleLoader->loadBundle_Default(
+ OUString( RTL_CONSTASCII_USTRINGPARAM( "minimizer" ) ) ),
+ UNO_SET_THROW );
+
+ StringResourceMap &aStrings = StaticResourceMap::get();
+ aStrings[ STR_PRESENTATION_MINIMIZER ] = lcl_loadString( xResourceBundle, STR_PRESENTATION_MINIMIZER );
+ aStrings[ STR_STEPS ] = lcl_loadString( xResourceBundle, STR_STEPS );
+ aStrings[ STR_HELP ] = lcl_loadString( xResourceBundle, STR_HELP );
+ aStrings[ STR_BACK ] = lcl_loadString( xResourceBundle, STR_BACK );
+ aStrings[ STR_NEXT ] = lcl_loadString( xResourceBundle, STR_NEXT );
+ aStrings[ STR_FINISH ] = lcl_loadString( xResourceBundle, STR_FINISH );
+ aStrings[ STR_CANCEL ] = lcl_loadString( xResourceBundle, STR_CANCEL );
+ aStrings[ STR_INTRODUCTION ] = lcl_loadString( xResourceBundle, STR_INTRODUCTION );
+ aStrings[ STR_INTRODUCTION_T ] = lcl_loadString( xResourceBundle, STR_INTRODUCTION_T );
+ aStrings[ STR_CHOSE_SETTINGS ] = lcl_loadString( xResourceBundle, STR_CHOSE_SETTINGS );
+ aStrings[ STR_REMOVE ] = lcl_loadString( xResourceBundle, STR_REMOVE );
+ aStrings[ STR_GRAPHIC_OPTIMIZATION ] = lcl_loadString( xResourceBundle, STR_GRAPHIC_OPTIMIZATION );
+ aStrings[ STR_IMAGE_OPTIMIZATION ] = lcl_loadString( xResourceBundle, STR_IMAGE_OPTIMIZATION );
+ aStrings[ STR_LOSSLESS_COMPRESSION ] = lcl_loadString( xResourceBundle, STR_LOSSLESS_COMPRESSION );
+ aStrings[ STR_JPEG_COMPRESSION ] = lcl_loadString( xResourceBundle, STR_JPEG_COMPRESSION );
+ aStrings[ STR_QUALITY ] = lcl_loadString( xResourceBundle, STR_QUALITY );
+ aStrings[ STR_REMOVE_CROP_AREA ] = lcl_loadString( xResourceBundle, STR_REMOVE_CROP_AREA );
+ aStrings[ STR_IMAGE_RESOLUTION ] = lcl_loadString( xResourceBundle, STR_IMAGE_RESOLUTION );
+ aStrings[ STR_IMAGE_RESOLUTION_0 ] = lcl_loadString( xResourceBundle, STR_IMAGE_RESOLUTION_0 );
+ aStrings[ STR_IMAGE_RESOLUTION_1 ] = lcl_loadString( xResourceBundle, STR_IMAGE_RESOLUTION_1 );
+ aStrings[ STR_IMAGE_RESOLUTION_2 ] = lcl_loadString( xResourceBundle, STR_IMAGE_RESOLUTION_2 );
+ aStrings[ STR_IMAGE_RESOLUTION_3 ] = lcl_loadString( xResourceBundle, STR_IMAGE_RESOLUTION_3 );
+ aStrings[ STR_EMBED_LINKED_GRAPHICS ] = lcl_loadString( xResourceBundle, STR_EMBED_LINKED_GRAPHICS );
+ aStrings[ STR_OLE_OBJECTS ] = lcl_loadString( xResourceBundle, STR_OLE_OBJECTS );
+ aStrings[ STR_OLE_OPTIMIZATION ] = lcl_loadString( xResourceBundle, STR_OLE_OPTIMIZATION );
+ aStrings[ STR_OLE_REPLACE ] = lcl_loadString( xResourceBundle, STR_OLE_REPLACE );
+ aStrings[ STR_ALL_OLE_OBJECTS ] = lcl_loadString( xResourceBundle, STR_ALL_OLE_OBJECTS );
+ aStrings[ STR_ALIEN_OLE_OBJECTS_ONLY ] = lcl_loadString( xResourceBundle, STR_ALIEN_OLE_OBJECTS_ONLY );
+ aStrings[ STR_OLE_OBJECTS_DESC ] = lcl_loadString( xResourceBundle, STR_OLE_OBJECTS_DESC );
+ aStrings[ STR_NO_OLE_OBJECTS_DESC ] = lcl_loadString( xResourceBundle, STR_NO_OLE_OBJECTS_DESC );
+ aStrings[ STR_SLIDES ] = lcl_loadString( xResourceBundle, STR_SLIDES );
+ aStrings[ STR_CHOOSE_SLIDES ] = lcl_loadString( xResourceBundle, STR_CHOOSE_SLIDES );
+ aStrings[ STR_MASTER_PAGES ] = lcl_loadString( xResourceBundle, STR_MASTER_PAGES );
+ aStrings[ STR_DELETE_MASTER_PAGES ] = lcl_loadString( xResourceBundle, STR_DELETE_MASTER_PAGES );
+ aStrings[ STR_DELETE_NOTES_PAGES ] = lcl_loadString( xResourceBundle, STR_DELETE_NOTES_PAGES );
+ aStrings[ STR_DELETE_HIDDEN_SLIDES ] = lcl_loadString( xResourceBundle, STR_DELETE_HIDDEN_SLIDES );
+ aStrings[ STR_CUSTOM_SHOW ] = lcl_loadString( xResourceBundle, STR_CUSTOM_SHOW );
+ aStrings[ STR_SUMMARY ] = lcl_loadString( xResourceBundle, STR_SUMMARY );
+ aStrings[ STR_SUMMARY_TITLE ] = lcl_loadString( xResourceBundle, STR_SUMMARY_TITLE );
+ aStrings[ STR_PROGRESS ] = lcl_loadString( xResourceBundle, STR_PROGRESS );
+ aStrings[ STR_OBJECTS_OPTIMIZED ] = lcl_loadString( xResourceBundle, STR_OBJECTS_OPTIMIZED );
+ aStrings[ STR_APPLY_TO_CURRENT ] = lcl_loadString( xResourceBundle, STR_APPLY_TO_CURRENT );
+ aStrings[ STR_AUTOMATICALLY_OPEN ] = lcl_loadString( xResourceBundle, STR_AUTOMATICALLY_OPEN );
+ aStrings[ STR_SAVE_SETTINGS ] = lcl_loadString( xResourceBundle, STR_SAVE_SETTINGS );
+ aStrings[ STR_SAVE_AS ] = lcl_loadString( xResourceBundle, STR_SAVE_AS );
+ aStrings[ STR_DELETE_SLIDES ] = lcl_loadString( xResourceBundle, STR_DELETE_SLIDES );
+ aStrings[ STR_OPTIMIZE_IMAGES ] = lcl_loadString( xResourceBundle, STR_OPTIMIZE_IMAGES );
+ aStrings[ STR_CREATE_REPLACEMENT ] = lcl_loadString( xResourceBundle, STR_CREATE_REPLACEMENT );
+ aStrings[ STR_CURRENT_FILESIZE ] = lcl_loadString( xResourceBundle, STR_CURRENT_FILESIZE );
+ aStrings[ STR_ESTIMATED_FILESIZE ] = lcl_loadString( xResourceBundle, STR_ESTIMATED_FILESIZE );
+ aStrings[ STR_MB ] = lcl_loadString( xResourceBundle, STR_MB );
+ aStrings[ STR_MY_SETTINGS ] = lcl_loadString( xResourceBundle, STR_MY_SETTINGS );
+ aStrings[ STR_DEFAULT_SESSION ] = lcl_loadString( xResourceBundle, STR_DEFAULT_SESSION );
+ aStrings[ STR_MODIFY_WARNING ] = lcl_loadString( xResourceBundle, STR_MODIFY_WARNING );
+ aStrings[ STR_YES ] = lcl_loadString( xResourceBundle, STR_YES );
+ aStrings[ STR_OK ] = lcl_loadString( xResourceBundle, STR_OK );
+ aStrings[ STR_INFO_1 ] = lcl_loadString( xResourceBundle, STR_INFO_1 );
+ aStrings[ STR_INFO_2 ] = lcl_loadString( xResourceBundle, STR_INFO_2 );
+ aStrings[ STR_INFO_3 ] = lcl_loadString( xResourceBundle, STR_INFO_3 );
+ aStrings[ STR_INFO_4 ] = lcl_loadString( xResourceBundle, STR_INFO_4 );
+ aStrings[ STR_DUPLICATING_PRESENTATION ] = lcl_loadString( xResourceBundle, STR_DUPLICATING_PRESENTATION );
+ aStrings[ STR_DELETING_SLIDES ] = lcl_loadString( xResourceBundle, STR_DELETING_SLIDES );
+ aStrings[ STR_OPTIMIZING_GRAPHICS ] = lcl_loadString( xResourceBundle, STR_OPTIMIZING_GRAPHICS );
+ aStrings[ STR_CREATING_OLE_REPLACEMENTS] = lcl_loadString( xResourceBundle, STR_CREATING_OLE_REPLACEMENTS );
+ aStrings[ STR_FILESIZESEPARATOR ] = lcl_loadString( xResourceBundle, STR_FILESIZESEPARATOR );
+ aStrings[ STR_INFO_DIALOG ] = lcl_loadString( xResourceBundle, STR_INFO_DIALOG );
}
catch( Exception& )
{
@@ -334,7 +416,7 @@ Reference< XInterface > ConfigurationAccess::OpenConfiguration( bool bReadOnly )
Reference< XInterface > xRoot;
try
{
- Reference< lang::XMultiServiceFactory > xProvider( mxMSF->getServiceManager()->createInstanceWithContext( GetConfigurationProviderServiceName(), mxMSF ), UNO_QUERY );
+ Reference< lang::XMultiServiceFactory > xProvider( m_xContext->getServiceManager()->createInstanceWithContext( GetConfigurationProviderServiceName(), m_xContext ), UNO_QUERY );
if ( xProvider.is() )
{
Sequence< Any > aCreationArguments( 2 );
--- a/main/sdext/source/minimizer/configurationaccess.hxx
+++ a/main/sdext/source/minimizer/configurationaccess.hxx
@@ -40,6 +40,7 @@
#include
#include