git.iko.soy/typeable/pandoc
on master help sign in
Added --reference-odt option.

This allows the user to customized the styles used in pandoc-generated ODTs. The user may also put a default reference.odt in the ~/.pandoc directory. We have removed the old data/odt directory and replaced it with a reference.odt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1760 788f1e2b-df1e-0410-8736-df70ead52e1b

commited1535de108594db53b0fd86724b2dff8165ae8c authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 31 Dec 2009, 22:40 (17 years ago) parentbdd448e
12 files changed+52−1110
README+11 data/odt/META-INF/manifest.xml−22 data/odt/Thumbnails/thumbnail.png data/odt/meta.xml−1 data/odt/mimetype−1 data/odt/settings.xml−2 data/odt/styles.xml−1062 man/man1/pandoc.1.md+11 pandoc.cabal+2−7 reference.odt src/Text/Pandoc/ODT.hs+16−13 src/pandoc.hs+12−2
README+11
@@ -324,6 +324,17 @@ For further documentation, see the `pandoc(1)` man page.
324324 repeatedly to include multiple files. They will be included in the
325325 order specified.
326326
327+`--reference-odt` *filename*
328+: uses the specified file as a style reference in producing an ODT.
329+ For best results, the reference ODT should be a modified version
330+ of an ODT produced using pandoc. The contents of the reference ODT
331+ are ignored, but its stylesheets are used in the new ODT. If no
332+ reference ODT is specified on the command line, pandoc will look
333+ for `$HOME/.pandoc/reference.odt` (on unix) or
334+ `C:\Documents And Settings\USERNAME\Application Data\pandoc\reference.odt`
335+ (on Windows). If this is not found either, sensible defaults will be
336+ used.
337+
327338`-D` or `--print-default-template` *format*
328339: prints the default template for an output *format*. (See `-t`
329340 for a list of possible *format*s.)
data/odt/META-INF/manifest.xmldeleted−22
@@ -1,22 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
3− <manifest:file-entry manifest:media-type="application/vnd.oasis.opendocument.text" manifest:full-path="/"/>
4− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/statusbar/"/>
5− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/accelerator/current.xml"/>
6− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/accelerator/"/>
7− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/floater/"/>
8− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/popupmenu/"/>
9− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/progressbar/"/>
10− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/menubar/"/>
11− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/toolbar/"/>
12− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/images/Bitmaps/"/>
13− <manifest:file-entry manifest:media-type="" manifest:full-path="Configurations2/images/"/>
14− <manifest:file-entry manifest:media-type="application/vnd.sun.xml.ui.configuration" manifest:full-path="Configurations2/"/>
15− <manifest:file-entry manifest:media-type="application/binary" manifest:full-path="layout-cache"/>
16− <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/>
17− <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/>
18− <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/>
19− <manifest:file-entry manifest:media-type="" manifest:full-path="Thumbnails/thumbnail.png"/>
20− <manifest:file-entry manifest:media-type="" manifest:full-path="Thumbnails/"/>
21− <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="settings.xml"/>
22−</manifest:manifest>
data/odt/Thumbnails/thumbnail.pngdeleted

Binary file not shown.

data/odt/meta.xmldeleted−1
@@ -1 +0,0 @@
1−<?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" office:version="1.1"><office:meta><meta:generator></meta:generator><dc:title></dc:title><dc:subject></dc:subject><meta:creation-date></meta:creation-date><dc:date></dc:date><meta:editing-cycles></meta:editing-cycles><meta:editing-duration></meta:editing-duration><meta:user-defined meta:name="Info 1"/><meta:user-defined meta:name="Info 2"/><meta:user-defined meta:name="Info 3"/><meta:user-defined meta:name="Info 4"/><meta:document-statistic meta:table-count="0" meta:image-count="0" meta:object-count="0" meta:page-count="0" meta:paragraph-count="0" meta:word-count="0" meta:character-count="0"/></office:meta></office:document-meta>
data/odt/mimetypedeleted−1
@@ -1 +0,0 @@
1−application/vnd.oasis.opendocument.text
data/odt/settings.xmldeleted−2
@@ -1,2 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<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.1"><office:settings><config:config-item-set config:name="ooo:view-settings"><config:config-item config:name="ViewAreaTop" config:type="int">40640</config:config-item><config:config-item config:name="ViewAreaLeft" config:type="int">-1058</config:config-item><config:config-item config:name="ViewAreaWidth" config:type="int">25693</config:config-item><config:config-item config:name="ViewAreaHeight" config:type="int">15242</config:config-item><config:config-item config:name="ShowRedlineChanges" config:type="boolean">true</config:config-item><config:config-item config:name="InBrowseMode" config:type="boolean">false</config:config-item><config:config-item-map-indexed config:name="Views"><config:config-item-map-entry><config:config-item config:name="ViewId" config:type="string">view2</config:config-item><config:config-item config:name="ViewLeft" config:type="int">8936</config:config-item><config:config-item config:name="ViewTop" config:type="int">54975</config:config-item><config:config-item config:name="VisibleLeft" config:type="int">-1058</config:config-item><config:config-item config:name="VisibleTop" config:type="int">40640</config:config-item><config:config-item config:name="VisibleRight" config:type="int">24633</config:config-item><config:config-item config:name="VisibleBottom" config:type="int">55880</config:config-item><config:config-item config:name="ZoomType" config:type="short">0</config:config-item><config:config-item config:name="ZoomFactor" config:type="short">100</config:config-item><config:config-item config:name="IsSelectedFrame" config:type="boolean">false</config:config-item></config:config-item-map-entry></config:config-item-map-indexed></config:config-item-set><config:config-item-set config:name="ooo:configuration-settings"><config:config-item config:name="AddParaTableSpacing" config:type="boolean">true</config:config-item><config:config-item config:name="PrintReversed" config:type="boolean">false</config:config-item><config:config-item config:name="OutlineLevelYieldsNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="LinkUpdateMode" config:type="short">1</config:config-item><config:config-item config:name="PrintEmptyPages" config:type="boolean">true</config:config-item><config:config-item config:name="IgnoreFirstLineIndentInNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item><config:config-item config:name="PrintSingleJobs" config:type="boolean">false</config:config-item><config:config-item config:name="UpdateFromTemplate" config:type="boolean">true</config:config-item><config:config-item config:name="PrintPaperFromSetup" config:type="boolean">false</config:config-item><config:config-item config:name="AddFrameOffsets" config:type="boolean">false</config:config-item><config:config-item config:name="PrintLeftPages" config:type="boolean">true</config:config-item><config:config-item config:name="RedlineProtectionKey" config:type="base64Binary"/><config:config-item config:name="PrintTables" config:type="boolean">true</config:config-item><config:config-item config:name="ChartAutoUpdate" config:type="boolean">true</config:config-item><config:config-item config:name="PrintControls" config:type="boolean">true</config:config-item><config:config-item config:name="PrinterSetup" config:type="base64Binary"/><config:config-item config:name="IgnoreTabsAndBlanksForLineCalculation" config:type="boolean">false</config:config-item><config:config-item config:name="PrintAnnotationMode" config:type="short">0</config:config-item><config:config-item config:name="LoadReadonly" config:type="boolean">false</config:config-item><config:config-item config:name="AddParaSpacingToTableCells" config:type="boolean">true</config:config-item><config:config-item config:name="AddExternalLeading" config:type="boolean">true</config:config-item><config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item><config:config-item config:name="FieldAutoUpdate" config:type="boolean">true</config:config-item><config:config-item config:name="SaveVersionOnClose" config:type="boolean">false</config:config-item><config:config-item config:name="SaveGlobalDocumentLinks" config:type="boolean">false</config:config-item><config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item><config:config-item config:name="AlignTabStopPosition" config:type="boolean">true</config:config-item><config:config-item config:name="ClipAsCharacterAnchoredWriterFlyFrames" config:type="boolean">false</config:config-item><config:config-item config:name="CurrentDatabaseDataSource" config:type="string"/><config:config-item config:name="DoNotCaptureDrawObjsOnPage" config:type="boolean">false</config:config-item><config:config-item config:name="TableRowKeep" config:type="boolean">false</config:config-item><config:config-item config:name="PrinterName" config:type="string"/><config:config-item config:name="PrintFaxName" config:type="string"/><config:config-item config:name="ConsiderTextWrapOnObjPos" config:type="boolean">false</config:config-item><config:config-item config:name="UseOldPrinterMetrics" config:type="boolean">false</config:config-item><config:config-item config:name="PrintRightPages" 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="UseFormerLineSpacing" config:type="boolean">false</config:config-item><config:config-item config:name="AddParaTableSpacingAtStart" 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="DoNotResetParaAttrsForNumFont" config:type="boolean">false</config:config-item><config:config-item config:name="PrintProspect" config:type="boolean">false</config:config-item><config:config-item config:name="PrintGraphics" config:type="boolean">true</config:config-item><config:config-item config:name="AllowPrintJobCancel" config:type="boolean">true</config:config-item><config:config-item config:name="CurrentDatabaseCommandType" config:type="int">0</config:config-item><config:config-item config:name="DoNotJustifyLinesWithManualBreak" 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="PrinterIndependentLayout" config:type="string">high-resolution</config:config-item><config:config-item config:name="UseOldNumbering" config:type="boolean">false</config:config-item><config:config-item config:name="PrintPageBackground" config:type="boolean">true</config:config-item><config:config-item config:name="CurrentDatabaseCommand" config:type="string"/><config:config-item config:name="PrintDrawings" config:type="boolean">true</config:config-item><config:config-item config:name="PrintBlackFonts" config:type="boolean">false</config:config-item><config:config-item config:name="UnxForceZeroExtLeading" config:type="boolean">false</config:config-item></config:config-item-set></office:settings></office:document-settings>
data/odt/styles.xmldeleted−1062
@@ -1,1062 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
3−xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
4−xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
5−xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
6−xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
7−xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
8−xmlns:xlink="http://www.w3.org/1999/xlink"
9−xmlns:dc="http://purl.org/dc/elements/1.1/"
10−xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
11−xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
12−xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
13−xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
14−xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
15−xmlns:math="http://www.w3.org/1998/Math/MathML"
16−xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
17−xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
18−xmlns:ooo="http://openoffice.org/2004/office"
19−xmlns:ooow="http://openoffice.org/2004/writer"
20−xmlns:oooc="http://openoffice.org/2004/calc"
21−xmlns:dom="http://www.w3.org/2001/xml-events" office:version="1.1">
22− <office:font-face-decls>
23− <style:font-face style:name="StarSymbol"
24− svg:font-family="StarSymbol" />
25− <style:font-face style:name="Tahoma1"
26− svg:font-family="Tahoma" />
27− <style:font-face style:name="Courier New"
28− svg:font-family="'Courier New'"
29− style:font-family-generic="modern" style:font-pitch="fixed" />
30− <style:font-face style:name="Times New Roman"
31− svg:font-family="'Times New Roman'"
32− style:font-family-generic="roman"
33− style:font-pitch="variable" />
34− <style:font-face style:name="Arial" svg:font-family="Arial"
35− style:font-family-generic="swiss"
36− style:font-pitch="variable" />
37− <style:font-face style:name="Lucida Sans Unicode"
38− svg:font-family="'Lucida Sans Unicode'"
39− style:font-family-generic="system"
40− style:font-pitch="variable" />
41− <style:font-face style:name="Tahoma" svg:font-family="Tahoma"
42− style:font-family-generic="system"
43− style:font-pitch="variable" />
44− </office:font-face-decls>
45− <office:styles>
46− <style:default-style style:family="graphic">
47− <style:graphic-properties draw:shadow-offset-x="0.1181in"
48− draw:shadow-offset-y="0.1181in"
49− draw:start-line-spacing-horizontal="0.1114in"
50− draw:start-line-spacing-vertical="0.1114in"
51− draw:end-line-spacing-horizontal="0.1114in"
52− draw:end-line-spacing-vertical="0.1114in"
53− style:flow-with-text="false" />
54− <style:paragraph-properties style:text-autospace="ideograph-alpha"
55− style:line-break="strict" style:writing-mode="lr-tb"
56− style:font-independent-line-spacing="false">
57− <style:tab-stops />
58− </style:paragraph-properties>
59− <style:text-properties style:use-window-font-color="true"
60− fo:font-size="12pt" fo:language="en" fo:country="US"
61− style:letter-kerning="true" style:font-size-asian="12pt"
62− style:language-asian="zxx" style:country-asian="none"
63− style:font-size-complex="12pt" style:language-complex="zxx"
64− style:country-complex="none" />
65− </style:default-style>
66− <style:default-style style:family="paragraph">
67− <style:paragraph-properties fo:hyphenation-ladder-count="no-limit"
68− style:text-autospace="ideograph-alpha"
69− style:punctuation-wrap="hanging" style:line-break="strict"
70− style:tab-stop-distance="0.4925in"
71− style:writing-mode="page" />
72− <style:text-properties style:use-window-font-color="true"
73− style:font-name="Times New Roman" fo:font-size="12pt"
74− fo:language="en" fo:country="US" style:letter-kerning="true"
75− style:font-name-asian="Lucida Sans Unicode"
76− style:font-size-asian="12pt" style:language-asian="zxx"
77− style:country-asian="none" style:font-name-complex="Tahoma"
78− style:font-size-complex="12pt" style:language-complex="zxx"
79− style:country-complex="none" fo:hyphenate="false"
80− fo:hyphenation-remain-char-count="2"
81− fo:hyphenation-push-char-count="2" />
82− </style:default-style>
83− <style:default-style style:family="table">
84− <style:table-properties table:border-model="collapsing" />
85− </style:default-style>
86− <style:default-style style:family="table-row">
87− <style:table-row-properties fo:keep-together="auto" />
88− </style:default-style>
89− <style:style style:name="Standard" style:family="paragraph"
90− style:class="text" />
91− <style:style style:name="Heading" style:family="paragraph"
92− style:parent-style-name="Standard"
93− style:next-style-name="Text_20_body" style:class="text">
94− <style:paragraph-properties fo:margin-top="0.1665in"
95− fo:margin-bottom="0.0835in" fo:keep-with-next="always" />
96− <style:text-properties style:font-name="Arial"
97− fo:font-size="14pt"
98− style:font-name-asian="Lucida Sans Unicode"
99− style:font-size-asian="14pt" style:font-name-complex="Tahoma"
100− style:font-size-complex="14pt" />
101− </style:style>
102− <style:style style:name="Text_20_body"
103− style:display-name="Text body" style:family="paragraph"
104− style:parent-style-name="Standard" style:class="text">
105− <style:paragraph-properties fo:margin-top="0.0598in"
106− fo:margin-bottom="0.0598in" />
107− </style:style>
108− <style:style style:name="List" style:family="paragraph"
109− style:parent-style-name="Text_20_body" style:class="list">
110− <style:text-properties style:font-name-complex="Tahoma1" />
111− </style:style>
112− <style:style style:name="Caption" style:family="paragraph"
113− style:parent-style-name="Standard" style:class="extra">
114− <style:paragraph-properties fo:margin-top="0.0835in"
115− fo:margin-bottom="0.0835in" text:number-lines="false"
116− text:line-number="0" />
117− <style:text-properties fo:font-size="12pt"
118− fo:font-style="italic" style:font-size-asian="12pt"
119− style:font-style-asian="italic"
120− style:font-name-complex="Tahoma1"
121− style:font-size-complex="12pt"
122− style:font-style-complex="italic" />
123− </style:style>
124− <style:style style:name="Index" style:family="paragraph"
125− style:parent-style-name="Standard" style:class="index">
126− <style:paragraph-properties text:number-lines="false"
127− text:line-number="0" />
128− <style:text-properties style:font-name-complex="Tahoma1" />
129− </style:style>
130− <style:style style:name="Heading_20_1"
131− style:display-name="Heading 1" style:family="paragraph"
132− style:parent-style-name="Heading"
133− style:next-style-name="Text_20_body" style:class="text"
134− style:default-outline-level="1">
135− <style:text-properties fo:font-size="115%"
136− fo:font-weight="bold" style:font-size-asian="115%"
137− style:font-weight-asian="bold" style:font-size-complex="115%"
138− style:font-weight-complex="bold" />
139− </style:style>
140− <style:style style:name="Heading_20_2"
141− style:display-name="Heading 2" style:family="paragraph"
142− style:parent-style-name="Heading"
143− style:next-style-name="Text_20_body" style:class="text"
144− style:default-outline-level="2">
145− <style:text-properties fo:font-size="14pt"
146− fo:font-style="italic" fo:font-weight="bold"
147− style:font-size-asian="14pt" style:font-style-asian="italic"
148− style:font-weight-asian="bold" style:font-size-complex="14pt"
149− style:font-style-complex="italic"
150− style:font-weight-complex="bold" />
151− </style:style>
152− <style:style style:name="Heading_20_3"
153− style:display-name="Heading 3" style:family="paragraph"
154− style:parent-style-name="Heading"
155− style:next-style-name="Text_20_body" style:class="text"
156− style:default-outline-level="3">
157− <style:text-properties fo:font-size="14pt"
158− fo:font-weight="bold" style:font-size-asian="14pt"
159− style:font-weight-asian="bold" style:font-size-complex="14pt"
160− style:font-weight-complex="bold" />
161− </style:style>
162− <style:style style:name="Heading_20_4"
163− style:display-name="Heading 4" style:family="paragraph"
164− style:parent-style-name="Heading"
165− style:next-style-name="Text_20_body" style:class="text"
166− style:default-outline-level="4">
167− <style:text-properties fo:font-size="85%"
168− fo:font-style="italic" fo:font-weight="bold"
169− style:font-size-asian="85%" style:font-style-asian="italic"
170− style:font-weight-asian="bold" style:font-size-complex="85%"
171− style:font-style-complex="italic"
172− style:font-weight-complex="bold" />
173− </style:style>
174− <style:style style:name="Heading_20_5"
175− style:display-name="Heading 5" style:family="paragraph"
176− style:parent-style-name="Heading"
177− style:next-style-name="Text_20_body" style:class="text"
178− style:default-outline-level="5">
179− <style:text-properties fo:font-size="85%"
180− fo:font-weight="bold" style:font-size-asian="85%"
181− style:font-weight-asian="bold" style:font-size-complex="85%"
182− style:font-weight-complex="bold" />
183− </style:style>
184− <style:style style:name="Heading_20_6"
185− style:display-name="Heading 6" style:family="paragraph"
186− style:parent-style-name="Heading"
187− style:next-style-name="Text_20_body" style:class="text"
188− style:default-outline-level="6">
189− <style:text-properties fo:font-size="75%"
190− fo:font-weight="bold" style:font-size-asian="75%"
191− style:font-weight-asian="bold" style:font-size-complex="75%"
192− style:font-weight-complex="bold" />
193− </style:style>
194− <style:style style:name="Quotations" style:family="paragraph"
195− style:parent-style-name="Standard" style:class="html">
196− <style:paragraph-properties fo:margin-left="0.3937in"
197− fo:margin-right="0.3937in" fo:margin-top="0.1in"
198− fo:margin-bottom="0.1in" fo:text-indent="0in"
199− style:auto-text-indent="false" />
200− </style:style>
201− <style:style style:name="Preformatted_20_Text"
202− style:display-name="Preformatted Text" style:family="paragraph"
203− style:parent-style-name="Standard" style:class="html">
204− <style:paragraph-properties fo:margin-top="0in"
205− fo:margin-bottom="0in" />
206− <style:text-properties style:font-name="Courier New"
207− fo:font-size="10pt" style:font-name-asian="Courier New"
208− style:font-size-asian="10pt"
209− style:font-name-complex="Courier New"
210− style:font-size-complex="10pt" />
211− </style:style>
212− <style:style style:name="Definition_20_Term"
213− style:display-name="Definition Term" style:family="paragraph"
214− style:parent-style-name="Standard"
215− style:next-style-name="Definition_20_Definition">
216− <style:paragraph-properties fo:margin-top="0.0598in"
217− fo:margin-bottom="0.0598in" />
218− </style:style>
219− <style:style style:name="Definition_20_Definition"
220− style:display-name="Definition Definition"
221− style:family="paragraph" style:parent-style-name="Standard"
222− style:next-style-name="Text_20_body">
223− <style:paragraph-properties fo:margin-left="0.5in"
224− fo:margin-right="0in" fo:text-indent="0in"
225− style:auto-text-indent="false" />
226− </style:style>
227− <style:style style:name="Table_20_Contents"
228− style:display-name="Table Contents" style:family="paragraph"
229− style:parent-style-name="Standard" style:class="extra">
230− <style:paragraph-properties fo:margin-left="0.0299in"
231− fo:margin-right="0.0299in" fo:text-indent="0in"
232− style:auto-text-indent="false" text:number-lines="false"
233− text:line-number="0" />
234− </style:style>
235− <style:style style:name="Table_20_Heading"
236− style:display-name="Table Heading" style:family="paragraph"
237− style:parent-style-name="Table_20_Contents"
238− style:class="extra">
239− <style:paragraph-properties fo:margin-left="0.0299in"
240− fo:margin-right="0.0299in" fo:text-align="start"
241− style:justify-single-word="false" fo:text-indent="0in"
242− style:auto-text-indent="false" style:shadow="none"
243− text:number-lines="false" text:line-number="0" />
244− <style:text-properties fo:font-weight="bold"
245− style:font-weight-asian="bold"
246− style:font-weight-complex="bold" />
247− </style:style>
248− <style:style style:name="Footnote" style:family="paragraph"
249− style:parent-style-name="Standard" style:class="extra">
250− <style:paragraph-properties fo:margin-left="0.1965in"
251− fo:margin-right="0in" fo:text-indent="-0.1965in"
252− style:auto-text-indent="false" text:number-lines="false"
253− text:line-number="0" />
254− <style:text-properties fo:font-size="10pt"
255− style:font-size-asian="10pt"
256− style:font-size-complex="10pt" />
257− </style:style>
258− <style:style style:name="Footer" style:family="paragraph"
259− style:parent-style-name="Standard" style:class="extra">
260− <style:paragraph-properties text:number-lines="false"
261− text:line-number="0">
262− <style:tab-stops>
263− <style:tab-stop style:position="3.25in"
264− style:type="center" />
265− <style:tab-stop style:position="6.5in"
266− style:type="right" />
267− </style:tab-stops>
268− </style:paragraph-properties>
269− </style:style>
270− <style:style style:name="Definition_20_Term_20_Tight"
271− style:display-name="Definition Term Tight"
272− style:family="paragraph" style:parent-style-name="Standard"
273− style:next-style-name="Definition_20_Definition_20_Tight">
274− <style:paragraph-properties fo:margin-top="0.0799in"
275− fo:margin-bottom="0.0799in" />
276− </style:style>
277− <style:style style:name="Definition_20_Definition_20_Tight"
278− style:display-name="Definition Definition Tight"
279− style:family="paragraph" style:parent-style-name="Standard">
280− <style:paragraph-properties fo:margin-left="0.5in"
281− fo:margin-right="0in" fo:margin-top="0in"
282− fo:margin-bottom="0in" fo:text-indent="0in"
283− style:auto-text-indent="false" />
284− </style:style>
285− <style:style style:name="Date" style:family="paragraph"
286− style:parent-style-name="Standard"
287− style:next-style-name="Text_20_body">
288− <style:text-properties fo:font-style="italic" />
289− </style:style>
290− <style:style style:name="Author" style:family="paragraph"
291− style:parent-style-name="Standard" style:next-style-name="Date"
292− style:master-page-name="">
293− <style:paragraph-properties style:page-number="auto" />
294− <style:text-properties fo:font-style="italic" />
295− </style:style>
296− <style:style style:name="Numbering_20_Symbols"
297− style:display-name="Numbering Symbols" style:family="text" />
298− <style:style style:name="Bullet_20_Symbols"
299− style:display-name="Bullet Symbols" style:family="text">
300− <style:text-properties style:font-name="StarSymbol"
301− fo:font-size="9pt" style:font-name-asian="StarSymbol"
302− style:font-size-asian="9pt"
303− style:font-name-complex="StarSymbol"
304− style:font-size-complex="9pt" />
305− </style:style>
306− <style:style style:name="Emphasis" style:family="text">
307− <style:text-properties fo:font-style="italic"
308− style:font-style-asian="italic"
309− style:font-style-complex="italic" />
310− </style:style>
311− <style:style style:name="Strong_20_Emphasis"
312− style:display-name="Strong Emphasis" style:family="text">
313− <style:text-properties fo:font-weight="bold"
314− style:font-weight-asian="bold"
315− style:font-weight-complex="bold" />
316− </style:style>
317− <style:style style:name="Strikeout" style:family="text">
318− <style:text-properties style:text-line-through-style="solid" />
319− </style:style>
320− <style:style style:name="Superscript" style:family="text">
321− <style:text-properties style:text-position="super 58%" />
322− </style:style>
323− <style:style style:name="Subscript" style:family="text">
324− <style:text-properties style:text-position="sub 58%" />
325− </style:style>
326− <style:style style:name="Citation" style:family="text">
327− <style:text-properties fo:font-style="italic"
328− style:font-style-asian="italic"
329− style:font-style-complex="italic" />
330− </style:style>
331− <style:style style:name="Teletype" style:family="text">
332− <style:text-properties style:font-name="Courier New"
333− style:font-name-asian="Courier New"
334− style:font-name-complex="Courier New" />
335− </style:style>
336− <style:style style:name="Internet_20_link"
337− style:display-name="Internet link" style:family="text">
338− <style:text-properties fo:color="#000080"
339− style:text-underline-style="solid"
340− style:text-underline-width="auto"
341− style:text-underline-color="font-color" />
342− </style:style>
343− <style:style style:name="Footnote_20_Symbol"
344− style:display-name="Footnote Symbol" style:family="text" />
345− <style:style style:name="Footnote_20_anchor"
346− style:display-name="Footnote anchor" style:family="text">
347− <style:text-properties style:text-position="super 58%" />
348− </style:style>
349− <style:style style:name="Definition" style:family="text" />
350− <text:outline-style>
351− <text:outline-level-style text:level="1" style:num-format="">
352− <style:list-level-properties text:min-label-distance="0.15in" />
353− </text:outline-level-style>
354− <text:outline-level-style text:level="2" style:num-format="">
355− <style:list-level-properties text:min-label-distance="0.15in" />
356− </text:outline-level-style>
357− <text:outline-level-style text:level="3" style:num-format="">
358− <style:list-level-properties text:min-label-distance="0.15in" />
359− </text:outline-level-style>
360− <text:outline-level-style text:level="4" style:num-format="">
361− <style:list-level-properties text:min-label-distance="0.15in" />
362− </text:outline-level-style>
363− <text:outline-level-style text:level="5" style:num-format="">
364− <style:list-level-properties text:min-label-distance="0.15in" />
365− </text:outline-level-style>
366− <text:outline-level-style text:level="6" style:num-format="">
367− <style:list-level-properties text:min-label-distance="0.15in" />
368− </text:outline-level-style>
369− <text:outline-level-style text:level="7" style:num-format="">
370− <style:list-level-properties text:min-label-distance="0.15in" />
371− </text:outline-level-style>
372− <text:outline-level-style text:level="8" style:num-format="">
373− <style:list-level-properties text:min-label-distance="0.15in" />
374− </text:outline-level-style>
375− <text:outline-level-style text:level="9" style:num-format="">
376− <style:list-level-properties text:min-label-distance="0.15in" />
377− </text:outline-level-style>
378− <text:outline-level-style text:level="10"
379− style:num-format="">
380− <style:list-level-properties text:min-label-distance="0.15in" />
381− </text:outline-level-style>
382− </text:outline-style>
383− <text:list-style style:name="Numbering_20_1"
384− style:display-name="Numbering 1">
385− <text:list-level-style-number text:level="1"
386− text:style-name="Numbering_20_Symbols" style:num-suffix="."
387− style:num-format="1">
388− <style:list-level-properties text:min-label-width="0.1965in" />
389− </text:list-level-style-number>
390− <text:list-level-style-number text:level="2"
391− text:style-name="Numbering_20_Symbols" style:num-suffix="."
392− style:num-format="1">
393− <style:list-level-properties text:space-before="0.1972in"
394− text:min-label-width="0.1965in" />
395− </text:list-level-style-number>
396− <text:list-level-style-number text:level="3"
397− text:style-name="Numbering_20_Symbols" style:num-suffix="."
398− style:num-format="1">
399− <style:list-level-properties text:space-before="0.3937in"
400− text:min-label-width="0.1965in" />
401− </text:list-level-style-number>
402− <text:list-level-style-number text:level="4"
403− text:style-name="Numbering_20_Symbols" style:num-suffix="."
404− style:num-format="1">
405− <style:list-level-properties text:space-before="0.5909in"
406− text:min-label-width="0.1965in" />
407− </text:list-level-style-number>
408− <text:list-level-style-number text:level="5"
409− text:style-name="Numbering_20_Symbols" style:num-suffix="."
410− style:num-format="1">
411− <style:list-level-properties text:space-before="0.7874in"
412− text:min-label-width="0.1965in" />
413− </text:list-level-style-number>
414− <text:list-level-style-number text:level="6"
415− text:style-name="Numbering_20_Symbols" style:num-suffix="."
416− style:num-format="1">
417− <style:list-level-properties text:space-before="0.9846in"
418− text:min-label-width="0.1965in" />
419− </text:list-level-style-number>
420− <text:list-level-style-number text:level="7"
421− text:style-name="Numbering_20_Symbols" style:num-suffix="."
422− style:num-format="1">
423− <style:list-level-properties text:space-before="1.1815in"
424− text:min-label-width="0.1965in" />
425− </text:list-level-style-number>
426− <text:list-level-style-number text:level="8"
427− text:style-name="Numbering_20_Symbols" style:num-suffix="."
428− style:num-format="1">
429− <style:list-level-properties text:space-before="1.3787in"
430− text:min-label-width="0.1965in" />
431− </text:list-level-style-number>
432− <text:list-level-style-number text:level="9"
433− text:style-name="Numbering_20_Symbols" style:num-suffix="."
434− style:num-format="1">
435− <style:list-level-properties text:space-before="1.5752in"
436− text:min-label-width="0.1965in" />
437− </text:list-level-style-number>
438− <text:list-level-style-number text:level="10"
439− text:style-name="Numbering_20_Symbols" style:num-suffix="."
440− style:num-format="1">
441− <style:list-level-properties text:space-before="1.7724in"
442− text:min-label-width="0.1965in" />
443− </text:list-level-style-number>
444− </text:list-style>
445− <text:list-style style:name="Numbering_20_2"
446− style:display-name="Numbering 2">
447− <text:list-level-style-number text:level="1"
448− text:style-name="Numbering_20_Symbols" style:num-format="1">
449− <style:list-level-properties text:min-label-width="0.1965in" />
450− </text:list-level-style-number>
451− <text:list-level-style-number text:level="2"
452− text:style-name="Numbering_20_Symbols" style:num-format="1"
453− text:start-value="2">
454− <style:list-level-properties text:space-before="0.1965in"
455− text:min-label-width="0.1965in" />
456− </text:list-level-style-number>
457− <text:list-level-style-number text:level="3"
458− text:style-name="Numbering_20_Symbols" style:num-format="1"
459− text:start-value="3">
460− <style:list-level-properties text:space-before="0.3929in"
461− text:min-label-width="0.3937in" />
462− </text:list-level-style-number>
463− <text:list-level-style-number text:level="4"
464− text:style-name="Numbering_20_Symbols" style:num-format="1"
465− text:start-value="4">
466− <style:list-level-properties text:space-before="0.7866in"
467− text:min-label-width="0.4925in" />
468− </text:list-level-style-number>
469− <text:list-level-style-number text:level="5"
470− text:style-name="Numbering_20_Symbols" style:num-format="1"
471− text:start-value="5">
472− <style:list-level-properties text:space-before="1.2791in"
473− text:min-label-width="0.5902in" />
474− </text:list-level-style-number>
475− <text:list-level-style-number text:level="6"
476− text:style-name="Numbering_20_Symbols" style:num-format="1"
477− text:start-value="6">
478− <style:list-level-properties text:space-before="1.8693in"
479− text:min-label-width="0.7091in" />
480− </text:list-level-style-number>
481− <text:list-level-style-number text:level="7"
482− text:style-name="Numbering_20_Symbols" style:num-format="1"
483− text:start-value="7">
484− <style:list-level-properties text:space-before="2.5783in"
485− text:min-label-width="0.9055in" />
486− </text:list-level-style-number>
487− <text:list-level-style-number text:level="8"
488− text:style-name="Numbering_20_Symbols" style:num-format="1"
489− text:start-value="8">
490− <style:list-level-properties text:space-before="3.4839in"
491− text:min-label-width="1.0236in" />
492− </text:list-level-style-number>
493− <text:list-level-style-number text:level="9"
494− text:style-name="Numbering_20_Symbols" style:num-format="1"
495− text:start-value="9">
496− <style:list-level-properties text:space-before="4.5075in"
497− text:min-label-width="1.1028in" />
498− </text:list-level-style-number>
499− <text:list-level-style-number text:level="10"
500− text:style-name="Numbering_20_Symbols" style:num-format="1"
501− text:start-value="10">
502− <style:list-level-properties text:space-before="5.6102in"
503− text:min-label-width="1.2209in" />
504− </text:list-level-style-number>
505− </text:list-style>
506− <text:list-style style:name="Numbering_20_3"
507− style:display-name="Numbering 3">
508− <text:list-level-style-number text:level="1"
509− text:style-name="Numbering_20_Symbols" style:num-format="1">
510− <style:list-level-properties text:min-label-width="1.1811in" />
511− </text:list-level-style-number>
512− <text:list-level-style-number text:level="2"
513− text:style-name="Numbering_20_Symbols" style:num-format="1"
514− text:start-value="2">
515− <style:list-level-properties text:space-before="1.1815in"
516− text:min-label-width="1.1811in" />
517− </text:list-level-style-number>
518− <text:list-level-style-number text:level="3"
519− text:style-name="Numbering_20_Symbols" style:num-format="1"
520− text:start-value="3">
521− <style:list-level-properties text:space-before="2.3626in"
522− text:min-label-width="1.1811in" />
523− </text:list-level-style-number>
524− <text:list-level-style-number text:level="4"
525− text:style-name="Numbering_20_Symbols" style:num-format="1"
526− text:start-value="4">
527− <style:list-level-properties text:space-before="3.5441in"
528− text:min-label-width="1.1811in" />
529− </text:list-level-style-number>
530− <text:list-level-style-number text:level="5"
531− text:style-name="Numbering_20_Symbols" style:num-format="1"
532− text:start-value="5">
533− <style:list-level-properties text:space-before="4.7252in"
534− text:min-label-width="1.1811in" />
535− </text:list-level-style-number>
536− <text:list-level-style-number text:level="6"
537− text:style-name="Numbering_20_Symbols" style:num-format="1"
538− text:start-value="6">
539− <style:list-level-properties text:space-before="5.9063in"
540− text:min-label-width="1.1811in" />
541− </text:list-level-style-number>
542− <text:list-level-style-number text:level="7"
543− text:style-name="Numbering_20_Symbols" style:num-format="1"
544− text:start-value="7">
545− <style:list-level-properties text:space-before="7.0878in"
546− text:min-label-width="1.1811in" />
547− </text:list-level-style-number>
548− <text:list-level-style-number text:level="8"
549− text:style-name="Numbering_20_Symbols" style:num-format="1"
550− text:start-value="8">
551− <style:list-level-properties text:space-before="8.2689in"
552− text:min-label-width="1.1811in" />
553− </text:list-level-style-number>
554− <text:list-level-style-number text:level="9"
555− text:style-name="Numbering_20_Symbols" style:num-format="1"
556− text:start-value="9">
557− <style:list-level-properties text:space-before="9.45in"
558− text:min-label-width="1.1811in" />
559− </text:list-level-style-number>
560− <text:list-level-style-number text:level="10"
561− text:style-name="Numbering_20_Symbols" style:num-format="1"
562− text:start-value="10">
563− <style:list-level-properties text:space-before="10.6315in"
564− text:min-label-width="1.1811in" />
565− </text:list-level-style-number>
566− </text:list-style>
567− <text:list-style style:name="Numbering_20_4"
568− style:display-name="Numbering 4">
569− <text:list-level-style-number text:level="1"
570− text:style-name="Numbering_20_Symbols" style:num-suffix="."
571− style:num-format="I">
572− <style:list-level-properties text:min-label-width="0.1965in" />
573− </text:list-level-style-number>
574− <text:list-level-style-number text:level="2"
575− text:style-name="Numbering_20_Symbols" style:num-suffix="."
576− style:num-format="I" text:start-value="2">
577− <style:list-level-properties text:space-before="0.1972in"
578− text:min-label-width="0.1965in" />
579− </text:list-level-style-number>
580− <text:list-level-style-number text:level="3"
581− text:style-name="Numbering_20_Symbols" style:num-suffix="."
582− style:num-format="I" text:start-value="3">
583− <style:list-level-properties text:space-before="0.3937in"
584− text:min-label-width="0.1965in" />
585− </text:list-level-style-number>
586− <text:list-level-style-number text:level="4"
587− text:style-name="Numbering_20_Symbols" style:num-suffix="."
588− style:num-format="I" text:start-value="4">
589− <style:list-level-properties text:space-before="0.5909in"
590− text:min-label-width="0.1965in" />
591− </text:list-level-style-number>
592− <text:list-level-style-number text:level="5"
593− text:style-name="Numbering_20_Symbols" style:num-suffix="."
594− style:num-format="I" text:start-value="5">
595− <style:list-level-properties text:space-before="0.7874in"
596− text:min-label-width="0.1965in" />
597− </text:list-level-style-number>
598− <text:list-level-style-number text:level="6"
599− text:style-name="Numbering_20_Symbols" style:num-suffix="."
600− style:num-format="I" text:start-value="6">
601− <style:list-level-properties text:space-before="0.9846in"
602− text:min-label-width="0.1965in" />
603− </text:list-level-style-number>
604− <text:list-level-style-number text:level="7"
605− text:style-name="Numbering_20_Symbols" style:num-suffix="."
606− style:num-format="I" text:start-value="7">
607− <style:list-level-properties text:space-before="1.1815in"
608− text:min-label-width="0.1965in" />
609− </text:list-level-style-number>
610− <text:list-level-style-number text:level="8"
611− text:style-name="Numbering_20_Symbols" style:num-suffix="."
612− style:num-format="I" text:start-value="8">
613− <style:list-level-properties text:space-before="1.3787in"
614− text:min-label-width="0.1965in" />
615− </text:list-level-style-number>
616− <text:list-level-style-number text:level="9"
617− text:style-name="Numbering_20_Symbols" style:num-suffix="."
618− style:num-format="I" text:start-value="9">
619− <style:list-level-properties text:space-before="1.5752in"
620− text:min-label-width="0.1965in" />
621− </text:list-level-style-number>
622− <text:list-level-style-number text:level="10"
623− text:style-name="Numbering_20_Symbols" style:num-suffix="."
624− style:num-format="I" text:start-value="10">
625− <style:list-level-properties text:space-before="1.7724in"
626− text:min-label-width="0.1965in" />
627− </text:list-level-style-number>
628− </text:list-style>
629− <text:list-style style:name="Numbering_20_5"
630− style:display-name="Numbering 5">
631− <text:list-level-style-number text:level="1"
632− text:style-name="Numbering_20_Symbols" style:num-suffix="."
633− style:num-format="1">
634− <style:list-level-properties text:min-label-width="0.1575in" />
635− </text:list-level-style-number>
636− <text:list-level-style-number text:level="2"
637− text:style-name="Numbering_20_Symbols" style:num-suffix="."
638− style:num-format="1" text:start-value="2"
639− text:display-levels="2">
640− <style:list-level-properties text:space-before="0.1772in"
641− text:min-label-width="0.2563in" />
642− </text:list-level-style-number>
643− <text:list-level-style-number text:level="3"
644− text:style-name="Numbering_20_Symbols" style:num-suffix=")"
645− style:num-format="a" text:start-value="3">
646− <style:list-level-properties text:space-before="0.4331in"
647− text:min-label-width="0.1772in" />
648− </text:list-level-style-number>
649− <text:list-level-style-bullet text:level="4"
650− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
651− <style:list-level-properties text:space-before="0.6319in"
652− text:min-label-width="0.1555in" />
653− <style:text-properties style:font-name="StarSymbol" />
654− </text:list-level-style-bullet>
655− <text:list-level-style-bullet text:level="5"
656− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
657− <style:list-level-properties text:space-before="0.7874in"
658− text:min-label-width="0.1555in" />
659− <style:text-properties style:font-name="StarSymbol" />
660− </text:list-level-style-bullet>
661− <text:list-level-style-bullet text:level="6"
662− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
663− <style:list-level-properties text:space-before="0.9429in"
664− text:min-label-width="0.1555in" />
665− <style:text-properties style:font-name="StarSymbol" />
666− </text:list-level-style-bullet>
667− <text:list-level-style-bullet text:level="7"
668− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
669− <style:list-level-properties text:space-before="1.0988in"
670− text:min-label-width="0.1555in" />
671− <style:text-properties style:font-name="StarSymbol" />
672− </text:list-level-style-bullet>
673− <text:list-level-style-bullet text:level="8"
674− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
675− <style:list-level-properties text:space-before="1.2543in"
676− text:min-label-width="0.1555in" />
677− <style:text-properties style:font-name="StarSymbol" />
678− </text:list-level-style-bullet>
679− <text:list-level-style-bullet text:level="9"
680− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
681− <style:list-level-properties text:space-before="1.4098in"
682− text:min-label-width="0.1555in" />
683− <style:text-properties style:font-name="StarSymbol" />
684− </text:list-level-style-bullet>
685− <text:list-level-style-bullet text:level="10"
686− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
687− <style:list-level-properties text:space-before="1.5654in"
688− text:min-label-width="0.1555in" />
689− <style:text-properties style:font-name="StarSymbol" />
690− </text:list-level-style-bullet>
691− </text:list-style>
692− <text:list-style style:name="List_20_1"
693− style:display-name="List 1">
694− <text:list-level-style-bullet text:level="1"
695− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
696− <style:list-level-properties text:min-label-width="0.1575in" />
697− <style:text-properties style:font-name="StarSymbol" />
698− </text:list-level-style-bullet>
699− <text:list-level-style-bullet text:level="2"
700− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
701− <style:list-level-properties text:space-before="0.1579in"
702− text:min-label-width="0.1575in" />
703− <style:text-properties style:font-name="StarSymbol" />
704− </text:list-level-style-bullet>
705− <text:list-level-style-bullet text:level="3"
706− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
707− <style:list-level-properties text:space-before="0.3146in"
708− text:min-label-width="0.1575in" />
709− <style:text-properties style:font-name="StarSymbol" />
710− </text:list-level-style-bullet>
711− <text:list-level-style-bullet text:level="4"
712− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
713− <style:list-level-properties text:space-before="0.4724in"
714− text:min-label-width="0.1575in" />
715− <style:text-properties style:font-name="StarSymbol" />
716− </text:list-level-style-bullet>
717− <text:list-level-style-bullet text:level="5"
718− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
719− <style:list-level-properties text:space-before="0.6299in"
720− text:min-label-width="0.1575in" />
721− <style:text-properties style:font-name="StarSymbol" />
722− </text:list-level-style-bullet>
723− <text:list-level-style-bullet text:level="6"
724− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
725− <style:list-level-properties text:space-before="0.7878in"
726− text:min-label-width="0.1575in" />
727− <style:text-properties style:font-name="StarSymbol" />
728− </text:list-level-style-bullet>
729− <text:list-level-style-bullet text:level="7"
730− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
731− <style:list-level-properties text:space-before="0.9445in"
732− text:min-label-width="0.1575in" />
733− <style:text-properties style:font-name="StarSymbol" />
734− </text:list-level-style-bullet>
735− <text:list-level-style-bullet text:level="8"
736− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
737− <style:list-level-properties text:space-before="1.1024in"
738− text:min-label-width="0.1575in" />
739− <style:text-properties style:font-name="StarSymbol" />
740− </text:list-level-style-bullet>
741− <text:list-level-style-bullet text:level="9"
742− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
743− <style:list-level-properties text:space-before="1.2598in"
744− text:min-label-width="0.1575in" />
745− <style:text-properties style:font-name="StarSymbol" />
746− </text:list-level-style-bullet>
747− <text:list-level-style-bullet text:level="10"
748− text:style-name="Numbering_20_Symbols" text:bullet-char="•">
749− <style:list-level-properties text:space-before="1.4177in"
750− text:min-label-width="0.1575in" />
751− <style:text-properties style:font-name="StarSymbol" />
752− </text:list-level-style-bullet>
753− </text:list-style>
754− <text:list-style style:name="List_20_2"
755− style:display-name="List 2">
756− <text:list-level-style-bullet text:level="1"
757− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
758− <style:list-level-properties text:min-label-width="0.1181in" />
759− <style:text-properties style:font-name="StarSymbol" />
760− </text:list-level-style-bullet>
761− <text:list-level-style-bullet text:level="2"
762− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
763− <style:list-level-properties text:space-before="0.1181in"
764− text:min-label-width="0.1181in" />
765− <style:text-properties style:font-name="StarSymbol" />
766− </text:list-level-style-bullet>
767− <text:list-level-style-bullet text:level="3"
768− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
769− <style:list-level-properties text:space-before="0.2362in"
770− text:min-label-width="0.1181in" />
771− <style:text-properties style:font-name="StarSymbol" />
772− </text:list-level-style-bullet>
773− <text:list-level-style-bullet text:level="4"
774− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
775− <style:list-level-properties text:space-before="0.3539in"
776− text:min-label-width="0.1181in" />
777− <style:text-properties style:font-name="StarSymbol" />
778− </text:list-level-style-bullet>
779− <text:list-level-style-bullet text:level="5"
780− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
781− <style:list-level-properties text:space-before="0.472in"
782− text:min-label-width="0.1181in" />
783− <style:text-properties style:font-name="StarSymbol" />
784− </text:list-level-style-bullet>
785− <text:list-level-style-bullet text:level="6"
786− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
787− <style:list-level-properties text:space-before="0.5902in"
788− text:min-label-width="0.1181in" />
789− <style:text-properties style:font-name="StarSymbol" />
790− </text:list-level-style-bullet>
791− <text:list-level-style-bullet text:level="7"
792− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
793− <style:list-level-properties text:space-before="0.7091in"
794− text:min-label-width="0.1181in" />
795− <style:text-properties style:font-name="StarSymbol" />
796− </text:list-level-style-bullet>
797− <text:list-level-style-bullet text:level="8"
798− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
799− <style:list-level-properties text:space-before="0.8272in"
800− text:min-label-width="0.1181in" />
801− <style:text-properties style:font-name="StarSymbol" />
802− </text:list-level-style-bullet>
803− <text:list-level-style-bullet text:level="9"
804− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
805− <style:list-level-properties text:space-before="0.9453in"
806− text:min-label-width="0.1181in" />
807− <style:text-properties style:font-name="StarSymbol" />
808− </text:list-level-style-bullet>
809− <text:list-level-style-bullet text:level="10"
810− text:style-name="Numbering_20_Symbols" text:bullet-char="–">
811− <style:list-level-properties text:space-before="1.063in"
812− text:min-label-width="0.1181in" />
813− <style:text-properties style:font-name="StarSymbol" />
814− </text:list-level-style-bullet>
815− </text:list-style>
816− <text:list-style style:name="List_20_3"
817− style:display-name="List 3">
818− <text:list-level-style-bullet text:level="1"
819− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
820− <style:list-level-properties text:min-label-width="0.1555in" />
821− <style:text-properties style:font-name="StarSymbol" />
822− </text:list-level-style-bullet>
823− <text:list-level-style-bullet text:level="2"
824− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
825− <style:list-level-properties text:space-before="0.1555in"
826− text:min-label-width="0.1555in" />
827− <style:text-properties style:font-name="StarSymbol" />
828− </text:list-level-style-bullet>
829− <text:list-level-style-bullet text:level="3"
830− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
831− <style:list-level-properties text:min-label-width="0.1555in" />
832− <style:text-properties style:font-name="StarSymbol" />
833− </text:list-level-style-bullet>
834− <text:list-level-style-bullet text:level="4"
835− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
836− <style:list-level-properties text:space-before="0.1555in"
837− text:min-label-width="0.1555in" />
838− <style:text-properties style:font-name="StarSymbol" />
839− </text:list-level-style-bullet>
840− <text:list-level-style-bullet text:level="5"
841− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
842− <style:list-level-properties text:min-label-width="0.1555in" />
843− <style:text-properties style:font-name="StarSymbol" />
844− </text:list-level-style-bullet>
845− <text:list-level-style-bullet text:level="6"
846− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
847− <style:list-level-properties text:space-before="0.1555in"
848− text:min-label-width="0.1555in" />
849− <style:text-properties style:font-name="StarSymbol" />
850− </text:list-level-style-bullet>
851− <text:list-level-style-bullet text:level="7"
852− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
853− <style:list-level-properties text:min-label-width="0.1555in" />
854− <style:text-properties style:font-name="StarSymbol" />
855− </text:list-level-style-bullet>
856− <text:list-level-style-bullet text:level="8"
857− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
858− <style:list-level-properties text:space-before="0.1555in"
859− text:min-label-width="0.1555in" />
860− <style:text-properties style:font-name="StarSymbol" />
861− </text:list-level-style-bullet>
862− <text:list-level-style-bullet text:level="9"
863− text:style-name="Numbering_20_Symbols" text:bullet-char="☑">
864− <style:list-level-properties text:min-label-width="0.1555in" />
865− <style:text-properties style:font-name="StarSymbol" />
866− </text:list-level-style-bullet>
867− <text:list-level-style-bullet text:level="10"
868− text:style-name="Numbering_20_Symbols" text:bullet-char="□">
869− <style:list-level-properties text:space-before="0.1555in"
870− text:min-label-width="0.1555in" />
871− <style:text-properties style:font-name="StarSymbol" />
872− </text:list-level-style-bullet>
873− </text:list-style>
874− <text:list-style style:name="List_20_4"
875− style:display-name="List 4">
876− <text:list-level-style-bullet text:level="1"
877− text:style-name="Numbering_20_Symbols" text:bullet-char="➢">
878− <style:list-level-properties text:min-label-width="0.1575in" />
879− <style:text-properties style:font-name="StarSymbol" />
880− </text:list-level-style-bullet>
881− <text:list-level-style-bullet text:level="2"
882− text:style-name="Numbering_20_Symbols" text:bullet-char="">
883− <style:list-level-properties text:space-before="0.1579in"
884− text:min-label-width="0.1575in" />
885− <style:text-properties style:font-name="StarSymbol" />
886− </text:list-level-style-bullet>
887− <text:list-level-style-bullet text:level="3"
888− text:style-name="Numbering_20_Symbols" text:bullet-char="">
889− <style:list-level-properties text:space-before="0.3146in"
890− text:min-label-width="0.1575in" />
891− <style:text-properties style:font-name="StarSymbol" />
892− </text:list-level-style-bullet>
893− <text:list-level-style-bullet text:level="4"
894− text:style-name="Numbering_20_Symbols" text:bullet-char="">
895− <style:list-level-properties text:space-before="0.4724in"
896− text:min-label-width="0.1575in" />
897− <style:text-properties style:font-name="StarSymbol" />
898− </text:list-level-style-bullet>
899− <text:list-level-style-bullet text:level="5"
900− text:style-name="Numbering_20_Symbols" text:bullet-char="">
901− <style:list-level-properties text:space-before="0.6299in"
902− text:min-label-width="0.1575in" />
903− <style:text-properties style:font-name="StarSymbol" />
904− </text:list-level-style-bullet>
905− <text:list-level-style-bullet text:level="6"
906− text:style-name="Numbering_20_Symbols" text:bullet-char="">
907− <style:list-level-properties text:space-before="0.7878in"
908− text:min-label-width="0.1575in" />
909− <style:text-properties style:font-name="StarSymbol" />
910− </text:list-level-style-bullet>
911− <text:list-level-style-bullet text:level="7"
912− text:style-name="Numbering_20_Symbols" text:bullet-char="">
913− <style:list-level-properties text:space-before="0.9445in"
914− text:min-label-width="0.1575in" />
915− <style:text-properties style:font-name="StarSymbol" />
916− </text:list-level-style-bullet>
917− <text:list-level-style-bullet text:level="8"
918− text:style-name="Numbering_20_Symbols" text:bullet-char="">
919− <style:list-level-properties text:space-before="1.1024in"
920− text:min-label-width="0.1575in" />
921− <style:text-properties style:font-name="StarSymbol" />
922− </text:list-level-style-bullet>
923− <text:list-level-style-bullet text:level="9"
924− text:style-name="Numbering_20_Symbols" text:bullet-char="">
925− <style:list-level-properties text:space-before="1.2598in"
926− text:min-label-width="0.1575in" />
927− <style:text-properties style:font-name="StarSymbol" />
928− </text:list-level-style-bullet>
929− <text:list-level-style-bullet text:level="10"
930− text:style-name="Numbering_20_Symbols" text:bullet-char="">
931− <style:list-level-properties text:space-before="1.4177in"
932− text:min-label-width="0.1575in" />
933− <style:text-properties style:font-name="StarSymbol" />
934− </text:list-level-style-bullet>
935− </text:list-style>
936− <text:list-style style:name="List_20_5"
937− style:display-name="List 5">
938− <text:list-level-style-bullet text:level="1"
939− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
940− <style:list-level-properties text:min-label-width="0.1575in" />
941− <style:text-properties style:font-name="StarSymbol" />
942− </text:list-level-style-bullet>
943− <text:list-level-style-bullet text:level="2"
944− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
945− <style:list-level-properties text:space-before="0.1579in"
946− text:min-label-width="0.1575in" />
947− <style:text-properties style:font-name="StarSymbol" />
948− </text:list-level-style-bullet>
949− <text:list-level-style-bullet text:level="3"
950− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
951− <style:list-level-properties text:space-before="0.3146in"
952− text:min-label-width="0.1575in" />
953− <style:text-properties style:font-name="StarSymbol" />
954− </text:list-level-style-bullet>
955− <text:list-level-style-bullet text:level="4"
956− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
957− <style:list-level-properties text:space-before="0.4724in"
958− text:min-label-width="0.1575in" />
959− <style:text-properties style:font-name="StarSymbol" />
960− </text:list-level-style-bullet>
961− <text:list-level-style-bullet text:level="5"
962− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
963− <style:list-level-properties text:space-before="0.6299in"
964− text:min-label-width="0.1575in" />
965− <style:text-properties style:font-name="StarSymbol" />
966− </text:list-level-style-bullet>
967− <text:list-level-style-bullet text:level="6"
968− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
969− <style:list-level-properties text:space-before="0.7878in"
970− text:min-label-width="0.1575in" />
971− <style:text-properties style:font-name="StarSymbol" />
972− </text:list-level-style-bullet>
973− <text:list-level-style-bullet text:level="7"
974− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
975− <style:list-level-properties text:space-before="0.9445in"
976− text:min-label-width="0.1575in" />
977− <style:text-properties style:font-name="StarSymbol" />
978− </text:list-level-style-bullet>
979− <text:list-level-style-bullet text:level="8"
980− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
981− <style:list-level-properties text:space-before="1.1024in"
982− text:min-label-width="0.1575in" />
983− <style:text-properties style:font-name="StarSymbol" />
984− </text:list-level-style-bullet>
985− <text:list-level-style-bullet text:level="9"
986− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
987− <style:list-level-properties text:space-before="1.2598in"
988− text:min-label-width="0.1575in" />
989− <style:text-properties style:font-name="StarSymbol" />
990− </text:list-level-style-bullet>
991− <text:list-level-style-bullet text:level="10"
992− text:style-name="Numbering_20_Symbols" text:bullet-char="✗">
993− <style:list-level-properties text:space-before="1.4177in"
994− text:min-label-width="0.1575in" />
995− <style:text-properties style:font-name="StarSymbol" />
996− </text:list-level-style-bullet>
997− </text:list-style>
998− <text:notes-configuration text:note-class="footnote"
999− text:citation-style-name="Footnote_20_Symbol"
1000− text:citation-body-style-name="Footnote_20_anchor"
1001− style:num-format="1" text:start-value="0"
1002− text:footnotes-position="page"
1003− text:start-numbering-at="document" />
1004− <text:notes-configuration text:note-class="endnote"
1005− style:num-format="i" text:start-value="0" />
1006− <text:linenumbering-configuration text:number-lines="false"
1007− text:offset="0.1965in" style:num-format="1"
1008− text:number-position="left" text:increment="5" />
1009− <style:style style:name="Horizontal_20_Line"
1010− style:display-name="Horizontal Line" style:family="paragraph"
1011− style:parent-style-name="Standard"
1012− style:next-style-name="Text_20_body" style:class="html">
1013− <style:paragraph-properties fo:margin-top="0in"
1014− fo:margin-bottom="0.1965in"
1015− style:border-line-width-bottom="0.0008in 0.0138in 0.0008in"
1016− fo:padding="0in" fo:border-left="none" fo:border-right="none"
1017− fo:border-top="none"
1018− fo:border-bottom="0.0154in double #808080"
1019− text:number-lines="false" text:line-number="0"
1020− style:join-border="false" />
1021− <style:text-properties fo:font-size="6pt"
1022− style:font-size-asian="6pt" style:font-size-complex="6pt" />
1023− </style:style>
1024− </office:styles>
1025− <office:automatic-styles>
1026− <style:style style:name="P1" style:family="paragraph"
1027− style:parent-style-name="Footer">
1028− <style:paragraph-properties fo:text-align="center"
1029− style:justify-single-word="false" />
1030− </style:style>
1031− <style:page-layout style:name="pm1">
1032− <style:page-layout-properties fo:page-width="8.5in"
1033− fo:page-height="11in" style:num-format="1"
1034− style:print-orientation="portrait" fo:margin-top="1in"
1035− fo:margin-bottom="1in" fo:margin-left="1in"
1036− fo:margin-right="1in" style:writing-mode="lr-tb"
1037− style:footnote-max-height="0in">
1038− <style:footnote-sep style:width="0.0071in"
1039− style:distance-before-sep="0.0398in"
1040− style:distance-after-sep="0.0398in" style:adjustment="left"
1041− style:rel-width="25%" style:color="#000000" />
1042− </style:page-layout-properties>
1043− <style:header-style />
1044− <style:footer-style>
1045− <style:header-footer-properties fo:min-height="0.4in"
1046− fo:margin-left="0in" fo:margin-right="0in"
1047− fo:margin-top="0.2in" style:dynamic-spacing="false" />
1048− </style:footer-style>
1049− </style:page-layout>
1050− </office:automatic-styles>
1051− <office:master-styles>
1052− <style:master-page style:name="Standard"
1053− style:page-layout-name="pm1">
1054− <style:footer>
1055− <text:p text:style-name="P1">
1056− <text:page-number text:select-page="current">
1057− 1</text:page-number>
1058− </text:p>
1059− </style:footer>
1060− </style:master-page>
1061− </office:master-styles>
1062−</office:document-styles>
man/man1/pandoc.1.md+11
@@ -203,6 +203,17 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`.
203203 Implies `-s`. Note: This option is deprecated. Users should
204204 transition to using `--template` instead.
205205
206+\--reference-odt=*filename*
207+: Use the specified file as a style reference in producing an ODT.
208+ For best results, the reference ODT should be a modified version
209+ of an ODT produced using pandoc. The contents of the reference ODT
210+ are ignored, but its stylesheets are used in the new ODT. If no
211+ reference ODT is specified on the command line, pandoc will look
212+ for `$HOME/.pandoc/reference.odt` (on unix) or
213+ `C:\Documents And Settings\USERNAME\Application Data\pandoc\reference.odt`
214+ (on Windows). If this is not found either, sensible defaults will be
215+ used.
216+
206217-D *FORMAT*, \--print-default-template=*FORMAT*
207218: Print the default template for an output *FORMAT*. (See `-t`
208219 for a list of possible *FORMAT*s.)
pandoc.cabal+2−7
@@ -43,12 +43,7 @@ Data-Files:
4343 templates/rst.template,
4444 templates/mediawiki.template, templates/rtf.template,
4545 -- data for ODT writer
46− data/odt/meta.xml,
47− data/odt/settings.xml,
48− data/odt/META-INF/manifest.xml,
49− data/odt/Thumbnails/thumbnail.png,
50− data/odt/styles.xml,
51− data/odt/mimetype,
46+ reference.odt,
5247 -- data for LaTeXMathML writer
5348 data/LaTeXMathML.js.comment,
5449 data/LaTeXMathML.js.packed,
@@ -151,7 +146,7 @@ Library
151146 parsec >= 2.1 && < 3, xhtml >= 3000.0,
152147 mtl >= 1.1, network >= 2, filepath >= 1.1,
153148 process >= 1, directory >= 1, template-haskell >= 2.2,
154− bytestring >= 0.9, zip-archive >= 0.1.1,
149+ bytestring >= 0.9, zip-archive >= 0.1.1.4,
155150 utf8-string >= 0.3, old-time >= 1
156151 if impl(ghc >= 6.10)
157152 Build-depends: base >= 4 && < 5, syb
reference.odtnew file

Binary file not shown.

src/Text/Pandoc/ODT.hs+16−13
@@ -37,24 +37,27 @@ import Codec.Archive.Zip
3737import Control.Applicative ( (<$>) )
3838import Text.ParserCombinators.Parsec
3939import System.Time
40−import Text.Pandoc.Shared ( inDirectory )
4140import Paths_pandoc ( getDataFileName )
4241import System.Directory
42+import Control.Monad (liftM)
4343
4444-- | Produce an ODT file from OpenDocument XML.
45−saveOpenDocumentAsODT :: FilePath -- ^ Pathname of ODT file to be produced.
46− -> FilePath -- ^ Relative directory of source file.
47− -> String -- ^ OpenDocument XML contents.
45+saveOpenDocumentAsODT :: FilePath -- ^ Pathname of ODT file to be produced.
46+ -> FilePath -- ^ Relative directory of source file.
47+ -> Maybe FilePath -- ^ Path specified by --reference-odt
48+ -> String -- ^ OpenDocument XML contents.
4849 -> IO ()
49−saveOpenDocumentAsODT destinationODTPath sourceDirRelative xml = do
50− userDir <- getAppUserDataDirectory "pandoc"
51− userOdtExists <- doesFileExist $
52− userDir </> "data" </> "odt" </> "styles.xml"
53− refArchivePath <- if userOdtExists
54− then return $ userDir </> "data" </> "odt"
55− else getDataFileName $ "data" </> "odt"
56− refArchive <- inDirectory refArchivePath $
57− addFilesToArchive [OptRecursive] emptyArchive ["."]
50+saveOpenDocumentAsODT destinationODTPath sourceDirRelative mbRefOdt xml = do
51+ refArchive <- liftM toArchive $
52+ case mbRefOdt of
53+ Just f -> B.readFile f
54+ Nothing -> do
55+ userDataDir <- getAppUserDataDirectory "pandoc"
56+ let userRefOdt = userDataDir </> "reference.odt"
57+ userRefOdtExists <- doesFileExist userRefOdt
58+ if userRefOdtExists
59+ then B.readFile userRefOdt
60+ else getDataFileName "reference.odt" >>= B.readFile
5861 -- handle pictures
5962 let (newContents, pics) =
6063 case runParser pPictures [] "OpenDocument XML contents" xml of
src/pandoc.hs+12−2
@@ -151,6 +151,7 @@ data Opt = Opt
151151 , optXeTeX :: Bool -- ^ Format latex for xetex
152152 , optSmart :: Bool -- ^ Use smart typography
153153 , optHTMLMathMethod :: HTMLMathMethod -- ^ Method to print HTML math
154+ , optReferenceODT :: Maybe FilePath -- ^ Path of reference.odt
154155 , optDumpArgs :: Bool -- ^ Output command-line arguments
155156 , optIgnoreArgs :: Bool -- ^ Ignore command-line arguments
156157 , optStrict :: Bool -- ^ Use strict markdown syntax
@@ -188,6 +189,7 @@ defaultOpts = Opt
188189 , optXeTeX = False
189190 , optSmart = False
190191 , optHTMLMathMethod = PlainMath
192+ , optReferenceODT = Nothing
191193 , optDumpArgs = False
192194 , optIgnoreArgs = False
193195 , optStrict = False
@@ -429,6 +431,13 @@ options =
429431 "STRING")
430432 "" -- "String to prefix to HTML window title"
431433
434+ , Option "" ["reference-odt"]
435+ (ReqArg
436+ (\arg opt -> do
437+ return opt { optReferenceODT = Just arg })
438+ "FILENAME")
439+ "" -- "Path of custom reference.odt"
440+
432441 , Option "D" ["print-default-template"]
433442 (ReqArg
434443 (\arg _ -> do
@@ -582,6 +591,7 @@ main = do
582591 , optXeTeX = xetex
583592 , optSmart = smart
584593 , optHTMLMathMethod = mathMethod
594+ , optReferenceODT = referenceODT
585595 , optDumpArgs = dumpArgs
586596 , optIgnoreArgs = ignoreArgs
587597 , optStrict = strict
@@ -717,9 +727,9 @@ main = do
717727#endif
718728
719729 let writerOutput = writer writerOptions doc' ++ "\n"
720−
730+
721731 case writerName' of
722− "odt" -> saveOpenDocumentAsODT outputFile sourceDirRelative writerOutput
732+ "odt" -> saveOpenDocumentAsODT outputFile sourceDirRelative referenceODT writerOutput
723733 _ -> if outputFile == "-"
724734 then putStr writerOutput
725735 else writeFile outputFile writerOutput