> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Frank Fischer > Sent: Thursday, February 09, 2006 9:53 AM > To: [email protected] > Subject: [iText-questions] Default cell & ruler in table > > Hi all > > I have two questions regarding itext. > > I got a little bit confused after trying to work with > PdfTable.getDefaultCell(). First i can not find that method > in the api docs
Maybe you should look in the PdfPTable class. > (but it compiles, so it's there). Second, it does not work as > i expected. I > expected that when setting attributes via getDefaultCell() > this attributes > would be taken for any cell in the table, unless a particular > attribute of a > particular cell is manually overwritten (by setting that > attribute using the > cell's setter-method). > But it seems, that, whenever i create a new cell, the settings of the > default cell are not used but instead some other (api) > default values are > used. Is that right? So this would mean, that i would have to set all > default cell params if i only want to change one param on a > particular cell? > That's explained in the PdfPTable.getDefaultCell() javadoc. > I would like to set a horizontal ruler between two table > rows, something > like: > > text in row 1 > -------------------------- > Text in row 2 > > How can this be done? > Have the top row have only a bottom border. > > Thanks a lot for your help! > > - Frank ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
