Commit 67ca9d01 authored by Albert Astals Cid's avatar Albert Astals Cid

Added a DTD of the xml pdftohtml creates patch by Stefan Schweizer

parent f4df23ca
......@@ -3,6 +3,8 @@
* utils/Makefile.am:
* utils/pdftoppm.cc: Actually create pdftoppm patch by Stefan
Schweizer
* utils/pdf2xml.dtd: Added a DTD of the xml pdftohtml creates patch by
Stefan Schweizer
2006-02-02 Albert Astals Cid <aacid@kde.org>
......
......@@ -16,6 +16,8 @@ bin_PROGRAMS = \
pdftohtml \
pdftoppm
EXTRA_DIST = pdf2xml.dtd
dist_man1_MANS = \
pdffonts.1 \
pdfimages.1 \
......
<?xml version="1.0"?>
<!ELEMENT pdf2xml (page+)>
<!ELEMENT page (fontspec*, text*)>
<!ATTLIST page
number CDATA #REQUIRED
position CDATA #REQUIRED
top CDATA #REQUIRED
left CDATA #REQUIRED
height CDATA #REQUIRED
width CDATA #REQUIRED
>
<!ELEMENT fontspec EMPTY>
<!ATTLIST fontspec
id CDATA #REQUIRED
size CDATA #REQUIRED
family CDATA #REQUIRED
color CDATA #REQUIRED
>
<!ELEMENT text (#PCDATA | b | i)*>
<!ATTLIST text
top CDATA #REQUIRED
left CDATA #REQUIRED
width CDATA #REQUIRED
height CDATA #REQUIRED
font CDATA #REQUIRED
>
<!ELEMENT b (#PCDATA)>
<!ELEMENT i (#PCDATA)>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment