one more question is I would like to create a new Table class inheriting
from PdfPTable where I want to pass the values of properties to constructor
it saves me line codes. however when I have
code like
class MyTable: PdfPTable
{
void MyTable(float width, bool ascender ....)
{
this.widthinpercentage = widht;
....
}
in main class when I call
MyTable table = new MyTable(widht, true)
table.AddCell(string)
}
I get Null object reference error. what is wrong?
thax.
Ruslan.
----Original Message Follows----
From: "Paulo Soares" <[EMAIL PROTECTED]>
Reply-To: Post all your questions about iText here
<[email protected]>
To: "Post all your questions about iText here"
<[email protected]>
Subject: Re: [iText-questions] Question on tablelayout.
Date: Tue, 31 Oct 2006 16:56:39 -0000
I'm not sure what you're asking. TableLayout provides you information on
the header rows but you cannot change cell content or attributes.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ruslan KULUBAEV
> Sent: Tuesday, October 31, 2006 4:44 PM
> To: [email protected]
> Subject: [iText-questions] Question on tablelayout.
>
> Hi,
>
> I had constructed a table. Have overriden the TableLayout
> method. My table
> looks nice it has dotted border. And has two columns. My
> problem is I want
> make my table header columns spanned.
> But I can not get any reference to the cell of my first row inside
> TableLayout. I guess all table are structured prior to
> TableLayout get
> called. I mean in TableLayout referrring to examples all I
> can is to write
> using pdfContentByte. Is there anyway of doing like
>
> while ( rows < headerRows)
> {
> setcolspan();
> }
>
> regards,
> Ruslan
>
> _________________________________________________________________
> Use your PC to make calls at very low rates
> https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx
>
>
> --------------------------------------------------------------
> -----------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão
desta mensagem não significa a perca de confidencialidade. Se esta mensagem
for recebida por engano, por favor envie-a de volta para o remetente e
apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may
contain confidential or legally protected information. The incorrect
transmission of this message does not mean the loss of its confidentiality.
If this message is received by mistake, please send it back to the sender
and delete it from your system immediately. It is forbidden to any person
who is not the intended receiver to use, distribute or copy any part of this
message.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
_________________________________________________________________
Find a local pizza place, music store, museum and more
then map the best
route! http://local.live.com?FORM=MGA001
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions