API status of low-level PDF text rendering classes
- From: Damien Drix <damien.drix (at) graphane.com>
- Date: Wed, 08 Nov 2006 14:02:34 +0100
Hello,
In my application, I needed greater control over the rendering of text
than the standard high-level iText API allows. For example, I had to
support several line spacing modes, text wrapping around an arbitrary
shape, etc.
To this end, I've been using low-level text processing classes such as
BidiLine, PdfLine and PdfChunk (and also,
PdfDocument.writeLineToContent()). As some of the required methods were
protected or package-private, I had to declare one of my paragraph
rendering classes as part of the com.lowagie.text.pdf package (luckily,
the iText jar is not sealed).
It works perfectly well, but one is always a bit reluctant to use
non-public members, and I think the low-level iText API would benefit
from the text processing tools being made public.
Do you think that could be done in a future release? This part of the
code seems to be already quite mature and of API-grade quality, so it
could be a simple matter of changing access permissions. Of course, this
is not at all an urgent request, just a suggestion ;)
Best Regards,
Damien Drix
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions