rasool,

rasool wrote
> So you mean I can parse pdfs line by line and add line separator between
> each line?

Allow me to quote my message:

mkl wrote
> The trouble starts with lines being a concept not necessarily present in
> PDFs

All of what you perceive as a line might be represented as a single string
with start position in the PDF, as a sequence of positioned strings coming
one after the other in the right order, or as several positioned strings
with other strings inbetween in a seemingly random order.

Thus, your task involves foremost recognizing which of the positioned
strings form a line (this is already present in existing strategies, it may
be improved, though), repositioning everything that according to its
position comes later, and handling page breaks.

Later, you will have to try and recognize footer and header lines, handle
multiple columns and graphics inbetween, possibly with irregular outlines
along which the "lines" are arranged, and consider writings in different
directions. And more...

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Manipulate-and-break-existing-lines-tp4658132p4658150.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Reply via email to