Hi, Yes, the header(a text with logo) should be printed on every page. Actually it's not more of a header. I would consider it as a title of the document( since it's also printed in big fonts). The only difference between the 1st page and that of the succeeding pages is that the title of first page looks like:
LOGO( a gif file, right justified) TICKET DESIGNATOR - REVISION ID (in big fonts, centered, next line after the logo) <paragraphs here> AND the succeeding pages would look like LOGO( a gif file, right justified) TICKET DESIGNATOR - REVISION ID continued... (in big fonts, centered, next line after the logo, font of size approximately 20pt) <paragraphs here> So in effect it's actually a title... Can this be done using header/footer.. Thanks a lot... I appreciate your reply.... Ronald --- Mark Hall <[EMAIL PROTECTED]> wrote: > On Thursday 13 January 2005 03:07, Rex Ramos wrote: > > I really need your help. A friend suggested me to > > use Itext for rtf file generation. But while I was > > using it I encountered a difficulty in doing this: > I > > need to redisplay a header/title(a text with > > logo)-with 'continued..' also displayed in the > > succeeding pages...Is it possible to use the > > HeaderFooter for this? how can i make the gray > color > > of the header disappear? > I'm not quite clear what you want exactly. Do you > want this header to be > displayed on all pages? Do you only want it on > certain pages? HeaderFooter > will suffice for headers on all pages. For more > complex headers/footers you > will need the RtfHeaderFooter. The tutorials have > details on both: > Old:http://www.lowagie.com/iText/tutorial/index.html > New: http://itext.sourceforge.net/tutorial/ > > The grey colour is a Word feature. To distinguish > the header/footer from the > rest of the document while editing it is greyed. Try > printing it. The text > will be printed in black (or whatever colour you > selected). > > > I mean it has to be printed like a normal text in > > the document. > > I've also tried to check the page number but the > > getpagenumber method only appears in PdfWriter and > > not in RtfWriter. > This is because the RtfWriter does not actually > render the rtf document. This > is done by the viewer (Word). > > > or is there a way for me to check if the document > > reaches the last line of the page so i could just > > easily re-print the title/header everytime it > reaches > > it. > No. See above. > > > Also, i've read that ican be done by event action > but > > rtf has none? > > I was planning to have it as an event action but > > there's no corresponding actions in rtf.... > > -- > "There is such a fine line between genius and > stupidity." > - David St. Hubbins, "Spinal Tap" > > My GPG public key is available at: > http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
