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,83 +0,0 @@
<?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 -->
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="org.openoffice.da.writer4latex.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">Insert BibTeX citation</value>
<value xml:lang="da">Indsæt BibTeX-reference</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.writer4latex:InsertBibTeX</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/bibtex</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 to LaTeX</value>
<value xml:lang="da">Publicer til LaTeX</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.writer4latex:ProcessDocument</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/latex</value>
</prop>
</node>
<node oor:name="button3" 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">View log files</value>
<value xml:lang="da">Vis logfiler</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.writer4latex:ViewLog</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/log</value>
</prop>
</node>
<node oor:name="button4" 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">Edit custom format</value>
<value xml:lang="da">Rediger brugerdefineret format</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>.uno:OptionsTreeDialog?OptionsPageURL:string=%origin%/W2LDialogs2/Documentclass.xdl</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/custom</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>

View file

@ -1,88 +0,0 @@
<?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 -->
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="org.openoffice.da.writer4latex.OfficeToolBar.AOO4" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Writer4LaTeX</value>
</prop>
<node oor:name="ToolBarItems">
<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">Insert BibTeX citation</value>
<value xml:lang="da">Indsæt BibTeX-reference</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.writer4latex:InsertBibTeX</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/bibtex</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 to LaTeX</value>
<value xml:lang="da">Publicer til LaTeX</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.writer4latex:ProcessDocument</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/latex</value>
</prop>
</node>
<node oor:name="button3" 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">View log files</value>
<value xml:lang="da">Vis logfiler</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.writer4latex:ViewLog</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/log</value>
</prop>
</node>
<node oor:name="button4" 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">Edit custom format</value>
<value xml:lang="da">Rediger brugerdefineret format</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<value>.uno:OptionsTreeDialog?OptionsPageURL:string=%origin%/W2LDialogs2/Documentclass.xdl</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>%origin%/icons/custom</value>
</prop>
</node>
</node>
</node>
</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

@ -1,15 +0,0 @@
<?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.writer4latex.OfficeToolBar" oor:op="replace">
<prop oor:name="UIName" oor:type="xs:string">
<value>Writer4LaTeX</value>
</prop>
</node>
</node>
</node>
</oor:component-data>

View file

@ -1,72 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="OptionsDialog" 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">
<node oor:name="Modules">
<!-- 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"
oor:op="fuse">
</node>
</node>
</node>
</node>
<node oor:name="Nodes">
<!-- We define a single root node -->
<node oor:name="org.openoffice.da.writer4latex.configuration"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.configuration</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Writer4LaTeX</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W4LDialogs/ConfigurationRoot.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value></value>
</prop>
<node oor:name="Leaves">
<!-- and the root node has several leaves -->
<node oor:name="org.openoffice.da.writer4latex.configuration.applications"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.applications</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Applications</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W4LDialogs/Applications.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer4latex.ApplicationsDialog</value>
</prop>
</node>
<node oor:name="org.openoffice.da.writer4latex.configuration.bibliography"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer4latex.bibliography</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Bibliography</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W4LDialogs/Bibliography.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer4latex.BibliographyDialog</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>

View file

@ -1,38 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-schema oor:name="Options"
oor:package="org.openoffice.da.Writer4LaTeX"
xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<templates>
<group oor:name="Application">
<prop oor:name="Executable" oor:type="xs:string" />
<prop oor:name="Options" oor:type="xs:string" />
</group>
</templates>
<component>
<group oor:name="Applications">
<node-ref oor:name="LaTeX" oor:node-type="Application" />
<node-ref oor:name="PdfLaTeX" oor:node-type="Application" />
<node-ref oor:name="XeLaTeX" oor:node-type="Application" />
<node-ref oor:name="BibTeX" oor:node-type="Application" />
<node-ref oor:name="Makeindex" oor:node-type="Application" />
<node-ref oor:name="Mk4ht" oor:node-type="Application" />
<node-ref oor:name="Dvips" oor:node-type="Application" />
<node-ref oor:name="DVIViewer" oor:node-type="Application" />
<node-ref oor:name="PostscriptViewer" oor:node-type="Application" />
<node-ref oor:name="PdfViewer" oor:node-type="Application" />
</group>
<group oor:name="BibliographyOptions">
<prop oor:name="UseExternalBibTeXFiles" oor:type="xs:boolean" />
<prop oor:name="ConvertZoteroCitations" oor:type="xs:boolean" />
<prop oor:name="ConvertJabRefCitations" oor:type="xs:boolean" />
<prop oor:name="IncludeOriginalCitations" oor:type="xs:boolean" />
<prop oor:name="BibTeXLocation" oor:type="xs:short" />
<prop oor:name="BibTeXDir" oor:type="xs:string" />
<prop oor:name="UseNatbib" oor:type="xs:boolean" />
<prop oor:name="NatbibOptions" oor:type="xs:string" />
</group>
</component>
</oor:component-schema>

View file

@ -1,115 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="Options"
oor:package="org.openoffice.da.Writer4LaTeX"
xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<node oor:name="Applications">
<node oor:name="LaTeX" oor:type="xs:string">
<prop oor:name="Executable">
<value>latex</value>
</prop>
<prop oor:name="Options">
<value>--interaction=batchmode %s</value>
</prop>
</node>
<node oor:name="PdfLaTeX" oor:type="xs:string">
<prop oor:name="Executable">
<value>pdflatex</value>
</prop>
<prop oor:name="Options">
<value>--interaction=batchmode %s</value>
</prop>
</node>
<node oor:name="XeLaTeX" oor:type="xs:string">
<prop oor:name="Executable">
<value>xelatex</value>
</prop>
<prop oor:name="Options">
<value>--interaction=batchmode %s</value>
</prop>
</node>
<node oor:name="BibTeX" oor:type="xs:string">
<prop oor:name="Executable">
<value>bibtex</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
<node oor:name="Makeindex" oor:type="xs:string">
<prop oor:name="Executable">
<value>makeindex</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
<node oor:name="Mk4ht" oor:type="xs:string">
<prop oor:name="Executable">
<value>mk4ht</value>
</prop>
<prop oor:name="Options">
<value>oolatex %s</value>
</prop>
</node>
<node oor:name="Dvips" oor:type="xs:string">
<prop oor:name="Executable">
<value>dvips</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
<node oor:name="DVIViewer" oor:type="xs:string">
<prop oor:name="Executable">
<value>evince</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
<node oor:name="PostscriptViewer" oor:type="xs:string">
<prop oor:name="Executable">
<value>evince</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
<node oor:name="PdfViewer" oor:type="xs:string">
<prop oor:name="Executable">
<value>evince</value>
</prop>
<prop oor:name="Options">
<value>%s</value>
</prop>
</node>
</node>
<node oor:name="BibliographyOptions">
<prop oor:name="UseExternalBibTeXFiles" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="ConvertZoteroCitations" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="ConvertJabRefCitations" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="IncludeOriginalCitations" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="BibTeXLocation" oor:type="xs:short">
<value>2</value><!-- document directory -->
</prop>
<prop oor:name="BibTeXDir" oor:type="xs:string">
<value></value>
</prop>
<prop oor:name="UseNatbib" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="NatbibOptions" oor:type="xs:string">
<value></value>
</prop>
</node>
</oor:component-data>

View file

@ -1,12 +0,0 @@
<?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 -->
<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">
<prop oor:name="Protocols" oor:type="oor:string-list">
<value>org.openoffice.da.writer4latex:*</value>
</prop>
</node>
</node>
</oor:component-data>

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB