That probably is the best approach. I'm generating a faculty, staff and student directory that will get updated nightly. I have everything mostly the way I want it, but now I'm going through the code to make cleaner and maintainable. iText is one GREAT tool.

-- Rob


Bruno Lowagie said the following on 01/22/2008 12:10 AM:
Rob Tanner wrote:
Hi,

In the current document I'm working on, I use a lot of tables for positioning purposes and having to set border and padding values to "0" for every one that I instantiate. How can I (can I even?) change the default values so that I only have to set them when I don't want to use my defaults?

It depends.
getDefaultCell() can help you in some cases.
Personally, I prefer working with custom utility classes
that have methods that create PdfPCell exactly the way
I want them (a cell factory).
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to