Works for me using itext-paulo-110. You'll only see the Author in the
document properties but the other tag is also in the file.

Best Regards,
Paulo Soares

----- Original Message -----
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 0:14
Subject: [iText-questions] addAuthor and addHeader not showing up in
document properties


Any idea how that could happen?

   document = new Document( new com.lowagie.text.Rectangle( 0, 0,
        (float) rtfDoc.getHeader().getPaperWidth() / 20.0f,
        (float) rtfDoc.getHeader().getPaperHeight() / 20.0f ),
        (float) rtfDoc.getHeader().getLeftMargin() / 20.0f,
        (float) rtfDoc.getHeader().getRightMargin() / 20.0f,
        (float) rtfDoc.getHeader().getTopMargin() / 20.0f,
        (float) rtfDoc.getHeader().getBottomMargin() / 20.0f );

   // put our info in the doc
   document.addAuthor( "Windward Reports " + ProcessReport.VERSION_MAJOR
+
      "." + ProcessReport.VERSION_MINOR + "." +
ProcessReport.VERSION_RELEASE );
   document.addHeader( "WindwardReports.data", "Windward Reports
version: " + ProcessReport.VERSION_MAJOR +
      "." + ProcessReport.VERSION_MINOR + "." +
ProcessReport.VERSION_RELEASE );





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to