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:
parent
7f4f47c98b
commit
66440ed06d
28 changed files with 538 additions and 57 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
|
@ -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"><ol><ol><li>...</li></ol></ol></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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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">
|
||||
<html><br/>
|
||||
  <head><br/>
|
||||
    <title/><br/>
|
||||
  </head><br/>
|
||||
  <body><br/>
|
||||
    <div id='header' /><br/>
|
||||
    <div id='content' /><br/>
|
||||
  </body><br/>
|
||||
</html>
|
||||
</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">
|
||||
<div/>
|
||||
</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>
|
|
@ -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">
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue