On Thu, 17 Jun 2010 09:53:13 +0200, Michal Hocko <[email protected]> wrote:
> On Thu, Jun 17, 2010 at 09:50:36AM +0200, Jozef Misutka wrote: >> On Thu, 17 Jun 2010 09:26:34 +0200, Michal Hocko <[email protected]> >> wrote: >> >> >Hi, >> > >> >On Thu, Jun 17, 2010 at 09:32:18AM +0930, Thiele, Nicholas (TA) wrote: >> >> >> >>I'd like to know if PDFedit (library or GUI) can be used to edit the >> >>meta data fields (e.g. Title, Author, Subject, Keywords, Creator) of >> >>an existing PDF document and then re-save. >> > >> >Yes, this functionality is implemented in the library. There is no >> >GUI/scripting for it though. >> >> You should be able to use our GUI and to find those items in the >> object tree (if they are already there) and edit them. This is a >> cumbersome process though. > > Trailer is not in the object tree AFAIK. Sadly, I am also not sure now but despite the fact that trailer is not there, you should be able to display all referenced objects and metadata are usually common pdf objects or? and metadata represented by stream object are accessible as they are in catalog dictionary. however edit them may be even more cumbersome than to find them. so in the end michal was right. it is too difficult so let's just claim we do not support it ;) jozo > >> >> jozo >> >> > >> >>I've had a look through the documentation and couldn't find any >> >>info on this. >> >> >> >>Any assistance would be appreciated, >> > >> >CPdf::changeTrailer function is what you are looking for. You simply >> >need to open a file by CPdf::getInstance and then use the above method >> >to add/edit metadata you are mentioning. >> > >> >Please see also README for information about how to use the library or >> >feel free to ask if something is not clear. >> > >> >>Nic >> >> >> >> >> > >> >> >> -- >> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
