Expose a few functions from fpdf_text.h for getting text on a page.
Hi, this exposes some of the FPDFText_* functions which are useful for getting text. Thanks.
What is the purpose of nativeBitmapFillRect() function? You can fill bitmap with color using Android API
My impression was that FPDFBitmap_FillRect would fill in between the text and the background layer which I believe would be difficult to do after the bitmap has been rendered by FPDF. Maybe I missed something?
There are no layers, this just a bitmap. FillRect will fill given region with given color
I just realized that I didn't mean to include the FillRect in the pull request anyway because I hadn't really tested it. I removed the FillRect commit from this PR. The other commit was tested. How does that one look?
Thank you for your work, I will review commit source and add it to next release
@johngray1965 is right, we don't need the extra class. I removed it for RectF and pushed the commit.
Is this feature still in the Works? We would like to use this with Pdfium. Thanks.
I've been using this branch, I'd love to see it get merged.
-
Is it needed to clear mNativeTextPagesPtr and call nativeCloseTextPages for each of them when disposing?
-
And I wonder why openTextPage calls openPage also. Are textPages different from usual pages?(why does it load usual pages too?)
-
What does 'length' mean in textPageGetBoundedText? How long do you recommend for me?