EPUB meta data, export dialog and style resources
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@81 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
e02f738e85
commit
0dcc851a33
21 changed files with 920 additions and 139 deletions
|
@ -12,6 +12,11 @@
|
|||
<prop oor:name="ConfigURL" oor:type="xs:string" />
|
||||
<prop oor:name="TargetTemplateURL" oor:type="xs:string" />
|
||||
<prop oor:name="StyleSheetURL" oor:type="xs:string" />
|
||||
<set oor:name="Resources" oor:node-type="Resource" />
|
||||
</group>
|
||||
<group oor:name="Resource">
|
||||
<prop oor:name="FileName" oor:type="xs:string" />
|
||||
<prop oor:name="MediaType" oor:type="xs:string" />
|
||||
</group>
|
||||
<group oor:name="Template">
|
||||
<prop oor:name="TemplateName" oor:type="xs:string" />
|
||||
|
@ -44,6 +49,40 @@
|
|||
<set oor:name="Configurations" oor:node-type="Configuration" />
|
||||
<set oor:name="Templates" oor:node-type="Template" />
|
||||
</group>
|
||||
<group oor:name="EpubOptions">
|
||||
<!-- Style -->
|
||||
<prop oor:name="Config" oor:type="xs:short" />
|
||||
<prop oor:name="ConfigName" oor:type="xs:string" />
|
||||
<prop oor:name="Scaling" oor:type="xs:int" />
|
||||
<prop oor:name="ColumnScaling" oor:type="xs:int" />
|
||||
<prop oor:name="RelativeFontSize" oor:type="xs:boolean" />
|
||||
<prop oor:name="FontScaling" oor:type="xs:int" />
|
||||
<prop oor:name="UseDefaultFont" oor:type="xs:boolean" />
|
||||
<prop oor:name="DefaultFontName" oor:type="xs:string" />
|
||||
<prop oor:name="ConvertToPx" oor:type="xs:boolean" />
|
||||
<prop oor:name="OriginalImageSize" oor:type="xs:boolean"/>
|
||||
<!-- Special content -->
|
||||
<prop oor:name="DisplayHiddenText" oor:type="xs:boolean" />
|
||||
<prop oor:name="Notes" oor:type="xs:boolean" />
|
||||
<prop oor:name="UseDublinCore" oor:type="xs:boolean" />
|
||||
<!-- AutoCorrect -->
|
||||
<prop oor:name="IgnoreEmptyParagraphs" oor:type="xs:boolean" />
|
||||
<prop oor:name="IgnoreHardLineBreaks" oor:type="xs:boolean" />
|
||||
<prop oor:name="IgnoreDoubleSpaces" oor:type="xs:boolean" />
|
||||
<!-- Files -->
|
||||
<prop oor:name="Split" oor:type="xs:boolean" />
|
||||
<prop oor:name="SplitLevel" oor:type="xs:short" />
|
||||
<prop oor:name="UsePageBreakSplit" oor:type="xs:boolean" />
|
||||
<prop oor:name="PageBreakSplit" oor:type="xs:short" />
|
||||
<prop oor:name="UseSplitAfter" oor:type="xs:boolean" />
|
||||
<prop oor:name="SplitAfter" oor:type="xs:int" />
|
||||
<!-- Table of contents -->
|
||||
<prop oor:name="ExternalTocDepth" oor:type="xs:short" />
|
||||
<prop oor:name="IncludeToc" oor:type="xs:boolean" />
|
||||
<!-- Configurations -->
|
||||
<set oor:name="Configurations" oor:node-type="Configuration" />
|
||||
<set oor:name="Templates" oor:node-type="Template" />
|
||||
</group>
|
||||
<group oor:name="XhtmlOptionsCalc" >
|
||||
<!-- Style -->
|
||||
<prop oor:name="Config" oor:type="xs:short" />
|
||||
|
|
|
@ -54,6 +54,80 @@
|
|||
<value></value>
|
||||
</prop>
|
||||
</node>
|
||||
<node oor:name="EpubOptions">
|
||||
<prop oor:name="Config" oor:type="xs:short">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="ConfigName" oor:type="xs:string">
|
||||
<value></value>
|
||||
</prop>
|
||||
<prop oor:name="ConvertToPx" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="Scaling" oor:type="xs:int">
|
||||
<value>100</value>
|
||||
</prop>
|
||||
<prop oor:name="ColumnScaling" oor:type="xs:int">
|
||||
<value>100</value>
|
||||
</prop>
|
||||
<prop oor:name="OriginalImageSize" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="RelativeFontSize" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="FontScaling" oor:type="xs:int">
|
||||
<value>100</value>
|
||||
</prop>
|
||||
<prop oor:name="UseDefaultFont" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="DefaultFontName" oor:type="xs:string">
|
||||
<value></value>
|
||||
</prop>
|
||||
<prop oor:name="DisplayHiddenText" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="Notes" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="UseDublinCore" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="IgnoreEmptyParagraphs" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="IgnoreHardLineBreaks" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="IgnoreDoubleSpaces" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="Split" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="SplitLevel" oor:type="xs:short">
|
||||
<value>1</value>
|
||||
</prop>
|
||||
<prop oor:name="UsePageBreakSplit" oor:type="xs:boolean">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
<prop oor:name="PageBreakSplit" oor:type="xs:short">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="UseSplitAfter" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="SplitAfter" oor:type="xs:int">
|
||||
<value>150</value>
|
||||
</prop>
|
||||
<prop oor:name="ExternalTocDepth" oor:type="xs:short">
|
||||
<value>0</value>
|
||||
</prop>
|
||||
<prop oor:name="IncludeToc" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
</prop>
|
||||
</node>
|
||||
<node oor:name="XhtmlOptionsCalc">
|
||||
<prop oor:name="Config" oor:type="xs:short">
|
||||
<value>0</value>
|
||||
|
|
94
source/oxt/writer2xhtml/W2XDialogs2/EpubOptions.xdl
Executable file
94
source/oxt/writer2xhtml/W2XDialogs2/EpubOptions.xdl
Executable file
|
@ -0,0 +1,94 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
|
||||
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="EpubOptions" dlg:left="139" dlg:top="84" dlg:width="400" dlg:height="241" dlg:closeable="true" dlg:moveable="true" dlg:title="EPUB Options (Writer2xhtml)">
|
||||
<dlg:bulletinboard>
|
||||
<dlg:text dlg:id="StyleLabel" dlg:tab-index="0" dlg:left="5" dlg:top="8" dlg:width="180" dlg:height="12" dlg:value="Style"/>
|
||||
<dlg:text dlg:id="ConfigLabel" dlg:tab-index="1" dlg:left="10" dlg:top="22" dlg:width="76" dlg:height="12" dlg:value="Use style"/>
|
||||
<dlg:menulist dlg:id="Config" dlg:tab-index="2" dlg:left="95" dlg:top="20" dlg:width="90" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsConfig" dlg:spin="true" dlg:linecount="10">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="Original formatting"/>
|
||||
<dlg:menuitem dlg:value="Custom"/>
|
||||
</dlg:menupopup>
|
||||
<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:value="Scaling"/>
|
||||
<dlg:numericfield dlg:id="Scaling" dlg:tab-index="4" dlg:left="140" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsScaling" 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:text dlg:id="ScalingPercentLabel" dlg:tab-index="5" dlg:left="175" dlg:top="36" dlg:width="10" dlg:height="12" dlg:value="%"/>
|
||||
<dlg:text dlg:id="ColumnScalingLabel" dlg:tab-index="6" dlg:left="10" dlg:top="50" dlg:width="76" dlg:height="12" dlg:value="Column scaling"/>
|
||||
<dlg:numericfield dlg:id="ColumnScaling" dlg:tab-index="7" dlg:left="140" dlg:top="48" dlg:width="30" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsColumnScaling" 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:text dlg:id="ColumnScalingPercentLabel" dlg:tab-index="28" dlg:left="175" dlg:top="50" dlg:width="10" dlg:height="12" dlg:value="%"/>
|
||||
<dlg:checkbox dlg:id="ConvertToPx" dlg:tab-index="12" dlg:left="10" dlg:top="120" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsConvertToPx" dlg:value="Convert units to px (pixels)" dlg:checked="true"/>
|
||||
<dlg:checkbox dlg:id="OriginalImageSize" dlg:tab-index="13" dlg:left="10" dlg:top="134" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsOriginalImageSize" dlg:value="Use original image size" dlg:checked="false"/>
|
||||
<dlg:text dlg:id="SpecialContentLabel" dlg:tab-index="29" dlg:left="5" dlg:top="148" dlg:width="180" dlg:height="12" dlg:value="Special content"/>
|
||||
<dlg:checkbox dlg:id="Notes" dlg:tab-index="15" dlg:left="10" dlg:top="176" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsNotes" dlg:value="Export notes" dlg:checked="true"/>
|
||||
<dlg:checkbox dlg:id="UseDublinCore" dlg:tab-index="16" dlg:left="10" dlg:top="190" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsUseDublinCore" dlg:value="Export optional document properties" dlg:checked="true"/>
|
||||
<dlg:text dlg:id="AutoCorrectLabel" dlg:tab-index="30" dlg:left="205" dlg:top="8" dlg:width="180" dlg:height="12" dlg:value="AutoCorrect"/>
|
||||
<dlg:checkbox dlg:id="IgnoreHardLineBreaks" dlg:tab-index="17" dlg:left="210" dlg:top="22" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreHardLineBreaks" dlg:value="Ignore hard line breaks" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="IgnoreEmptyParagraphs" dlg:tab-index="18" dlg:left="210" dlg:top="36" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreEmptyParagraphs" dlg:value="Ignore empty paragraphs" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="IgnoreDoubleSpaces" dlg:tab-index="19" dlg:left="210" dlg:top="50" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsIgnoreDoubleSpaces" dlg:value="Ignore double spaces" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="Split" dlg:tab-index="20" dlg:left="210" dlg:top="78" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSplit" dlg:value="Split document at headings" dlg:checked="false">
|
||||
<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="32" dlg:left="219" dlg:top="92" dlg:width="120" dlg:height="12" dlg:value="Heading level"/>
|
||||
<dlg:menulist dlg:id="SplitLevel" dlg:tab-index="21" dlg:left="345" dlg:top="90" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSplitLevel" dlg:spin="true" dlg:linecount="6">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="1"/>
|
||||
<dlg:menuitem dlg:value="2"/>
|
||||
<dlg:menuitem dlg:value="3"/>
|
||||
<dlg:menuitem dlg:value="4"/>
|
||||
<dlg:menuitem dlg:value="5"/>
|
||||
<dlg:menuitem dlg:value="6"/>
|
||||
</dlg:menupopup>
|
||||
</dlg:menulist>
|
||||
<dlg:button dlg:id="ExportButton" dlg:tab-index="33" dlg:left="5" dlg:top="216" dlg:width="55" dlg:height="12" dlg:value="Export" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="CancelButton" dlg:tab-index="34" dlg:left="70" dlg:top="216" dlg:width="55" dlg:height="12" dlg:value="Cancel" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="35" dlg:left="330" dlg:top="216" dlg:width="55" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Options" dlg:value="Help" dlg:button-type="help"/>
|
||||
<dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="36" dlg:left="195" dlg:top="9" dlg:width="2" dlg:height="193" dlg:value="&143.XhtmlOptions.FixedLine1.Label" dlg:align="vertical"/>
|
||||
<dlg:checkbox dlg:id="RelativeFontSize" dlg:tab-index="8" dlg:left="10" dlg:top="64" dlg:width="175" dlg:height="12" dlg:value="Use relative font size" dlg:checked="true">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:RelativeFontSizeChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="FontScalingLabel" dlg:tab-index="37" dlg:left="19" dlg:top="78" dlg:width="68" dlg:height="12" dlg:value="Scaling"/>
|
||||
<dlg:numericfield dlg:id="FontScaling" dlg:tab-index="9" dlg:left="140" dlg:top="76" dlg:width="30" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:FontScaling" 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:text dlg:id="FontScalingPercentLabel" dlg:tab-index="38" dlg:left="175" dlg:top="78" dlg:width="10" dlg:height="12" dlg:value="%"/>
|
||||
<dlg:checkbox dlg:id="UseDefaultFont" dlg:tab-index="10" dlg:left="10" dlg:top="92" dlg:width="175" dlg:height="12" dlg:value="Use default font" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseDefaultFontChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="DefaultFontNameLabel" dlg:tab-index="39" dlg:left="19" dlg:top="106" dlg:width="64" dlg:height="12" dlg:value="Font name"/>
|
||||
<dlg:combobox dlg:id="DefaultFontName" dlg:tab-index="11" dlg:left="95" dlg:top="104" dlg:width="90" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:DefaultFont" dlg:spin="true"/>
|
||||
<dlg:checkbox dlg:id="DisplayHiddenText" dlg:tab-index="14" dlg:left="10" dlg:top="162" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:DisplayHiddenText" dlg:value="Display hidden text" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="UsePageBreakSplit" dlg:tab-index="22" dlg:left="210" dlg:top="106" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:PageBreakSplit" dlg:value="Split document at page breaks" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UsePageBreakSplitChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="PageBreakSplitLabel" dlg:tab-index="40" dlg:left="219" dlg:top="120" dlg:width="65" dlg:height="12" dlg:value="Types of page break"/>
|
||||
<dlg:menulist dlg:id="PageBreakSplit" dlg:tab-index="23" dlg:left="295" dlg:top="118" dlg:width="90" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:PageBreakSplitType" dlg:spin="true" dlg:linecount="3">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="Defined by styles"/>
|
||||
<dlg:menuitem dlg:value="All explicit"/>
|
||||
<dlg:menuitem dlg:value="All"/>
|
||||
</dlg:menupopup>
|
||||
</dlg:menulist>
|
||||
<dlg:checkbox dlg:id="IncludeToc" dlg:tab-index="27" dlg:left="210" dlg:top="190" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:IncludeToc" dlg:value="Also include original table of contents" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="UseSplitAfter" dlg:tab-index="24" dlg:left="210" dlg:top="134" dlg:width="175" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:UseEpubAutoSplit" dlg:value="Automatic split of long documents" dlg:checked="false">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.UNO:UseSplitAfterChange" script:language="UNO"/>
|
||||
</dlg:checkbox>
|
||||
<dlg:text dlg:id="SplitAfterLabel" dlg:tab-index="41" dlg:left="219" dlg:top="148" dlg:width="120" dlg:height="12" dlg:value="After (in 1000 characters)"/>
|
||||
<dlg:numericfield dlg:id="SplitAfter" dlg:tab-index="25" dlg:left="345" dlg:top="146" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:EpubAutoSplit" dlg:strict-format="true" dlg:decimal-accuracy="0" dlg:value-min="10" dlg:value-max="1000" dlg:value-step="10" dlg:spin="true"/>
|
||||
<dlg:text dlg:id="ExternalTocDepthLabel" dlg:tab-index="42" dlg:left="210" dlg:top="176" dlg:width="127" dlg:height="12" dlg:value="Number of heading levels to include"/>
|
||||
<dlg:menulist dlg:id="ExternalTocDepth" dlg:tab-index="26" dlg:left="345" dlg:top="174" dlg:width="40" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:ExternalTocDepth" dlg:spin="true" dlg:linecount="10">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="1"/>
|
||||
<dlg:menuitem dlg:value="2"/>
|
||||
<dlg:menuitem dlg:value="3"/>
|
||||
<dlg:menuitem dlg:value="4"/>
|
||||
<dlg:menuitem dlg:value="5"/>
|
||||
<dlg:menuitem dlg:value="6"/>
|
||||
<dlg:menuitem dlg:value="7"/>
|
||||
<dlg:menuitem dlg:value="8"/>
|
||||
<dlg:menuitem dlg:value="9"/>
|
||||
<dlg:menuitem dlg:value="10"/>
|
||||
</dlg:menupopup>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="TocLabel" dlg:tab-index="43" dlg:left="205" dlg:top="162" dlg:width="180" dlg:height="12" dlg:value="Table of contents"/>
|
||||
<dlg:text dlg:id="DocumentDivisionLabel" dlg:tab-index="31" dlg:left="205" dlg:top="64" dlg:width="180" dlg:height="12" dlg:value="Document division"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -12,4 +12,5 @@
|
|||
<library:element library:name="NewDialog"/>
|
||||
<library:element library:name="DeleteDialog"/>
|
||||
<library:element library:name="LoadDefaults"/>
|
||||
<library:element library:name="EpubOptions"/>
|
||||
</library:library>
|
|
@ -4,6 +4,7 @@
|
|||
<!--<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>
|
||||
<topic id="writer2xhtml/org.openoffice.da.writer2xhtml.oxt/epub.xhp">EPUB meta data (Writer)</topic>
|
||||
<node id="w2l0x_configuration" title="Custom style">
|
||||
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/Introduction.xhp">Introduction</topic>
|
||||
<topic id="writer2latex/org.openoffice.da.writer2xhtml.oxt/Configuration/General.xhp">General</topic>
|
||||
|
|
|
@ -0,0 +1,99 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<helpdocument version="1.0">
|
||||
<meta>
|
||||
<topic id="writer2xhtml-epub" indexer="include">
|
||||
<title xml-lang="en-US">EPUB meta data</title>
|
||||
<filename>org.openoffice.da.writer2xhtml.oxt/epub.xhp</filename>
|
||||
</topic>
|
||||
</meta>
|
||||
<body>
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:EPUB" id="bm_epub"/>
|
||||
<paragraph role="heading" level="1" xml-lang="en-US">EPUB meta data</paragraph>
|
||||
|
||||
<paragraph role="paragraph" xml-lang="en-US">The EPUB standard specifies a number of meta data elements not supported by ODF.
|
||||
Writer2xhtml supports these elements using user-defined meta data. To add user-defined meta data choose
|
||||
<emph>File-Properties</emph>, <emph>User-defined properties</emph>. The following properties are supported:</paragraph>
|
||||
<list type="unordered">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Identifier</emph>: Each EPUB document must have a unique ID.
|
||||
Normally Writer2xhtml generates a Universal Unique ID (UUID) for this purpose, but you may override this with
|
||||
your own ID.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">To do this add a new property, enter <emph>Identifier</emph>
|
||||
(case is not important) as name and the ID as value.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">An identifier may follow a specific identification scheme, e.g. ISBN.
|
||||
To specify an identification scheme, append this to the name separated by a period, e.g. <emph>Identifier.ISBN</emph>.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">It is possible to have several identifiers, in this case append a number
|
||||
to the name, e.g. <emph>Identifier1.ISBN</emph> and <emph>Identifier2</emph>. The first identifier is used as the unique ID.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Creator</emph>: A primary creator or author of the publication.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">Enter <emph>Creator</emph> as name and the creator's name as value.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">A creator may have a special role, you can specify this with a three
|
||||
letter code after the word creator, e.g. <emph>creator.aut</emph> for the author or <emph>creator.ill</emph>
|
||||
for the illustrator. For the complete list of three letter codes see the
|
||||
<link href="http://www.idpf.org/2007/opf/OPF_2.0_final_spec.html" name="Link to the EPUB specification">EPUB specification</link>.</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can define several creators, in this case add a number to the word creator,
|
||||
e.g. <emph>creator1.aut</emph> and <emph>creator2</emph>. The creators will be sorted according to the numbers.
|
||||
Note that some readers may only present the first creator.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Contributor</emph>: A party whose contribution to the publication is secondary
|
||||
to those named in creator elements. Otherwise it is handled like Creator, and the same rules apply.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Date</emph>: Date of publication. The date must be in the format YYYY-MM-DD
|
||||
(year-month-date) or more generally in the format specified in
|
||||
<link href="http://www.w3.org/TR/NOTE-datetime" name="Link to datetime specification">http://www.w3.org/TR/NOTE-datetime</link>.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">A date may be associated with a special event such as creation,
|
||||
publication or modification. To define this, add the event after the word date, e.g. <emph>date.publication</emph>.
|
||||
</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can give several dates, in this case add a number to the word date,
|
||||
e.g. <emph>date1.creation</emph>, <emph>date2.modification</emph>.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
</list>
|
||||
<paragraph role="paragraph" xml-lang="en-US">You can only have one instance of the remaining properties,
|
||||
hence they cannot be numbered. Also no additional data can be appended to the name.
|
||||
</paragraph>
|
||||
<list type="unordered">
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Publisher</emph>: The publisher of the document.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Type</emph>: Terms describing general categories, functions, genres, or aggregation levels for content.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Format</emph>: The media type or dimensions of the resource.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Source</emph>: Information regarding a prior resource from which the publication was derived.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Relation</emph>: An identifier of an auxiliary resource and its relationship to the publication.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Coverage</emph>: The extent or scope of the publication’s content.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<paragraph role="paragraph" xml-lang="en-US"><emph>Rights</emph>: A statement about rights, or a reference to one.
|
||||
</paragraph>
|
||||
</listitem>
|
||||
</list>
|
||||
|
||||
</body>
|
||||
</helpdocument>
|
||||
|
||||
|
|
@ -114,6 +114,9 @@
|
|||
are exported using
|
||||
<link href="http://dublincore.org/" name="Link to the Dublin Core standard">the Dublin Core standard</link>.</paragraph>
|
||||
</section>
|
||||
<paragraph role="paragraph" xml-lang="en-US">The EPUB format supports a number of additional meta data elements.
|
||||
You can define these using <link href="org.openoffice.da.writer2xhtml.oxt/epub.xhp" name="EPUB">user-defined properties</link>.
|
||||
</paragraph>
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">AutoCorrect</paragraph>
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<prop oor:name="FileFormatVersion"><value>0</value></prop>
|
||||
<prop oor:name="Type"><value>writer_epub_File</value></prop>
|
||||
<prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
|
||||
<prop oor:name="UIComponent"><value>org.openoffice.da.comp.writer2xhtml.XhtmlOptionsDialog</value></prop>
|
||||
<prop oor:name="UIComponent"><value>org.openoffice.da.comp.writer2xhtml.EpubOptionsDialog</value></prop>
|
||||
<prop oor:name="UserData"><value>org.openoffice.da.comp.writer2xhtml.W2XExportFilter unused com.sun.star.comp.Writer.XMLOasisImporter com.sun.star.comp.Writer.XMLOasisExporter staroffice/sxw application/epub+zip</value></prop>
|
||||
<prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop>
|
||||
<prop oor:name="TemplateName"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue