1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
|
---|
3 | "concept.dtd">
|
---|
4 | <concept id="odtdefault" xml:lang="en-us">
|
---|
5 | <title>Open Document Format processing modules</title>
|
---|
6 | <shortdesc>The <option>odt</option> transformation creates a binary file using the OASIS Open
|
---|
7 | Document Format. </shortdesc>
|
---|
8 | <conbody>
|
---|
9 | <section><p>The <option>odt</option> transformation begins with pre-processing. It then runs either the
|
---|
10 | <codeph>dita.odt.package.topic</codeph> or <codeph>dita.odt.package.map</codeph> target, depending
|
---|
11 | on whether the input to the transformation is a DITA topic or a DITA map. The following description
|
---|
12 | focuses on the map process, which is made up of the following targets:<dl>
|
---|
13 | <dlentry>
|
---|
14 | <dt><codeph>dita.map.odt</codeph></dt>
|
---|
15 | <dd>Converts the map into a merged XML file using the Java-based <codeph>topicmerge</codeph> module.
|
---|
16 | Then an XSLT process converts the merged file into the <filepath>content.xml</filepath> file.</dd>
|
---|
17 | </dlentry>
|
---|
18 | <dlentry>
|
---|
19 | <dt><codeph>dita.map.odt.stylesfile</codeph></dt>
|
---|
20 | <dd>Reads the input DITA map, and then uses XSLT to create a <filepath>styles.xml</filepath> file in
|
---|
21 | the temporary directory.</dd>
|
---|
22 | </dlentry>
|
---|
23 | <dlentry>
|
---|
24 | <dt><codeph>dita.out.odt.manifest.file</codeph></dt>
|
---|
25 | <dd>Creates the <filepath>manifest.xml</filepath> file</dd>
|
---|
26 | </dlentry>
|
---|
27 | </dl></p>
|
---|
28 | <p>Once these targets have run, the generated files are zipped up together with other required files
|
---|
29 | to create the output ODT file.</p></section>
|
---|
30 | </conbody>
|
---|
31 | </concept>
|
---|