Hi Dmitry
On 28 May 2013 16:42, Dmitry Katsubo <dm...@mail.ru> wrote:
> Hi Alexis,
>
> On 28.05.2013 12:16, Alexis Pigeon wrote:
> > Hi Dmitry,
> >
> > Do you really need the StringBuffer? Or could you do with the
> > stringified version through getResultantText() ?
> >
> >
> http://api.itextpdf.com/itext/com/itextpdf/text/pdf/parser/SimpleTextExtractionStrategy.html#getResultantText%28%29
>
> I really want to access StringBuffer, because I want to process images
> and append OCR'ed text to it. Scenario is:
>
> ... plain text ...
> ... image ...
> ... plain text ...
>
> Protected getter is also an option, but I think it will be more code for
> no gain.
>
> getResultantText() is not an option, because it returns the accumulated
> text, and I need to inject something in the middle.
>
That's what I suspected. Just wait for the iText developers to pick up the
request then...
Cheers,
alexis
------------------------------------------------------------------------------
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_may
_______________________________________________
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