slidecopy: now that Impress also supports the usual custom tool panel mechanism, add an example for Impress, too
This commit is contained in:
parent
b3f01acd62
commit
0585053da5
3 changed files with 25 additions and 0 deletions
18
sfx2/workben/custompanel/ImpressWindowState.xcu
Normal file
18
sfx2/workben/custompanel/ImpressWindowState.xcu
Normal file
|
@ -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>
|
|
@ -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
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
manifest:full-path="CalcWindowState.xcu"/>
|
||||
<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"
|
||||
|
|
Loading…
Reference in a new issue