dev/null
|binary
extras/CustomTarget_tplwizdesktop.mk
| 89 +++++
extras/Module_extras.mk
| 1
extras/Package_tplwizdesktop.mk
| 6
extras/source/templates/wizard/desktop/html/META-INF/manifest.xml
| 8
extras/source/templates/wizard/desktop/html/content.xml
| 15
extras/source/templates/wizard/desktop/html/meta.xml
| 9
extras/source/templates/wizard/desktop/html/mimetype
| 1
extras/source/templates/wizard/desktop/html/settings.xml
| 24 +
extras/source/templates/wizard/desktop/html/styles.xml
| 87 +++++
extras/source/templates/wizard/desktop/idxexample/META-INF/manifest.xml
| 9
extras/source/templates/wizard/desktop/idxexample/Pictures/2000008600001923000012C24E0D0895.wmf
|binary
extras/source/templates/wizard/desktop/idxexample/content.xml
| 154 ++++++++++
extras/source/templates/wizard/desktop/idxexample/meta.xml
| 13
extras/source/templates/wizard/desktop/idxexample/mimetype
| 1
extras/source/templates/wizard/desktop/idxexample/settings.xml
| 24 +
extras/source/templates/wizard/desktop/idxexample/styles.xml
| 124 ++++++++
17 files changed, 562 insertions(+), 3 deletions(-)
New commits:
commit c49da95942f456623e91ae1f5c1a68efd83fec6c
Author: Laurent Balland <[email protected]>
AuthorDate: Sun May 26 10:35:44 2024 +0200
Commit: Mike Kaganski <[email protected]>
CommitDate: Wed Jun 12 10:42:19 2024 +0200
tdf#161173 Replace HTML template and idxexample
with their XML code
Change html.stw to html.oth
idxexample: simplify font list
Change-Id: I6a7cdcce916222a979d0bef78ac19160ca9f744e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168269
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <[email protected]>
Reviewed-by: Heiko Tietze <[email protected]>
diff --git a/extras/CustomTarget_tplwizdesktop.mk
b/extras/CustomTarget_tplwizdesktop.mk
new file mode 100644
index 000000000000..cb51cf5400ca
--- /dev/null
+++ b/extras/CustomTarget_tplwizdesktop.mk
@@ -0,0 +1,89 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CustomTarget_CustomTarget,extras/source/templates/wizard))
+
+# mimetype, content.xml, meta.xml, styles.xml and META-INF/manifest.xml
+# files are automatically added for each template
+# list of meta.xml files (one per template) + other files (manifest.rdf,
pictures...)
+extras_WIZDESKTOP_XMLFILES := \
+ desktop/html/meta.xml \
+ desktop/idxexample/meta.xml \
+ desktop/idxexample/Pictures/2000008600001923000012C24E0D0895.wmf \
+
+# param: style-base (e.g. agenda/10grey)
+extras_WIZDESKTOP_XMLFILES_RELATIVE = $(subst $(1)/,,$(filter
$(1)/%,$(extras_WIZDESKTOP_XMLFILES)))
+
+.SECONDEXPANSION:
+# secondexpansion since the patterns not just cover a filename portion, but
also include a
+# directory portion with different number of elements
+# copy regular files (mimetype, *.jpg, *.png, *.rdf, *.svg, *.svm, …)
+$(gb_CustomTarget_workdir)/extras/source/templates/wizard/% :
$(SRCDIR)/extras/source/templates/wizard/% \
+ | $$(dir
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*).dir
+ $(call gb_Output_announce,templates/wizard/$*,$(true),CPY,1)
+ $(call gb_Trace_StartRange,templates/wizard/$*,CPY)
+ cp $< $@
+ $(call gb_Trace_EndRange,templates/wizard/$*,CPY)
+
+# test and copy xml files
+$(gb_CustomTarget_workdir)/extras/source/templates/wizard/%.xml :
$(SRCDIR)/extras/source/templates/wizard/%.xml \
+ | $(call gb_ExternalExecutable_get_dependencies,xsltproc) \
+ $$(dir
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*.xml).dir
+ $(call gb_Output_announce,templates/wizard/$*.xml,$(true),XSL,1)
+ $(call gb_Trace_StartRange,templates/wizard/$*.xml,XSL)
+ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet -o $@
$(SRCDIR)/extras/util/compact.xsl $<
+ $(call gb_Trace_EndRange,templates/wizard/$*.xml,XSL)
+
+# zip files to OTH
+$(gb_CustomTarget_workdir)/extras/source/templates/wizard/%.oth : \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ mimetype $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ content.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ styles.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ settings.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ META-INF/manifest.xml $$(call
extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) )
+ $(call gb_Output_announce,templates/wizard/$*.oth,$(true),ZIP,2)
+ $(call gb_Trace_StartRange,templates/wizard/$*.oth,ZIP)
+ $(call gb_Helper_abbreviate_dirs,\
+ cd $(dir $<) && \
+ $(call gb_Helper_wsl_path,\
+ $(WSL) zip -q0X --filesync --must-match $@ mimetype && \
+ $(WSL) zip -qrX --must-match $@ content.xml settings.xml
styles.xml META-INF/manifest.xml && \
+ $(WSL) zip -qrX --must-match $@ $(call
extras_WIZDESKTOP_XMLFILES_RELATIVE,$*)) \
+ )
+ $(call gb_Trace_EndRange,templates/wizard/$*.oth,ZIP)
+
+# zip files to ODT
+$(gb_CustomTarget_workdir)/extras/source/templates/wizard/%.odt : \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ mimetype $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ content.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ settings.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ styles.xml $$(call extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) ) \
+ $$(addprefix
$(gb_CustomTarget_workdir)/extras/source/templates/wizard/$$*/,\
+ META-INF/manifest.xml $$(call
extras_WIZDESKTOP_XMLFILES_RELATIVE,$$*) )
+ $(call gb_Output_announce,templates/wizard/$*.odt,$(true),ZIP,2)
+ $(call gb_Trace_StartRange,templates/wizard/$*.odt,ZIP)
+ $(call gb_Helper_abbreviate_dirs,\
+ cd $(dir $<) && \
+ $(call gb_Helper_wsl_path,\
+ $(WSL) zip -q0X --filesync --must-match $@ mimetype && \
+ $(WSL) zip -qrX --must-match $@ content.xml settings.xml
styles.xml META-INF/manifest.xml && \
+ $(WSL) zip -qrX --must-match $@ $(call
extras_WIZDESKTOP_XMLFILES_RELATIVE,$*)) \
+ )
+ $(call gb_Trace_EndRange,templates/wizard/$*.odt,ZIP)
+
+# vim: set noet sw=4 ts=4:
diff --git a/extras/Module_extras.mk b/extras/Module_extras.mk
index 497a188cc142..38632ca5b2a3 100644
--- a/extras/Module_extras.mk
+++ b/extras/Module_extras.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_Module_add_targets,extras,\
CustomTarget_templates \
CustomTarget_tplpresnt \
CustomTarget_tplwizard \
+ CustomTarget_tplwizdesktop \
Package_autocorr \
Package_autotextuser \
Package_cfgsrvnolang \
diff --git a/extras/Package_tplwizdesktop.mk b/extras/Package_tplwizdesktop.mk
index aafdf791cd7a..548d74430f13 100644
--- a/extras/Package_tplwizdesktop.mk
+++ b/extras/Package_tplwizdesktop.mk
@@ -7,10 +7,10 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call
gb_Package_Package,extras_tplwizdesktop,$(SRCDIR)/extras/source/templates/wizard/desktop))
+$(eval $(call
gb_Package_Package,extras_tplwizdesktop,$(gb_CustomTarget_workdir)/extras/source/templates/wizard/desktop))
-$(eval $(call
gb_Package_add_files,extras_tplwizdesktop,$(LIBO_SHARE_FOLDER)/template/common/internal,\
- html.stw \
+$(eval $(call
gb_Package_add_files_with_dir,extras_tplwizdesktop,$(LIBO_SHARE_FOLDER)/template/common/internal,\
+ html.oth \
idxexample.odt \
))
diff --git a/extras/source/templates/wizard/desktop/html.stw
b/extras/source/templates/wizard/desktop/html.stw
deleted file mode 100644
index 8f275848b448..000000000000
Binary files a/extras/source/templates/wizard/desktop/html.stw and /dev/null
differ
diff --git a/extras/source/templates/wizard/desktop/html/META-INF/manifest.xml
b/extras/source/templates/wizard/desktop/html/META-INF/manifest.xml
new file mode 100644
index 000000000000..f1e8613895a0
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/META-INF/manifest.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest:manifest
xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
manifest:version="1.3"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0">
+ <manifest:file-entry manifest:full-path="/" manifest:version="1.3"
manifest:media-type="application/vnd.oasis.opendocument.text-web"/>
+ <manifest:file-entry manifest:full-path="styles.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="settings.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="content.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="meta.xml"
manifest:media-type="text/xml"/>
+</manifest:manifest>
diff --git a/extras/source/templates/wizard/desktop/html/content.xml
b/extras/source/templates/wizard/desktop/html/content.xml
new file mode 100644
index 000000000000..162e0b565d63
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/content.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-content xmlns:css3t="http://www.w3.org/TR/css3-text/"
xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:drawooo="http://openoffice.org/2010/draw"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:calcext="urn:org:documentfoundation:names:experimental:ca
lc:xmlns:calcext:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:tableooo="http://openoffice.org/2009/table"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:rpt="http://openoffice.org/2005/report"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:officeooo="http://openoffice.org/2009/office"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:field="urn:openoffice:names:experime
ntal:ooo-ms-interop:xmlns:field:1.0" office:version="1.3">
+ <office:body>
+ <office:text>
+ <text:sequence-decls>
+ <text:sequence-decl text:display-outline-level="0"
text:name="Illustration"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
+ <text:sequence-decl text:display-outline-level="0"
text:name="Drawing"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
+ </text:sequence-decls>
+ <text:p text:style-name="Standard"/>
+ </office:text>
+ </office:body>
+</office:document-content>
diff --git a/extras/source/templates/wizard/desktop/html/meta.xml
b/extras/source/templates/wizard/desktop/html/meta.xml
new file mode 100644
index 000000000000..a755d7d7d02c
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/meta.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-meta xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
office:version="1.3">
+ <office:meta>
+ <meta:generator>LibreOffice/24.2.3.2$Linux_X86_64
LibreOffice_project/4f88f79086d18691a72ac668802d5bc5b5a88122</meta:generator>
+ <dc:title>Standard template for HTML documents</dc:title>
+ <meta:initial-creator>Laurent BALLAND</meta:initial-creator>
+ <meta:document-statistic meta:table-count="0" meta:image-count="0"
meta:object-count="0" meta:page-count="1" meta:paragraph-count="0"
meta:word-count="0" meta:character-count="0"
meta:non-whitespace-character-count="0"/>
+ </office:meta>
+</office:document-meta>
diff --git a/extras/source/templates/wizard/desktop/html/mimetype
b/extras/source/templates/wizard/desktop/html/mimetype
new file mode 100644
index 000000000000..101ca206a5c8
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/mimetype
@@ -0,0 +1 @@
+application/vnd.oasis.opendocument.text-web
\ No newline at end of file
diff --git a/extras/source/templates/wizard/desktop/html/settings.xml
b/extras/source/templates/wizard/desktop/html/settings.xml
new file mode 100644
index 000000000000..16eadaae8a5f
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/settings.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-settings
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2">
+ <office:settings>
+ <config:config-item-set config:name="ooo:configuration-settings">
+ <config:config-item config:name="AddParaSpacingToTableCells"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="AddParaLineSpacingToTableCells"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="TabOverflow"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PropLineSpacingShrinksFirstLine"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="SmallCapsPercentage66"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="CollapseEmptyCellPara"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UnxForceZeroExtLeading"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ClippedPictures"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseFormerTextWrapping"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseFormerLineSpacing"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseFormerObjectPositioning"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseOldNumbering"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddExternalLeading"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="IsLabelDocument"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ConsiderTextWrapOnObjPos"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="EmptyDbFieldHidesPara"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="SubtractFlysAnchoredAtFlys"
config:type="boolean">false</config:config-item>
+ </config:config-item-set>
+ </office:settings>
+</office:document-settings>
diff --git a/extras/source/templates/wizard/desktop/html/styles.xml
b/extras/source/templates/wizard/desktop/html/styles.xml
new file mode 100644
index 000000000000..f8908ba826b8
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/html/styles.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-styles xmlns:css3t="http://www.w3.org/TR/css3-text/"
xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:drawooo="http://openoffice.org/2010/draw"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" x
mlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:tableooo="http://openoffice.org/2009/table"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:rpt="http://openoffice.org/2005/report"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:officeooo="http://openoffice.org/2009/office"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
office:version="1.3">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Serif"
svg:font-family="'Liberation Serif'" style:font-family-generic="roman"
style:font-pitch="variable"/>
+ <style:font-face style:name="Noto Serif CJK SC" svg:font-family="'Noto
Serif CJK SC'" style:font-family-generic="system" style:font-pitch="variable"/>
+ <style:font-face style:name="Lohit Devanagari1" svg:font-family="'Lohit
Devanagari'" style:font-family-generic="system" style:font-pitch="variable"/>
+ <style:font-face style:name="Liberation Sans" svg:font-family="'Liberation
Sans'" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:default-style style:family="graphic">
+ <style:graphic-properties svg:stroke-color="#000000"
draw:fill-color="#99ccff" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm"
draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm"
draw:start-line-spacing-vertical="0.283cm"
draw:end-line-spacing-horizontal="0.283cm"
draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="true"/>
+ <style:paragraph-properties style:text-autospace="ideograph-alpha"
style:line-break="strict" loext:tab-stop-distance="0cm"
style:font-independent-line-spacing="false"/>
+ <style:text-properties fo:color="#000000" loext:opacity="100%"
style:font-name="Liberation Serif" fo:font-size="12pt"
style:font-name-asian="Noto Serif CJK SC" style:font-size-asian="12pt"
style:font-name-complex="Lohit Devanagari1" style:font-size-complex="12pt"/>
+ </style:default-style>
+ <style:default-style style:family="paragraph">
+ <style:paragraph-properties style:text-autospace="ideograph-alpha"
style:punctuation-wrap="hanging" style:line-break="strict"
style:writing-mode="page"/>
+ <style:text-properties fo:color="#000000" loext:opacity="100%"
style:font-name="Liberation Serif" fo:font-size="12pt"
style:font-name-asian="Noto Serif CJK SC" style:font-size-asian="12pt"
style:font-name-complex="Lohit Devanagari1" style:font-size-complex="12pt"/>
+ </style:default-style>
+ <style:default-style style:family="table">
+ <style:table-properties table:border-model="separating"/>
+ </style:default-style>
+ <style:default-style style:family="table-row">
+ <style:table-row-properties fo:keep-together="always"/>
+ </style:default-style>
+ <style:style style:name="Standard" style:family="paragraph"
style:class="text"/>
+ <style:style style:name="Text_20_body" style:display-name="Text body"
style:family="paragraph" style:parent-style-name="Standard" style:class="text">
+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.5cm"
style:contextual-spacing="false"/>
+ </style:style>
+ <style:style style:name="Heading" style:family="paragraph"
style:parent-style-name="Standard" style:next-style-name="Text_20_body"
style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm"
fo:margin-bottom="0.5cm" style:contextual-spacing="false"
fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="Liberation Sans"
fo:font-size="14pt" style:font-size-asian="14pt"
style:font-size-complex="14pt"/>
+ </style:style>
+ <style:style style:name="Heading_20_1" style:display-name="Heading 1"
style:family="paragraph" style:parent-style-name="Heading"
style:next-style-name="Text_20_body" style:class="text">
+ <style:text-properties fo:font-size="24pt" fo:font-weight="bold"
style:font-size-asian="24pt" style:font-weight-asian="bold"
style:font-size-complex="24pt" style:font-weight-complex="bold"/>
+ </style:style>
+ <style:style style:name="Table_20_Contents" style:display-name="Table
Contents" style:family="paragraph" style:parent-style-name="Text_20_body"
style:class="extra"/>
+ <style:style style:name="Sender" style:family="paragraph"
style:parent-style-name="Standard" style:class="extra">
+ <style:text-properties fo:font-style="italic"/>
+ </style:style>
+ <style:style style:name="Horizontal_20_Line"
style:display-name="Horizontal Line" style:family="paragraph"
style:parent-style-name="Standard" style:next-style-name="Text_20_body"
style:class="html">
+ <style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0.499cm" style:contextual-spacing="false"
style:border-line-width-bottom="0.002cm 0.035cm 0.002cm" fo:padding="0cm"
fo:border-left="none" fo:border-right="none" fo:border-top="none"
fo:border-bottom="1.11pt double #808080"/>
+ <style:text-properties fo:font-size="6pt"/>
+ </style:style>
+ <style:style style:name="Internet_20_link" style:display-name="Internet
link" style:family="text">
+ <style:text-properties fo:color="#000080" loext:opacity="100%"
style:text-underline-style="solid" style:text-underline-width="auto"
style:text-underline-color="font-color"/>
+ </style:style>
+ <style:style style:name="Footnote_20_Symbol" style:display-name="Footnote
Symbol" style:family="text"/>
+ <style:style style:name="Endnote_20_Symbol" style:display-name="Endnote
Symbol" style:family="text"/>
+ <text:notes-configuration text:note-class="footnote"
text:citation-style-name="Footnote_20_Symbol" style:num-format="1"
text:start-value="0" text:footnotes-position="page"
text:start-numbering-at="page"/>
+ <text:notes-configuration text:note-class="endnote"
text:citation-style-name="Endnote_20_Symbol" text:master-page-name="Endnote"
style:num-format="1" text:start-value="0"/>
+ <text:linenumbering-configuration text:number-lines="false"
text:offset="0.499cm" style:num-format="1" text:number-position="left"
text:increment="5"/>
+ </office:styles>
+ <office:automatic-styles>
+ <style:page-layout style:name="Mpm1">
+ <style:page-layout-properties fo:page-width="21cm"
fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait"
fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm"
fo:margin-right="2cm" style:layout-grid-color="#c0c0c0"
style:layout-grid-lines="20" style:layout-grid-base-height="0.706cm"
style:layout-grid-ruby-height="0.353cm" style:layout-grid-mode="none"
style:layout-grid-ruby-below="false" style:layout-grid-print="false"
style:layout-grid-display="false" style:footnote-max-height="0cm"
loext:margin-gutter="0cm">
+ <style:footnote-sep style:width="0.018cm"
style:distance-before-sep="0.1cm" style:distance-after-sep="0.1cm"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ <style:page-layout style:name="Mpm2">
+ <style:page-layout-properties fo:page-width="21cm"
fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait"
fo:margin-top="1cm" fo:margin-bottom="1cm" fo:margin-left="2cm"
fo:margin-right="1cm" fo:background-color="transparent"
style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20"
style:layout-grid-base-height="0.706cm" style:layout-grid-ruby-height="0.353cm"
style:layout-grid-mode="none" style:layout-grid-ruby-below="false"
style:layout-grid-print="false" style:layout-grid-display="false"
draw:fill="none" draw:fill-color="#99ccff" style:footnote-max-height="0cm"
loext:margin-gutter="0cm">
+ <style:footnote-sep style:width="0.018cm"
style:distance-before-sep="0.1cm" style:distance-after-sep="0.1cm"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ <style:page-layout style:name="Mpm3">
+ <style:page-layout-properties fo:page-width="21cm"
fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait"
fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm"
fo:margin-right="2cm" style:footnote-max-height="0cm" loext:margin-gutter="0cm">
+ <style:footnote-sep style:line-style="solid" style:adjustment="left"
style:rel-width="25%" style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ <style:style style:name="Mdp1" style:family="drawing-page">
+ <style:drawing-page-properties draw:background-size="full"/>
+ </style:style>
+ <style:style style:name="Mdp2" style:family="drawing-page">
+ <style:drawing-page-properties draw:fill="none"
draw:background-size="full" draw:fill-color="#99ccff"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page style:name="Standard" style:page-layout-name="Mpm1"
draw:style-name="Mdp1"/>
+ <style:master-page style:name="HTML" style:page-layout-name="Mpm2"
draw:style-name="Mdp2"/>
+ <style:master-page style:name="Endnote" style:page-layout-name="Mpm3"/>
+ </office:master-styles>
+</office:document-styles>
diff --git a/extras/source/templates/wizard/desktop/idxexample.odt
b/extras/source/templates/wizard/desktop/idxexample.odt
deleted file mode 100644
index 30582e494f1a..000000000000
Binary files a/extras/source/templates/wizard/desktop/idxexample.odt and
/dev/null differ
diff --git
a/extras/source/templates/wizard/desktop/idxexample/META-INF/manifest.xml
b/extras/source/templates/wizard/desktop/idxexample/META-INF/manifest.xml
new file mode 100644
index 000000000000..378c700f759f
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/META-INF/manifest.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest:manifest
xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
manifest:version="1.2">
+ <manifest:file-entry manifest:full-path="/" manifest:version="1.2"
manifest:media-type="application/vnd.oasis.opendocument.text"/>
+ <manifest:file-entry
manifest:full-path="Pictures/2000008600001923000012C24E0D0895.wmf"
manifest:media-type=""/>
+ <manifest:file-entry manifest:full-path="meta.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="settings.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="content.xml"
manifest:media-type="text/xml"/>
+ <manifest:file-entry manifest:full-path="styles.xml"
manifest:media-type="text/xml"/>
+</manifest:manifest>
diff --git
a/extras/source/templates/wizard/desktop/idxexample/Pictures/2000008600001923000012C24E0D0895.wmf
b/extras/source/templates/wizard/desktop/idxexample/Pictures/2000008600001923000012C24E0D0895.wmf
new file mode 100644
index 000000000000..4475a244f3da
Binary files /dev/null and
b/extras/source/templates/wizard/desktop/idxexample/Pictures/2000008600001923000012C24E0D0895.wmf
differ
diff --git a/extras/source/templates/wizard/desktop/idxexample/content.xml
b/extras/source/templates/wizard/desktop/idxexample/content.xml
new file mode 100644
index 000000000000..05496c83de70
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/content.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-content
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="ht
tp://openoffice.org/2004/office"
xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rpt="http://openoffice.org/2005/report"
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:officeooo="http://openoffice.org/2009/office"
xmlns:tableooo="http://openoffice.org/2009/table"
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+ <office:scripts/>
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="6.6924in" table:align="margins"
fo:keep-with-next="always"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="1.3382in"
style:rel-column-width="13107*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.0382in"
fo:border-left="0.05pt solid #000000" fo:border-right="none"
fo:border-top="0.05pt solid #000000" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.E1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.0382in" fo:border="0.05pt
solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.A2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.0382in"
fo:border-left="0.05pt solid #000000" fo:border-right="none"
fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.E2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.0382in"
fo:border-left="0.05pt solid #000000" fo:border-right="0.05pt solid #000000"
fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard"/>
+ <style:style style:name="P2" style:family="paragraph"
style:parent-style-name="Standard">
+ <style:paragraph-properties fo:text-align="start"
style:justify-single-word="false"/>
+ </style:style>
+ <style:style style:name="P3" style:family="paragraph"
style:parent-style-name="Standard">
+ <style:paragraph-properties fo:text-align="center"
style:justify-single-word="false"/>
+ <style:text-properties fo:font-size="10pt" fo:font-style="italic"
officeooo:rsid="002c87d2" officeooo:paragraph-rsid="002c87d2"
style:font-size-asian="10pt" style:font-style-asian="italic"
style:font-size-complex="10pt" style:font-style-complex="italic"/>
+ </style:style>
+ <style:style style:name="P4" style:family="paragraph"
style:parent-style-name="Table"/>
+ <style:style style:name="P5" style:family="paragraph"
style:parent-style-name="Heading_20_1">
+ <style:paragraph-properties fo:break-before="page"/>
+ <style:text-properties officeooo:paragraph-rsid="001ecf70"/>
+ </style:style>
+ <style:style style:name="P6" style:family="paragraph"
style:parent-style-name="Heading_20_2" style:master-page-name="">
+ <style:paragraph-properties style:page-number="auto"
fo:break-before="page"/>
+ </style:style>
+ <style:style style:name="P7" style:family="paragraph"
style:parent-style-name="Heading_20_2" style:master-page-name="">
+ <style:paragraph-properties style:page-number="auto"
fo:break-before="page"/>
+ </style:style>
+ <style:style style:name="P8" style:family="paragraph"
style:parent-style-name="Table_20_Contents"/>
+ <style:style style:name="P9" style:family="paragraph"
style:parent-style-name="Table_20_Heading"/>
+ <style:style style:name="fr1" style:family="graphic"
style:parent-style-name="Frame">
+ <style:graphic-properties style:vertical-pos="from-top"
style:vertical-rel="paragraph" style:horizontal-pos="center"
style:horizontal-rel="paragraph" fo:padding="0in" fo:border="none"/>
+ </style:style>
+ <style:style style:name="fr2" style:family="graphic"
style:parent-style-name="Graphics">
+ <style:graphic-properties style:vertical-pos="from-top"
style:vertical-rel="paragraph" style:horizontal-pos="from-left"
style:horizontal-rel="paragraph" style:mirror="none" fo:clip="rect(0in, 0in,
0in, 0in)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%"
draw:blue="0%" draw:gamma="100%" draw:color-inversion="false"
draw:image-opacity="99%" draw:color-mode="standard"/>
+ </style:style>
+ <style:style style:name="Sect1" style:family="section">
+ <style:section-properties style:editable="false">
+ <style:columns fo:column-count="1" fo:column-gap="0in"/>
+ </style:section-properties>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text text:use-soft-page-breaks="true">
+ <text:sequence-decls>
+ <text:sequence-decl text:display-outline-level="0"
text:name="Illustration"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
+ <text:sequence-decl text:display-outline-level="0"
text:name="Drawing"/>
+ </text:sequence-decls>
+ <text:section text:style-name="Sect1" text:name="IndexSection_0"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_1"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_2"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_3"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_4"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_5"
text:display="none">
+ <text:p text:style-name="Standard"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexSection_6">
+ <text:p text:style-name="P1"/>
+ </text:section>
+ <text:section text:style-name="Sect1" text:name="IndexContentSection">
+ <text:h text:style-name="P5" text:outline-level="1">HEADING1</text:h>
+ <text:p text:style-name="P1">ENTRY1<text:line-break/>
<text:alphabetical-index-mark text:string-value="Chapter"/><text:s
text:c="2"/><text:user-index-mark text:string-value="User Directory Entry"
text:index-name="User-Defined" text:outline-level="1"/></text:p>
+ <text:h text:style-name="P6" text:outline-level="2">HEADING11</text:h>
+ <text:p text:style-name="P1">ENTRY11<text:line-break/> <text:toc-mark
text:string-value="Entry" text:outline-level="1"/></text:p>
+ <text:h text:style-name="P6" text:outline-level="2">HEADING12</text:h>
+ <text:p text:style-name="P1">ENTRY12<text:line-break/>
<text:alphabetical-index-mark text:string-value="this" text:key1="Primary key"
text:key2="Secondary key"/><text:s text:c="2"/><text:alphabetical-index-mark
text:string-value="Keyword"/></text:p>
+ <text:p text:style-name="P1"/>
+ </text:section>
+ <text:p text:style-name="P1"/>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A"
table:number-columns-repeated="5"/>
+ <table:table-header-rows>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1"
office:value-type="string">
+ <text:p text:style-name="P9"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1"
office:value-type="string">
+ <text:p text:style-name="P9"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1"
office:value-type="string">
+ <text:p text:style-name="P9"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1"
office:value-type="string">
+ <text:p text:style-name="P9"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.E1"
office:value-type="string">
+ <text:p text:style-name="P9"/>
+ </table:table-cell>
+ </table:table-row>
+ </table:table-header-rows>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A2"
office:value-type="string">
+ <text:p text:style-name="P8"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A2"
office:value-type="string">
+ <text:p text:style-name="P8"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A2"
office:value-type="string">
+ <text:p text:style-name="P8"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A2"
office:value-type="string">
+ <text:p text:style-name="P8"/>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.E2"
office:value-type="string">
+ <text:p text:style-name="P8"/>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p text:style-name="P4">TABLE1</text:p>
+ <text:p text:style-name="P1">
+ <draw:frame draw:style-name="fr1" draw:name="Rahmen1"
text:anchor-type="paragraph" svg:y="0.0409in" svg:width="1.952in"
draw:z-index="0">
+ <draw:text-box fo:min-height="0.8126in">
+ <text:p text:style-name="Illustration">
+ <draw:frame draw:style-name="fr2" draw:name="Graphic1"
text:anchor-type="paragraph" svg:x="0.4335in" svg:y="0.0626in"
svg:width="1.089in" svg:height="0.8126in" draw:z-index="1">
+ <draw:image
xlink:href="Pictures/2000008600001923000012C24E0D0895.wmf" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad"/>
+ </draw:frame>
+ </text:p>
+ </draw:text-box>
+ </draw:frame>
+ </text:p>
+ <text:p text:style-name="P1"/>
+ <text:p text:style-name="P1"/>
+ <text:p text:style-name="P1"/>
+ <text:p text:style-name="P1"/>
+ <text:p text:style-name="P2"/>
+ <text:p text:style-name="P3">IMAGE1</text:p>
+ </office:text>
+ </office:body>
+</office:document-content>
diff --git a/extras/source/templates/wizard/desktop/idxexample/meta.xml
b/extras/source/templates/wizard/desktop/idxexample/meta.xml
new file mode 100644
index 000000000000..6ae86ea98a9f
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/meta.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-meta
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:grddl="http://www.w3.org/2003/g/data-view#" office:version="1.2">
+ <office:meta>
+ <meta:generator>LibreOffice/3.7$Linux_x86
LibreOffice_project/720e290-386c48f-abf2002-30b3fc</meta:generator>
+ <meta:creation-date>1999-12-07T16:24:14</meta:creation-date>
+ <dc:creator>pista </dc:creator>
+ <dc:date>2012-08-07T13:45:35</dc:date>
+ <dc:language>en-US</dc:language>
+ <meta:editing-cycles>45</meta:editing-cycles>
+ <meta:editing-duration>PT1H34M37S</meta:editing-duration>
+ <meta:document-statistic meta:table-count="1" meta:image-count="1"
meta:object-count="0" meta:page-count="4" meta:paragraph-count="8"
meta:word-count="13" meta:character-count="73"
meta:non-whitespace-character-count="63"/>
+ </office:meta>
+</office:document-meta>
diff --git a/extras/source/templates/wizard/desktop/idxexample/mimetype
b/extras/source/templates/wizard/desktop/idxexample/mimetype
new file mode 100644
index 000000000000..2e95b81c92b0
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/mimetype
@@ -0,0 +1 @@
+application/vnd.oasis.opendocument.text
\ No newline at end of file
diff --git a/extras/source/templates/wizard/desktop/idxexample/settings.xml
b/extras/source/templates/wizard/desktop/idxexample/settings.xml
new file mode 100644
index 000000000000..a121f97567aa
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/settings.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-settings
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2">
+ <office:settings>
+ <config:config-item-set config:name="ooo:configuration-settings">
+ <config:config-item config:name="AddParaSpacingToTableCells"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="AddParaLineSpacingToTableCells"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="TabOverflow"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PropLineSpacingShrinksFirstLine"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="SmallCapsPercentage66"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="CollapseEmptyCellPara"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UnxForceZeroExtLeading"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ClippedPictures"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseFormerTextWrapping"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseFormerLineSpacing"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseFormerObjectPositioning"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseOldNumbering"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="AddExternalLeading"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="IsLabelDocument"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ConsiderTextWrapOnObjPos"
config:type="boolean">false</config:config-item>
+ <config:config-item config:name="EmptyDbFieldHidesPara"
config:type="boolean">true</config:config-item>
+ <config:config-item config:name="SubtractFlysAnchoredAtFlys"
config:type="boolean">false</config:config-item>
+ </config:config-item-set>
+ </office:settings>
+</office:document-settings>
diff --git a/extras/source/templates/wizard/desktop/idxexample/styles.xml
b/extras/source/templates/wizard/desktop/idxexample/styles.xml
new file mode 100644
index 000000000000..8b86bbcea735
--- /dev/null
+++ b/extras/source/templates/wizard/desktop/idxexample/styles.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-styles
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="htt
p://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:rpt="http://openoffice.org/2005/report"
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:grddl="http://www.w3.org/2003/g/data-view#"
xmlns:officeooo="http://openoffice.org/2009/office"
xmlns:tableooo="http://openoffice.org/2009/table"
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Sans" svg:font-family="'Liberation
Sans'" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ <style:font-face style:name="Noto Sans CJK SC" svg:font-family="'Noto Sans
CJK SC'" style:font-family-generic="system" style:font-pitch="variable"/>
+ <style:font-face style:name="Lohit Devanagari" svg:font-family="'Lohit
Devanagari'" style:font-family-generic="system" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:default-style style:family="graphic">
+ <style:graphic-properties fo:wrap-option="no-wrap"
draw:shadow-offset-x="0.1181in" draw:shadow-offset-y="0.1181in"
draw:start-line-spacing-horizontal="0.1114in"
draw:start-line-spacing-vertical="0.1114in"
draw:end-line-spacing-horizontal="0.1114in"
draw:end-line-spacing-vertical="0.1114in" style:flow-with-text="true"/>
+ <style:paragraph-properties style:text-autospace="ideograph-alpha"
style:line-break="strict" style:font-independent-line-spacing="false"/>
+ <style:text-properties style:use-window-font-color="true"
fo:font-size="12pt" style:font-size-asian="12pt"
style:font-size-complex="12pt"/>
+ </style:default-style>
+ <style:default-style style:family="paragraph">
+ <style:paragraph-properties fo:hyphenation-ladder-count="no-limit"
style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging"
style:line-break="strict" style:tab-stop-distance="0.4925in"
style:writing-mode="page"/>
+ <style:text-properties style:use-window-font-color="true"
style:font-name="Liberation Sans" fo:font-size="12pt"
style:font-name-asian="Noto Sans CJK SC" style:font-size-asian="12pt"
style:font-name-complex="Lohit Devanagari" style:font-size-complex="12pt"
fo:hyphenate="false" fo:hyphenation-remain-char-count="2"
fo:hyphenation-push-char-count="2"/>
+ </style:default-style>
+ <style:default-style style:family="table">
+ <style:table-properties table:border-model="separating"/>
+ </style:default-style>
+ <style:default-style style:family="table-row">
+ <style:table-row-properties fo:keep-together="auto"/>
+ </style:default-style>
+ <style:style style:name="Standard" style:family="paragraph"
style:class="text">
+ <style:text-properties style:use-window-font-color="true"/>
+ </style:style>
+ <style:style style:name="Text_20_body" style:display-name="Text body"
style:family="paragraph" style:parent-style-name="Standard" style:class="text">
+ <style:paragraph-properties fo:margin-top="0in"
fo:margin-bottom="0.0835in" style:contextual-spacing="false"/>
+ </style:style>
+ <style:style style:name="Heading" style:family="paragraph"
style:parent-style-name="Standard" style:next-style-name="Text_20_body"
style:class="text">
+ <style:paragraph-properties fo:margin-top="0.1665in"
fo:margin-bottom="0.0835in" style:contextual-spacing="false"
fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="Liberation Sans"
fo:font-size="14pt"/>
+ </style:style>
+ <style:style style:name="Heading_20_1" style:display-name="Heading 1"
style:family="paragraph" style:parent-style-name="Heading"
style:next-style-name="Text_20_body" style:default-outline-level="1"
style:class="text">
+ <style:text-properties fo:font-size="115%" fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="Heading_20_2" style:display-name="Heading 2"
style:family="paragraph" style:parent-style-name="Heading"
style:next-style-name="Text_20_body" style:default-outline-level="2"
style:class="text">
+ <style:text-properties fo:font-size="14pt" fo:font-style="italic"
fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="Table_20_Contents" style:display-name="Table
Contents" style:family="paragraph" style:parent-style-name="Text_20_body"
style:class="extra"/>
+ <style:style style:name="Table_20_Heading" style:display-name="Table
Heading" style:family="paragraph" style:parent-style-name="Table_20_Contents"
style:class="extra">
+ <style:paragraph-properties fo:text-align="center"
style:justify-single-word="false"/>
+ <style:text-properties fo:font-style="italic" fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="Caption" style:family="paragraph"
style:parent-style-name="Standard" style:class="extra">
+ <style:paragraph-properties fo:margin-top="0.0835in"
fo:margin-bottom="0.0835in" style:contextual-spacing="false"/>
+ <style:text-properties fo:font-size="10pt" fo:font-style="italic"/>
+ </style:style>
+ <style:style style:name="Illustration" style:family="paragraph"
style:parent-style-name="Caption" style:class="extra"/>
+ <style:style style:name="Table" style:family="paragraph"
style:parent-style-name="Caption" style:class="extra"/>
+ <style:style style:name="Frame_20_contents" style:display-name="Frame
contents" style:family="paragraph" style:parent-style-name="Text_20_body"
style:class="extra"/>
+ <style:style style:name="Bibliography_20_Heading"
style:display-name="Bibliography Heading" style:family="paragraph"
style:parent-style-name="Heading" style:class="index">
+ <style:paragraph-properties fo:margin="100%" fo:margin-left="0in"
fo:margin-right="0in" fo:margin-top="0in" fo:margin-bottom="0in"
style:contextual-spacing="false" fo:text-indent="0in"
style:auto-text-indent="false"/>
+ <style:text-properties fo:font-size="16pt" fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="List" style:family="paragraph"
style:parent-style-name="Text_20_body" style:class="list"/>
+ <style:style style:name="Index" style:family="paragraph"
style:parent-style-name="Standard" style:class="index">
+ <style:paragraph-properties text:number-lines="false"
text:line-number="0"/>
+ </style:style>
+ <style:style style:name="Footnote_20_Symbol" style:display-name="Footnote
Symbol" style:family="text"/>
+ <style:style style:name="Endnote_20_Symbol" style:display-name="Endnote
Symbol" style:family="text"/>
+ <style:style style:name="Frame" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0in"
svg:y="0in" fo:margin-left="0.0791in" fo:margin-right="0.0791in"
fo:margin-top="0.0791in" fo:margin-bottom="0.0791in" style:wrap="parallel"
style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false"
style:vertical-pos="top" style:vertical-rel="paragraph-content"
style:horizontal-pos="center" style:horizontal-rel="paragraph-content"
fo:padding="0.0591in" fo:border="0.06pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Graphics" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0in"
svg:y="0in" style:wrap="none" style:vertical-pos="top"
style:vertical-rel="paragraph" style:horizontal-pos="center"
style:horizontal-rel="paragraph"/>
+ </style:style>
+ <text:outline-style style:name="Outline">
+ <text:outline-level-style text:level="1" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="2" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="3" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="4" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="5" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="6" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="7" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="8" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="9" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ <text:outline-level-style text:level="10" style:num-format="">
+ <style:list-level-properties/>
+ </text:outline-level-style>
+ </text:outline-style>
+ <text:notes-configuration text:note-class="footnote"
text:citation-style-name="Footnote_20_Symbol" style:num-format="1"
text:start-value="0" text:footnotes-position="page"
text:start-numbering-at="page"/>
+ <text:notes-configuration text:note-class="endnote"
text:citation-style-name="Endnote_20_Symbol" text:master-page-name="Endnote"
style:num-format="1" text:start-value="0"/>
+ <text:linenumbering-configuration text:number-lines="false"
text:offset="0.1965in" style:num-format="1" text:number-position="left"
text:increment="5"/>
+ </office:styles>
+ <office:automatic-styles>
+ <style:page-layout style:name="Mpm1" style:page-usage="mirrored">
+ <style:page-layout-properties fo:page-width="8.2673in"
fo:page-height="11.6925in" style:num-format="1"
style:print-orientation="portrait" fo:margin="0.7874in"
fo:margin-top="0.7874in" fo:margin-bottom="0.7874in" fo:margin-left="0.7874in"
fo:margin-right="0.7874in" style:writing-mode="lr-tb"
style:footnote-max-height="0in">
+ <style:footnote-sep style:width="0.0071in"
style:distance-before-sep="0.0398in" style:distance-after-sep="0.0398in"
style:line-style="none" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ <style:page-layout style:name="Mpm2" style:page-usage="mirrored">
+ <style:page-layout-properties fo:page-width="8.2673in"
fo:page-height="11.6925in" style:num-format="1"
style:print-orientation="portrait" fo:margin="0.7874in"
fo:margin-top="0.7874in" fo:margin-bottom="0.7874in" fo:margin-left="0.7874in"
fo:margin-right="0.7874in" style:writing-mode="lr-tb"
style:footnote-max-height="0in">
+ <style:footnote-sep style:line-style="none" style:adjustment="left"
style:rel-width="25%" style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page style:name="Standard" style:page-layout-name="Mpm1"/>
+ <style:master-page style:name="Endnote" style:page-layout-name="Mpm2"/>
+ </office:master-styles>
+</office:document-styles>