You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by lazy song <la...@foxmail.com> on 2019/07/29 06:14:30 UTC
How to Create a Table by pdfbox
Hi guys:
I want to ask you a question on how to create a table using pdfbox.
It seems that we can only draw a table cell by cell in the example(CreateSimpleForm.java for example) you provided.
So do you have a more convenient way to create a table in pdfbox? If it does exist, could you please tell me that?
Best Regards
Thank you
Not able read/highlight the correctly using PDFBox 2.0.13
Posted by CM Reddy <ma...@netisoftware.com>.
Hi All,
We had extended the algorithm in the following link to highlight text
for PDFBox 2.x version.
Link:https://gist.github.com/joelkuiper/331a399961941989fec8It was
originally written for PDFBox 1.8.x.
For some documents, it failed to highlight the given text. On debugging,
we found that, it could not match the text in that page due to
characters "ffi" present in the search string.
Complete search string is:
"efficiently. Fast trigger mechanisms are needed to curate events of
interest online and\nsensitive statistical tools are needed to extract
as much"
Actually, the above string is present in the PDF file. However, we can
highlight the sub string, after removing the first characters in the
search string.
Thanks in advance.
- CM
Re: How to Create a Table by pdfbox
Posted by Tilman Hausherr <TH...@t-online.de>.
The form example is for forms. A table, e.g. for an invoice, is
something different. PDFBox itself can only draw lines / boxes etc. But
there are products on top of PDFBox that you can try, e.g. Boxable or
easytable.
Tilman
Am 29.07.2019 um 08:14 schrieb lazy song:
> Hi guys:
>
> I want to ask you a question on how to create a table using pdfbox.
> It seems that we can only draw a table cell by cell in the example(CreateSimpleForm.java for example) you provided.
> So do you have a more convenient way to create a table in pdfbox? If it does exist, could you please tell me that?
>
> Best Regards
> Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org