WMJ - Your comment about "requiring lots of classes" makes me think that maybe you are trying to interact with the low level PdfContentStreamProcessor, instead of registering a RenderListener? I'm wondering if you might be trying to use the wrong level of the architecture.
There is a hierarchy of event handlers, starting at the lowest level (handling each individual content stream command). These, in turn, fire drastically consolidated events on a registered RenderListener (right now, there are events for drawing text and drawing images. Support for drawing paths is in the works). The events received by the listener are much, much more consolidated than if you were trying to look at every event in the PDF content stream. No doubt, it is still event based, but you are looking at a listener interface with a small number of callback methods on it. It generally requires only one class implementing the listener interface to get what you want. Wrapping a DOM generator around the RenderListener interface is a trivial activity, which is why we have been a bit puzzled by the comments about how hard the current implementation is to work with... - K -- View this message in context: http://itext-general.2136553.n4.nabble.com/Save-PDF-as-plain-text-tp4041246p4086380.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
