W2X help content

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@66 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2010-05-27 08:03:47 +00:00
parent 7f4f47c98b
commit 66440ed06d
28 changed files with 538 additions and 57 deletions

View file

@ -1,7 +1,7 @@
Writer2LaTeX version 1.1.3 (development release)
Writer2LaTeX version 1.1.4 (development release)
================================================
This is the distribution of Writer2LaTeX version 1.1.3
This is the distribution of Writer2LaTeX version 1.1.4
Latest version can be found at the web site
http://writer2latex.sourceforge.net

View file

@ -1,5 +1,11 @@
Changelog for Writer2LaTeX version 1.0 -> 1.2
---------- version 1.1.4 ----------
[w2x] Added help content for custom format
[all] Bugfix: Heading styles are now recognized correctly again in old file format (sxw)
---------- version 1.1.3 ----------
[w2x] The standard configuration cleanxhtml.xml now maps footnote and endnote references to <sup>

Binary file not shown.

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-05-17)
* Version 1.2 (2010-05-27)
*
*/
@ -32,8 +32,8 @@ package writer2latex.api;
public class ConverterFactory {
// Version information
private static final String VERSION = "1.1.3";
private static final String DATE = "2010-05-17";
private static final String VERSION = "1.1.4";
private static final String DATE = "2010-05-27";
/** Return the Writer2LaTeX version in the form
* (major version).(minor version).(patch level)<br/>

View file

@ -1022,7 +1022,13 @@ public class OfficeReader {
//collectMasterPage(getParStyle(node.getAttribute(XMLString.TEXT_STYLE_NAME)));
}
else if (sName.equals(XMLString.TEXT_H)) {
int nLevel = Misc.getPosInteger(node.getAttribute(XMLString.TEXT_OUTLINE_LEVEL),1);
int nLevel;
if (node.hasAttribute(XMLString.TEXT_OUTLINE_LEVEL)) {
nLevel = Misc.getPosInteger(node.getAttribute(XMLString.TEXT_OUTLINE_LEVEL),1);
}
else {
nLevel = Misc.getPosInteger(node.getAttribute(XMLString.TEXT_LEVEL),1);
}
StyleWithProperties style = getParStyle(node.getAttribute(XMLString.TEXT_STYLE_NAME));
//collectMasterPage(style);
if (1<=nLevel && nLevel<=10 && heading[nLevel]==null) {

View file

@ -5,7 +5,7 @@
<identifier value="org.openoffice.da.writer2latex.oxt"/>
<version value="1.1.3" />
<version value="1.1.4" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="FormulasHeadingLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Formulas"/>
<dlg:text dlg:id="FormulasLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="110" dlg:height="12" dlg:value="Include as"/>
<dlg:menulist dlg:id="Formulas" dlg:tab-index="2" dlg:left="130" dlg:top="20" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4">
<dlg:menulist dlg:id="Formulas" dlg:tab-index="2" dlg:left="130" dlg:top="20" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Formulas">
<dlg:menupopup>
<dlg:menuitem dlg:value="Image with StarMath code"/>
<dlg:menuitem dlg:value="Image with LaTeX code"/>

View file

@ -3,7 +3,7 @@
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Formatting" dlg:left="139" dlg:top="84" dlg:width="258" dlg:height="172" dlg:closeable="true" dlg:moveable="true" dlg:title="Formatting" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="FormattingLabel" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="110" dlg:height="12" dlg:value="Formatting"/>
<dlg:menulist dlg:id="Formatting" dlg:tab-index="1" dlg:left="130" dlg:top="6" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4">
<dlg:menulist dlg:id="Formatting" dlg:tab-index="1" dlg:left="130" dlg:top="6" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Formatting">
<dlg:menupopup>
<dlg:menuitem dlg:value="Convert all"/>
<dlg:menuitem dlg:value="Ignore styles"/>
@ -12,7 +12,7 @@
</dlg:menupopup>
</dlg:menulist>
<dlg:text dlg:id="FrameFormattingLabel" dlg:tab-index="2" dlg:left="10" dlg:top="22" dlg:width="110" dlg:height="12" dlg:value="Frame formatting"/>
<dlg:menulist dlg:id="FrameFormatting" dlg:tab-index="3" dlg:left="130" dlg:top="20" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4">
<dlg:menulist dlg:id="FrameFormatting" dlg:tab-index="3" dlg:left="130" dlg:top="20" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:FrameFormatting">
<dlg:menupopup>
<dlg:menuitem dlg:value="Convert all"/>
<dlg:menuitem dlg:value="Ignore styles"/>
@ -20,18 +20,18 @@
<dlg:menuitem dlg:value="Ignore all"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:checkbox dlg:id="SectionFormatting" dlg:tab-index="4" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Convert section formatting" dlg:checked="false"/>
<dlg:checkbox dlg:id="TableFormatting" dlg:tab-index="5" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Convert table formatting" dlg:checked="false"/>
<dlg:checkbox dlg:id="IgnoreTableDimensions" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Ignore table dimensions" dlg:checked="false"/>
<dlg:checkbox dlg:id="SectionFormatting" dlg:tab-index="4" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Convert section formatting" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SectionFormatting"/>
<dlg:checkbox dlg:id="TableFormatting" dlg:tab-index="5" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Convert table formatting" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:TableFormatting"/>
<dlg:checkbox dlg:id="IgnoreTableDimensions" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Ignore table dimensions" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:IgnoreTableDimensions"/>
<dlg:text dlg:id="ListFormattingLabel" dlg:tab-index="7" dlg:left="10" dlg:top="78" dlg:width="110" dlg:height="12" dlg:value="List formatting"/>
<dlg:menulist dlg:id="ListFormatting" dlg:tab-index="8" dlg:left="130" dlg:top="76" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="3">
<dlg:menulist dlg:id="ListFormatting" dlg:tab-index="8" dlg:left="130" dlg:top="76" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="3" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:ListFormatting">
<dlg:menupopup>
<dlg:menuitem dlg:value="Use CSS1"/>
<dlg:menuitem dlg:value="Use CSS1 and non-standard lists"/>
<dlg:menuitem dlg:value="Use hard labels"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:visible="false" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Convert units to px (pixels)" dlg:checked="false"/>
<dlg:checkbox dlg:id="SeparateStylesheet" dlg:tab-index="10" dlg:visible="false" dlg:left="10" dlg:top="106" dlg:width="240" dlg:height="12" dlg:value="Create separate styles sheet on file split" dlg:checked="false"/>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:visible="false" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Convert units to px (pixels)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:ConvertToPx"/>
<dlg:checkbox dlg:id="SeparateStylesheet" dlg:tab-index="10" dlg:visible="false" dlg:left="10" dlg:top="106" dlg:width="240" dlg:height="12" dlg:value="Create separate styles sheet on file split" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:SeparateStyleSheet"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -2,10 +2,10 @@
<!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="General" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="General" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:checkbox dlg:id="NoDoctype" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not include DOCTYPE" dlg:checked="false"/>
<dlg:checkbox dlg:id="AddBOM" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Add Byte Order Mark (BOM)" dlg:checked="false"/>
<dlg:checkbox dlg:id="NoDoctype" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Do not include DOCTYPE" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:NoDoctype"/>
<dlg:checkbox dlg:id="AddBOM" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Add Byte Order Mark (BOM)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:AddBOM"/>
<dlg:text dlg:id="EncodingLabel" dlg:tab-index="2" dlg:left="10" dlg:top="36" dlg:width="110" dlg:height="12" dlg:value="Encoding"/>
<dlg:menulist dlg:id="Encoding" dlg:tab-index="3" dlg:left="130" dlg:top="34" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4">
<dlg:menulist dlg:id="Encoding" dlg:tab-index="3" dlg:left="130" dlg:top="34" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="4" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Encoding">
<dlg:menupopup>
<dlg:menuitem dlg:value="UTF-8"/>
<dlg:menuitem dlg:value="UTF-16"/>
@ -15,14 +15,14 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:EncodingChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="HexadecimalEntitiesLabel" dlg:tab-index="4" dlg:left="10" dlg:top="50" dlg:width="110" dlg:height="12" dlg:value="Numeric character entities"/>
<dlg:menulist dlg:id="HexadecimalEntities" dlg:tab-index="5" dlg:left="130" dlg:top="48" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="2">
<dlg:menulist dlg:id="HexadecimalEntities" dlg:tab-index="5" dlg:left="130" dlg:top="48" dlg:width="120" dlg:height="12" dlg:spin="true" dlg:linecount="2" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:HexadecimalEntities">
<dlg:menupopup>
<dlg:menuitem dlg:value="Hexadecimal"/>
<dlg:menuitem dlg:value="Decimal"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:checkbox dlg:id="UseNamedEntities" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use named character entities" dlg:checked="false"/>
<dlg:checkbox dlg:id="Multilingual" dlg:tab-index="7" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Include detailed language information" dlg:checked="false"/>
<dlg:checkbox dlg:id="PrettyPrint" dlg:tab-index="8" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Use &quot;pretty printing&quot;" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseNamedEntities" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="240" dlg:height="12" dlg:value="Use named character entities" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseNamedEntities"/>
<dlg:checkbox dlg:id="Multilingual" dlg:tab-index="7" dlg:left="10" dlg:top="78" dlg:width="240" dlg:height="12" dlg:value="Include detailed language information" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Multilingual"/>
<dlg:checkbox dlg:id="PrettyPrint" dlg:tab-index="8" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Use &quot;pretty printing&quot;" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:PrettyPrint"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="StyleMappingsLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Style mappings"/>
<dlg:text dlg:id="StyleFamilyLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="60" dlg:height="12" dlg:value="Style family"/>
<dlg:menulist dlg:id="StyleFamily" dlg:tab-index="2" dlg:left="80" dlg:top="20" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="5">
<dlg:menulist dlg:id="StyleFamily" dlg:tab-index="2" dlg:left="80" dlg:top="20" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="5" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:StyleFamily">
<dlg:menupopup>
<dlg:menuitem dlg:value="Character"/>
<dlg:menuitem dlg:value="Paragraph"/>
@ -15,24 +15,24 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:StyleFamilyChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="StyleNameLabel" dlg:tab-index="3" dlg:left="10" dlg:top="42" dlg:width="60" dlg:height="12" dlg:value="Style name"/>
<dlg:menulist dlg:id="StyleName" dlg:tab-index="4" dlg:left="80" dlg:top="40" dlg:width="80" dlg:height="12" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="StyleName" dlg:tab-index="4" dlg:left="80" dlg:top="40" dlg:width="80" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:StyleName">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:StyleNameChange" script:language="UNO"/>
</dlg:menulist>
<dlg:button dlg:id="NewStyleButton" dlg:tab-index="5" dlg:left="165" dlg:top="40" dlg:width="40" dlg:height="12" dlg:value="New...">
<dlg:button dlg:id="NewStyleButton" dlg:tab-index="5" dlg:left="165" dlg:top="40" dlg:width="40" dlg:height="12" dlg:value="New..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:NewStyle">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:NewStyleClick" script:language="UNO"/>
</dlg:button>
<dlg:button dlg:id="DeleteStyleButton" dlg:tab-index="6" dlg:left="210" dlg:top="40" dlg:width="40" dlg:height="12" dlg:value="Delete...">
<dlg:button dlg:id="DeleteStyleButton" dlg:tab-index="6" dlg:left="210" dlg:top="40" dlg:width="40" dlg:height="12" dlg:value="Delete..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:DeleteStyle">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:DeleteStyleClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="ElementLabel" dlg:tab-index="7" dlg:left="10" dlg:top="56" dlg:width="60" dlg:height="12" dlg:value="XHTML element"/>
<dlg:combobox dlg:id="Element" dlg:tab-index="8" dlg:left="80" dlg:top="54" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="11"/>
<dlg:combobox dlg:id="Element" dlg:tab-index="8" dlg:left="80" dlg:top="54" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="11" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Element"/>
<dlg:text dlg:id="CssLabel" dlg:tab-index="9" dlg:left="10" dlg:top="70" dlg:width="60" dlg:height="12" dlg:value="CSS class"/>
<dlg:textfield dlg:id="Css" dlg:tab-index="10" dlg:left="80" dlg:top="68" dlg:width="170" dlg:height="12"/>
<dlg:textfield dlg:id="Css" dlg:tab-index="10" dlg:left="80" dlg:top="68" dlg:width="170" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Css"/>
<dlg:text dlg:id="BlockElementLabel" dlg:tab-index="11" dlg:left="10" dlg:top="84" dlg:width="60" dlg:height="12" dlg:value="Block XHTML element"/>
<dlg:combobox dlg:id="BlockElement" dlg:tab-index="12" dlg:left="80" dlg:top="82" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="10"/>
<dlg:combobox dlg:id="BlockElement" dlg:tab-index="12" dlg:left="80" dlg:top="82" dlg:width="170" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:BlockElement"/>
<dlg:text dlg:id="BlockCssLabel" dlg:tab-index="13" dlg:left="10" dlg:top="98" dlg:width="60" dlg:height="12" dlg:value="Block CSS class"/>
<dlg:textfield dlg:id="BlockCss" dlg:tab-index="14" dlg:left="80" dlg:top="96" dlg:width="170" dlg:height="12"/>
<dlg:button dlg:id="LoadDefaultsButton" dlg:tab-index="15" dlg:left="10" dlg:top="118" dlg:width="120" dlg:height="12" dlg:value="Load default mappings...">
<dlg:textfield dlg:id="BlockCss" dlg:tab-index="14" dlg:left="80" dlg:top="96" dlg:width="170" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:BlockCss"/>
<dlg:button dlg:id="LoadDefaultsButton" dlg:tab-index="15" dlg:left="10" dlg:top="118" dlg:width="120" dlg:height="12" dlg:value="Load default mappings..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:LoadDefaults">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:LoadDefaultsClick" script:language="UNO"/>
</dlg:button>
</dlg:bulletinboard>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="HardFormattingLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Style mappings for hard formatting"/>
<dlg:text dlg:id="FormattingAttributeLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="100" dlg:height="12" dlg:value="Formatting attribute"/>
<dlg:menulist dlg:id="FormattingAttribute" dlg:tab-index="2" dlg:left="120" dlg:top="20" dlg:width="130" dlg:height="12" dlg:spin="true" dlg:linecount="7">
<dlg:menulist dlg:id="FormattingAttribute" dlg:tab-index="2" dlg:left="120" dlg:top="20" dlg:width="130" dlg:height="12" dlg:spin="true" dlg:linecount="7" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:FormattingAttribute">
<dlg:menupopup>
<dlg:menuitem dlg:value="Bold"/>
<dlg:menuitem dlg:value="Italics"/>
@ -16,15 +16,15 @@
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:FormattingAttributeChange" script:language="UNO"/>
</dlg:menulist>
<dlg:checkbox dlg:id="CustomAttribute" dlg:tab-index="3" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Apply custom style" dlg:checked="false">
<dlg:checkbox dlg:id="CustomAttribute" dlg:tab-index="3" dlg:left="10" dlg:top="36" dlg:width="240" dlg:height="12" dlg:value="Apply custom style" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:CustomAttribute">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:CustomAttributeChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="ElementLabel" dlg:tab-index="4" dlg:left="10" dlg:top="50" dlg:width="100" dlg:height="12" dlg:value="XHTML element"/>
<dlg:combobox dlg:id="Element" dlg:tab-index="5" dlg:left="120" dlg:top="48" dlg:width="130" dlg:height="12" dlg:spin="true" dlg:linecount="10"/>
<dlg:combobox dlg:id="Element" dlg:tab-index="5" dlg:left="120" dlg:top="48" dlg:width="130" dlg:height="12" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:AttributeElement"/>
<dlg:text dlg:id="CssLabel" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="100" dlg:height="12" dlg:value="CSS class"/>
<dlg:textfield dlg:id="Css" dlg:tab-index="7" dlg:left="120" dlg:top="62" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="Css" dlg:tab-index="7" dlg:left="120" dlg:top="62" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:AttributeCss"/>
<dlg:text dlg:id="OtherStylesLabel" dlg:tab-index="8" dlg:left="5" dlg:top="78" dlg:width="245" dlg:height="12" dlg:value="Other styles"/>
<dlg:text dlg:id="TabstopLabel" dlg:tab-index="9" dlg:left="10" dlg:top="92" dlg:width="100" dlg:height="12" dlg:value="CSS class for tabulator stop"/>
<dlg:textfield dlg:id="TabstopStyle" dlg:tab-index="10" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12"/>
<dlg:textfield dlg:id="TabstopStyle" dlg:tab-index="10" dlg:left="120" dlg:top="90" dlg:width="130" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:TabstopStyle"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -4,17 +4,17 @@
<dlg:bulletinboard>
<dlg:text dlg:id="IncludedCustomStylesheetLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="245" dlg:height="12" dlg:value="Custom style sheets"/>
<dlg:checkbox dlg:id="LinkCustomStylesheet" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Insert link to custom style sheet (XHTML export)" dlg:checked="false">
<dlg:checkbox dlg:id="LinkCustomStylesheet" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="240" dlg:height="12" dlg:value="Insert link to custom style sheet (XHTML export)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:LinkCustomStylesheet">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:LinkCustomStylesheetChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="CustomStylesheetURLLabel" dlg:tab-index="2" dlg:left="19" dlg:top="36" dlg:width="55" dlg:height="12" dlg:value="URL"/>
<dlg:textfield dlg:id="CustomStylesheetURL" dlg:tab-index="3" dlg:left="80" dlg:top="34" dlg:width="170" dlg:height="12"/>
<dlg:textfield dlg:id="CustomStylesheetURL" dlg:tab-index="3" dlg:left="80" dlg:top="34" dlg:width="170" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:CustomStylesheetURL"/>
<dlg:checkbox dlg:id="UseCustomStylesheet" dlg:tab-index="4" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Include custom style sheet (EPUB export)" dlg:checked="false">
<dlg:checkbox dlg:id="UseCustomStylesheet" dlg:tab-index="4" dlg:left="10" dlg:top="50" dlg:width="240" dlg:height="12" dlg:value="Include custom style sheet (EPUB export)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseCustomStylesheet">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseCustomStylesheetChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:textfield dlg:id="CustomStylesheet" dlg:tab-index="5" dlg:left="18" dlg:top="64" dlg:width="232" dlg:height="84" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true"/>
<dlg:button dlg:id="LoadStylesheetButton" dlg:tab-index="6" dlg:left="18" dlg:top="156" dlg:width="60" dlg:height="12" dlg:value="Load...">
<dlg:textfield dlg:id="CustomStylesheet" dlg:tab-index="5" dlg:left="18" dlg:top="64" dlg:width="232" dlg:height="84" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseCustomStylesheet"/>
<dlg:button dlg:id="LoadStylesheetButton" dlg:tab-index="6" dlg:left="18" dlg:top="156" dlg:width="60" dlg:height="12" dlg:value="Load..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:LoadStylesheet">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:LoadStylesheetClick" script:language="UNO"/>
</dlg:button>
</dlg:bulletinboard>

View file

@ -2,33 +2,33 @@
<!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="Template" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Template" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:checkbox dlg:id="UseCustomTemplate" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Use custom XHTML template" dlg:checked="false">
<dlg:checkbox dlg:id="UseCustomTemplate" dlg:tab-index="0" dlg:left="10" dlg:top="8" dlg:width="240" dlg:height="12" dlg:value="Use custom XHTML template" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseCustomTemplate">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseCustomTemplateChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:textfield dlg:id="CustomTemplate" dlg:tab-index="1" dlg:left="18" dlg:top="22" dlg:width="232" dlg:height="96" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true"/>
<dlg:button dlg:id="LoadTemplateButton" dlg:tab-index="2" dlg:left="18" dlg:top="120" dlg:width="60" dlg:height="12" dlg:value="Load...">
<dlg:textfield dlg:id="CustomTemplate" dlg:tab-index="1" dlg:left="18" dlg:top="22" dlg:width="232" dlg:height="96" dlg:hscroll="true" dlg:vscroll="true" dlg:multiline="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseCustomTemplate"/>
<dlg:button dlg:id="LoadTemplateButton" dlg:tab-index="2" dlg:left="18" dlg:top="120" dlg:width="60" dlg:height="12" dlg:value="Load..." dlg:help-url="org.openoffice.da.writer2xhtml.oxt:LoadTemplate">
<script:event script:event-name="on-mouseup" script:macro-name="vnd.sun.star.UNO:LoadTemplateClick" script:language="UNO"/>
</dlg:button>
<dlg:text dlg:id="ContentIdLabel" dlg:tab-index="4" dlg:left="18" dlg:top="140" dlg:width="50" dlg:height="12" dlg:value="Content id"/>
<dlg:combobox dlg:id="ContentId" dlg:tab-index="5" dlg:left="72" dlg:top="138" dlg:width="50" dlg:height="12" dlg:spin="true">
<dlg:combobox dlg:id="ContentId" dlg:tab-index="5" dlg:left="72" dlg:top="138" dlg:width="50" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:ContentId">
<dlg:menupopup>
<dlg:menuitem dlg:value="content"/>
</dlg:menupopup>
</dlg:combobox>
<dlg:text dlg:id="PanelIdLabel" dlg:tab-index="6" dlg:left="18" dlg:top="154" dlg:width="50" dlg:height="12" dlg:value="Panel id"/>
<dlg:combobox dlg:id="PanelId" dlg:tab-index="7" dlg:left="72" dlg:top="152" dlg:width="50" dlg:height="12" dlg:spin="true">
<dlg:combobox dlg:id="PanelId" dlg:tab-index="7" dlg:left="72" dlg:top="152" dlg:width="50" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:PanelId">
<dlg:menupopup>
<dlg:menuitem dlg:value="panel"/>
</dlg:menupopup>
</dlg:combobox>
<dlg:text dlg:id="HeaderIdLabel" dlg:tab-index="8" dlg:left="146" dlg:top="140" dlg:width="50" dlg:height="12" dlg:value="Header id"/>
<dlg:combobox dlg:id="HeaderId" dlg:tab-index="9" dlg:left="200" dlg:top="138" dlg:width="50" dlg:height="12" dlg:spin="true">
<dlg:combobox dlg:id="HeaderId" dlg:tab-index="9" dlg:left="200" dlg:top="138" dlg:width="50" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:HeaderId">
<dlg:menupopup>
<dlg:menuitem dlg:value="header"/>
</dlg:menupopup>
</dlg:combobox>
<dlg:text dlg:id="FooterIdLabel" dlg:tab-index="10" dlg:left="146" dlg:top="154" dlg:width="50" dlg:height="12" dlg:value="Footer id"/>
<dlg:combobox dlg:id="FooterId" dlg:tab-index="11" dlg:left="200" dlg:top="152" dlg:width="50" dlg:height="12" dlg:spin="true">
<dlg:combobox dlg:id="FooterId" dlg:tab-index="11" dlg:left="200" dlg:top="152" dlg:width="50" dlg:height="12" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:FooterId">
<dlg:menupopup>
<dlg:menuitem dlg:value="footer"/>
</dlg:menupopup>

View file

@ -5,7 +5,7 @@
<identifier value="org.openoffice.da.writer2xhtml.oxt" />
<version value="1.1.3" />
<version value="1.1.4" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>

View file

@ -4,5 +4,15 @@
<!--<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/general.xhp">General information</topic>-->
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/export.xhp">XHTML and EPUB Export (Writer)</topic>
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/export_calc.xhp">XHTML Export (Calc)</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>
</help_section>
</tree_view>

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-content" indexer="include">
<title xml-lang="en-US">Content</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Content.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Content</paragraph>
<paragraph role="paragraph" xml-lang="en-US"></paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Content</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Formulas</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Formulas" id="bm_configformulas"/>
<paragraph role="heading" level="3" xml-lang="en-US">Include as</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select how to export formulas if you are not using XHTML+MathML.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Image with StarMath code</emph>: Export formulas as images
with the original StarMath formula in the alt attribute.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Image with LaTeX code</emph>: Export formulas as images
with LaTeX code in the alt attribute.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>StarMath code</emph>: Export the original StarMath code directly
in the text.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>LaTeX code</emph>: Export LaTeX code directly in the text.</paragraph>
</listitem>
</list>
</body>
</helpdocument>

View file

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-content" indexer="include">
<title xml-lang="en-US">Formatting</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Formatting.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to define how much formatting to export.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Formatting</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Formatting" id="bm_configformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">Formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is used to specify how much text formatting
(character, paragraph and list formatting) to export.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Convert all</emph>: Convert all supported formatting to CSS</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore styles</emph>: Convert hard formatting but not formatting
by styles. Use this value if you use a custom style sheet, but still want to be able to add some hard formatting
(eg. a centered paragraph, some bold text etc.).</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore hard formatting</emph>: Convert formatting by styles, but
no hard formatting (except as given by
<link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Otherstyles.xhp" name="Other styles">attribute style
mappings</link>).
Use this if the document is well structured using styles, so that any hard formatting should be considered
an error.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Ignore all</emph>: Convert no formatting at all. Use this value
if you use a custom stylesheet and the document is well structured using styles, so that any hard formatting should
be considered an error.</paragraph>
</listitem>
</list>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:FrameFormatting" id="bm_configframeformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">Frame formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is used for the same purpose, but affects frame formatting only.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:SectionFormatting" id="bm_configsectionformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">Convert section formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export section formatting (background, margins).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:TableFormatting" id="bm_configtableformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">Convert table formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to export table formatting.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:IgnoreTableDimensions" id="bm_configignoretabledimensions"/>
<paragraph role="heading" level="3" xml-lang="en-US">Ignore table dimensions</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you do not want table dimensions (table width, column width and
row height) to be exported, but want to leave the layout of the tables to the browser.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:ListFormatting" id="bm_configlistformatting"/>
<paragraph role="heading" level="3" xml-lang="en-US">List formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Choose how to export list formatting.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Use CSS1</emph>: List formatting is exported using CSS1.
This only provides basic support for list labels, and currently the browsers default indentations are used.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Use CSS1 and non-standard lists</emph>: This value is used to fix a
problem with continued lists. If you select this value, Writer2xhtml will export a list that continues on level 2 or below
like</paragraph>
<paragraph role="code" xml-lang="en-US">&lt;ol&gt;&lt;ol&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is not valid in XHTML, but works in browsers.
Also two deprecated attributes are used to continue numbering.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Use hard labels</emph>: If select this value, list labels are
exported as part of the text. This adds full support for list labels (e.g. labels of the form 1.2.3). Unlike the other
values indentations of the list are exported as well.</paragraph>
</listitem>
</list>
</body>
</helpdocument>

View file

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-general" indexer="include">
<title xml-lang="en-US">Content</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/General.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">General</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to define general technical aspects of the generated
XHTML documents.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - General</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:NoDoctype" id="bm_confignodoctype"/>
<paragraph role="heading" level="3" xml-lang="en-US">Do not include DOCTYPE</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you do not want to not include the !DOCTYPE declaration in
the converted document.</paragraph>
<paragraph role="warning" xml-lang="en-US">The !DOCTYPE is required for a valid XHTML document: This option should only be
used if you need to process the document further.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:AddBOM" id="bm_configaddbom"/>
<paragraph role="heading" level="3" xml-lang="en-US">Add Byte Order Mark (BOM)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to include a BOM (Byte Order Mark) to the XHTML document.
Most applications will not need this, but it may be required in rare cases.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Encoding" id="bm_configencoding"/>
<paragraph role="heading" level="3" xml-lang="en-US">Encoding</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select the character encoding to use for the XHTML document. Currently supported
encodings are <emph>UTF-8</emph> (recommended), <emph>UTF-16</emph>, <emph>ISO-8859-1</emph> and <emph>US-ASCII</emph>.
Characters not supported by the encoding are exported as numeric character entities.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:HexadecimalEntities" id="bm_confighexadecimalentities"/>
<paragraph role="heading" level="3" xml-lang="en-US">Numeric character entities</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select how to export numeric character entities. You can use either
<emph>hexadecimal</emph> or <emph>decimal</emph> numbers. This is not relevant if you use UTF-8 or UTF-16.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:UseNamedEntities" id="bm_configusenamedentities"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use named character entities</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use named character entities as defined by (X)HTML.
If you export to XHTML+MathML, also named MathML entities will be used.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Multilingual" id="bm_configmultilingual"/>
<paragraph role="heading" level="3" xml-lang="en-US">Include detailed language information</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to include all language information in the XHTML document.
Otherwise only the default language will be exported.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:PrettyPrint" id="bm_configprettyprint"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use "pretty printing"</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to use “pretty print”
(using indentations and line breaks) in the XHTML output.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-introduction" indexer="include">
<title xml-lang="en-US">Custom style</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Custom style</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Define a custom style for the XHTML export</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:ConfigIntroduction" id="bm_configintroduction"/>
<paragraph role="paragraph" xml-lang="en-US">Writer2xhtml comes with a number of predefined styles.
A style defines technical aspects of the generated XHTML styles, in particular the export of formatting.
Advanced users can define their own custom style. You can for example use the custom style to create XHTML documents that
takes advantage of your own CSS style sheet.
This requires some knowledge of XHTML and CSS.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">To use the custom style, choose <emph>Custom</emph> in the export dialog.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-masterstyles" indexer="include">
<title xml-lang="en-US">Content</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Masterstyles.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Master styles</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to define how to export style information.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Master styles</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Style mappings</paragraph>
<paragraph role="paragraph" xml-lang="en-US">For each %PRODUCTNAME Writer style you can define a corresponding XHTML element
and CSS style.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:StyleFamily" id="bm_configstylefamily"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style family</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select the %PRODUCTNAME Writer style family. Note that headings and other
paragraphs are handled separately.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:StyleName" id="bm_configstylename"/>
<paragraph role="heading" level="3" xml-lang="en-US">Style name</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select a style name from the list</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:NewStyle" id="bm_confignewstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">New...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click to add a new style name to the list. Type a name or select a style name
from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:DeleteStyle" id="bm_configdeletestyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">Delete...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this to delete the current style name from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Element" id="bm_configelement"/>
<paragraph role="heading" level="3" xml-lang="en-US">XHTML element</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of an XHTML element or select one from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Css" id="bm_configcss"/>
<paragraph role="heading" level="3" xml-lang="en-US">CSS class</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of a CSS class. If you leave this field empty, the
<emph>class</emph> attribute will not be set.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:BlockElement" id="bm_configblockelement"/>
<paragraph role="heading" level="3" xml-lang="en-US">Block XHTML element</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is only valid for paragraphs and headings.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">For paragraphs this element is used as a container for a sequence of paragraphs
with the same paragraph style. As an example: For the paragraph style <emph>Quotations</emph> you can set the XHTML element to
<emph>p</emph> and the block XHTML element to <emph>blockquote</emph>. This will convert a sequence of paragraphs with the
<emph>Quotations</emph> style to a block quote. You can leave the field empty if you do not need it.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">For headings the block XHTML element is used for the entire heading, whereas the
XHTML element is used for the text content (without the label).</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:BlockCss" id="bm_configblockcss"/>
<paragraph role="heading" level="3" xml-lang="en-US">Block CSS class</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of a CSS class for the block element. If you leave the field empty, the
<emph>class</emph> attribute will not be set.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:LoadDefaults" id="bm_configloaddefaults"/>
<paragraph role="heading" level="3" xml-lang="en-US">Load default mappings...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Writer2xhtml comes with a set of default style mappings corresponding to
some of the predefined styles in %PRODUCTNAME Writer. Click this button to add these mappings to the current set. You will get
a warning if this will overwrite one or more existing mappings.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-content" indexer="include">
<title xml-lang="en-US">Other styles</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Otherstyles.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Other styles</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to define various style related features of the export.
This supplements the settings on the page
<link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Masterstyles.xhp"
name="Template">Master styles</link>.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Other styles</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Style mappings for hard formatting</paragraph>
<paragraph role="paragraph" xml-lang="en-US">In general using real styles is preferred. These setting allows you to define
styles for a selection of hard text formatting attributes.</paragraph>
<paragraph role="note" xml-lang="en-US">To apply these settings: Go to the page
<emph><link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Formatting.xhp"
name="Formatting">Formatting</link></emph> and set <emph>Formatting</emph> to either <emph>Ignore hard formatting</emph> or
<emph>Ignore all</emph>. Otherwise the rules you define here are ignored.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:FormattingAttribute" id="bm_configformattingattribute"/>
<paragraph role="heading" level="3" xml-lang="en-US">Formatting attribute</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Select a formatting attribute.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:CustomAttribute" id="bm_configcustomattribute"/>
<paragraph role="heading" level="3" xml-lang="en-US">Apply custom style</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to apply a custom style for this attribute.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:AttributeElement" id="bm_configattributeelement"/>
<paragraph role="heading" level="3" xml-lang="en-US">XHTML element</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of an XHTML element or select one from the list.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:AttributeCss" id="bm_configattributecss"/>
<paragraph role="heading" level="3" xml-lang="en-US">CSS class</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the name of a CSS class to apply to the element. If you leave this field
empty, the <emph>class</emph> attribute will not be set.</paragraph>
<paragraph role="heading" level="2" xml-lang="en-US">Other styles</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:TabstopStyle" id="bm_configtabstopstyle"/>
<paragraph role="heading" level="3" xml-lang="en-US">CSS class for tabulator stop</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Normally tabulator stops are exported as spaces. If you enter the name of
a CSS class here, the space will be contained in a <emph>span</emph> element with your style in the class attribute.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-stylesheets" indexer="include">
<title xml-lang="en-US">Content</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Stylesheets.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Stylesheets</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to provide your own style sheets for the exported documents.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Style sheets</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Custom style sheets</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The custom style sheet can either be an embedded style sheet for the EPUB
export or a linked style sheet for the XHTML export.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:LinkCustomStylesheet" id="bm_configlinkstylesheet"/>
<paragraph role="heading" level="3" xml-lang="en-US">Insert link to custom style sheet (XHTML export)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to link to your own, external CSS style sheet.
For more advanced solutions (eg. different style sheets for screen viewing and printing) you can use an
<link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Template.xhp"
name="Template">XHTML template</link>.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:CustomStylesheetURL" id="bm_configcustomstylesheeturl"/>
<paragraph role="heading" level="3" xml-lang="en-US">URL</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the URL for the style sheet.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:UseCustomStylesheet" id="bm_configusecustomstylesheet"/>
<paragraph role="heading" level="3" xml-lang="en-US">Include custom style sheet (EPUB export)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this to include a custom style sheet in the EPUB document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:LoadStylesheet" id="bm_configloadstylesheet"/>
<paragraph role="heading" level="3" xml-lang="en-US">Load...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click to load the style sheet from a file.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-configuration-template" indexer="include">
<title xml-lang="en-US">Content</title>
<filename>org.openoffice.da.writer2xhtml.oxt/Configuration/Template.xhp</filename>
</topic>
</meta>
<body>
<paragraph role="heading" level="1" xml-lang="en-US">Template</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use this page to define an XHTML template to use as a basis for the
generated XHTML documents.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>Tools - Options - Writer2xhtml - Template</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:UseCustomTemplate" id="bm_configusecustomtemplate"/>
<paragraph role="heading" level="3" xml-lang="en-US">Use custom XHTML template</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Check this if you want to define an XHTML template. Otherwise a default
template will be used.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">A template should be an ordinary XHTML file (do not include a DOCTYPE declaration)
with some special elements:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" xml-lang="en-US">A <emph>div</emph>-element with the id <emph>content</emph> is used to
fill the text content.
If no such element exists, the <emph>body</emph> element is used. If there is no <emph>body</emph> element
in the template, the root element is used.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>div</emph>-elements with the id <emph>header</emph> or
<emph>footer</emph> (optional) will be filled with a simple navigation panel using a first/previous/next/last scheme
(for spreadsheet documents, sheet names are used for navigation).</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US">A <emph>div</emph>-element with the id <emph>panel</emph> (optional)
will be filled with a simple navigation panel using a table of contens-like scheme.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" xml-lang="en-US">You can change the names of the id attributes at the bottom of this page.</paragraph>
<paragraph role="paragraph" xml-lang="en-US">A simple template including a header might look like this:</paragraph>
<paragraph role="code" xml-lang="en-US">
&lt;html&gt;<br/>
&#xA0;&#xA0;&lt;head&gt;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&lt;title/&gt;<br/>
&#xA0;&#xA0;&lt;/head&gt;<br/>
&#xA0;&#xA0;&lt;body&gt;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&lt;div id='header' /&gt;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&lt;div id='content' /&gt;<br/>
&#xA0;&#xA0;&lt;/body&gt;<br/>
&lt;/html&gt;
</paragraph>
<paragraph role="paragraph" xml-lang="en-US">As the template does not include footer and panel nodes, these elements will not be included.
</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The absolute mininal template is this:</paragraph>
<paragraph role="code" xml-lang="en-US">
&lt;div/&gt;
</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The <emph>div</emph>-element will be used as the content container.
The generated document will not be a complete XHTML document (no <emph>html</emph>, <emph>head</emph> and
<emph>body</emph> nodes). It will however still be a well-formed XML file that can be handled with standard tools.
The use case for this is that you can produce XHTML fragments suitable for inclusion in e.g. a CMS.</paragraph>
<paragraph role="note" xml-lang="en-US">Make sure to check the option <emph>Do not include DOCTYPE</emph> in this case!</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:LoadTemplate" id="bm_configloadtemplate"/>
<paragraph role="heading" level="3" xml-lang="en-US">Load...</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Click this to load a template from a file. This will overwrite the current contents
of the template.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:ContentId" id="bm_configcontentid"/>
<paragraph role="heading" level="3" xml-lang="en-US">Content id</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the id to use for the content node.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:PanelId" id="bm_configpanelid"/>
<paragraph role="heading" level="3" xml-lang="en-US">Panel id</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the id to use for the panel node.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:HeaderId" id="bm_configheaderid"/>
<paragraph role="heading" level="3" xml-lang="en-US">Header id</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the id to use for the header node.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:FooterId" id="bm_configfooterid"/>
<paragraph role="heading" level="3" xml-lang="en-US">Footer id</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Enter the id to use for the footer node.</paragraph>
</body>
</helpdocument>

View file

@ -44,8 +44,8 @@
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Custom</emph> is a user defined format. You can define your own
style by providing a CSS style sheet and a mapping from Writer styles to your CSS styles.
To configure the custom format, choose <emph>Tools - Options - Writer2xhtml</emph>.
</paragraph>
To configure the custom format, choose <emph><link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp"
name="Custom configuration">Tools - Options - Writer2xhtml</link></emph>.</paragraph>
</listitem>
</list>
<section id="split3">

View file

@ -24,8 +24,8 @@
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Custom</emph> is a user defined format.
To configure the custom format, choose <emph>Tools - Options - Writer2xhtml</emph>.
</paragraph>
To configure the custom format, choose <emph><link href="org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp"
name="Custom configuration">Tools - Options - Writer2xhtml</link></emph>.</paragraph>
</listitem>
</list>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#split3"/>

View file

@ -4,7 +4,7 @@
xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="org.openoffice.da.writer4latex.oxt" />
<version value="1.1.3" />
<version value="1.1.4" />
<dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
</dependencies>

View file

@ -2,5 +2,5 @@
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:d="http://openoffice.org/extensions/description/2006">
<identifier value="org.openoffice.da.writer2latex.xhtml-config-sample.oxt" />
<version value="1.1.3" />
<version value="1.1.4" />
</description>

View file

@ -1,4 +1,4 @@
Writer2LaTeX source version 1.1.3
Writer2LaTeX source version 1.1.4
=================================
Writer2LaTeX is (c) 2002-2010 by Henrik Just.