Writer2xhtml help content + XHTML template fixes

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@60 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2010-04-23 09:18:26 +00:00
parent a1102046c3
commit 0e243c0ad7
20 changed files with 551 additions and 186 deletions

View file

@ -2,7 +2,7 @@
############################################################################
# This is the Ant build file for writer2latex
# Original: Sep 2004 (mgn)
# version 1.2 (2010-03-14)
# version 1.2 (2010-04-17)
############################################################################
-->
<project name="w2l" default="help" basedir=".">
@ -35,7 +35,7 @@
<!-- configure the directories -->
<property name="jarfile" value="writer2latex"/>
<property name="basename" value="writer2latex11"/>
<property name="distrofile" value="${basename}2.zip" />
<property name="distrofile" value="${basename}3alpha.zip" />
<!--<property name="sourcedistrofile" value="${basename}source.zip" />-->
<property name="src" location="source/java"/>
<property name="source.distro" location="source/distro" />

View file

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

View file

@ -1,7 +1,20 @@
Changelog for Writer2LaTeX version 1.0 -> 1.2
TODO2: Tilføj ?-knap til xhtml export dialoger
---------- version 1.1.3 ----------
[w2x] Bugfix: Now adds XML prolog for XHTML 1.1 documents
[w2x] XHTML templates without <head> and/or <body>are now allowed. If no content element is found, the
root element is used
[w2x] Added help content for export dialogs
---------- version 1.1.2 ----------
[w2l] Added help content for export dialog
[all] API change: Added the method readStyleSheet to the Converter interface
[w2x] The custom configuration now supports an optional xhtml template (writer2xhtml-template.xhtml)

Binary file not shown.

View file

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

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-03-15)
* Version 1.2 (2010-04-23)
*
*/
@ -96,20 +96,23 @@ public class BatchConverterImpl extends BatchConverterBase {
org.w3c.dom.Document htmlDOM = htmlDoc.getContentDOM();
// Declare charset (we need this for xhtml because we have no <?xml ... ?>)
Element meta = htmlDOM.createElement("meta");
meta.setAttribute("http-equiv","Content-Type");
meta.setAttribute("content","text/html; charset="+htmlDoc.getEncoding().toLowerCase());
htmlDoc.getHeadNode().appendChild(meta);
// Add link to stylesheet
if (config.xhtmlCustomStylesheet().length()>0) {
Element htmlStyle = htmlDOM.createElement("link");
htmlStyle.setAttribute("rel","stylesheet");
htmlStyle.setAttribute("type","text/css");
htmlStyle.setAttribute("media","all");
htmlStyle.setAttribute("href",config.xhtmlCustomStylesheet());
htmlDoc.getHeadNode().appendChild(htmlStyle);
Element head = htmlDoc.getHeadNode();
if (head!=null) {
// Declare charset (we need this for xhtml because we have no <?xml ... ?>)
Element meta = htmlDOM.createElement("meta");
meta.setAttribute("http-equiv","Content-Type");
meta.setAttribute("content","text/html; charset="+htmlDoc.getEncoding().toLowerCase());
head.appendChild(meta);
// Add link to stylesheet
if (config.xhtmlCustomStylesheet().length()>0) {
Element htmlStyle = htmlDOM.createElement("link");
htmlStyle.setAttribute("rel","stylesheet");
htmlStyle.setAttribute("type","text/css");
htmlStyle.setAttribute("media","all");
htmlStyle.setAttribute("href",config.xhtmlCustomStylesheet());
head.appendChild(htmlStyle);
}
}
// Add uplink to header and footer
@ -140,7 +143,10 @@ public class BatchConverterImpl extends BatchConverterBase {
}
// Add title and heading
htmlDoc.getTitleNode().appendChild(htmlDOM.createTextNode(sHeading));
Element title = htmlDoc.getTitleNode();
if (title!=null) {
title.appendChild(htmlDOM.createTextNode(sHeading));
}
Element h1 = htmlDOM.createElement("h1");
htmlDoc.getContentNode().appendChild(h1);
h1.appendChild(htmlDOM.createTextNode(sHeading));

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-04-13)
* Version 1.2 (2010-04-23)
*
*/
@ -259,12 +259,13 @@ public class Converter extends ConverterBase {
// Export styles (temp.)
for (int i=0; i<=nOutFileIndex; i++) {
Document dom = outFiles.get(i).getContentDOM();
NodeList hlist = dom.getElementsByTagName("head");
Node styles = styleCv.exportStyles(dom);
if (styles!=null) {
hlist.item(0).appendChild(styles);
}
Element head = outFiles.get(i).getHeadNode();
if (head!=null) {
Node styles = styleCv.exportStyles(outFiles.get(i).getContentDOM());
if (styles!=null) {
head.appendChild(styles);
}
}
}
// Create headers & footers (if nodes are available)
@ -531,66 +532,71 @@ public class Converter extends ConverterBase {
}
// Add title (required by xhtml)
String sTitle = metaData.getTitle();
if (sTitle==null) { // use filename as fallback
sTitle = htmlDoc.getFileName();
}
htmlDoc.getTitleNode().appendChild( htmlDOM.createTextNode(sTitle) );
// Declare charset (we need this for xhtml because we have no <?xml ... ?>)
if (nType==XhtmlDocument.XHTML10) {
Element meta = htmlDOM.createElement("meta");
meta.setAttribute("http-equiv","Content-Type");
meta.setAttribute("content","text/html; charset="+htmlDoc.getEncoding().toLowerCase());
htmlDoc.getHeadNode().appendChild(meta);
}
// Add meta data (for EPUB the meta data belongs to the .opf file)
if (!bOPS) {
// "Traditional" meta data
//createMeta("generator","Writer2LaTeX "+Misc.VERSION);
createMeta("description",metaData.getDescription());
createMeta("keywords",metaData.getKeywords());
// Dublin core meta data (optional)
// Format as recommended on dublincore.org
// Declare meta data profile
if (config.xhtmlUseDublinCore()) {
htmlDoc.getHeadNode().setAttribute("profile","http://dublincore.org/documents/dcq-html/");
// Add link to declare namespace
Element dclink = htmlDOM.createElement("link");
dclink.setAttribute("rel","schema.DC");
dclink.setAttribute("href","http://purl.org/dc/elements/1.1/");
htmlDoc.getHeadNode().appendChild(dclink);
// Insert the actual meta data
createMeta("DC.title",metaData.getTitle());
// DC.subject actually contains subject+keywords, so we merge them
String sDCSubject = "";
if (metaData.getSubject()!=null && metaData.getSubject().length()>0) {
sDCSubject = metaData.getSubject();
}
if (metaData.getKeywords()!=null && metaData.getKeywords().length()>0) {
if (sDCSubject.length()>0) { sDCSubject+=", "; }
sDCSubject += metaData.getKeywords();
}
createMeta("DC.subject",sDCSubject);
createMeta("DC.description",metaData.getDescription());
createMeta("DC.creator",metaData.getCreator());
createMeta("DC.date",metaData.getDate());
createMeta("DC.language",metaData.getLanguage());
Element title = htmlDoc.getTitleNode();
if (title!=null) {
String sTitle = metaData.getTitle();
if (sTitle==null) { // use filename as fallback
sTitle = htmlDoc.getFileName();
}
title.appendChild( htmlDOM.createTextNode(sTitle) );
}
// Add link to stylesheet, if producing nomral XHTML
if (!bOPS && config.xhtmlCustomStylesheet().length()>0) {
Element htmlStyle = htmlDOM.createElement("link");
htmlStyle.setAttribute("rel","stylesheet");
htmlStyle.setAttribute("type","text/css");
htmlStyle.setAttribute("media","all");
htmlStyle.setAttribute("href",config.xhtmlCustomStylesheet());
htmlDoc.getHeadNode().appendChild(htmlStyle);
}
/* later....
Element head = htmlDoc.getHeadNode();
if (head!=null) {
// Declare charset (we need this for xhtml because we have no <?xml ... ?>)
if (nType==XhtmlDocument.XHTML10) {
Element meta = htmlDOM.createElement("meta");
meta.setAttribute("http-equiv","Content-Type");
meta.setAttribute("content","text/html; charset="+htmlDoc.getEncoding().toLowerCase());
head.appendChild(meta);
}
// Add meta data (for EPUB the meta data belongs to the .opf file)
if (!bOPS) {
// "Traditional" meta data
//createMeta("generator","Writer2LaTeX "+Misc.VERSION);
createMeta(head,"description",metaData.getDescription());
createMeta(head,"keywords",metaData.getKeywords());
// Dublin core meta data (optional)
// Format as recommended on dublincore.org
// Declare meta data profile
if (config.xhtmlUseDublinCore()) {
head.setAttribute("profile","http://dublincore.org/documents/dcq-html/");
// Add link to declare namespace
Element dclink = htmlDOM.createElement("link");
dclink.setAttribute("rel","schema.DC");
dclink.setAttribute("href","http://purl.org/dc/elements/1.1/");
head.appendChild(dclink);
// Insert the actual meta data
createMeta(head,"DC.title",metaData.getTitle());
// DC.subject actually contains subject+keywords, so we merge them
String sDCSubject = "";
if (metaData.getSubject()!=null && metaData.getSubject().length()>0) {
sDCSubject = metaData.getSubject();
}
if (metaData.getKeywords()!=null && metaData.getKeywords().length()>0) {
if (sDCSubject.length()>0) { sDCSubject+=", "; }
sDCSubject += metaData.getKeywords();
}
createMeta(head,"DC.subject",sDCSubject);
createMeta(head,"DC.description",metaData.getDescription());
createMeta(head,"DC.creator",metaData.getCreator());
createMeta(head,"DC.date",metaData.getDate());
createMeta(head,"DC.language",metaData.getLanguage());
}
}
// Add link to stylesheet, if producing nomral XHTML
if (!bOPS && config.xhtmlCustomStylesheet().length()>0) {
Element htmlStyle = htmlDOM.createElement("link");
htmlStyle.setAttribute("rel","stylesheet");
htmlStyle.setAttribute("type","text/css");
htmlStyle.setAttribute("media","all");
htmlStyle.setAttribute("href",config.xhtmlCustomStylesheet());
head.appendChild(htmlStyle);
}
/* later....
if (nSplit>0 && !config.xhtmlIgnoreStyles()) {
Element htmlStyle = htmlDOM.createElement("link");
htmlStyle.setAttribute("rel","stylesheet");
@ -599,18 +605,18 @@ public class Converter extends ConverterBase {
htmlStyle.setAttribute("href",oooDoc.getName()+"-styles.css");
htmlHead.appendChild(htmlStyle);
}*/
// Note: For single output file, styles are exported to the doc at the end.
// Note: For single output file, styles are exported to the doc at the end.
// Add link to included style sheet if producing OPS content
if (bOPS && styleSheet!=null) {
Element sty = htmlDOM.createElement("link");
sty.setAttribute("rel", "stylesheet");
sty.setAttribute("type", "text/css");
sty.setAttribute("media", "all");
sty.setAttribute("href", styleSheet.getFileName());
htmlDoc.getHeadNode().appendChild(sty);
// Add link to included style sheet if producing OPS content
if (bOPS && styleSheet!=null) {
Element sty = htmlDOM.createElement("link");
sty.setAttribute("rel", "stylesheet");
sty.setAttribute("type", "text/css");
sty.setAttribute("media", "all");
sty.setAttribute("href", styleSheet.getFileName());
head.appendChild(sty);
}
}
// Recreate nested sections, if any
if (!textCv.sections.isEmpty()) {
@ -710,12 +716,12 @@ public class Converter extends ConverterBase {
}
private void createMeta(String sName, String sValue) {
private void createMeta(Element head, String sName, String sValue) {
if (sValue==null) { return; }
Element meta = htmlDOM.createElement("meta");
meta.setAttribute("name",sName);
meta.setAttribute("content",sValue);
htmlDoc.getHeadNode().appendChild(meta);
head.appendChild(meta);
}

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.2 (2010-03-15)
* Version 1.2 (2010-04-23)
*
*/
@ -116,27 +116,7 @@ public class XhtmlDocument extends DOMDocument {
public XhtmlDocument(String name, int nType) {
super(name,sExtension[nType]);
this.nType = nType;
// Define publicId and systemId
String sPublicId = null;
String sSystemId = null;
switch (nType) {
case XHTML10 :
sPublicId = "-//W3C//DTD XHTML 1.0 Strict//EN";
sSystemId = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
break;
case XHTML11 :
sPublicId = "-//W3C//DTD XHTML 1.1//EN";
sSystemId = "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";
break;
case XHTML_MATHML :
case XHTML_MATHML_XSL :
sPublicId = "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN";
sSystemId = "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd";
//sSystemId = "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"; (old version)
/* An alternative is to use XHTML + MathML + SVG:
sPublicId = "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN",
sSystemId = "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"); */
}
// create DOM
Document contentDOM = null;
@ -144,7 +124,8 @@ public class XhtmlDocument extends DOMDocument {
DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = builderFactory.newDocumentBuilder();
DOMImplementation domImpl = builder.getDOMImplementation();
DocumentType doctype = domImpl.createDocumentType("html", sPublicId, sSystemId);
String[] sDocType = getDoctypeStrings();
DocumentType doctype = domImpl.createDocumentType("html", sDocType[0], sDocType[1]);
contentDOM = domImpl.createDocument("http://www.w3.org/1999/xhtml","html",doctype);
}
catch (Throwable t) {
@ -216,24 +197,67 @@ public class XhtmlDocument extends DOMDocument {
}
public void readFromTemplate(XhtmlDocument template) {
// Remove all current child nodes
Element root = getContentDOM().getDocumentElement();
Node child = root.getFirstChild();
while (child!=null) {
root.removeChild(child);
child = root.getFirstChild();
}
// create a new DOM
Document templateDOM = template.getContentDOM();
Document newDOM = null;
try {
DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = builderFactory.newDocumentBuilder();
DOMImplementation domImpl = builder.getDOMImplementation();
String[] sDocType = getDoctypeStrings();
DocumentType doctype = domImpl.createDocumentType("html", sDocType[0], sDocType[1]);
newDOM = domImpl.createDocument("http://www.w3.org/1999/xhtml",
templateDOM.getDocumentElement().getTagName(),doctype);
setContentDOM(newDOM);
// Import attributes on root element
Element templateRoot = templateDOM.getDocumentElement();
Element newRoot = newDOM.getDocumentElement();
NamedNodeMap attributes = templateRoot.getAttributes();
int nCount = attributes.getLength();
for (int i=0; i<nCount; i++) {
Node attrNode = attributes.item(i);
newRoot.setAttribute(attrNode.getNodeName(), attrNode.getNodeValue());
}
// Import all child nodes from template
NodeList children = templateRoot.getChildNodes();
int nLen = children.getLength();
for (int i=0; i<nLen; i++) {
newRoot.appendChild(getContentDOM().importNode(children.item(i),true));
}
// Import all child nodes from template
Element templateRoot = template.getContentDOM().getDocumentElement();
NodeList children = templateRoot.getChildNodes();
int nLen = children.getLength();
for (int i=0; i<nLen; i++) {
root.appendChild(getContentDOM().importNode(children.item(i),true));
// get the entry point nodes
collectNodes();
}
// get the entry point nodes
collectNodes();
catch (Throwable t) {
t.printStackTrace();
}
}
private String[] getDoctypeStrings() {
// Define publicId and systemId
String sPublicId = null;
String sSystemId = null;
switch (nType) {
case XHTML10 :
sPublicId = "-//W3C//DTD XHTML 1.0 Strict//EN";
sSystemId = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
break;
case XHTML11 :
sPublicId = "-//W3C//DTD XHTML 1.1//EN";
sSystemId = "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";
break;
case XHTML_MATHML :
case XHTML_MATHML_XSL :
sPublicId = "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN";
sSystemId = "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd";
//sSystemId = "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"; (old version)
/* An alternative is to use XHTML + MathML + SVG:
sPublicId = "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN",
sSystemId = "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"); */
}
return new String[] { sPublicId, sSystemId };
}
private void collectNodes(Element elm) {
@ -275,8 +299,8 @@ public class XhtmlDocument extends DOMDocument {
Element elm = getContentDOM().getDocumentElement();
collectNodes(elm);
if (contentNode==null) { contentNode = bodyNode; }
if (titleNode==null) {
if (contentNode==null) { contentNode = bodyNode!=null ? bodyNode : elm; }
if (headNode!=null && titleNode==null) {
titleNode = getContentDOM().createElement("title");
headNode.appendChild(titleNode);
}
@ -361,8 +385,8 @@ public class XhtmlDocument extends DOMDocument {
// Add a BOM if the user desires so
if (bAddBOM) { osw.write("\uFEFF"); }
// Omit xml prolog for pure xhtml documents (to be browser safe)
if (nType==XHTML_MATHML || nType==XHTML_MATHML_XSL) {
// Omit xml prolog for pure xhtml 1.0 strict documents (to be browser safe)
if (nType!=XHTML10) {
osw.write("<?xml version=\"1.0\" encoding=\""+sEncoding+"\" ?>\n");
}
// Either specify doctype or xsl transformation (the user may require
@ -374,11 +398,14 @@ public class XhtmlDocument extends DOMDocument {
osw.write("<?xml-stylesheet type=\"text/xsl\" href=\""+sXsltPath+sSlash+"pmathml.xsl\"?>\n");
}
else if (!bNoDoctype) {
osw.write("<!DOCTYPE html PUBLIC \"");
osw.write(getContentDOM().getDoctype().getPublicId());
osw.write("\" \"");
osw.write(getContentDOM().getDoctype().getSystemId());
osw.write("\">\n");
DocumentType docType = getContentDOM().getDoctype();
if (docType!=null) {
osw.write("<!DOCTYPE html PUBLIC \"");
osw.write(docType.getPublicId());
osw.write("\" \"");
osw.write(docType.getSystemId());
osw.write("\">\n");
}
}
Element doc = getContentDOM().getDocumentElement();
optimize(doc,null,null);

View file

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

View file

@ -51,7 +51,7 @@
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Custom</emph> is a user defined format. To configure the custom format,
select <emph>Tools - Options - Writer2LaTeX</emph>.
choose <emph>Tools - Options - Writer2LaTeX</emph>.
</paragraph>
</listitem>
</list>

View file

@ -37,4 +37,8 @@
manifest:full-path="writer2xhtml.rdb"
manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>
<manifest:file-entry
manifest:full-path="help"
manifest:media-type="application/vnd.sun.star.help"/>
</manifest:manifest>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="StyleLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="183" dlg:height="12" dlg:help-text="&amp;2.XhtmlOptions.StyleLabel.HelpText" dlg:value="&amp;3.XhtmlOptions.StyleLabel.Label"/>
<dlg:text dlg:id="ConfigLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="76" dlg:height="12" dlg:help-text="&amp;4.XhtmlOptions.ConfigLabel.HelpText" dlg:value="&amp;5.XhtmlOptions.ConfigLabel.Label"/>
<dlg:menulist dlg:id="Config" dlg:tab-index="2" dlg:left="97" dlg:top="20" dlg:width="92" dlg:height="12" dlg:help-text="&amp;6.XhtmlOptions.Config.HelpText" dlg:spin="true" dlg:linecount="10">
<dlg:menulist dlg:id="Config" dlg:tab-index="2" dlg:left="97" dlg:top="20" dlg:width="92" dlg:height="12" dlg:help-text="&amp;6.XhtmlOptions.Config.HelpText" dlg:spin="true" dlg:linecount="10" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsConfig">
<dlg:menupopup>
<dlg:menuitem dlg:value="&amp;130.Config.StringItemList"/>
<dlg:menuitem dlg:value="&amp;131.Config.StringItemList"/>
@ -20,26 +20,26 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConfigChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="ScalingLabel" dlg:tab-index="3" dlg:left="10" dlg:top="36" dlg:width="76" dlg:height="12" dlg:help-text="&amp;17.XhtmlOptions.ScalingLabel.HelpText" dlg:value="&amp;18.XhtmlOptions.ScalingLabel.Label"/>
<dlg:numericfield dlg:id="Scaling" dlg:tab-index="4" dlg:left="144" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-text="&amp;19.XhtmlOptions.Scaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true"/>
<dlg:numericfield dlg:id="Scaling" dlg:tab-index="4" dlg:left="144" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-text="&amp;19.XhtmlOptions.Scaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsScaling"/>
<dlg:text dlg:id="ScalingPercentLabel" dlg:tab-index="5" dlg:left="179" dlg:top="36" dlg:width="10" dlg:height="12" dlg:help-text="&amp;20.XhtmlOptions.ScalingPercentLabel.HelpText" dlg:value="&amp;21.XhtmlOptions.ScalingPercentLabel.Label"/>
<dlg:text dlg:id="ColumnScalingLabel" dlg:tab-index="6" dlg:left="10" dlg:top="50" dlg:width="76" dlg:height="12" dlg:help-text="&amp;22.XhtmlOptions.ColumnScalingLabel.HelpText" dlg:value="&amp;23.XhtmlOptions.ColumnScalingLabel.Label"/>
<dlg:numericfield dlg:id="ColumnScaling" dlg:tab-index="7" dlg:left="144" dlg:top="48" dlg:width="30" dlg:height="12" dlg:help-text="&amp;24.XhtmlOptions.ColumnScaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true"/>
<dlg:numericfield dlg:id="ColumnScaling" dlg:tab-index="7" dlg:left="144" dlg:top="48" dlg:width="30" dlg:height="12" dlg:help-text="&amp;24.XhtmlOptions.ColumnScaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsColumnScaling"/>
<dlg:text dlg:id="ColumnScalingPercentLabel" dlg:tab-index="8" dlg:left="179" dlg:top="50" dlg:width="10" dlg:height="12" dlg:help-text="&amp;25.XhtmlOptions.ColumnScalingPercentLabel.HelpText" dlg:value="&amp;26.XhtmlOptions.ColumnScalingPercentLabel.Label"/>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:left="10" dlg:top="64" dlg:width="177" dlg:height="12" dlg:help-text="&amp;27.XhtmlOptions.ConvertToPx.HelpText" dlg:value="&amp;28.XhtmlOptions.ConvertToPx.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="OriginalImageSize" dlg:tab-index="10" dlg:left="10" dlg:top="78" dlg:width="177" dlg:height="12" dlg:help-text="&amp;29.XhtmlOptions.OriginalImageSize.HelpText" dlg:value="&amp;30.XhtmlOptions.OriginalImageSize.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:left="10" dlg:top="64" dlg:width="177" dlg:height="12" dlg:help-text="&amp;27.XhtmlOptions.ConvertToPx.HelpText" dlg:value="&amp;28.XhtmlOptions.ConvertToPx.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsConvertToPx"/>
<dlg:checkbox dlg:id="OriginalImageSize" dlg:tab-index="10" dlg:left="10" dlg:top="78" dlg:width="177" dlg:height="12" dlg:help-text="&amp;29.XhtmlOptions.OriginalImageSize.HelpText" dlg:value="&amp;30.XhtmlOptions.OriginalImageSize.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsOriginalImageSize"/>
<dlg:text dlg:id="SpecialContentLabel" dlg:tab-index="11" dlg:left="5" dlg:top="92" dlg:width="184" dlg:height="12" dlg:help-text="&amp;31.XhtmlOptions.SpecialContentLabel.HelpText" dlg:value="&amp;32.XhtmlOptions.SpecialContentLabel.Label"/>
<dlg:checkbox dlg:id="Notes" dlg:tab-index="12" dlg:left="10" dlg:top="106" dlg:width="179" dlg:height="12" dlg:help-text="&amp;33.XhtmlOptions.Notes.HelpText" dlg:value="&amp;34.XhtmlOptions.Notes.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="UseDublinCore" dlg:tab-index="13" dlg:left="10" dlg:top="120" dlg:width="179" dlg:height="12" dlg:help-text="&amp;35.XhtmlOptions.UseDublinCore.HelpText" dlg:value="&amp;36.XhtmlOptions.UseDublinCore.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="Notes" dlg:tab-index="12" dlg:left="10" dlg:top="106" dlg:width="179" dlg:height="12" dlg:help-text="&amp;33.XhtmlOptions.Notes.HelpText" dlg:value="&amp;34.XhtmlOptions.Notes.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsNotes"/>
<dlg:checkbox dlg:id="UseDublinCore" dlg:tab-index="13" dlg:left="10" dlg:top="120" dlg:width="179" dlg:height="12" dlg:help-text="&amp;35.XhtmlOptions.UseDublinCore.HelpText" dlg:value="&amp;36.XhtmlOptions.UseDublinCore.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsUseDublinCore"/>
<dlg:text dlg:id="AutoCorrectLabel" dlg:tab-index="14" dlg:left="5" dlg:top="134" dlg:width="184" dlg:height="12" dlg:help-text="&amp;37.XhtmlOptions.AutoCorrectLabel.HelpText" dlg:value="&amp;38.XhtmlOptions.AutoCorrectLabel.Label"/>
<dlg:checkbox dlg:id="IgnoreHardLineBreaks" dlg:tab-index="15" dlg:left="10" dlg:top="148" dlg:width="175" dlg:height="12" dlg:help-text="&amp;39.XhtmlOptions.IgnoreHardLineBreaks.HelpText" dlg:value="&amp;40.XhtmlOptions.IgnoreHardLineBreaks.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="IgnoreEmptyParagraphs" dlg:tab-index="16" dlg:left="10" dlg:top="162" dlg:width="175" dlg:height="12" dlg:help-text="&amp;41.XhtmlOptions.IgnoreEmptyParagraphs.HelpText" dlg:value="&amp;42.XhtmlOptions.IgnoreEmptyParagraphs.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="IgnoreDoubleSpaces" dlg:tab-index="17" dlg:left="10" dlg:top="176" dlg:width="175" dlg:height="12" dlg:help-text="&amp;43.XhtmlOptions.IgnoreDoubleSpaces.HelpText" dlg:value="&amp;44.XhtmlOptions.IgnoreDoubleSpaces.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="IgnoreHardLineBreaks" dlg:tab-index="15" dlg:left="10" dlg:top="148" dlg:width="175" dlg:height="12" dlg:help-text="&amp;39.XhtmlOptions.IgnoreHardLineBreaks.HelpText" dlg:value="&amp;40.XhtmlOptions.IgnoreHardLineBreaks.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreHardLineBreaks"/>
<dlg:checkbox dlg:id="IgnoreEmptyParagraphs" dlg:tab-index="16" dlg:left="10" dlg:top="162" dlg:width="175" dlg:height="12" dlg:help-text="&amp;41.XhtmlOptions.IgnoreEmptyParagraphs.HelpText" dlg:value="&amp;42.XhtmlOptions.IgnoreEmptyParagraphs.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreEmptyParagraphs"/>
<dlg:checkbox dlg:id="IgnoreDoubleSpaces" dlg:tab-index="17" dlg:left="10" dlg:top="176" dlg:width="175" dlg:height="12" dlg:help-text="&amp;43.XhtmlOptions.IgnoreDoubleSpaces.HelpText" dlg:value="&amp;44.XhtmlOptions.IgnoreDoubleSpaces.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreDoubleSpaces"/>
<dlg:text dlg:id="FilesLabel" dlg:tab-index="18" dlg:left="5" dlg:top="190" dlg:width="184" dlg:height="12" dlg:help-text="&amp;45.XhtmlOptions.FilesLabel.HelpText" dlg:value="&amp;46.XhtmlOptions.FilesLabel.Label"/>
<dlg:checkbox dlg:id="Split" dlg:tab-index="19" dlg:left="10" dlg:top="204" dlg:width="180" dlg:height="12" dlg:help-text="&amp;47.XhtmlOptions.Split.HelpText" dlg:value="&amp;48.XhtmlOptions.Split.Label" dlg:checked="false">
<dlg:checkbox dlg:id="Split" dlg:tab-index="19" dlg:left="10" dlg:top="204" dlg:width="180" dlg:height="12" dlg:help-text="&amp;47.XhtmlOptions.Split.HelpText" dlg:value="&amp;48.XhtmlOptions.Split.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSplit">
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:SplitChange" script:language="UNO"/>
</dlg:checkbox>
<dlg:text dlg:id="SplitLevelLabel" dlg:tab-index="20" dlg:left="20" dlg:top="218" dlg:width="76" dlg:height="12" dlg:help-text="&amp;49.XhtmlOptions.SplitLevelLabel.HelpText" dlg:value="&amp;50.XhtmlOptions.SplitLevelLabel.Label"/>
<dlg:menulist dlg:id="SplitLevel" dlg:tab-index="21" dlg:left="152" dlg:top="216" dlg:width="37" dlg:height="12" dlg:help-text="&amp;51.XhtmlOptions.SplitLevel.HelpText" dlg:spin="true" dlg:linecount="6">
<dlg:menulist dlg:id="SplitLevel" dlg:tab-index="21" dlg:left="152" dlg:top="216" dlg:width="37" dlg:height="12" dlg:help-text="&amp;51.XhtmlOptions.SplitLevel.HelpText" dlg:spin="true" dlg:linecount="6" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSplitLevel">
<dlg:menupopup>
<dlg:menuitem dlg:value="&amp;52.SplitLevel.StringItemList"/>
<dlg:menuitem dlg:value="&amp;53.SplitLevel.StringItemList"/>
@ -50,7 +50,7 @@
</dlg:menupopup>
</dlg:menulist>
<dlg:text dlg:id="RepeatLevelsLabel" dlg:tab-index="22" dlg:left="20" dlg:top="232" dlg:width="122" dlg:height="12" dlg:help-text="&amp;58.XhtmlOptions.RepeatLevelsLabel.HelpText" dlg:value="&amp;59.XhtmlOptions.RepeatLevelsLabel.Label"/>
<dlg:menulist dlg:id="RepeatLevels" dlg:tab-index="23" dlg:left="152" dlg:top="230" dlg:width="37" dlg:height="12" dlg:help-text="&amp;60.XhtmlOptions.RepeatLevels.HelpText" dlg:spin="true" dlg:linecount="6">
<dlg:menulist dlg:id="RepeatLevels" dlg:tab-index="23" dlg:left="152" dlg:top="230" dlg:width="37" dlg:height="12" dlg:help-text="&amp;60.XhtmlOptions.RepeatLevels.HelpText" dlg:spin="true" dlg:linecount="6" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsRepeatLevels">
<dlg:menupopup>
<dlg:menuitem dlg:value="&amp;61.RepeatLevels.StringItemList"/>
<dlg:menuitem dlg:value="&amp;62.RepeatLevels.StringItemList"/>
@ -60,10 +60,12 @@
<dlg:menuitem dlg:value="&amp;66.RepeatLevels.StringItemList"/>
</dlg:menupopup>
</dlg:menulist>
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="24" dlg:left="10" dlg:top="246" dlg:width="177" dlg:height="12" dlg:help-text="&amp;67.XhtmlOptions.SaveImagesInSubdir.HelpText" dlg:value="&amp;68.XhtmlOptions.SaveImagesInSubdir.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="24" dlg:left="10" dlg:top="246" dlg:width="177" dlg:height="12" dlg:help-text="&amp;67.XhtmlOptions.SaveImagesInSubdir.HelpText" dlg:value="&amp;68.XhtmlOptions.SaveImagesInSubdir.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSaveImagesInSubdir"/>
<dlg:text dlg:id="XsltPathLabel" dlg:tab-index="25" dlg:left="10" dlg:top="260" dlg:width="42" dlg:height="12" dlg:help-text="&amp;69.XhtmlOptions.XsltPathLabel.HelpText" dlg:value="&amp;70.XhtmlOptions.XsltPathLabel.Label"/>
<dlg:textfield dlg:id="XsltPath" dlg:tab-index="26" dlg:left="57" dlg:top="258" dlg:width="132" dlg:height="12" dlg:help-text="&amp;71.XhtmlOptions.XsltPath.HelpText" dlg:value="&amp;72.XhtmlOptions.XsltPath.Text"/>
<dlg:textfield dlg:id="XsltPath" dlg:tab-index="26" dlg:left="57" dlg:top="258" dlg:width="132" dlg:height="12" dlg:help-text="&amp;71.XhtmlOptions.XsltPath.HelpText" dlg:value="&amp;72.XhtmlOptions.XsltPath.Text" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsXsltPath"/>
<dlg:button dlg:id="ExportButton" dlg:tab-index="27" dlg:left="5" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&amp;73.XhtmlOptions.ExportButton.HelpText" dlg:value="&amp;74.XhtmlOptions.ExportButton.Label" dlg:button-type="ok"/>
<dlg:button dlg:id="CancelButton" dlg:tab-index="28" dlg:left="70" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&amp;75.XhtmlOptions.CancelButton.HelpText" dlg:value="&amp;76.XhtmlOptions.CancelButton.Label" dlg:button-type="cancel"/>
<dlg:button dlg:id="HelpButton" dlg:tab-index="29" dlg:left="135" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="" dlg:value="?" dlg:button-type="help" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Options"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -4,7 +4,7 @@
<dlg:bulletinboard>
<dlg:text dlg:id="StyleLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="183" dlg:height="12" dlg:help-text="&amp;79.XhtmlOptionsCalc.StyleLabel.HelpText" dlg:value="&amp;80.XhtmlOptionsCalc.StyleLabel.Label"/>
<dlg:text dlg:id="ConfigLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="76" dlg:height="12" dlg:help-text="&amp;81.XhtmlOptionsCalc.ConfigLabel.HelpText" dlg:value="&amp;82.XhtmlOptionsCalc.ConfigLabel.Label"/>
<dlg:menulist dlg:id="Config" dlg:tab-index="2" dlg:left="97" dlg:top="20" dlg:width="92" dlg:height="12" dlg:help-text="&amp;83.XhtmlOptionsCalc.Config.HelpText" dlg:spin="true" dlg:linecount="2">
<dlg:menulist dlg:id="Config" dlg:tab-index="2" dlg:left="98" dlg:top="20" dlg:width="92" dlg:height="12" dlg:help-text="&amp;83.XhtmlOptionsCalc.Config.HelpText" dlg:spin="true" dlg:linecount="2" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcConfig">
<dlg:menupopup>
<dlg:menuitem dlg:value="&amp;140.Config.StringItemList"/>
<dlg:menuitem dlg:value="&amp;141.Config.StringItemList"/>
@ -12,27 +12,28 @@
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:ConfigChange" script:language="UNO"/>
</dlg:menulist>
<dlg:text dlg:id="ScalingLabel" dlg:tab-index="3" dlg:left="10" dlg:top="36" dlg:width="76" dlg:height="12" dlg:help-text="&amp;86.XhtmlOptionsCalc.ScalingLabel.HelpText" dlg:value="&amp;87.XhtmlOptionsCalc.ScalingLabel.Label"/>
<dlg:numericfield dlg:id="Scaling" dlg:tab-index="4" dlg:left="144" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-text="&amp;88.XhtmlOptionsCalc.Scaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true"/>
<dlg:numericfield dlg:id="Scaling" dlg:tab-index="4" dlg:left="144" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-text="&amp;88.XhtmlOptionsCalc.Scaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcScaling"/>
<dlg:text dlg:id="ScalingPercentLabel" dlg:tab-index="5" dlg:left="179" dlg:top="36" dlg:width="10" dlg:height="12" dlg:help-text="&amp;89.XhtmlOptionsCalc.ScalingPercentLabel.HelpText" dlg:value="&amp;90.XhtmlOptionsCalc.ScalingPercentLabel.Label"/>
<dlg:text dlg:id="ColumnScalingLabel" dlg:tab-index="6" dlg:left="10" dlg:top="50" dlg:width="76" dlg:height="12" dlg:help-text="&amp;91.XhtmlOptionsCalc.ColumnScalingLabel.HelpText" dlg:value="&amp;92.XhtmlOptionsCalc.ColumnScalingLabel.Label"/>
<dlg:numericfield dlg:id="ColumnScaling" dlg:tab-index="7" dlg:left="144" dlg:top="48" dlg:width="30" dlg:height="12" dlg:help-text="&amp;93.XhtmlOptionsCalc.ColumnScaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true"/>
<dlg:numericfield dlg:id="ColumnScaling" dlg:tab-index="7" dlg:left="144" dlg:top="48" dlg:width="30" dlg:height="12" dlg:help-text="&amp;93.XhtmlOptionsCalc.ColumnScaling.HelpText" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value="100" dlg:value-min="1" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcColumnScaling"/>
<dlg:text dlg:id="ColumnScalingPercentLabel" dlg:tab-index="8" dlg:left="179" dlg:top="50" dlg:width="10" dlg:height="12" dlg:help-text="&amp;94.XhtmlOptionsCalc.ColumnScalingPercentLabel.HelpText" dlg:value="&amp;95.XhtmlOptionsCalc.ColumnScalingPercentLabel.Label"/>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:left="10" dlg:top="64" dlg:width="177" dlg:height="12" dlg:help-text="&amp;96.XhtmlOptionsCalc.ConvertToPx.HelpText" dlg:value="&amp;97.XhtmlOptionsCalc.ConvertToPx.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="OriginalImageSize" dlg:tab-index="10" dlg:left="10" dlg:top="78" dlg:width="177" dlg:height="12" dlg:help-text="&amp;98.XhtmlOptionsCalc.OriginalImageSize.HelpText" dlg:value="&amp;99.XhtmlOptionsCalc.OriginalImageSize.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="9" dlg:left="10" dlg:top="64" dlg:width="177" dlg:height="12" dlg:help-text="&amp;96.XhtmlOptionsCalc.ConvertToPx.HelpText" dlg:value="&amp;97.XhtmlOptionsCalc.ConvertToPx.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcConvertToPx"/>
<dlg:checkbox dlg:id="OriginalImageSize" dlg:tab-index="10" dlg:left="10" dlg:top="78" dlg:width="177" dlg:height="12" dlg:help-text="&amp;98.XhtmlOptionsCalc.OriginalImageSize.HelpText" dlg:value="&amp;99.XhtmlOptionsCalc.OriginalImageSize.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcOriginalImageSize"/>
<dlg:text dlg:id="SpecialContentLabel" dlg:tab-index="11" dlg:left="5" dlg:top="92" dlg:width="184" dlg:height="12" dlg:help-text="&amp;100.XhtmlOptionsCalc.SpecialContentLabel.HelpText" dlg:value="&amp;101.XhtmlOptionsCalc.SpecialContentLabel.Label"/>
<dlg:checkbox dlg:id="Notes" dlg:tab-index="12" dlg:left="10" dlg:top="106" dlg:width="179" dlg:height="12" dlg:help-text="&amp;102.XhtmlOptionsCalc.Notes.HelpText" dlg:value="&amp;103.XhtmlOptionsCalc.Notes.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="UseDublinCore" dlg:tab-index="13" dlg:left="10" dlg:top="120" dlg:width="179" dlg:height="12" dlg:help-text="&amp;104.XhtmlOptionsCalc.UseDublinCore.HelpText" dlg:value="&amp;105.XhtmlOptionsCalc.UseDublinCore.Label" dlg:checked="true"/>
<dlg:checkbox dlg:id="Notes" dlg:tab-index="12" dlg:left="10" dlg:top="106" dlg:width="179" dlg:height="12" dlg:help-text="&amp;102.XhtmlOptionsCalc.Notes.HelpText" dlg:value="&amp;103.XhtmlOptionsCalc.Notes.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcNotes"/>
<dlg:checkbox dlg:id="UseDublinCore" dlg:tab-index="13" dlg:left="10" dlg:top="120" dlg:width="179" dlg:height="12" dlg:help-text="&amp;104.XhtmlOptionsCalc.UseDublinCore.HelpText" dlg:value="&amp;105.XhtmlOptionsCalc.UseDublinCore.Label" dlg:checked="true" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseDublinCore"/>
<dlg:text dlg:id="SheetsLabel" dlg:tab-index="14" dlg:left="5" dlg:top="134" dlg:width="184" dlg:height="12" dlg:help-text="&amp;106.XhtmlOptionsCalc.SheetsLabel.HelpText" dlg:value="&amp;107.XhtmlOptionsCalc.SheetsLabel.Label"/>
<dlg:checkbox dlg:id="DisplayHiddenSheets" dlg:tab-index="15" dlg:left="10" dlg:top="148" dlg:width="175" dlg:height="12" dlg:help-text="&amp;108.XhtmlOptionsCalc.DisplayHiddenSheets.HelpText" dlg:value="&amp;109.XhtmlOptionsCalc.DisplayHiddenSheets.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="DisplayHiddenRowsCols" dlg:tab-index="16" dlg:left="10" dlg:top="162" dlg:width="175" dlg:height="12" dlg:help-text="&amp;110.XhtmlOptionsCalc.DisplayHiddenRowsCols.HelpText" dlg:value="&amp;111.XhtmlOptionsCalc.DisplayHiddenRowsCols.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="DisplayFilteredRowsCols" dlg:tab-index="17" dlg:left="10" dlg:top="176" dlg:width="175" dlg:height="12" dlg:help-text="&amp;112.XhtmlOptionsCalc.DisplayFilteredRowsCols.HelpText" dlg:value="&amp;113.XhtmlOptionsCalc.DisplayFilteredRowsCols.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="ApplyPrintRanges" dlg:tab-index="18" dlg:left="10" dlg:top="190" dlg:width="175" dlg:height="12" dlg:help-text="&amp;114.XhtmlOptionsCalc.ApplyPrintRanges.HelpText" dlg:value="&amp;115.XhtmlOptionsCalc.ApplyPrintRanges.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseTitleAsHeading" dlg:tab-index="19" dlg:left="10" dlg:top="204" dlg:width="175" dlg:height="12" dlg:help-text="&amp;116.XhtmlOptionsCalc.UseTitleAsHeading.HelpText" dlg:value="&amp;117.XhtmlOptionsCalc.UseTitleAsHeading.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="UseSheetNamesAsHeadings" dlg:tab-index="20" dlg:left="10" dlg:top="218" dlg:width="175" dlg:height="12" dlg:help-text="&amp;118.XhtmlOptionsCalc.UseSheetNamesAsHeadings.HelpText" dlg:value="&amp;119.XhtmlOptionsCalc.UseSheetNamesAsHeadings.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="DisplayHiddenSheets" dlg:tab-index="15" dlg:left="10" dlg:top="148" dlg:width="175" dlg:height="12" dlg:help-text="&amp;108.XhtmlOptionsCalc.DisplayHiddenSheets.HelpText" dlg:value="&amp;109.XhtmlOptionsCalc.DisplayHiddenSheets.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayHiddenSheets"/>
<dlg:checkbox dlg:id="DisplayHiddenRowsCols" dlg:tab-index="16" dlg:left="10" dlg:top="162" dlg:width="175" dlg:height="12" dlg:help-text="&amp;110.XhtmlOptionsCalc.DisplayHiddenRowsCols.HelpText" dlg:value="&amp;111.XhtmlOptionsCalc.DisplayHiddenRowsCols.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayHiddenRowsCols"/>
<dlg:checkbox dlg:id="DisplayFilteredRowsCols" dlg:tab-index="17" dlg:left="10" dlg:top="176" dlg:width="175" dlg:height="12" dlg:help-text="&amp;112.XhtmlOptionsCalc.DisplayFilteredRowsCols.HelpText" dlg:value="&amp;113.XhtmlOptionsCalc.DisplayFilteredRowsCols.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayFilteredRowsCols"/>
<dlg:checkbox dlg:id="ApplyPrintRanges" dlg:tab-index="18" dlg:left="10" dlg:top="190" dlg:width="175" dlg:height="12" dlg:help-text="&amp;114.XhtmlOptionsCalc.ApplyPrintRanges.HelpText" dlg:value="&amp;115.XhtmlOptionsCalc.ApplyPrintRanges.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcApplyPrintRanges"/>
<dlg:checkbox dlg:id="UseTitleAsHeading" dlg:tab-index="19" dlg:left="10" dlg:top="204" dlg:width="175" dlg:height="12" dlg:help-text="&amp;116.XhtmlOptionsCalc.UseTitleAsHeading.HelpText" dlg:value="&amp;117.XhtmlOptionsCalc.UseTitleAsHeading.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseTitleAsHeading"/>
<dlg:checkbox dlg:id="UseSheetNamesAsHeadings" dlg:tab-index="20" dlg:left="10" dlg:top="218" dlg:width="175" dlg:height="12" dlg:help-text="&amp;118.XhtmlOptionsCalc.UseSheetNamesAsHeadings.HelpText" dlg:value="&amp;119.XhtmlOptionsCalc.UseSheetNamesAsHeadings.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseSheetNamesAsHeadings"/>
<dlg:text dlg:id="FilesLabel" dlg:tab-index="21" dlg:left="5" dlg:top="232" dlg:width="175" dlg:height="12" dlg:help-text="&amp;120.XhtmlOptionsCalc.FilesLabel.HelpText" dlg:value="&amp;121.XhtmlOptionsCalc.FilesLabel.Label"/>
<dlg:checkbox dlg:id="CalcSplit" dlg:tab-index="22" dlg:left="10" dlg:top="246" dlg:width="175" dlg:height="12" dlg:help-text="&amp;122.XhtmlOptionsCalc.CalcSplit.HelpText" dlg:value="&amp;123.XhtmlOptionsCalc.CalcSplit.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="23" dlg:left="10" dlg:top="260" dlg:width="175" dlg:height="12" dlg:help-text="&amp;124.XhtmlOptionsCalc.SaveImagesInSubdir.HelpText" dlg:value="&amp;125.XhtmlOptionsCalc.SaveImagesInSubdir.Label" dlg:checked="false"/>
<dlg:checkbox dlg:id="CalcSplit" dlg:tab-index="22" dlg:left="10" dlg:top="246" dlg:width="175" dlg:height="12" dlg:help-text="&amp;122.XhtmlOptionsCalc.CalcSplit.HelpText" dlg:value="&amp;123.XhtmlOptionsCalc.CalcSplit.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcSplit"/>
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="23" dlg:left="10" dlg:top="260" dlg:width="175" dlg:height="12" dlg:help-text="&amp;124.XhtmlOptionsCalc.SaveImagesInSubdir.HelpText" dlg:value="&amp;125.XhtmlOptionsCalc.SaveImagesInSubdir.Label" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcSaveImagesInSubdir"/>
<dlg:button dlg:id="ExportButton" dlg:tab-index="24" dlg:left="5" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&amp;126.XhtmlOptionsCalc.ExportButton.HelpText" dlg:value="&amp;127.XhtmlOptionsCalc.ExportButton.Label" dlg:button-type="ok"/>
<dlg:button dlg:id="CancelButton" dlg:tab-index="25" dlg:left="70" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&amp;128.XhtmlOptionsCalc.CancelButton.HelpText" dlg:value="&amp;129.XhtmlOptionsCalc.CancelButton.Label" dlg:button-type="cancel"/>
<dlg:button dlg:id="HelpButton" dlg:tab-index="26" dlg:left="135" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="" dlg:value="?" dlg:button-type="help" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalc"/>
</dlg:bulletinboard>
</dlg:window>

View file

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

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<tree_view version="17-apr-2010">
<help_section application="writer2xhtml" id="w2x01" title="Writer2xhtml">
<!--<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>
</help_section>
</tree_view>

View file

@ -0,0 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-export-writer" indexer="include">
<title xml-lang="en-US">XHTML and EPUB Export (Writer)</title>
<filename>org.openoffice.da.writer2xhtml.oxt/export.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:Options" id="bm_options"/>
<paragraph role="heading" level="1" xml-lang="en-US">XHTML Export (Writer)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Exports the current document to XHTML or EPUB format.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>File - Export - XHTML 1.0 strict</emph><br/>
or <emph>File - Export - XHTML 1.1</emph><br/>
or <emph>File - Export - XHTML 1.1 + MathML 2.0</emph><br/>
or <emph>File - Export - XHTML 1.1 + MathML 2.0 (xsl)</emph><br/>
or <emph>File - Export - EPUB</emph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">Style</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsConfig" id="bm_options_config"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsConfig" visibility="hidden">Select the style to use for the XHTML document</ahelp></paragraph>
<section id="split1">
<paragraph role="heading" level="3" xml-lang="en-US">Use style</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This option allows you to choose between various styles to apply to the
XHTML document.</paragraph>
</section>
<list type="unordered">
<listitem>
<section id="split2">
<paragraph role="paragraph" xml-lang="en-US"><emph>Original formatting</emph> produces an XHTML document which uses
the same style as the original document. The document will look quite similar to the original when viewed
in a browser.</paragraph>
</section>
</listitem>
<listitem>
<paragraph role="paragraph" xml-lang="en-US"><emph>Chocolate, Midnight, Modern, Oldstyle, Steely, Swiss, Traditional
and Ultramarine</emph> formats the document with one of the
<link href="http://www.w3.org/StyleSheets/Core/" name="Link to the W3C's page on core style sheets">8 core styles</link></paragraph>
provided by the World Wide Web Consortium.
</listitem>
<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>
</listitem>
</list>
<section id="split3">
<paragraph role="paragraph" xml-lang="en-US">Expert users can extend the list with further formats using
<emph>configuration packages</emph>. See the documentation on the
<link href="http://writer2latex.sourceforge.net" name="Link to the Writer2LaTeX Website">web site for Writer2xhtml</link>.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsScaling" id="bm_options_scaling"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsScaling" visibility="hidden">Select a scaling to apply to all dimensions in the document</ahelp></paragraph>
<section id="scaling">
<paragraph role="heading" level="3" xml-lang="en-US">Scaling</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Viewing the document in a web browser may require different dimensions
(e.g. font sizes) than the original document. Using this option you can define a percentage used to scale all
dimensions, thus with the setting 140, all dimensions will be 40% larger than in the original document. Depending on the
style you have selected and on the option <emph>Use original image size</emph>, some dimensions may be unaffected by
this option.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsColumnScaling" id="bm_options_columnscaling"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsColumnScaling" visibility="hidden">Select a scaling to apply to all column dimensions in the document</ahelp></paragraph>
<section id="columnscaling">
<paragraph role="heading" level="3" xml-lang="en-US">Column scaling</paragraph>
<paragraph role="paragraph" xml-lang="en-US">This is a similar option, which only affects table columns. Thus you can further
widen or narrow the columns of the tables if you wish.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsConvertToPx" id="bm_options_converttopx"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsConvertToPx" visibility="hidden">Check this if you want to convert all units to px rather than using the original units</ahelp></paragraph>
<section id="converttopx">
<paragraph role="heading" level="3" xml-lang="en-US">Convert units to px (pixels)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">In %PRODUCTNAME, font sizes are usually given in points and other dimensions
in e.g. cm or inches. For XHTML it is recommended to use the unit px instead, and using this option you can require that
all dimensions are converted to px. If you choose not to check this option,the original units will always be used.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsOriginalImageSize" id="bm_options_originalimagesize"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsOriginalImageSize" visibility="hidden">Check this to use the natural size of images rather than the size defined in the document</ahelp></paragraph>
<section id="originalimagesize">
<paragraph role="heading" level="3" xml-lang="en-US">Use original image size</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Often images in a %PRODUCTNAME document are scaled up or down from their original size.
Normally the same scaling will be used in the XHTML document, but if you select this option, the original (unscaled) image
size will be used.</paragraph>
</section>
<section id="special">
<paragraph role="heading" level="2" xml-lang="en-US">Special content</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsNotes" id="bm_options_notes"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsNotes" visibility="hidden">Check this if you want to export notes (annotations) in the document</ahelp></paragraph>
<section id="notes">
<paragraph role="heading" level="3" xml-lang="en-US">Export notes</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you select this option, notes (also known as annotations) in the
%PRODUCTNAME document are exported as comments in the XHTML document. They will not be directly visible in the browser,
only in the XHTML source. If the option is not selected, notes are completely ignored.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsUseDublinCore" id="bm_options_usedublincore"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsUseDublinCore" visibility="hidden">Check this if you want to export all meta data (using the Dublin Core standard)</ahelp></paragraph>
<section id="usedublincore">
<paragraph role="heading" level="3" xml-lang="en-US">Export document properties (Dublin Core Meta data)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you select this option, the document properties (File Properties)
are exported using
<link href="http://dublincore.org/" name="Link to the Dublin Core standard">the Dublin Core standard</link>.</paragraph>
</section>
<paragraph role="heading" level="2" xml-lang="en-US">AutoCorrect</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreHardLineBreaks" id="bm_options_ignorehardlinebreaks"/>
<paragraph role="heading" level="3" xml-lang="en-US">Ignore hard line breaks</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsIgnoreHardLineBreaks" visibility="hidden">Check this if you don't want to export hard (manual) line breaks</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">Sometimes hard (or manual) line breaks are used in Writer to optimize
the placement of the line breaks. Since line breaking in a browser is completely different, you may want to ignore
all hard line breaks by selecting this option.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreEmptyParagraphs" id="bm_options_ignoreemptyparagraphs"/>
<paragraph role="heading" level="3" xml-lang="en-US">Ignore empty paragraphs</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsIgnoreEmptyParagraphs" visibility="hidden">Check this if you don't want to export empty paragraphs</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">Empty paragraphs are sometimes used a simple means to create vertical
spacing in Writer. In a well-structured document, an empty paragraph is probably a mistake. Hence you can select
this option to ignore empty paragraphs in the document in the export.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreDoubleSpaces" id="bm_options_ignoredoublespaces"/>
<paragraph role="heading" level="3" xml-lang="en-US">Ignore double spaces</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsIgnoreDoubleSpaces" visibility="hidden">Check this to treat several spaces as a single space in the export</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">For similar reasons you can choose to ignore two or more spaces in a
row using this option.</paragraph>
<section id="filesheading">
<paragraph role="heading" level="2" xml-lang="en-US">Files</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsSplit" id="bm_options_split"/>
<paragraph role="heading" level="3" xml-lang="en-US">Split document at headings</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsSplit" visibility="hidden">Check this to create a new document for each heading</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">To make a long Writer document easier to read in the browser, you can use
this option to split the document in several small files. Writer2xhtml will add a simple navigation panel that lets you
move between pages. The navigation links will be in the same language as the document (as defined
under <emph>Tools Options Language Settings Languages</emph>). Note that this option has no effect for headings
inside tables.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsSplitLevel" id="bm_options_splitlevel"/>
<paragraph role="heading" level="3" xml-lang="en-US">Heading level</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsSplitLevel" visibility="hidden">Select the heading level at which the spliting should occur</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you have chosen to split the document at headings, you can use this option
to define at which level splitting should occur. For example 2 to split the document at all headings of level 1 or 2.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsRepeatLevels" id="bm_options_repeatlevels"/>
<paragraph role="heading" level="3" xml-lang="en-US">Repeat heading levels</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsRepeatLevels" visibility="hidden">Select the number of heading levels to repeat at the top of new documents</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">To help the reader to identify the current position within the document,
you can use this option to repeat the parent headings whenever the document is split. If you for example split at
headings of level 3 and set this option to 2, the headings of level 1 and 2 will be repeated before the heading of level 3,
providing precise information as to where in the document the section belongs.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsSaveImagesInSubdir" id="bm_options_saveimagesinsubdir"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsSaveImagesInSubdir" visibility="hidden">Check this to save images in a subdirectory relative to the exported document</ahelp></paragraph>
<section id="saveimagesinsubdir">
<paragraph role="heading" level="3" xml-lang="en-US">Save images in subdirectory</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Writer2xhtml normally saves images associated with the document in the same
directory as the XHTML document. If the document contains a large number of images it may be more convenient to save the
images in a separate subdirectory. This option will create a subdirectory with the same name as the XHTML document to
store the images.</paragraph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsXsltPath" id="bm_options_xsltpath"/>
<paragraph role="heading" level="3" xml-lang="en-US">XSLT path</paragraph>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsXsltPath" visibility="hidden">Enter the path to pmathml.xsl and pmathmlcss.xsl</ahelp></paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you choose the export filter
<emph>XHTML 1.1 + MathML 2.0 (xsl)</emph>, two XSLT style sheets provided by the World Wide Web Consortium are required.
If they are not available in the same directory as the exported document, you can give the path here.</paragraph>
</body>
</helpdocument>

View file

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<meta>
<topic id="writer2xhtml-export-calc" indexer="include">
<title xml-lang="en-US">XHTML Export (Calc)</title>
<filename>org.openoffice.da.writer2xhtml.oxt/export_calc.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalc" id="bm_optionscalc"/>
<paragraph role="heading" level="1" xml-lang="en-US">XHTML Export (Calc)</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Exports the current document to XHTML format.</paragraph>
<section id="howtoget" xml-lang="en-US">
Choose <emph>File - Export - XHTML 1.0 strict</emph><br/>
or <emph>File - Export - XHTML 1.1</emph>
</section>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcConfig" id="bm_optionscalc_config"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcConfig" visibility="hidden">Select the style to use for the XHTML document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#split1"/>
<list type="unordered">
<listitem>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#split2"/>
</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>
</listitem>
</list>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#split3"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcScaling" id="bm_optionscalc_scaling"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcScaling" visibility="hidden">Select a scaling to apply to all dimensions in the document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#scaling"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcColumnScaling" id="bm_optionscalc_columnscaling"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcColumnScaling" visibility="hidden">Select a scaling to apply to all column dimensions in the document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#columnscaling"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcConvertToPx" id="bm_optionscalc_converttopx"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcConvertToPx" visibility="hidden">Check this if you want to convert all units to px rather than using the original units</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#converttopx"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcOriginalImageSize" id="bm_optionscalc_originalimagesize"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcOriginalImageSize" visibility="hidden">Check this to use the natural size of images rather than the size defined in the document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#originalimagesize"/>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#special"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcNotes" id="bm_optionscalc_notes"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcOriginalImageSize" visibility="hidden">Check this if you want to export notes (annotations) in the document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#notes"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseDublinCore" id="bm_optionscalc_usedublincore"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcUseDublinCore" visibility="hidden">Check this if you want to export all meta data (using the Dublin Core standard)</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#usedublincore"/>
<paragraph role="heading" level="2" xml-lang="en-US">Sheets</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayHiddenSheets" id="bm_optionsdisplayhiddensheets"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcDisplayHiddenSheets" visibility="hidden">Check this to display all sheets, even if they are hidden</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Display hidden sheets</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you have chosen to hide some sheets in %PRODUCTNAME Calc, you can select this
option if you want to display them in the XHTML document anyway.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayHiddenRowsCols" id="bm_optionscalc_displayhiddenrowscols"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcDisplayHiddenRowsCols" visibility="hidden">Check this to display all rows and columns, even if they are hidden</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Display hidden rows and columns</paragraph>
<paragraph role="paragraph" xml-lang="en-US">The same applies, if you have chosen to hide some columns or rows in your
spreadsheet.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcDisplayFilteredRowsCols" id="bm_optionscalc_displayfilteredrowscols"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcDisplayFilteredRowsCols" visibility="hidden">Check this to display all rows and columns, even if they are filtered</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Display filtered rows and columns</paragraph>
<paragraph role="paragraph" xml-lang="en-US">When you export the document, some rows or columns may be invisible because
you have applied a filter in %PRODUCTNAME Calc. If you select this option, the invisible rows and columns will be exported
to XHTML anyway.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcApplyPrintRanges" id="bm_optionscalc_applyprintranges"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcApplyPrintRanges" visibility="hidden">Check this to export the print ranges rather than the complete contents of the sheets</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Apply print ranges</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this option, the XHTML document will display the parts of the document
which are selected for printing using print ranges in %PRODUCTNAME Calc. The display in the browser will thus be similar
to what you get when you are printing the document from %PRODUCTNAME Calc. If the option is not checked, the result will instead resemble
what you see when you edit the document in %PRODUCTNAME Calc.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseTitleAsHeading" id="bm_optionscalc_usetitleasheading"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcUseTitleAsHeading" visibility="hidden">Check this to insert the document title as a heading</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Use title as heading</paragraph>
<paragraph role="paragraph" xml-lang="en-US">Use sheet names as headings</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this option, Calc2xhtml will insert the document title
(<emph>File Properties Description Title</emph>) as heading at the top of the XHTML document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcUseSheetNamesAsHeadings" id="bm_optionscalc_usesheetnamesasheadings"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcUseSheetNamesAsHeadings" visibility="hidden">Check this to insert the sheet name as a heading above each sheet</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Use sheet names as headings</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you check this option, Calc2xhtml will insert the name of each sheet
as a heading above the sheet in the XHTML document.</paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#filesheading"/>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcSplit" id="bm_optionscalcsplit"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcSplit" visibility="hidden">Check this to create a separate file for each sheet</ahelp></paragraph>
<paragraph role="heading" level="3" xml-lang="en-US">Save sheets in separate files</paragraph>
<paragraph role="paragraph" xml-lang="en-US">If you select this option, Calc2xhtml will produce a separate file for
each sheet, otherwise all sheets will be exported to the same XHTML file. In any case, a simple navigation panel showing
all sheet names will be added.</paragraph>
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:OptionsCalcSaveImagesInSubdir" id="bm_optionscalc_saveimagesinsubdir"/>
<paragraph role="paragraph" xml-lang="en-US"><ahelp hid="org.openoffice.da.writer2latex.oxt:OptionsCalcSaveImagesInSubdir" visibility="hidden">Check this to save images in a subdirectory relative to the exported document</ahelp></paragraph>
<embed href="org.openoffice.da.writer2xhtml.oxt/export.xhp#saveimagesinsubdir"/>
</body>
</helpdocument>

View file

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

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.2" />
<version value="1.1.3" />
</description>

View file

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