I'm looking at the source code and iText seems to scale the widths array
to fit the previously created table :)

thanks :)
Mattia

> -----Original Message-----
> From: Mattia Dongili 
> Sent: Tuesday, March 12, 2002 10:51 AM
> To: '[EMAIL PROTECTED]'
> Subject: cells width question
> 
> 
> hi,
> I'm working on small library to create PDF files from an HTML 
> source (once it will be stable enough I'd like to add the 
> package to iText if Paulo and Bruno agree).
> 
> I'm now building PDF tables (PDFPTable/PDFPCell) using HTML 
> <table>,<tr>,<td> tags and their properties.
> I will accept table witdhs in percentage only, because 
> pixel/point resizing doesn't make a lot of sense... 
> 
> And here's the question:
> I'm trying to specify the column witdhs and I'd like to know 
> how cell widths are manged:
> having for example a 100% table (setWidthPercentage(100)) 
> what happens to an array of widths {220,40,40,70,100} ?
> is iText scaling down all the widths to fit the table?
> or do I need to scale them and only then issue a setWidths()?
> 
> I hope I've been able to explain.. :)
> 
> thanks for the good job,
> Mattia
> 

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to