First draft of w2l toolbar
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@184 f0f2a975-2e09-46c8-9428-3b39399b9f3c
47
source/oxt/writer2xhtml/Addons.xcu
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
|
||||
<!-- Defines toolbar provided by Writer2xhtml -->
|
||||
<node oor:name="AddonUI">
|
||||
<node oor:name="OfficeToolBar">
|
||||
<node oor:name="org.openoffice.da.writer2xhtml.OfficeToolBar" oor:op="replace">
|
||||
<node oor:name="button1" oor:op="replace">
|
||||
<prop oor:name="Context" oor:type="xs:string">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
<prop oor:name="Title" oor:type="xs:string">
|
||||
<value xml:lang="en-US">Publish as EPUB</value>
|
||||
<value xml:lang="da">Publicer som EPUB</value>
|
||||
</prop>
|
||||
<prop oor:name="Target" oor:type="xs:string">
|
||||
<value>_self</value>
|
||||
</prop>
|
||||
<prop oor:name="URL" oor:type="xs:string">
|
||||
<value>org.openoffice.da.writer2xhtml:PublishAsEPUB</value>
|
||||
</prop>
|
||||
<prop oor:name="ImageIdentifier" oor:type="xs:string">
|
||||
<value>%origin%/icons/epub</value>
|
||||
</prop>
|
||||
</node>
|
||||
<node oor:name="button2" oor:op="replace">
|
||||
<prop oor:name="Context" oor:type="xs:string">
|
||||
<value>com.sun.star.text.TextDocument</value>
|
||||
</prop>
|
||||
<prop oor:name="Title" oor:type="xs:string">
|
||||
<value xml:lang="en-US">Publish as XHTML</value>
|
||||
<value xml:lang="da">Publicer som XHTML</value>
|
||||
</prop>
|
||||
<prop oor:name="Target" oor:type="xs:string">
|
||||
<value>_self</value>
|
||||
</prop>
|
||||
<prop oor:name="URL" oor:type="xs:string">
|
||||
<value>org.openoffice.da.writer2xhtml:PublishAsXHTML</value>
|
||||
</prop>
|
||||
<prop oor:name="ImageIdentifier" oor:type="xs:string">
|
||||
<value>%origin%/icons/html5</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
|
||||
</oor:component-data>
|
|
@ -1,6 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
|
||||
<manifest:manifest>
|
||||
<manifest:file-entry
|
||||
manifest:full-path="ProtocolHandler.xcu"
|
||||
manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
|
||||
<manifest:file-entry
|
||||
manifest:full-path="Addons.xcu"
|
||||
manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
|
||||
<manifest:file-entry
|
||||
manifest:full-path="Office/UI/WriterWindowState.xcu"
|
||||
manifest:media-type="application/vnd.sun.star.configuration-data"/>
|
||||
|
||||
<manifest:file-entry
|
||||
manifest:full-path="writer2xhtml-filter.jar"
|
||||
manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>
|
||||
|
|
15
source/oxt/writer2xhtml/Office/UI/WriterWindowState.xcu
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
oor:name="WriterWindowState"
|
||||
oor:package="org.openoffice.Office.UI">
|
||||
<node oor:name="UIElements">
|
||||
<node oor:name="States">
|
||||
<node oor:name="private:resource/toolbar/addon_org.openoffice.da.writer2xhtml.OfficeToolBar" oor:op="replace">
|
||||
<prop oor:name="UIName" oor:type="xs:string">
|
||||
<value>Writer2xhtml</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</oor:component-data>
|
12
source/oxt/writer2xhtml/ProtocolHandler.xcu
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<oor:component-data oor:name="ProtocolHandler" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<!-- Declares the dispatch protocol handled by Writer2xhtml -->
|
||||
<node oor:name="HandlerSet">
|
||||
<!-- It seems that the node name must equal the implementation name of the service -->
|
||||
<node oor:name="org.openoffice.da.comp.writer2xhtml.Writer2xhtml" oor:op="replace">
|
||||
<prop oor:name="Protocols" oor:type="oor:string-list">
|
||||
<value>org.openoffice.da.writer2xhtml:*</value>
|
||||
</prop>
|
||||
</node>
|
||||
</node>
|
||||
</oor:component-data>
|
BIN
source/oxt/writer2xhtml/icons/epub_16.bmp
Normal file
After Width: | Height: | Size: 890 B |
BIN
source/oxt/writer2xhtml/icons/epub_16h.bmp
Normal file
After Width: | Height: | Size: 890 B |
BIN
source/oxt/writer2xhtml/icons/epub_26.bmp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
source/oxt/writer2xhtml/icons/epub_26h.bmp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
source/oxt/writer2xhtml/icons/html5_16.bmp
Normal file
After Width: | Height: | Size: 890 B |
BIN
source/oxt/writer2xhtml/icons/html5_16h.bmp
Normal file
After Width: | Height: | Size: 890 B |
BIN
source/oxt/writer2xhtml/icons/html5_26.bmp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
source/oxt/writer2xhtml/icons/html5_26h.bmp
Normal file
After Width: | Height: | Size: 2.2 KiB |