diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-13 12:52:15 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-13 12:52:15 +0200 |
commit | 0585053da56f31b6b5f20a720d54aa1d33f8e5c9 (patch) | |
tree | da8756ae2c07dbb2a1dfff68190bb6a4b8785a57 /sfx2/workben/custompanel | |
parent | b3f01acd62e59c34405b0738b1d92c212e62f842 (diff) |
slidecopy: now that Impress also supports the usual custom tool panel mechanism, add an example for Impress, too
Diffstat (limited to 'sfx2/workben/custompanel')
-rw-r--r-- | sfx2/workben/custompanel/ImpressWindowState.xcu | 18 | ||||
-rw-r--r-- | sfx2/workben/custompanel/makefile.mk | 5 | ||||
-rw-r--r-- | sfx2/workben/custompanel/manifest.xml | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/sfx2/workben/custompanel/ImpressWindowState.xcu b/sfx2/workben/custompanel/ImpressWindowState.xcu new file mode 100644 index 000000000000..81a72d8717e3 --- /dev/null +++ b/sfx2/workben/custompanel/ImpressWindowState.xcu @@ -0,0 +1,18 @@ +<?xml version='1.0' encoding='UTF-8'?> +<oor:component-data oor:name="ImpressWindowState" oor:package="org.openoffice.Office.UI" 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"> + <node oor:name="UIElements"> + <node oor:name="States"> + <node oor:name="private:resource/toolpanel/org.openoffice.example.colorpanel/FFCC99" oor:op="replace"> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Soylent Orange</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>false</value> + </prop> + <prop oor:name="ImageURL" oor:type="xs:string"> + <value>vnd.sun.star.extension://UPDATED_IDENTIFIER/panel.png</value> + </prop> + </node> + </node> + </node> +</oor:component-data> diff --git a/sfx2/workben/custompanel/makefile.mk b/sfx2/workben/custompanel/makefile.mk index aea7d3fdd201..1eb20ceed35d 100644 --- a/sfx2/workben/custompanel/makefile.mk +++ b/sfx2/workben/custompanel/makefile.mk @@ -81,6 +81,7 @@ COMPONENT_XCU = \ $(EXTENSIONDIR)/WriterWindowState.xcu \ $(EXTENSIONDIR)/CalcWindowState.xcu \ $(EXTENSIONDIR)/DrawWindowState.xcu \ + $(EXTENSIONDIR)/ImpressWindowState.xcu \ $(EXTENSIONDIR)/Factories.xcu COMPONENT_LIBRARIES = \ @@ -113,3 +114,7 @@ $(EXTENSIONDIR)/DrawWindowState.xcu: ./DrawWindowState.xcu @@-$(MKDIRHIER) $(@:d) $(COMMAND_ECHO)$(TYPE) ./DrawWindowState.xcu | sed s/UPDATED_IDENTIFIER/$(IMPLEMENTATION_IDENTIFIER)/ > $(EXTENSIONDIR)/DrawWindowState.xcu +$(EXTENSIONDIR)/ImpressWindowState.xcu: ./ImpressWindowState.xcu + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(TYPE) ./ImpressWindowState.xcu | sed s/UPDATED_IDENTIFIER/$(IMPLEMENTATION_IDENTIFIER)/ > $(EXTENSIONDIR)/ImpressWindowState.xcu + diff --git a/sfx2/workben/custompanel/manifest.xml b/sfx2/workben/custompanel/manifest.xml index 0f3cbe9420aa..9122d16a4189 100644 --- a/sfx2/workben/custompanel/manifest.xml +++ b/sfx2/workben/custompanel/manifest.xml @@ -10,6 +10,8 @@ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="DrawWindowState.xcu"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" + manifest:full-path="ImpressWindowState.xcu"/> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="Factories.xcu"/> <!-- <manifest:file-entry manifest:media-type="image/png" manifest:full-path="panel.png"/>--> |