git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@194 f0f2a975-2e09-46c8-9428-3b39399b9f3c

This commit is contained in:
henrikjust 2014-10-29 20:32:19 +00:00
parent ec3c92fa8d
commit d1e9232914
22 changed files with 117 additions and 85 deletions

View file

@ -1,9 +1,9 @@
<?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 the menus and toolbars provided by Writer4LaTeX -->
<!-- Defines the menus and toolbars provided by Writer2LaTeX -->
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="org.openoffice.da.writer4latex.OfficeToolBar" oor:op="replace">
<node oor:name="org.openoffice.da.writer2latex.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>
@ -16,7 +16,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:InsertBibTeX</value>
<value>org.openoffice.da.writer2latex:InsertBibTeX</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/bibtex</value>
@ -34,7 +34,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:ProcessDocument</value>
<value>org.openoffice.da.writer2latex:ProcessDocument</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/latex</value>
@ -52,7 +52,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:ViewLog</value>
<value>org.openoffice.da.writer2latex:ViewLog</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/log</value>

View file

@ -1,11 +1,11 @@
<?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 the menus and toolbars provided by Writer4LaTeX -->
<!-- Defines the menus and toolbars provided by Writer2LaTeX -->
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="org.openoffice.da.writer4latex.OfficeToolBar.AOO4" oor:op="replace">
<node oor:name="org.openoffice.da.writer2latex.OfficeToolBar.AOO4" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Writer4LaTeX</value>
<value xml:lang="en-US">Writer2LaTeX</value>
</prop>
<node oor:name="ToolBarItems">
<node oor:name="button1" oor:op="replace">
@ -20,7 +20,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:InsertBibTeX</value>
<value>org.openoffice.da.writer2latex:InsertBibTeX</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/bibtex</value>
@ -38,7 +38,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:ProcessDocument</value>
<value>org.openoffice.da.writer2latex:ProcessDocument</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/latex</value>
@ -56,7 +56,7 @@
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>org.openoffice.da.writer4latex:ViewLog</value>
<value>org.openoffice.da.writer2latex:ViewLog</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/log</value>

View file

@ -13,6 +13,10 @@
manifest:full-path="w2l_filters.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="ToolbarOptionPages.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="OptionPages.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
@ -24,6 +28,30 @@
<manifest:file-entry
manifest:full-path="Options.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="ToolbarOptions.xcs"
manifest:media-type="application/vnd.sun.star.configuration-schema"/>
<manifest:file-entry
manifest:full-path="ToolbarOptions.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<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="AddonsAOO4.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="W2LDialogs/"
@ -32,7 +60,11 @@
<manifest:file-entry
manifest:full-path="W2LDialogs2/"
manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry
manifest:full-path="W4LDialogs/"
manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry
manifest:full-path="writer2latex.rdb"
manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>

View file

@ -5,9 +5,9 @@
oor:package="org.openoffice.Office.UI">
<node oor:name="UIElements">
<node oor:name="States">
<node oor:name="private:resource/toolbar/addon_org.openoffice.da.writer4latex.OfficeToolBar" oor:op="replace">
<node oor:name="private:resource/toolbar/addon_org.openoffice.da.writer2latex.OfficeToolBar" oor:op="replace">
<prop oor:name="UIName" oor:type="xs:string">
<value>Writer4LaTeX</value>
<value>Writer2LaTeX</value>
</prop>
</node>
</node>

View file

@ -1,11 +1,11 @@
<?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 Writer4LaTeX -->
<!-- Declares the dispatch protocol handled by Writer2LaTeX -->
<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.writer4latex.Writer4LaTeX" oor:op="replace">
<node oor:name="org.openoffice.da.comp.writer2latex.Writer2LaTeX" oor:op="replace">
<prop oor:name="Protocols" oor:type="oor:string-list">
<value>org.openoffice.da.writer4latex:*</value>
<value>org.openoffice.da.writer2latex:*</value>
</prop>
</node>
</node>

View file

@ -9,7 +9,7 @@
<!-- This node should appear in the Writer module -->
<node oor:name="com.sun.star.text.TextDocument" oor:op="fuse">
<node oor:name="Nodes">
<node oor:name="org.openoffice.da.writer4latex.configuration"
<node oor:name="org.openoffice.da.writer2latex.toolbar.configuration"
oor:op="fuse">
</node>
</node>
@ -19,13 +19,13 @@
<node oor:name="Nodes">
<!-- We define a single root node -->
<node oor:name="org.openoffice.da.writer4latex.configuration"
<node oor:name="org.openoffice.da.writer2latex.toolbar.configuration"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.configuration</value>
<value>org.openoffice.da.writer2latex.toolbar.configuration</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Writer4LaTeX</value>
<value xml:lang="en-US">Writer2LaTeX toolbar</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W4LDialogs/ConfigurationRoot.xdl</value>
@ -36,10 +36,10 @@
<node oor:name="Leaves">
<!-- and the root node has several leaves -->
<node oor:name="org.openoffice.da.writer4latex.configuration.applications"
<node oor:name="org.openoffice.da.writer2latex.toolbar.configuration.applications"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.applications</value>
<value>org.openoffice.da.writer2latex.toolbar.applications</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Applications</value>
@ -48,13 +48,13 @@
<value>%origin%/W4LDialogs/Applications.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer4latex.ApplicationsDialog</value>
<value>org.openoffice.da.writer2latex.ApplicationsDialog</value>
</prop>
</node>
<node oor:name="org.openoffice.da.writer4latex.configuration.bibliography"
<node oor:name="org.openoffice.da.writer2latex.toolbar.configuration.bibliography"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.bibliography</value>
<value>org.openoffice.da.writer2latex.toolbar.bibliography</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Bibliography</value>
@ -63,7 +63,7 @@
<value>%origin%/W4LDialogs/Bibliography.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer4latex.BibliographyDialog</value>
<value>org.openoffice.da.writer2latex.BibliographyDialog</value>
</prop>
</node>
</node>

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-schema oor:name="Options"
oor:package="org.openoffice.da.Writer4LaTeX"
<oor:component-schema oor:name="ToolbarOptions"
oor:package="org.openoffice.da.Writer2LaTeX.toolbar"
xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="Options"
oor:package="org.openoffice.da.Writer4LaTeX"
<oor:component-data oor:name="ToolbarOptions"
oor:package="org.openoffice.da.Writer2LaTeX.toolbar"
xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

View file

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -38,6 +38,32 @@
</prop>
<prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
</node>
<!-- TeX import is disabled currently
<node oor:name="org.openoffice.da.writer2latex.latex" oor:op="replace" oor:finalized="true" oor:mandatory="true">
<prop oor:name="UIName"><value>LaTeX</value></prop>
<prop oor:name="Type"><value>org.openoffice.da.writer2latex.LaTeX_File</value></prop>
<prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
<prop oor:name="FilterService"><value>org.openoffice.da.comp.writer2latex.TeXImportFilter</value></prop>
<prop oor:name="UIComponent"/>
<prop oor:name="Flags"><value>IMPORT TEMPLATE TEMPLATEPATH ALIEN 3RDPARTYFILTER</value></prop>
<prop oor:name="UserData"/>
<prop oor:name="FileFormatVersion"><value>0</value></prop>
<prop oor:name="TemplateName"/>
</node>
<node oor:name="org.openoffice.da.writer2latex.xelatex" oor:op="replace" oor:finalized="true" oor:mandatory="true">
<prop oor:name="UIName"><value>XeLaTeX</value></prop>
<prop oor:name="Type"><value>org.openoffice.da.writer2latex.XeLaTeX_File</value></prop>
<prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
<prop oor:name="FilterService"><value>org.openoffice.da.comp.writer2latex.TeXImportFilter</value></prop>
<prop oor:name="UIComponent"/>
<prop oor:name="Flags"><value>IMPORT TEMPLATE TEMPLATEPATH ALIEN 3RDPARTYFILTER</value></prop>
<prop oor:name="UserData"/>
<prop oor:name="FileFormatVersion"><value>0</value></prop>
<prop oor:name="TemplateName"/>
</node>-->
</node>

View file

@ -26,7 +26,29 @@
</prop>
<prop oor:name="ClipboardFormat"/>
</node>
<node oor:name="org.openoffice.da.writer2latex.LaTeX_File" oor:op="replace" oor:finalized="true" oor:mandatory="true">
<prop oor:name="UIName"><value>LaTeX File</value></prop>
<prop oor:name="MediaType"/>
<prop oor:name="ClipboardFormat"/>
<prop oor:name="URLPattern"/>
<prop oor:name="Extensions"><value>tex</value></prop>
<prop oor:name="Preferred"><value>true</value></prop>
<prop oor:name="DetectService"><value>org.openoffice.da.comp.writer2latex.TeXDetectService</value></prop>
<prop oor:name="PreferredFilter"><value>org.openoffice.da.writer2latex.latex</value></prop>
</node>
<node oor:name="org.openoffice.da.writer2latex.XeLaTeX_File" oor:op="replace" oor:finalized="true" oor:mandatory="true">
<prop oor:name="UIName"><value>XeLaTeX File</value></prop>
<prop oor:name="MediaType"/>
<prop oor:name="ClipboardFormat"/>
<prop oor:name="URLPattern"/>
<prop oor:name="Extensions"><value>tex</value></prop>
<prop oor:name="Preferred"><value>true</value></prop>
<prop oor:name="DetectService"><value>org.openoffice.da.comp.writer2latex.TeXDetectService</value></prop>
<prop oor:name="PreferredFilter"><value>org.openoffice.da.writer2latex.xelatex</value></prop>
</node>
</node>
</oor:component-data>

View file

@ -1,34 +1,6 @@
<?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="AddonsAOO4.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="OptionPages.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="Options.xcs"
manifest:media-type="application/vnd.sun.star.configuration-schema"/>
<manifest:file-entry
manifest:full-path="Options.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="W2LOptions.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
@ -37,22 +9,6 @@
manifest:full-path="Paths.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="w4l_types.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="w4l_filters.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="writer4latex.jar"
manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>
<manifest:file-entry
manifest:full-path="W4LDialogs/"
manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry
manifest:full-path="help"
manifest:media-type="application/vnd.sun.star.help"/>

View file

@ -3,7 +3,7 @@
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="org.openoffice.da.writer4latex.oxt" />
<identifier value="org.openoffice.da.writer2latex-configurations.oxt" />
<version value="1.5.1" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
@ -11,12 +11,12 @@
<publisher>
<name xlink:href="http://writer2latex.sourceforge.net"
lang="en">Writer2LaTeX</name>
lang="en">Writer2LaTeX configurations</name>
</publisher>
<display-name>
<name lang="da">Writer4LaTeX frontend</name>
<name lang="en">Writer4LaTeX frontend</name>
<name lang="da">Writer2LaTeX konfigurationer</name>
<name lang="en">Writer4LaTeX configurations</name>
</display-name>
<extension-description>

View file

@ -1,3 +1 @@
Writer4LaTeX integrerer Writer med din LaTeX distribution.
Sammen med Writer2LaTeX eksportfilteret (som også skal være installeret) giver det dig mulighed for at bruge Writer som LaTeX frontend
Writer2LaTeX configurations installerer skabeloner og formater til brug sammen med Writer2LaTeX

View file

@ -1,3 +1 @@
Writer4LaTeX integrates Writer with your LaTeX distribution.
Working together with the Writer2LaTeX export filter (which must be installed) this enables you to use Writer as a LaTeX frontend
Writer2LaTeX configurations installs templates and formats for use together with Writer2LaTeX