PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 9:48 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 12, 2009 2:58 pm 
Offline

Joined: Mon Oct 12, 2009 2:50 pm
Posts: 2
Hi there,

I am new in this forum and just tomorrow began to discover PDFSharp. Can anybody tell me if the library can edit Document's Info (Creator, Author, etc...) without resaving the hole document. I have the big pdf docs (> 35 MB) and it takes too much time to process those huge files.

Thanks for the answers in advance


--
Best Regards,
Murat


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 12, 2009 3:48 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!

Read-Edit-Rewrite - that's how PDFsharp works.

AFAIK this information is embedded in PDF with the space it requires.
If you make these strings longer, the PDF file must be re-arranged - and that'll take time with any tool.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 13, 2009 2:43 pm 
Offline

Joined: Mon Oct 12, 2009 2:50 pm
Posts: 2
Thanks for the answer. It's pity that this capability is not supported. We are writing the PDF management tool which will extensively use PDF's Document Information Dictionary so this feature is highly important for me.

Just imagine that we need to update the PDF Keywords for a large file, say 70Mb. So we need to read to buffer, update the info, and rewrite the original file with this buffer. I guess for 70 mb file this will takes to much time. And the worse things is in case of any failure during saving a customer might loss the file. If we store a file original copy during this operation this also increase our processing time...

BTW does anybody knows what separators used to split keywords in PDF:Keywords? I haven't found any mention about this in PDF Reference 1.6 by Adobe and faced with the files with keywords separated by comma and spaces as well...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 376 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group