You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Aaron Mulder <am...@gmail.com> on 2016/05/29 12:53:37 UTC

Slightly higher-level functions

I'm using PDFBox to generate PDF documents.

I find that I need a few functions that are a bit higher-level than
PDF commands, yet not to the level of e.g. a report writer or
something.  Things like drawing circles (or fourths of a circle),
fitting text into a rectangle by shrinking the font and/or wrapping
the text (and clipping to the rectangle), and laying out text in a
table with a border.

It seems like these functions may be reusable / of interest to others.
Is there any interest in including some features like that in PDFBox
itself?  Or are you aware of any wrapper libraries that are just a
small step up from the raw PDF commands that might be a fit?

Thanks,
      Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: Slightly higher-level functions

Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi,


> Am 29.05.2016 um 14:53 schrieb Aaron Mulder <am...@gmail.com>:
> 
> I'm using PDFBox to generate PDF documents.
> 
> I find that I need a few functions that are a bit higher-level than
> PDF commands, yet not to the level of e.g. a report writer or
> something.  Things like drawing circles (or fourths of a circle),
> fitting text into a rectangle by shrinking the font and/or wrapping
> the text (and clipping to the rectangle), and laying out text in a
> table with a border.
> 
> It seems like these functions may be reusable / of interest to others.
> Is there any interest in including some features like that in PDFBox
> itself?

some higher level drawing functions such as circle might land in PDFBox as part of the work to enhance appearance generation for annotations and AcroForms. See https://issues.apache.org/jira/browse/PDFBOX-3353

> Or are you aware of any wrapper libraries that are just a
> small step up from the raw PDF commands that might be a fit?

https://github.com/dhorions/boxable is built on top of PDFBox offering table capabilities.

> 
> Thanks,
>      Aaron
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org