[poppler] poppler/utils: Makefile.am,1.5,1.6 pdf2xml.dtd,NONE,1.1

Albert Astals Cid aacid at freedesktop.org
Sat Feb 4 12:31:02 PST 2006


Update of /cvs/poppler/poppler/utils
In directory gabe:/tmp/cvs-serv27824/utils

Modified Files:
	Makefile.am 
Added Files:
	pdf2xml.dtd 
Log Message:
Added a DTD of the xml pdftohtml creates patch by Stefan Schweizer


Index: Makefile.am
===================================================================
RCS file: /cvs/poppler/poppler/utils/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile.am	4 Feb 2006 20:07:08 -0000	1.5
+++ Makefile.am	4 Feb 2006 20:31:00 -0000	1.6
@@ -16,6 +16,8 @@
 	pdftohtml				\
 	pdftoppm
 
+EXTRA_DIST = pdf2xml.dtd
+
 dist_man1_MANS =				\
 	pdffonts.1				\
 	pdfimages.1				\

--- NEW FILE: pdf2xml.dtd ---
<?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)>



More information about the poppler mailing list