Ok, so I read through the documentation looking for the answer, I
couldn't find it there. Hopefully this won't get a [newbie] tag!
Note: I'm using iText-2.1.7.jar
Anyways, my problem is that the HeaderFooter class doesn't display
footer information like I think it should.
Basically, I'm trying
If you search through this mailing list for HeaderFooter, you'll find
many posts similar to this one, posted two weeks ago:
http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg45755.html
That should point you in the right direction.
---mr. bean
Mark Davidson-5 wrote:
Ok,
Hi!
Why does Paragraph alignment doesn't work if you a add a Paragraph in a HeaderFooter?
Here is a chunk of the sample code:
// create the header
Paragraph header = new Paragraph(Title 1, FontFactory.getFont(
HeiseiKakuGo-W5, UniJIS-UCS2-HW-H, BaseFont.NOT_EMBEDDED,
Quoting Ricky M. Codizar [EMAIL PROTECTED]:
Hi!
Why does Paragraph alignment doesn't work if you a add a Paragraph in a
HeaderFooter?
Because the alignment has to be set with HeaderFooter.setAlignment().
Internally HeaderFooter keeps a membervariable with a Phrase.
All objects are added to
Quoting Ricky M. Codizar [EMAIL PROTECTED]:
How can I possibly solve my problem?
I tried setting the Header twice but it overrides the 1st header e.g.:
document.setHeader(header);
document.setHeader(subheader);
This is expected behaviour.
You should subclass HeaderFooter and change the
Thanks Bruno I will try it!
I still have another question: Is it possible to set the Horizontal alignment of a
paragraph to a right justify?
Thanks.
Bruno さんは書きました:
Quoting "Ricky M. Codizar" [EMAIL PROTECTED]:
How can I possibly solve my problem?
Quoting Ricky M. Codizar [EMAIL PROTECTED]:
Hi Bruno! I'm sorry I'm in a hurry to finished my module using iText.
Here is an example layout of I what to achieve:
Creation Date: 03/18/2003
Author: r
I want the column to
Thanks Bruno...I will try both and implement which will be easier for me.
Till next time.
Bruno さんは書きました:
Quoting "Ricky M. Codizar" [EMAIL PROTECTED]:
Hi Bruno! I'm sorry I'm in a hurry to finished my module using iText.
Here is an example layout of