man, you have enlighten my mind, all i need is to use setLineSeparator(),
thank you very much!


On Sat, Nov 16, 2013 at 1:43 AM, Alin Mazilu <[email protected]> wrote:

> Hello,
>
> I would venture to guess that if you need to override that method you
> probably need to do something more complicated than just finding out where
> a line starts and where it ends. Because if you just need to get the
> beginning and end of each line, you can override setLineSeparator() and all
> the setXxxStart() and setXxxEnd() and then grab the "output" which is
> protected and you have access to. If you set the line separator, the
> paragraph start and end, the page start and end, etc., you can make out
> easily where the lines start and end.
>
> Perhaps if you gave a little more detail about what it is you are trying to
> accomplish, my help could be a little more meaningful. I've been using
> pdfbox for a long time in quite a few projects and I have never had the
> need to override writeLine. The library is quite well thought out.
>
> Regards,
>
> Alin
>
>
> On Fri, Nov 15, 2013 at 9:14 PM, Edson Alves Pereira <[email protected]
> >wrote:
>
> > Hello guys, i was just trying to extend PDFTextStripper to capture the
> > whole line of a page from a simple PDF and it made me face a problem, the
> > method writeLine() is private making impossible to me distinguish when
> the
> > line finish without to go down textPosition and PDF objects.
> >
> > It could be protected?
> >
> > Regards,
> > Edson
> >
>

Reply via email to