diff options
Diffstat (limited to 'tests/poppler/utils/pdf2xml.dtd')
-rw-r--r-- | tests/poppler/utils/pdf2xml.dtd | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/poppler/utils/pdf2xml.dtd b/tests/poppler/utils/pdf2xml.dtd new file mode 100644 index 00000000..1afa4fe9 --- /dev/null +++ b/tests/poppler/utils/pdf2xml.dtd @@ -0,0 +1,28 @@ +<?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)> |