diff options
author | David Ostrovsky <david@ostrovsky.org> | 2013-10-05 23:07:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-14 12:21:39 +0200 |
commit | 2aa5d13ed09c1cbad9f1da315442edfa6f9f3b60 (patch) | |
tree | 58a3d348f244247434c21eb9606b8a38726dad2c /officecfg | |
parent | a979956012a277c9cb85147605b9671ace12aa0a (diff) |
fdo#61950 De-extensionize presentation minimizer
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'officecfg')
7 files changed, 885 insertions, 11 deletions
diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk index cb27ffcc0a52..5f0d725477cd 100644 --- a/officecfg/Configuration_officecfg.mk +++ b/officecfg/Configuration_officecfg.mk @@ -139,6 +139,7 @@ $(eval $(call gb_Configuration_add_localized_datas,registry,officecfg/registry/d org/openoffice/Office/Addons.xcu \ org/openoffice/Office/Common.xcu \ org/openoffice/Office/DataAccess.xcu \ + org/openoffice/Office/PresentationMinimizer.xcu \ org/openoffice/Office/PresenterScreen.xcu \ org/openoffice/Office/TableWizard.xcu \ org/openoffice/Office/UI.xcu \ diff --git a/officecfg/files.mk b/officecfg/files.mk index 3110805deeab..904f4b70a250 100644 --- a/officecfg/files.mk +++ b/officecfg/files.mk @@ -41,6 +41,7 @@ officecfg_XCSFILES := \ Office/OOoImprovement/Settings \ Office/OptionsDialog \ Office/Paths \ + Office/PresentationMinimizer \ Office/PresenterScreen \ Office/ProtocolHandler \ Office/Recovery \ diff --git a/officecfg/registry/data/org/openoffice/Office/Addons.xcu b/officecfg/registry/data/org/openoffice/Office/Addons.xcu index cecba99e6f20..b0caea26dcaf 100644 --- a/officecfg/registry/data/org/openoffice/Office/Addons.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Addons.xcu @@ -8,8 +8,8 @@ * --> <oor:component-data xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Addons" oor:package="org.openoffice.Office"> - <node oor:name="AddonUI" install:module="librelogo"> - <node oor:name="OfficeToolBar"> + <node oor:name="AddonUI"> + <node oor:name="OfficeToolBar" install:module="librelogo"> <node oor:name="LibreLogo.OfficeToolBar" oor:op="replace"> <node oor:name="m01" oor:op="replace"> <prop oor:name="Context" oor:type="xs:string"> @@ -159,8 +159,47 @@ </node> </node> </node> + <node oor:name="OfficeMenuBarMerging"> + <node oor:name="PresentationMinimizer" oor:op="replace" install:module="impress"> + <node oor:name="Command1" oor:op="replace"> + <prop oor:name="MergePoint"> + <value>.uno:ToolsMenu\.uno:AVMediaPlayer</value> + </prop> + <prop oor:name="MergeCommand"> + <value>AddAfter</value> + </prop> + <prop oor:name="MergeFallback"> + <value>AddPath</value> + </prop> + <prop oor:name="MergeContext"> + <value>com.sun.star.presentation.PresentationDocument</value> + </prop> + <node oor:name="MenuItems"> + <node oor:name="PresentationMinimizerExecute1" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>private:separator</value> + </prop> + </node> + <node oor:name="PresentationMinimizerExecute2" oor:op="replace"> + <prop oor:name="URL" oor:type="xs:string"> + <value>vnd.com.sun.star.comp.PresentationMinimizer:execute</value> + </prop> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">~Minimize Presentation...</value> + </prop> + <prop oor:name="Target" oor:type="xs:string"> + <value>_self</value> + </prop> + <prop oor:name="Context" oor:type="xs:string"> + <value>com.sun.star.presentation.PresentationDocument</value> + </prop> + </node> + </node> + </node> + </node> + </node> <node oor:name="Images"> - <node oor:name="logo-forward" oor:op="replace"> + <node oor:name="logo-forward" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$goforward?language=Python&location=share</value> </prop> @@ -173,7 +212,7 @@ </prop> </node> </node> - <node oor:name="logo-backward" oor:op="replace"> + <node oor:name="logo-backward" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$gobackward?language=Python&location=share</value> </prop> @@ -186,7 +225,7 @@ </prop> </node> </node> - <node oor:name="logo-left" oor:op="replace"> + <node oor:name="logo-left" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$left?language=Python&location=share</value> </prop> @@ -199,7 +238,7 @@ </prop> </node> </node> - <node oor:name="logo-right" oor:op="replace"> + <node oor:name="logo-right" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$right?language=Python&location=share</value> </prop> @@ -212,7 +251,7 @@ </prop> </node> </node> - <node oor:name="logo-run" oor:op="replace"> + <node oor:name="logo-run" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$run?language=Python&location=share</value> </prop> @@ -225,7 +264,7 @@ </prop> </node> </node> - <node oor:name="logo-stop" oor:op="replace"> + <node oor:name="logo-stop" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$stop?language=Python&location=share</value> </prop> @@ -238,7 +277,7 @@ </prop> </node> </node> - <node oor:name="logo-home" oor:op="replace"> + <node oor:name="logo-home" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$home?language=Python&location=share</value> </prop> @@ -251,7 +290,7 @@ </prop> </node> </node> - <node oor:name="logo-clearscreen" oor:op="replace"> + <node oor:name="logo-clearscreen" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$clearscreen?language=Python&location=share</value> </prop> @@ -264,7 +303,7 @@ </prop> </node> </node> - <node oor:name="logo-translate" oor:op="replace"> + <node oor:name="logo-translate" oor:op="replace" install:module="librelogo"> <prop oor:name="URL" oor:type="xs:string"> <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$__translate__?language=Python&location=share</value> </prop> @@ -277,6 +316,25 @@ </prop> </node> </node> + <node oor:name="opt-image" oor:op="replace" install:module="impress"> + <prop oor:name="URL"> + <value>vnd.com.sun.star.comp.PresentationMinimizer:execute</value> + </prop> + <node oor:name="UserDefinedImages"> + <prop oor:name="ImageSmallURL" oor:type="xs:string"> + <value>bitmaps/opt_16.png</value> + </prop> + <prop oor:name="ImageBigURL" oor:type="xs:string"> + <value>bitmaps/opt_26.png</value> + </prop> + <prop oor:name="ImageSmallHCURL" oor:type="xs:string"> + <value>bitmaps/opt_16_h.png</value> + </prop> + <prop oor:name="ImageBigHCURL" oor:type="xs:string"> + <value>bitmaps/opt_26_h.png</value> + </prop> + </node> + </node> </node> </node> </oor:component-data> diff --git a/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu new file mode 100644 index 000000000000..2780c7df5472 --- /dev/null +++ b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu @@ -0,0 +1,393 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * 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 . + --> +<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> +<oor:component-data xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:package="org.openoffice.Office" oor:name="PresentationMinimizer"> + <prop oor:name="BitmapPath" oor:type="xs:string"> + <value>bitmaps</value> + </prop> + + <node oor:name="Strings"> + <prop oor:name="STR_SUN_OPTIMIZATION_WIZARD2"> + <value xml:lang="en-US">Presentation Minimizer</value> + </prop> + <prop oor:name="STR_STEPS"> + <value xml:lang="en-US">Steps</value> + </prop> + <prop oor:name="STR_BACK"> + <value xml:lang="en-US">< ~Back</value> + </prop> + <prop oor:name="STR_NEXT"> + <value xml:lang="en-US">~Next ></value> + </prop> + <prop oor:name="STR_FINISH"> + <value xml:lang="en-US">~Finish</value> + </prop> + <prop oor:name="STR_CANCEL"> + <value xml:lang="en-US">Cancel</value> + </prop> + <prop oor:name="STR_INTRODUCTION"> + <value xml:lang="en-US">Introduction</value> + </prop> + <prop oor:name="STR_INTRODUCTION_T"> + <value xml:lang="en-US">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.</value> + </prop> + <prop oor:name="STR_CHOSE_SETTINGS"> + <value xml:lang="en-US">~Choose settings for Presentation Minimizer</value> + </prop> + <prop oor:name="STR_REMOVE"> + <value xml:lang="en-US">~Delete</value> + </prop> + <prop oor:name="STR_GRAPHIC_OPTIMIZATION"> + <value xml:lang="en-US">Choose settings for optimizing pictures and graphics</value> + </prop> + <prop oor:name="STR_IMAGE_OPTIMIZATION"> + <value xml:lang="en-US">Graphics</value> + </prop> + <prop oor:name="STR_LOSSLESS_COMPRESSION"> + <value xml:lang="en-US">~Lossless compression</value> + </prop> + <prop oor:name="STR_JPEG_COMPRESSION"> + <value xml:lang="en-US">~JPEG compression</value> + </prop> + <prop oor:name="STR_QUALITY"> + <value xml:lang="en-US">~Quality in %</value> + </prop> + <prop oor:name="STR_REMOVE_CROP_AREA"> + <value xml:lang="en-US">~Delete cropped graphic areas</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION"> + <value xml:lang="en-US">Reduce ~image resolution</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_0"> + <value xml:lang="en-US">0;<no change></value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_1"> + <value xml:lang="en-US">90;90 DPI (screen resolution)</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_2"> + <value xml:lang="en-US">150;150 DPI (projector resolution)</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_3"> + <value xml:lang="en-US">300;300 DPI (print resolution)</value> + </prop> + <prop oor:name="STR_EMBED_LINKED_GRAPHICS"> + <value xml:lang="en-US">~Break links to external graphics</value> + </prop> + <prop oor:name="STR_OLE_OBJECTS"> + <value xml:lang="en-US">OLE Objects</value> + </prop> + <prop oor:name="STR_OLE_OPTIMIZATION"> + <value xml:lang="en-US">Choose settings for replacing OLE objects</value> + </prop> + <prop oor:name="STR_OLE_REPLACE"> + <value xml:lang="en-US">Create static replacement graphics for OLE objects</value> + </prop> + <prop oor:name="STR_ALL_OLE_OBJECTS"> + <value xml:lang="en-US">For ~all OLE objects</value> + </prop> + <prop oor:name="STR_ALIEN_OLE_OBJECTS_ONLY"> + <value xml:lang="en-US">~For OLE objects not based on OpenDocument format</value> + </prop> + <prop oor:name="STR_OLE_OBJECTS_DESC"> + <value xml:lang="en-US">Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects. + +The current presentation contains OLE objects.</value> + </prop> + <prop oor:name="STR_NO_OLE_OBJECTS_DESC"> + <value xml:lang="en-US">Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects. + +The current presentation contains no OLE objects.</value> + </prop> + <prop oor:name="STR_SLIDES"> + <value xml:lang="en-US">Slides</value> + </prop> + <prop oor:name="STR_CHOOSE_SLIDES"> + <value xml:lang="en-US">Choose which slides to delete</value> + </prop> + <prop oor:name="STR_MASTER_PAGES"> + <value xml:lang="en-US">Master Pages</value> + </prop> + <prop oor:name="STR_DELETE_MASTER_PAGES"> + <value xml:lang="en-US">Delete unused ~master pages</value> + </prop> + <prop oor:name="STR_DELETE_NOTES_PAGES"> + <value xml:lang="en-US">~Clear notes</value> + </prop> + <prop oor:name="STR_DELETE_HIDDEN_SLIDES"> + <value xml:lang="en-US">Delete hidden ~slides</value> + </prop> + <prop oor:name="STR_CUSTOM_SHOW"> + <value xml:lang="en-US">Delete slides that are not used for the ~custom slide show</value> + </prop> + <prop oor:name="STR_SUMMARY"> + <value xml:lang="en-US">Summary</value> + </prop> + <prop oor:name="STR_SUMMARY_TITLE"> + <value xml:lang="en-US">Choose where to apply the following changes</value> + </prop> + <prop oor:name="STR_PROGRESS"> + <value xml:lang="en-US">Progress</value> + </prop> + <prop oor:name="STR_OBJECTS_OPTIMIZED"> + <value xml:lang="en-US">Objects optimized</value> + </prop> + <prop oor:name="STR_APPLY_TO_CURRENT"> + <value xml:lang="en-US">~Apply changes to current presentation</value> + </prop> + <prop oor:name="STR_AUTOMATICALLY_OPEN"> + <value xml:lang="en-US">~Open newly created presentation</value> + </prop> + <prop oor:name="STR_SAVE_SETTINGS"> + <value xml:lang="en-US">~Save settings as</value> + </prop> + <prop oor:name="STR_SAVE_AS"> + <value xml:lang="en-US">~Duplicate presentation before applying changes</value> + </prop> + <prop oor:name="STR_DELETE_SLIDES"> + <value xml:lang="en-US">Delete %SLIDES slides.</value> + </prop> + <prop oor:name="STR_OPTIMIZE_IMAGES"> + <value xml:lang="en-US">Optimize %IMAGES graphics to %QUALITY% JPEG quality at %RESOLUTION DPI.</value> + </prop> + <prop oor:name="STR_CREATE_REPLACEMENT"> + <value xml:lang="en-US">Create replacement graphics for %OLE objects.</value> + </prop> + <prop oor:name="STR_CURRENT_FILESIZE"> + <value xml:lang="en-US">Current file size:</value> + </prop> + <prop oor:name="STR_ESTIMATED_FILESIZE"> + <value xml:lang="en-US">Estimated new file size:</value> + </prop> + <prop oor:name="STR_MB"> + <value xml:lang="en-US">%1 MB</value> + </prop> + <prop oor:name="MY_SETTINGS"> + <value xml:lang="en-US">My Settings </value> + </prop> + <prop oor:name="STR_DEFAULT_SESSION"> + <value xml:lang="en-US">default session</value> + </prop> + <prop oor:name="STR_MODIFY_WARNING"> + <value xml:lang="en-US">The optimization will modify the current document. Do you want to continue?</value> + </prop> + <prop oor:name="STR_YES"> + <value xml:lang="en-US">~Yes</value> + </prop> + <prop oor:name="STR_OK"> + <value xml:lang="en-US">OK</value> + </prop> + <prop oor:name="STR_INFO_1"> + <value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_2"> + <value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to approximated %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_3"> + <value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_4"> + <value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to approximated %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_DUPLICATING_PRESENTATION"> + <value xml:lang="en-US">Duplicating presentation...</value> + </prop> + <prop oor:name="STR_DELETING_SLIDES"> + <value xml:lang="en-US">Deleting slides...</value> + </prop> + <prop oor:name="STR_OPTIMIZING_GRAPHICS"> + <value xml:lang="en-US">Optimizing graphics...</value> + </prop> + <prop oor:name="STR_CREATING_OLE_REPLACEMENTS"> + <value xml:lang="en-US">Creating replacement graphics for OLE objects...</value> + </prop> + <prop oor:name="STR_FILESIZESEPARATOR"> + <value xml:lang="en-US">.</value> + </prop> + </node> + <node oor:name="LastUsedSettings"> + <prop oor:name="Name"> + <value xml:lang="en-US">Projector optimized</value> + </prop> + <prop oor:name="JPEGCompression"> + <value>true</value> + </prop> + <prop oor:name="JPEGQuality"> + <value>50</value> + </prop> + <prop oor:name="RemoveCropArea"> + <value>true</value> + </prop> + <prop oor:name="ImageResolution"> + <value>150</value> + </prop> + <prop oor:name="EmbedLinkedGraphics"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimization"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimizationType"> + <value>0</value> + </prop> + <prop oor:name="DeleteUnusedMasterPages"> + <value>true</value> + </prop> + <prop oor:name="DeleteHiddenSlides"> + <value>true</value> + </prop> + <prop oor:name="DeleteNotesPages"> + <value>false</value> + </prop> + <prop oor:name="SaveAs"> + <value>true</value> + </prop> + <prop oor:name="OpenNewDocument"> + <value>true</value> + </prop> + </node> + <node oor:name="Settings"> + <node oor:name="Templates"> + <node oor:name="template1" oor:op="replace"> + <prop oor:name="Name"> + <value xml:lang="en-US">Screen optimized (smallest file size)</value> + </prop> + <prop oor:name="JPEGCompression"> + <value>true</value> + </prop> + <prop oor:name="JPEGQuality"> + <value>25</value> + </prop> + <prop oor:name="RemoveCropArea"> + <value>true</value> + </prop> + <prop oor:name="ImageResolution"> + <value>90</value> + </prop> + <prop oor:name="EmbedLinkedGraphics"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimization"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimizationType"> + <value>0</value> + </prop> + <prop oor:name="DeleteUnusedMasterPages"> + <value>true</value> + </prop> + <prop oor:name="DeleteHiddenSlides"> + <value>true</value> + </prop> + <prop oor:name="DeleteNotesPages"> + <value>false</value> + </prop> + <prop oor:name="SaveAs"> + <value>true</value> + </prop> + <prop oor:name="OpenNewDocument"> + <value>true</value> + </prop> + </node> + <node oor:name="template2" oor:op="replace"> + <prop oor:name="Name"> + <value xml:lang="en-US">Projector optimized</value> + </prop> + <prop oor:name="JPEGCompression"> + <value>true</value> + </prop> + <prop oor:name="JPEGQuality"> + <value>50</value> + </prop> + <prop oor:name="RemoveCropArea"> + <value>true</value> + </prop> + <prop oor:name="ImageResolution"> + <value>150</value> + </prop> + <prop oor:name="EmbedLinkedGraphics"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimization"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimizationType"> + <value>0</value> + </prop> + <prop oor:name="DeleteUnusedMasterPages"> + <value>true</value> + </prop> + <prop oor:name="DeleteHiddenSlides"> + <value>true</value> + </prop> + <prop oor:name="DeleteNotesPages"> + <value>false</value> + </prop> + <prop oor:name="SaveAs"> + <value>true</value> + </prop> + <prop oor:name="OpenNewDocument"> + <value>true</value> + </prop> + </node> + <node oor:name="template3" oor:op="replace"> + <prop oor:name="Name"> + <value xml:lang="en-US">Print optimized</value> + </prop> + <prop oor:name="JPEGCompression"> + <value>true</value> + </prop> + <prop oor:name="JPEGQuality"> + <value>75</value> + </prop> + <prop oor:name="RemoveCropArea"> + <value>true</value> + </prop> + <prop oor:name="ImageResolution"> + <value>300</value> + </prop> + <prop oor:name="EmbedLinkedGraphics"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimization"> + <value>true</value> + </prop> + <prop oor:name="OLEOptimizationType"> + <value>0</value> + </prop> + <prop oor:name="DeleteUnusedMasterPages"> + <value>true</value> + </prop> + <prop oor:name="DeleteHiddenSlides"> + <value>true</value> + </prop> + <prop oor:name="DeleteNotesPages"> + <value>false</value> + </prop> + <prop oor:name="SaveAs"> + <value>true</value> + </prop> + <prop oor:name="OpenNewDocument"> + <value>true</value> + </prop> + </node> + </node> + </node> +</oor:component-data> diff --git a/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu b/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu index 5da3552c4404..8bb848aebd10 100644 --- a/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu +++ b/officecfg/registry/data/org/openoffice/Office/ProtocolHandler.xcu @@ -64,5 +64,11 @@ <value>vnd.org.libreoffice.presenterscreen:*</value> </prop> </node> + <node oor:name="com.sun.star.comp.PresentationMinimizerImp" + oor:op="replace" install:module="impress"> + <prop oor:name="Protocols" oor:type="oor:string-list"> + <value>vnd.com.sun.star.comp.PresentationMinimizer:*</value> + </prop> + </node> </node> </oor:component-data> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu index 824eb6291347..cd60399be07f 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu @@ -1858,6 +1858,11 @@ <value xml:lang="en-US">Insert Slide</value> </prop> </node> + <node oor:name=".uno:PresentationMinimizer" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Minimize ~Presentation...</value> + </prop> + </node> </node> </node> </oor:component-data> diff --git a/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs new file mode 100644 index 000000000000..947a15e9c274 --- /dev/null +++ b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs @@ -0,0 +1,410 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * 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 . + --> +<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-US" oor:package="org.openoffice.Office" oor:name="PresentationMinimizer"> + <info> + <desc>Configuration of the Presentation Minimizer.</desc> + </info> + <import oor:component="org.openoffice.Office.Impress"/> + <templates> + <group oor:name="OptimizerSettings"> + <info> + <desc>Describes the Presentation Optimization Wizard settings of one session</desc> + </info> + <prop oor:name="Name" oor:type="xs:string" oor:localized="true"> + <info> + <desc>Specifies the name settings name</desc> + </info> + <value>Default</value> + </prop> + <prop oor:name="JPEGCompression" oor:type="xs:boolean"> + <info> + <desc>Specifies if JPEG compression is being used</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="JPEGQuality" oor:type="xs:int"> + <info> + <desc>Specifies quality of the JPG export. A higher value results in higher quality and file size.</desc> + </info> + <constraints> + <minInclusive oor:value="1"> + <info> + <desc>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.</desc> + </info> + </minInclusive> + <maxInclusive oor:value="100"> + <info> + <desc>Represents highest value that can be used. The higher the value, the better is the compression quality and the smaller is the file size.</desc> + </info> + </maxInclusive> + </constraints> + <value>45</value> + </prop> + <prop oor:name="RemoveCropArea" oor:type="xs:boolean"> + <info> + <desc>Specifies if the crop area of a picture has to be removed</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="ImageResolution" oor:type="xs:int"> + <info> + <desc>Specifies the Image Resolution that should be used in dpi. A value of zero determines that the image resolution should not be changed.</desc> + </info> + <value>150</value> + </prop> + <prop oor:name="EmbedLinkedGraphics" oor:type="xs:boolean"> + <info> + <desc>Specifies if linked graphics are to be embedded</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="OLEOptimization" oor:type="xs:boolean"> + <info> + <desc>Specifies if OLE Objects are converted to Graphic objects at all</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="OLEOptimizationType" oor:type="xs:short"> + <info> + <desc>Specifies the compression type that is being used,.</desc> + </info> + <constraints> + <enumeration oor:value="0"><info><desc>Each</desc></info></enumeration> + <enumeration oor:value="1"><info><desc>Alien</desc></info></enumeration> + </constraints> + <value>0</value> + </prop> + <prop oor:name="DeleteUnusedMasterPages" oor:type="xs:boolean"> + <info> + <desc>Specifies if unused Master Pages are being deleted</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="DeleteHiddenSlides" oor:type="xs:boolean"> + <info> + <desc>Specifies if hidden Slides are being deleted</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="DeleteNotesPages" oor:type="xs:boolean"> + <info> + <desc>Specifies if Notes Pages are being deleted</desc> + </info> + <value>false</value> + </prop> + <prop oor:name="SaveAs" oor:type="xs:boolean"> + <info> + <desc>Specifies if the optimization is done on a new document.</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="OpenNewDocument" oor:type="xs:boolean"> + <info> + <desc>Specifies if the newly created document is opened automatically.</desc> + </info> + <value>true</value> + </prop> + </group> + </templates> + <component> + <prop oor:name="BitmapPath" oor:type="xs:string"> + <info><desc>Bitmap path.</desc></info> + </prop> + <group oor:name="Strings"> + <info><desc>UI strings.</desc></info> + <prop oor:name="STR_SUN_OPTIMIZATION_WIZARD2" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SUN_OPTIMIZATION_WIZARD2</desc></info> + <value>Presentation Minimizer</value> + </prop> + <prop oor:name="STR_STEPS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_STEPS.</desc></info> + <value>Steps</value> + </prop> + <prop oor:name="STR_BACK" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_BACK.</desc></info> + <value>< ~Back</value> + </prop> + <prop oor:name="STR_NEXT" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_NEXT.</desc></info> + <value>~Next ></value> + </prop> + <prop oor:name="STR_FINISH" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_FINISH.</desc></info> + <value>~Finish</value> + </prop> + <prop oor:name="STR_CANCEL" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CANCEL.</desc></info> + <value>Cancel</value> + </prop> + <prop oor:name="STR_INTRODUCTION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INTRODUCTION.</desc></info> + <value>Introduction</value> + </prop> + <prop oor:name="STR_INTRODUCTION_T" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INTRODUCTION_T.</desc></info> + <value>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.</value> + </prop> + <prop oor:name="STR_CHOSE_SETTINGS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CHOSE_SETTINGS.</desc></info> + <value>~Choose settings for the Presentation Minimization Wizard</value> + </prop> + <prop oor:name="STR_REMOVE" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_REMOVE.</desc></info> + <value>~Delete</value> + </prop> + <prop oor:name="STR_GRAPHIC_OPTIMIZATION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_GRAPHIC_OPTIMIZATION.</desc></info> + <value>Choose settings for optimizing pictures and graphics</value> + </prop> + <prop oor:name="STR_IMAGE_OPTIMIZATION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_OPTIMIZATION.</desc></info> + <value>Graphics</value> + </prop> + <prop oor:name="STR_LOSSLESS_COMPRESSION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_LOSSLESS_COMPRESSION.</desc></info> + <value>~Lossless compression</value> + </prop> + <prop oor:name="STR_JPEG_COMPRESSION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_JPEG_COMPRESSION.</desc></info> + <value>~JPEG compression</value> + </prop> + <prop oor:name="STR_QUALITY" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_QUALITY.</desc></info> + <value>~Quality</value> + </prop> + <prop oor:name="STR_REMOVE_CROP_AREA" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_REMOVE_CROP_AREA.</desc></info> + <value>~Delete cropped graphic areas</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_RESOLUTION.</desc></info> + <value>~Image Resolution</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_0" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_RESOLUTION_0.</desc></info> + <value>0;<no change></value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_1" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_RESOLUTION_1.</desc></info> + <value>90;90 DPI (screen resolution)</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_2" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_RESOLUTION_2.</desc></info> + <value>150;150 DPI (projector resolution)</value> + </prop> + <prop oor:name="STR_IMAGE_RESOLUTION_3" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_IMAGE_RESOLUTION_3.</desc></info> + <value>300;300 DPI (print resolution)</value> + </prop> + <prop oor:name="STR_EMBED_LINKED_GRAPHICS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_EMBED_LINKED_GRAPHICS.</desc></info> + <value>~Break links to external graphics</value> + </prop> + <prop oor:name="STR_OLE_OBJECTS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OLE_OBJECTS.</desc></info> + <value>OLE Objects</value> + </prop> + <prop oor:name="STR_OLE_OPTIMIZATION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OLE_OPTIMIZATION.</desc></info> + <value>Choose settings for replacing OLE objects</value> + </prop> + <prop oor:name="STR_OLE_REPLACE" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OLE_REPLACE.</desc></info> + <value>Create static replacement graphics for OLE objects</value> + </prop> + <prop oor:name="STR_ALL_OLE_OBJECTS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_ALL_OLE_OBJECTS.</desc></info> + <value>For ~all OLE objects</value> + </prop> + <prop oor:name="STR_ALIEN_OLE_OBJECTS_ONLY" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_ALIEN_OLE_OBJECTS_ONLY.</desc></info> + <value>~For OLE objects not based on OpenDocument format</value> + </prop> + <prop oor:name="STR_OLE_OBJECTS_DESC" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OLE_OBJECTS_DESC.</desc></info> + <value>Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects. + +The current presentation contains no OLE objects.</value> + </prop> + <prop oor:name="STR_NO_OLE_OBJECTS_DESC" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_NO_OLE_OBJECTS_DESC.</desc></info> + <value>Object Linking and Embedding (OLE) is a technology that allows embedding and linking to documents and other objects. + +The current presentation contains no OLE objects.</value> + </prop> + <prop oor:name="STR_SLIDES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SLIDES.</desc></info> + <value>Slides</value> + </prop> + <prop oor:name="STR_CHOOSE_SLIDES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CHOOSE_SLIDES.</desc></info> + <value>Choose which slides to delete</value> + </prop> + <prop oor:name="STR_MASTER_PAGES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_MASTER_PAGES.</desc></info> + <value>Master Pages</value> + </prop> + <prop oor:name="STR_DELETE_MASTER_PAGES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DELETE_MASTER_PAGES.</desc></info> + <value>Delete unused ~master pages</value> + </prop> + <prop oor:name="STR_DELETE_NOTES_PAGES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DELETE_NOTES_PAGES.</desc></info> + <value>~Clear notes</value> + </prop> + <prop oor:name="STR_DELETE_HIDDEN_SLIDES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DELETE_HIDDEN_SLIDES.</desc></info> + <value>Delete hidden ~slides</value> + </prop> + <prop oor:name="STR_CUSTOM_SHOW" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CUSTOM_SHOW.</desc></info> + <value>Delete slides that are not used for the ~custom slide show</value> + </prop> + <prop oor:name="STR_SUMMARY" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SUMMARY.</desc></info> + <value>Summary</value> + </prop> + <prop oor:name="STR_SUMMARY_TITLE" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SUMMARY_TITLE.</desc></info> + <value>Choose where to apply the following changes</value> + </prop> + <prop oor:name="STR_PROGRESS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_PROGRESS.</desc></info> + <value>Progress</value> + </prop> + <prop oor:name="STR_OBJECTS_OPTIMIZED" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OBJECTS_OPTIMIZED.</desc></info> + <value>Objects optimized</value> + </prop> + <prop oor:name="STR_APPLY_TO_CURRENT" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_APPLY_TO_CURRENT.</desc></info> + <value>~Apply changes to current presentation</value> + </prop> + <prop oor:name="STR_AUTOMATICALLY_OPEN" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_AUTOMATICALLY_OPEN.</desc></info> + <value>~Open newly created presentation</value> + </prop> + <prop oor:name="STR_SAVE_SETTINGS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SAVE_SETTINGS.</desc></info> + <value>~Save settings as</value> + </prop> + <prop oor:name="STR_SAVE_AS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_SAVE_AS.</desc></info> + <value>~Duplicate presentation before applying changes</value> + </prop> + <prop oor:name="STR_DELETE_SLIDES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DELETE_SLIDES.</desc></info> + <value>Delete %SLIDES slides</value> + </prop> + <prop oor:name="STR_OPTIMIZE_IMAGES" oor:type="xs:string" oor:localized="true"> + <info> + <desc>The following string is only used in plural.</desc> + </info> + <value>Optimize %IMAGES graphics to %QUALITY% JPEG quality at %RESOLUTION DPI.</value> + </prop> + <prop oor:name="STR_CREATE_REPLACEMENT" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CREATE_REPLACEMENT.</desc></info> + <value>Create replacement graphics for %OLE objects.</value> + </prop> + <prop oor:name="STR_CURRENT_FILESIZE" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CURRENT_FILESIZE.</desc></info> + <value>Current file size:</value> + </prop> + <prop oor:name="STR_ESTIMATED_FILESIZE" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_ESTIMATED_FILESIZE.</desc></info> + <value>Estimated new file size:</value> + </prop> + <prop oor:name="STR_MB" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_MB.</desc></info> + <value>%1 MB</value> + </prop> + <prop oor:name="MY_SETTINGS" oor:type="xs:string" oor:localized="true"> + <info><desc>String MY_SETTINGS.</desc></info> + <value>My Settings</value> + </prop> + <prop oor:name="STR_DEFAULT_SESSION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DEFAULT_SESSION.</desc></info> + <value>default session</value> + </prop> + <prop oor:name="STR_MODIFY_WARNING" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_MODIFY_WARNING.</desc></info> + <value>The optimization will modify the current document. Do you want to continue?</value> + </prop> + <prop oor:name="STR_YES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_YES.</desc></info> + <value>~Yes</value> + </prop> + <prop oor:name="STR_OK" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OK.</desc></info> + <value>OK</value> + </prop> + <prop oor:name="STR_INFO_1" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INFO_1.</desc></info> + <value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_2" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INFO_2.</desc></info> + <value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to approximated %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_3" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INFO_3.</desc></info> + <value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_INFO_4" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_INFO_4.</desc></info> + <value>The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to approximated %NEWFILESIZE MB.</value> + </prop> + <prop oor:name="STR_DUPLICATING_PRESENTATION" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DUPLICATING_PRESENTATION.</desc></info> + <value>Duplicating presentation...</value> + </prop> + <prop oor:name="STR_DELETING_SLIDES" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_DELETING_SLIDES.</desc></info> + <value>Deleting slides...</value> + </prop> + <prop oor:name="STR_OPTIMIZING_GRAPHICS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_OPTIMIZING_GRAPHICS.</desc></info> + <value>Optimizing graphics...</value> + </prop> + <prop oor:name="STR_CREATING_OLE_REPLACEMENTS" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_CREATING_OLE_REPLACEMENTS.</desc></info> + <value>Creating replacement graphics for OLE objects...</value> + </prop> + <prop oor:name="STR_FILESIZESEPARATOR" oor:type="xs:string" oor:localized="true"> + <info><desc>String STR_FILESIZESEPARATOR.</desc></info> + <value>.</value> + </prop> + </group> + <node-ref oor:name="LastUsedSettings" oor:node-type="OptimizerSettings"> + <info> + <desc>describes the name of the last used settings</desc> + </info> + </node-ref> + <group oor:name="Settings"> + <info><desc>Describes saved settings.</desc></info> + <set oor:name="Templates" oor:node-type="OptimizerSettings"> + <info> + <desc>List of the saved Presentation Optimization Wizard settings</desc> + </info> + </set> + </group> + </component> +</oor:component-schema> |