You ask:
=============================
I assume your question concerns the following :


> The s.o.p. for the getTotalHeight always returns zero.
>
> Does anyone have any suggestions? Do you need more information? Thanks 
in
> advance - dan fox
>

I can't tell for sure (I have no time to run your code, nor to make my own
tests), but wouldn't it be because you you create your table with 4 
columns,
but only add one cell actually?
=============================

It would be nice to know why the getTotalHeight returns zero. I'm using 
that as a cross-check to see if there's any content in my assembled header 
or sub-table. It always returns zero; I'm beginning to think that this 
isn't the way to check if there's real content in the assembly. 

The addcell() was taken out of the the master document assembly function 
where it seems to work well. The master table was generated by the same 
create4columntable() call as each piece of it (with some exceptions) and 
it appears that if you add a well-formed table as a cell into a table that 
the result will render as you'd want it to. In this case the internal .pdf 
generator in iText will only page-break on those subtable boundaries and 
not on any random table row. Also it borders each sub-table in a black 
line but that's not a concern at this time. 

I do take care to count the cells and add complete rows to each subtable 
as it's formed, or use the table.completerow() fcn to do so for me. 

Sorry if these answers aren't too articulate. I'm doing maintenance on 
something someone else wrote and this was just put on me last week. I 
bought the book but still have some learning to do. 


Daniel Fox
CDX
Verify / OTAQ / ODS / CROMERR
(and others as needed)
CSC

8400 Corporate Drive, Suite 150  New Carrollton, MD  20785
EPA CDX Program I p: 1-301-429-5081 I f: 301-429-4860 I d...@csc.com I 
www.csc.com

This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to 
any order or other contract unless pursuant to explicit written agreement 
or government initiative expressly permitting the use of e-mail for such 
purpose.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to