hi, I am evaluating Itext for building a report (XML - PDF). I am able to build most part of it but there some problems while drawing lines & printing headers.
My report format is like this : Status : Assigned ------------------------------------------------------------------------ ---------------------------------------------------------------------- id : 1201 Submitted by: Herman, Pete Submitted: 01/02/02 blah blah blah ------------------------------------------------------------------------ ----------------------------------------------------------------------- id : 1202 Submitted by: Waugh, Steve Submitted: 01/02/02 blah blah blah ------------------------------------------------------------------------ ----------------------------------------------------------------------- Status : Impact id : 1201 Submitted by: Herman, Pete Submitted: 01/02/02 blah blah blah ------------------------------------------------------------------------ ----------------------------------------------------------------------- Now whenever I am on a new page I have to print the "STATUS" and a line below it. The problem is a) how do i get the current "STATUS" value in the onStartPage (PdfWriter writer, Document document) Event / Method. i.e How do I use PdfWriter / document to access the data ?. b) Is it possible to access the XML tags in these Events. if so How?. c) I am drawing a line using <horizontalrule /> tag, but I cannot alter its width. Is it possible to draw lines using XML tags?. d) how do I use generic tag functionality in XML. ex. (<SPEAKER generictag = "" >Status</SPEAKER>) so that I can trap the generic tag event and customize the page?. I have seen Chap 1201 example and have used it to build the footer of my page dynamically . But how do I use it to access tags ("STATUS")? I tried using Chapters & Sections. but it doesn't let me use <horizontalrule /> inside these tags. Thanks In Advance Shrikant. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions