Leonard, 

How would I modify the XML-based metadata?

Jason

-----Original Message-----
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 29, 2004 9:20 AM
To: Jason Us; [EMAIL PROTECTED]
Subject: Re: [iText-questions] ModData/CreationDate

At 08:32 AM 4/29/2004, Jason Us wrote:
>I am using MoreInfo to set metadata in a PDF.
>
>metadata.put( new String("CreationDate"), 
>dateManipulator.foratDateAcrobat(currentTimeStamp));
>metadata.put( new 
>String("ModDate"),
dateManipulator.foratDateAcrobat(currentTimeStamp));
>pdfStamper.setMoreInfo( this.metaData );
>
>These dates show up fine if I look at the PDF in acrobat reader.
However 
>when I look in Acro Pro, the dates displayed
>are the original dates from the template I use to create the PDF, via
an 
>fdf merge.
>

         Acrobat 6 (Reader and Pro) and later prefer to read information

from the XML-based metadata block inside of a PDF, INSTEAD of the simple

/Info metadata that you are changing with the metadata & setMoreInfo()
methods.

         As such, you will need to either modify the XML-based metadata
AS 
WELL or simply remove it from the PDF to avoid the conflict.


Leonard

------------------------------------------------------------------------
---
Leonard Rosenthol
<mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)




STATEMENT OF CONFIDENTIALITY 

This e-mail message, including any attachments, is for the sole use of the intended 
recipient(s) and may include privileged or otherwise confidential information.  Any 
unauthorized review, forwarding, printing, copying, use, disclosure or distribution is 
strictly prohibited and may be unlawful.

If you received this message in error, or have reason to believe you are not the 
intended recipient, please contact the sender by reply e-mail and destroy all copies 
of the original message.

Reply via email to