[poppler] page::raw_text() for poppler-cpp

Pino Toscano pino at kde.org
Wed Sep 15 08:33:09 PDT 2010


Hi,

Alle mercoledì 15 settembre 2010, suzuki toshiya ha scritto:
> Attached patches are the introduction of new method
> to access raw text via poppler-cpp binding.
> I wish some maintainer of poppler-cpp can review it.

Sure, although I reworked them a bit.

> poppler-0.15.0_cpp-lib.diff
> patch to declare new method and its implementation

This is now a new page::text() overload which takes an enum with the 
text layout type.

> Also I extended cpp/tests/poppler-dump to compare
> page::text() method and page::raw_text().
> 
> poppler-0.15.0_cpp-tests.diff
> patch to add new options to poppler-dump, "--show-texts"
> and "--raw".

Instead of two switches, now there is just one,
  --show-text physical|raw

Thanks for the work!

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20100915/6367da4a/attachment.pgp>


More information about the poppler mailing list