w2x toolbar configuration dialog

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@235 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-04-05 13:47:15 +00:00
parent c1fecb5252
commit 199616dde6
22 changed files with 794 additions and 178 deletions

View file

@ -12,7 +12,7 @@
<paragraph role="paragraph" xml-lang="en-US">Before you can use Writer2LaTeX you must configure it to use your LaTeX
distribution as well as viewers for the different output formats.</paragraph>
<section id="howtoget" xml-lang="en-US">
Select <emph>Tools - Options - %PRODUCTNAME Writer - Writer2LaTeX toolbar - Applications</emph>
Select <emph>Tools - Options - Writer2LaTeX toolbar - Applications</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Prerequisites</paragraph>

View file

@ -12,56 +12,36 @@
<paragraph role="paragraph" xml-lang="en-US">On this page you can configure the use of BibTeX as bibliography
database in %PRODUCTNAME Writer.</paragraph>
<section id="howtoget" xml-lang="en-US">
Select <emph>Tools - Options - %PRODUCTNAME Writer - Writer2LaTeX toolbar - Bibliography</emph>
Select <emph>Tools - Options - Writer2LaTeX toolbar - Bibliography</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Bibliography database</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Using BibTeX as bibliography database</paragraph>
<paragraph role="paragraph" xml-lang="en-US">%PRODUCTNAME Writer comes with a standard bibliography database.
Citations can be created from the content of the database.
The Writer2LaTeX toolbar provides an alternative solution: On this page you can configure the use of BibTeX
as bibliography database.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US">The standard bibliographic tool in Writer can
be used to insert citations from the bibliography database</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US">The Writer2LaTeX toolbar can be used to insert
citations from BibTeX files</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><link href="http://jabref.sourceforge.net/" name="Link to the JabRef Website">JabRef</link>
is an open source bibliography reference manager using BibTeX as native file format.
You can use JabRef to edit your BibTeX files.
In addition JabRef provides a <link href="http://jabref.sourceforge.net/OOPlugin-jabref.php" name="JabRef OOo plugin">plugin</link>
which permits you to insert citations from JabRef in your %PRODUCTNAME Writer document
using a selection of citation schemes. You should use version 0.8.999 beta or later of the plugin.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><link href="http://www.zotero.org" name="Link to the Zotero Website">Zotero</link>
is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Zotero provides a plugin for %PRODUCTNAME which permits you to insert citations from Zotero in your
%PRODUCTNAME Writer document using a selection of citation schemes.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" xml-lang="en-US">In the first case, you should not make any settings to this page.
Writer2LaTeX can optionally convert to and format your citations with BibTeX if you choose so in the export
dialog.
Citations can be created from the content of the database.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">On the other hand, LaTeX traditionally stores bibliographic
information in the BibTeX database format.
The Writer2LaTeX toolbar enables you to use BibTeX databases directly in %PRODUCTNAME Writer.
With this feature you can create citations from a BibTeX file rather than from the standard bibliography database.
</paragraph>
<paragraph role="paragraph" xml-lang="en-US">In the other cases it makes sense to use the original BibTeX files
in the LaTeX document.
<paragraph role="paragraph" xml-lang="en-US">The following sections describe four different
ways to handle bibliograhic citations.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Using the standard bibliography database</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you want to use the standard tools in %PRODUCTNAME Writer
to manage and create citations, you should not make any settings to this page.
Upon export, Writer2LaTeX can convert to and format your citations with BibTeX.
You can enable this in the export dialog.
</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" id="bm_useexternalbibtexfiles"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use BibTeX as bibliography database</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use the original BibTeX files in the LaTeX document rather than converting the
inserted references back into BibTeX.</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" visibility="hidden">Check this if your citatations are inserted from BibTeX file(s)</ahelp></paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Use BibTeX as bibliography database</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyUseExternalBibTeXFiles" visibility="hidden">Check this to enable the insertion of citations from BibTeX file(s)</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to enable the use of BibTeX as bibliograhy database.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">You can then use the
<link href="org.openoffice.da.writer2latex.oxt/bibtex.xhp"
name="Writer2LaTeX toolbar">Writer2LaTeX toolbar</link> to insert citations from BibTeX files.
Upon export, Writer2LaTeX can format your citations with BibTeX using the original BibTeX files.
You can enable this in the export dialog.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyBibTeXLocation" id="bm_bibtexlocation"/>
<paragraph role="heading" level="3" xml-lang="en-US">BibTeX location</paragraph>
@ -73,7 +53,7 @@
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>In subfolder of document folder</emph>: Select this option if you
want to use project-specific BibTeX files. For example using a folder named "bibliopgraphy" relative to the document
want to use project-specific BibTeX files. For example using a folder named "bibliography" relative to the document
folder.</paragraph>
</listitem>
<listitem>
@ -94,13 +74,18 @@
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyBibTeXDirButton" visibility="hidden">Click to select the path to the folder containing the BibTeX files</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" id="bm_convertzoterocitations"/>
<paragraph role="heading" level="3" xml-lang="en-US">Convert Zotero citations</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Convert Zotero citations</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><link href="http://www.zotero.org" name="Link to the Zotero Website">Zotero</link>
is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Zotero provides a plugin for %PRODUCTNAME which permits you to insert citations from Zotero in your
%PRODUCTNAME Writer document using a selection of citation schemes.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert Zotero citations to LaTeX.
This enables you to format the citations using a BibTeX style of your choice.
Also, the bibliography created by Zotero will be replaced with a BibTeX-generated bibliography.
If you do not check this option, the original
citation text inserted by Zotero will be used.</paragraph>
<paragraph role="heading" level="4" xml-lang="en-US">Exporting your Zotero database to BibTeX</paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Exporting your Zotero database to BibTeX</paragraph>
<paragraph role="paragraph" xml-lang="en-US">To use this feature you must export your Zotero database to the specified
folder.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The Writer2LaTeX distribution contains a folder named <emph>Zotero</emph>,
@ -114,7 +99,14 @@
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:BibliographyConvertZoteroCitations" visibility="hidden">Check this to convert Zotero citations to LaTeX</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2latex.oxt:BibliographyConvertJabRefCitations" id="bm_convertjabrefcitations"/>
<paragraph role="heading" level="3" xml-lang="en-US">Convert JabRef citations</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Convert JabRef citations</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><link href="http://jabref.sourceforge.net/" name="Link to the JabRef Website">JabRef</link>
is an open source bibliography reference manager using BibTeX as native file format.
You can use JabRef to edit your BibTeX files.
In addition JabRef provides a <link href="http://jabref.sourceforge.net/OOPlugin-jabref.php" name="JabRef OOo plugin">plugin</link>
which permits you to insert citations from JabRef in your %PRODUCTNAME Writer document
using a selection of citation schemes. You should use version 0.8.999 beta or later of the plugin.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to convert JabRef citations to LaTeX.
This enables you to format the citations using a BibTeX style of your choice.
Also, the bibliography created by JabRef will be replaced with a BibTeX-generated bibliography.

View file

@ -41,10 +41,22 @@
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="OptionPages.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="W2XDialogs/"
manifest:media-type="application/vnd.sun.star.basic-library"/>

View file

@ -0,0 +1,57 @@
<?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.writer2xhtml.toolbar.configuration"
oor:op="fuse">
</node>
</node>
</node>
</node>
<node oor:name="Nodes">
<!-- We define a single root node -->
<node oor:name="org.openoffice.da.writer2xhtml.toolbar.configuration"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer2xhtml.toolbar.configuration</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Writer2xhtml toolbar</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W2XDialogs2/ToolbarConfigurationRoot.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.writer2xhtml.toolbar.settings"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer2xhtml.toolbar.settings</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Settings</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W2XDialogs2/ToolbarSettings.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer2xhtml.ToolbarSettingsDialog</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>

View file

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-schema oor:name="ToolbarOptions"
oor:package="org.openoffice.da.Writer2xhtml.toolbar"
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">
<component>
<group oor:name="Settings">
<prop oor:name="XhtmlFormat" oor:type="xs:short" />
<prop oor:name="XhtmlView" oor:type="xs:short" />
<prop oor:name="XhtmlExecutable" oor:type="xs:string" />
<prop oor:name="EpubFormat" oor:type="xs:short" />
<prop oor:name="EpubView" oor:type="xs:short" />
<prop oor:name="EpubExecutable" oor:type="xs:string" />
</group>
</component>
</oor:component-schema>

View file

@ -0,0 +1,27 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="ToolbarOptions"
oor:package="org.openoffice.da.Writer2xhtml.toolbar"
xml:lang="en-US"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<node oor:name="Settings">
<prop oor:name="XhtmlFormat" oor:type="xs:short">
<value>3</value><!-- HTML5 -->
</prop>
<prop oor:name="XhtmlView" oor:type="xs:short">
<value>1</value><!-- Default application -->
</prop>
<prop oor:name="XhtmlExecutable" oor:type="xs:string">
<value></value>
</prop>
<prop oor:name="EpubFormat" oor:type="xs:short">
<value>1</value><!-- EPUB3 -->
</prop>
<prop oor:name="EpubView" oor:type="xs:short">
<value>1</value><!-- Default application -->
</prop>
<prop oor:name="EpubExecutable" oor:type="xs:string">
<value></value>
</prop>
</node>
</oor:component-data>

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Configuration1" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="ConfigurationRoot" dlg:withtitlebar="false">
<dlg:styles>
<dlg:style dlg:style-id="0" dlg:border="none"/>
<dlg:style dlg:style-id="1" dlg:font-height="14"/>
</dlg:styles>
<dlg:bulletinboard>
<dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="0" dlg:left="6" dlg:top="32" dlg:width="248" dlg:height="2"/>
<dlg:img dlg:style-id="0" dlg:id="ImageControl1" dlg:tab-index="1" dlg:left="8" dlg:top="6" dlg:width="21" dlg:height="21" dlg:scale-image="false" dlg:src="../images/w2licon.png"/>
<dlg:text dlg:style-id="1" dlg:id="Label1" dlg:tab-index="2" dlg:left="34" dlg:top="10" dlg:width="193" dlg:height="16" dlg:value="Writer2xhtml Toolbar Configuration"/>
<dlg:text dlg:id="Label2" dlg:tab-index="3" dlg:left="34" dlg:top="43" dlg:width="194" dlg:height="78" dlg:value="This is where you configure the Writer2xhtml toolbar." dlg:multiline="true"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Configuration" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer2xhtml Toolbar Configuration" dlg:withtitlebar="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsDialog">
<dlg:bulletinboard>
<dlg:text dlg:id="XhtmlLabel" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="210" dlg:height="12" dlg:value="XHTML Export"/>
<dlg:text dlg:id="XhtmlFormatLabel" dlg:tab-index="1" dlg:left="12" dlg:top="18" dlg:width="55" dlg:height="12" dlg:value="Format"/>
<dlg:menulist dlg:id="XhtmlFormat" dlg:tab-index="2" dlg:left="72" dlg:top="16" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlFormat">
<dlg:menupopup>
<dlg:menuitem dlg:value="XHTML 1.0 strict"/>
<dlg:menuitem dlg:value="XHTML 1.1"/>
<dlg:menuitem dlg:value="XHTML 1.1 + MathML 2.0"/>
<dlg:menuitem dlg:value="HTML5" dlg:selected="true"/>
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:XhtmlFormatChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="XhtmlViewLabel" dlg:tab-index="3" dlg:left="12" dlg:top="32" dlg:width="55" dlg:height="12" dlg:value="After export"/>
<dlg:menulist dlg:id="XhtmlView" dlg:tab-index="4" dlg:left="72" dlg:top="30" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="3" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlView">
<dlg:menupopup>
<dlg:menuitem dlg:value="Do nothing"/>
<dlg:menuitem dlg:value="open with default web browser" dlg:selected="true"/>
<dlg:menuitem dlg:value="open with custom application"/>
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:XhtmlViewChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="XhtmlExecutableLabel" dlg:tab-index="5" dlg:left="12" dlg:top="44" dlg:width="55" dlg:height="12" dlg:value="Application"/>
<dlg:textfield dlg:id="XhtmlExecutable" dlg:tab-index="6" dlg:left="72" dlg:top="44" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlExecutable"/>
<dlg:button dlg:id="XhtmlBrowseButton" dlg:tab-index="7" dlg:left="200" dlg:top="43" dlg:width="55" dlg:height="14" dlg:value="Browse..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlBrowse">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:XhtmlBrowseClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="EpubLabel" dlg:tab-index="8" dlg:left="6" dlg:top="58" dlg:width="210" dlg:height="12" dlg:value="EPUB Export"/>
<dlg:text dlg:id="EpubFormatLabel" dlg:tab-index="9" dlg:left="12" dlg:top="72" dlg:width="55" dlg:height="12" dlg:value="Format"/>
<dlg:menulist dlg:id="EpubFormat" dlg:tab-index="10" dlg:left="72" dlg:top="70" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="2" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsEpubFormat">
<dlg:menupopup>
<dlg:menuitem dlg:value="EPUB 2"/>
<dlg:menuitem dlg:value="EPUB 3" dlg:selected="true"/>
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:EpubFormatChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="EpubViewLabel" dlg:tab-index="11" dlg:left="12" dlg:top="86" dlg:width="55" dlg:height="12" dlg:value="After export"/>
<dlg:menulist dlg:id="EpubView" dlg:tab-index="12" dlg:left="72" dlg:top="84" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="3" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsEpubView">
<dlg:menupopup>
<dlg:menuitem dlg:value="Do nothing"/>
<dlg:menuitem dlg:value="open with default viewer" dlg:selected="true"/>
<dlg:menuitem dlg:value="open with custom application"/>
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:EpubViewChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="EpubExecutableLabel" dlg:tab-index="13" dlg:left="12" dlg:top="98" dlg:width="55" dlg:height="12" dlg:value="Application"/>
<dlg:textfield dlg:id="EpubExecutable" dlg:tab-index="14" dlg:left="72" dlg:top="98" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsEpubExecutable"/>
<dlg:button dlg:id="EpubBrowseButton" dlg:tab-index="15" dlg:left="200" dlg:top="97" dlg:width="55" dlg:height="14" dlg:value="Browse..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SettingsEpubBrowse">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:EpubBrowseClick" script:language="UNO"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>

View file

@ -16,4 +16,6 @@
<library:element library:name="EpubMetadata"/>
<library:element library:name="AuthorDialog"/>
<library:element library:name="DateDialog"/>
<library:element library:name="ToolbarConfigurationRoot"/>
<library:element library:name="ToolbarSettings"/>
</library:library>

View file

@ -7,15 +7,18 @@
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/export_calc.xhp">XHTML Export (Calc)</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/epub_export.xhp">EPUB Export (Writer)</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/epub_metadata.xhp">EPUB document properties (Writer)</topic>
<node id="w2l0x_configuration" title="Custom style">
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp">Introduction</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/General.xhp">General</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Template.xhp">Template</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Stylesheets.xhp">Style sheets</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Masterstyles.xhp">Master styles</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Otherstyles.xhp">Other styles</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Formatting.xhp">Formatting</topic>
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Content.xhp">Content</topic>
<node id="w2x01_toolbar_configuration" title="Toolbar configuration">
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/settings.xhp">Settings</topic>
</node>
<node id="w2x01_configuration" title="Custom style">
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp">Introduction</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/General.xhp">General</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Template.xhp">Template</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Stylesheets.xhp">Style sheets</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Masterstyles.xhp">Master styles</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Otherstyles.xhp">Other styles</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Formatting.xhp">Formatting</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/Configuration/Content.xhp">Content</topic>
</node>
</help_section>
</tree_view>

View file

@ -36,6 +36,10 @@
<paragraph role="paragraph" xml-lang="en-US"><link href="org.openoffice.da.writer2xhtml.oxt/epub_export.xhp"
name="Export XHTML or EPUB files">EPUB [Writer2xhtml]</link></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><link href="org.openoffice.da.writer2xhtml.oxt/epub_export.xhp"
name="Export XHTML or EPUB files">EPUB 3 [Writer2xhtml]</link></paragraph>
</listitem>
</list>
<paragraph role="paragraph" xml-lang="en-US">It further adds a number of entries to the <emph>File - Export</emph>
@ -58,7 +62,8 @@
<paragraph role="heading" level="2" xml-lang="en-US">Using the Writer2xhtml toolbar</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Writer2xhtml adds a toolbar in Writer and Calc,
providing the following commands.</paragraph>
providing the following commands. You can <link href="org.openoffice.da.writer2xhtml.oxt/settings.xhp"
name="Writer2xhtml toolbar settings">configure</link> the behavior of the toolbar.</paragraph>
<paragraph role="heading" level="3" xml-lang="en-US"><link href="org.openoffice.da.writer2xhtml.oxt/export.xhp"
name="Export XHTML files">Publish to XHTML</link></paragraph>

View file

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-settings" indexer="include">
<title xml-lang="en-US">Toolbar Settings</title>
<filename>org.openoffice.da.writer2xhtml.oxt/settings.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsDialog" id="bm_settingsdialog"/>
<paragraph role="heading" level="1" xml-lang="en-US">Writer2xhtml Toolbar Settings</paragraph>
<section id="howtoget" xml-lang="en-US">
Select <emph>Tools - Options - Writer2xhtml toolbar - Settings</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">XHTML Export</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use these settings to configure the behavior of the XHTML export button in the toolbar.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlFormat" id="bm_settingsxhtmlformat"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsXhtmlFormat" visibility="hidden">Select the XHTML format to use when clicking the XHTML export button in the toolbar</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Format</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select an XHTML format in the list. This format will be used when you click the XHTML
export button in the toolbar. The default format is HTML5.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlView" id="bm_settingsxhtmlview"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsXhtmlView" visibility="hidden">Choose the desired behavior after export</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">After export</paragraph>
<paragraph role="paragraph" xml-lang="en-US">After export, Writer2xhtml can display the result in a web browser.
Choose the desired behavior in the list.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Do nothing</emph> if you do not want to view the result after export</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Open with default web browser</emph> if you view the result using your
system's default web browser
</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Open with custom application</emph> if you want to view the result using an application
of your choice.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlExecutable" id="bm_settingsxhtmlexecutable"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsXhtmlExecutable" visibility="hidden">Enter the full path to the application you wish to use</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Application</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the full path to the application you wish to use.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsXhtmlBrowse" id="bm_settingsxhtmlbrowse"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsXhtmlBrowse" visibility="hidden">Browse for the application</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Browse...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this to open a file dialog, where you can browse for the application.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">EPUB Export</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use these settings to configure the behavior of the EPUB export button in the toolbar.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsEpubFormat" id="bm_settingsepubformat"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsEpubFormat" visibility="hidden">Select the EPUB format to use when clicking the EPUB export button in the toolbar</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Format</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select an EPUB format in the list. This format will be used when you click the EPUB
export button in the toolbar. The default format is EPUB 3.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsEpubView" id="bm_settingsepubview"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsEpubView" visibility="hidden">Choose the desired behavior after export</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">After export</paragraph>
<paragraph role="paragraph" xml-lang="en-US">After export, Writer2xhtml can display the result in an EPUB reader.
Choose the desired behavior in the list.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Do nothing</emph> if you do not want to view the result after export</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Open with default web browser</emph> if you view the result using your
system's default EPUB reader.
</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Open with custom application</emph> if you want to view the result using an application
of your choice.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsEpubExecutable" id="bm_settingsepubexecutable"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsEpubExecutable" visibility="hidden">Enter the full path to the application you wish to use</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Application</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the full path to the application you wish to use.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SettingsEpubBrowse" id="bm_settingsepubbrowse"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:SettingsEpubBrowse" visibility="hidden">Browse for the application</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Browse...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this to open a file dialog, where you can browse for the application.</paragraph>
</body>
</helpdocument>