The end of a path is the stroke/fill operator - NOT the next operation. -----Original Message----- From: sal salaimani [mailto:[email protected]] Sent: Wednesday, July 14, 2010 5:30 PM To: [email protected] Subject: Re: [iText-questions] object level document analyis of PDF files
Hi Leonard After referring page 113 of figure 9 of PDF32000_2008.pdf, I came up with my own heuristics to parse path object (at least major parts(line and rectangles) of chart ). I look for 'm' or 're' operators to mark beginning of path object(s) and look for BT, sh, Do, BI operators to mark end of path object(s) in a content stream of a page of pdf doc. In some cases, I get group of path objects(group of path objects and text objects make a chart). I skip content between 'BDC' and 'EMC' operators because I don't want get path objects which are marked. I use Pdfconentparser and Prtokenizer classes to implement the heuristics. How does that sound? -- View this message in context: http://itext-general.2136553.n4.nabble.com/object-level-document-analyis-of-PDF-files-tp2282895p2288939.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
