Output Files
single file
In default mode, PDFdeconstruct will generate a single XML file with the following structure.
doc.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<info>...</info>
<outline>...</outline>
<page>...</page>
<page>...</page>
...
<resources>...</resources>
</pdf>
separate resources
With the-sepres
option, the page
elements are moved into a separate XML file.
doc.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<info>...</info>
<outline>...</outline>
<resources>...</resources>
</pdf>
pages.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<page>...</page>
<page>...</page>
...
</pdf>
separate pages
With the-seppages
option, each page
element is moved into its own XML file.
doc.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<info>...</info>
<outline>...</outline>
<resources>...</resources>
</pdf>
page000001.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<page>...</page>
</pdf>
page000002.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<pdf>
<page>...</page>
</pdf>
and so on for each remaining page.