EPUB 3 preparations + embed HTML images as base 64
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@226 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
951bcc0f85
commit
53c84ca717
21 changed files with 209 additions and 61 deletions
|
@ -105,7 +105,7 @@
|
|||
<dlg:checkbox dlg:id="IgnoreDoubleSpaces" dlg:tab-index="40" dlg:left="193" dlg:top="218" dlg:width="149" dlg:height="12" dlg:help-text="&104.LaTeXOptions.IgnoreDoubleSpaces.HelpText" dlg:help-url="org.openoffice.da.writer2latex.oxt:OptionsIgnoreDoubleSpaces" dlg:value="&105.LaTeXOptions.IgnoreDoubleSpaces.Label" dlg:checked="false"/>
|
||||
<dlg:button dlg:id="ExportButton" dlg:tab-index="41" dlg:left="5" dlg:top="242" dlg:width="60" dlg:height="13" dlg:help-text="&106.LaTeXOptions.ExportButton.HelpText" dlg:value="&107.LaTeXOptions.ExportButton.Label" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="CancelButton" dlg:tab-index="42" dlg:left="75" dlg:top="242" dlg:width="60" dlg:height="13" dlg:help-text="&108.LaTeXOptions.CancelButton.HelpText" dlg:value="&109.LaTeXOptions.CancelButton.Label" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="43" dlg:left="282" dlg:top="242" dlg:width="60" dlg:height="13" dlg:help-url="org.openoffice.da.writer2latex.oxt:Options" dlg:value="Hjælp" dlg:button-type="help"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="43" dlg:left="282" dlg:top="242" dlg:width="60" dlg:height="13" dlg:help-url="org.openoffice.da.writer2latex.oxt:Options" dlg:value="Help" dlg:button-type="help"/>
|
||||
<dlg:checkbox dlg:id="DisplayHiddenText" dlg:tab-index="26" dlg:left="193" dlg:top="50" dlg:width="149" dlg:height="12" dlg:help-text="&147.LaTeXOptions.DisplayHiddenText.HelpText" dlg:help-url="org.openoffice.da.writer2latex.oxt:DisplayHiddenText" dlg:value="&148.LaTeXOptions.DisplayHiddenText.Label" dlg:checked="false"/>
|
||||
<dlg:text dlg:id="FontLabel" dlg:tab-index="44" dlg:left="12" dlg:top="78" dlg:width="47" dlg:height="12" dlg:help-text="&151.LaTeXOptions.FontLabel.HelpText" dlg:value="&152.LaTeXOptions.FontLabel.Label"/>
|
||||
<dlg:menulist dlg:id="Font" dlg:tab-index="9" dlg:left="65" dlg:top="76" dlg:width="96" dlg:height="12" dlg:help-text="&154.LaTeXOptions.Font.HelpText" dlg:help-url="org.openoffice.da.writer2latex.oxt:OptionsFont" dlg:spin="true" dlg:linecount="10"/>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="24" dlg:left="10" dlg:top="246" dlg:width="180" dlg:height="12" dlg:help-text="&67.XhtmlOptions.SaveImagesInSubdir.HelpText" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsSaveImagesInSubdir" dlg:value="&68.XhtmlOptions.SaveImagesInSubdir.Label" dlg:checked="false"/>
|
||||
<dlg:button dlg:id="ExportButton" dlg:tab-index="26" dlg:left="5" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&73.XhtmlOptions.ExportButton.HelpText" dlg:value="&74.XhtmlOptions.ExportButton.Label" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="CancelButton" dlg:tab-index="27" dlg:left="70" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&75.XhtmlOptions.CancelButton.HelpText" dlg:value="&76.XhtmlOptions.CancelButton.Label" dlg:button-type="cancel"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="28" dlg:left="135" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Options" dlg:value="Hjælp" dlg:button-type="help"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="28" dlg:left="135" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:Options" dlg:value="Help" dlg:button-type="help"/>
|
||||
<dlg:checkbox dlg:id="UseMathjax" dlg:tab-index="25" dlg:left="10" dlg:top="260" dlg:width="180" dlg:height="11" dlg:help-text="&144.XhtmlOptions.UseMathjax.HelpText" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsUseMathjax" dlg:value="&145.XhtmlOptions.UseMathjax.Label" dlg:checked="false"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -34,6 +34,6 @@
|
|||
<dlg:checkbox dlg:id="SaveImagesInSubdir" dlg:tab-index="23" dlg:left="10" dlg:top="260" dlg:width="175" dlg:height="12" dlg:help-text="&124.XhtmlOptionsCalc.SaveImagesInSubdir.HelpText" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalcSaveImagesInSubdir" dlg:value="&125.XhtmlOptionsCalc.SaveImagesInSubdir.Label" dlg:checked="false"/>
|
||||
<dlg:button dlg:id="ExportButton" dlg:tab-index="24" dlg:left="5" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-text="&126.XhtmlOptionsCalc.ExportButton.HelpText" dlg:value="&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="&128.XhtmlOptionsCalc.CancelButton.HelpText" dlg:value="&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-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalc" dlg:value="?" dlg:button-type="help"/>
|
||||
<dlg:button dlg:id="HelpButton" dlg:tab-index="26" dlg:left="135" dlg:top="286" dlg:width="55" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:OptionsCalc" dlg:value="Help" dlg:button-type="help"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -17,7 +17,8 @@
|
|||
<dlg:text dlg:id="NotesHeadingsLabel" dlg:tab-index="3" dlg:left="5" dlg:top="36" dlg:width="245" dlg:height="12" dlg:value="Footnotes and endnotes"/>
|
||||
<dlg:text dlg:id="FootnotesHeadingLabel" dlg:tab-index="6" dlg:left="10" dlg:top="64" dlg:width="110" dlg:height="12" dlg:value="Footnotes heading"/>
|
||||
<dlg:textfield dlg:id="FootnotesHeading" dlg:tab-index="7" dlg:left="130" dlg:top="62" dlg:width="120" dlg:height="12" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:FootnotesHeading"/>
|
||||
<dlg:text dlg:id="SvgLabel" dlg:tab-index="8" dlg:left="5" dlg:top="80" dlg:width="245" dlg:height="12" dlg:value="SVG images (HTML5 only)"/>
|
||||
<dlg:checkbox dlg:id="EmbedSvg" dlg:tab-index="9" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Embed SVG images in the HTML document" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:EmbedSvg"/>
|
||||
<dlg:text dlg:id="ImageLabel" dlg:tab-index="8" dlg:left="5" dlg:top="80" dlg:width="245" dlg:height="12" dlg:value="Images"/>
|
||||
<dlg:checkbox dlg:id="EmbedSvg" dlg:tab-index="9" dlg:left="10" dlg:top="92" dlg:width="240" dlg:height="12" dlg:value="Embed SVG images in the HTML document (HTML5 only)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:EmbedSvg"/>
|
||||
<dlg:checkbox dlg:id="EmbedImg" dlg:tab-index="10" dlg:left="10" dlg:top="104" dlg:width="240" dlg:height="12" dlg:value="Embed all images in the HTML document (base64 encoded)" dlg:checked="false" dlg:help-url="org.openoffice.da.writer2xhtml.oxt:EmbedImg"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
|
@ -52,7 +52,7 @@
|
|||
This has no effect if footnotes are placed at the bottom of the page.</paragraph>
|
||||
|
||||
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">SVG images</paragraph>
|
||||
<paragraph role="heading" level="2" xml-lang="en-US">Images</paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:EmbedSvg" id="bm_configembedsvg"/>
|
||||
|
||||
|
@ -60,5 +60,12 @@
|
|||
<paragraph role="paragraph" xml-lang="en-US">If you check this option, SVG images will be embedded directly
|
||||
in the HTML document. Otherwise they will be included in a separate file. SVG images are only supported
|
||||
in HTML5.</paragraph>
|
||||
|
||||
<bookmark xml-lang="en-US" branch="hid/org.openoffice.da.writer2xhtml.oxt:EmbedImg" id="bm_configembedimg"/>
|
||||
|
||||
<paragraph role="heading" level="3" xml-lang="en-US">Embed all images in the HTML document</paragraph>
|
||||
<paragraph role="paragraph" xml-lang="en-US">If you check this option, all images will be embedded directly
|
||||
in the HTML document (base64 encoded). Otherwise they will be included in a separate file.
|
||||
This is not recommended for documents with large images.</paragraph>
|
||||
</body>
|
||||
</helpdocument>
|
|
@ -101,6 +101,20 @@
|
|||
<prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
|
||||
</node>
|
||||
|
||||
<node oor:name="org.openoffice.da.writer2xhtml.epub3" oor:op="replace" oor:finalized="true" oor:mandatory="true">
|
||||
<prop oor:name="FileFormatVersion"><value>0</value></prop>
|
||||
<prop oor:name="Type"><value>writer_epub3_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.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 epub3</value></prop>
|
||||
<prop oor:name="FilterService"><value>com.sun.star.comp.Writer.XmlFilterAdaptor</value></prop>
|
||||
<prop oor:name="TemplateName"/>
|
||||
<prop oor:name="UIName">
|
||||
<value>EPUB 3 [Writer2xhtml]</value>
|
||||
</prop>
|
||||
<prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
|
||||
</node>
|
||||
|
||||
<node oor:name="org.openoffice.da.writer2xhtml.epub" oor:op="replace" oor:finalized="true" oor:mandatory="true">
|
||||
<prop oor:name="FileFormatVersion"><value>0</value></prop>
|
||||
<prop oor:name="Type"><value>writer_epub_File</value></prop>
|
||||
|
|
|
@ -51,6 +51,18 @@
|
|||
<prop oor:name="ClipboardFormat"/>
|
||||
</node>
|
||||
|
||||
<node oor:name="writer_epub3_File" oor:op="replace" oor:finalized="true" oor:mandatory="true">
|
||||
<prop oor:name="DetectService"/>
|
||||
<prop oor:name="URLPattern"/>
|
||||
<prop oor:name="Extensions"><value>epub</value></prop>
|
||||
<prop oor:name="MediaType"/>
|
||||
<prop oor:name="Preferred"><value>false</value></prop>
|
||||
<prop oor:name="UIName">
|
||||
<value>EPUB 3</value>
|
||||
</prop>
|
||||
<prop oor:name="ClipboardFormat"/>
|
||||
</node>
|
||||
|
||||
<node oor:name="writer_epub_File" oor:op="replace" oor:finalized="true" oor:mandatory="true">
|
||||
<prop oor:name="DetectService"/>
|
||||
<prop oor:name="URLPattern"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue