Thomas McKay writes: > What I have in mind is being able to save an PDF file in XML format > and then exactly recreate that PDF from the XML. Does anyone else see > the need for this?
This would be nice, but it is impossible the way you see it. > To date, there are some fundamental pieces missing from the XML. But they are being completed bit by bit: Images in tables, nested tables,... > By extending the Document class and using the MarkupAttributes I can > add new values (Not sure what the MarkupAttributes were originally > meant for and if this will conflict with anything.) When Matt Benson contributed the MarkupAttributes-code, I integrated this Markup functionality with the intention to use it for XML too. > Another area is the direct use of PdfContentByte. > I figure I can write out XML to reconstruct the calls to > PdfContentByte as well. I think this is a bad idea. Don't mix lowlevel PDF functionality with highlevel objects too much. Maybe we should split the library to make this clear to the users: 1. iText: with high level and low level objects 2. ? : a library that uses iText to convert XML to PDF > Any thoughts on this? I will probably add a High Level object called 'Label' to put some text in a Rectangle on an absolute position, but I don't think I will go much further. _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
