Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2014, 11:03 PM   #1
abuck
Member
abuck began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2013
Device: playbook
Using the custom properties on pdf

Hey guys,

Is there any way to write (or read) new custom properties on a PDF ? Seems that I can create a custom property in calibre but it doesn't use the PDF custom properties field...

If I open adobe reader, go to file -> properties -> Custom.

Here's an example:

Link: http://postimg.org/image/7duc4ih5z/
abuck is offline   Reply With Quote
Old 10-06-2014, 11:39 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre custom column metadata is stored in XMP metadata in the PDF. Try the following experiment.

Save the PDF to disk using the calibre save to disk button. Then re-import it, and you will see that it has all custom column values.
kovidgoyal is online now   Reply With Quote
Advert
Old 10-07-2014, 01:24 AM   #3
abuck
Member
abuck began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2013
Device: playbook
Quote:
Originally Posted by kovidgoyal View Post
calibre custom column metadata is stored in XMP metadata in the PDF. Try the following experiment.

Save the PDF to disk using the calibre save to disk button. Then re-import it, and you will see that it has all custom column values.
Yup, I could even see the xml generated from the XMP too, which is great. However, it would be nice to have access to the native pdf property so we could use adobe to look at them or just store some stuff up.

Adobe doesn't allow you to modify/view the XMP, only the custom property...
abuck is offline   Reply With Quote
Old 10-07-2014, 02:17 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no way to map calibre custom columns to adobe custom properties, the latter are not flexible enough.

And IIRC, if you use one of the Adobe PRO tools you can view/edit the XML metadata.
kovidgoyal is online now   Reply With Quote
Old 10-07-2014, 09:42 AM   #5
abuck
Member
abuck began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2013
Device: playbook
Quote:
Originally Posted by kovidgoyal View Post
There is no way to map calibre custom columns to adobe custom properties, the latter are not flexible enough.

And IIRC, if you use one of the Adobe PRO tools you can view/edit the XML metadata.
Agreed, however, to me, custom columns and custom properties are different. Leaving the custom columns in the XMP make sense, as it's really calibre specific columns. However, what I'm saying is that we should have the ability to use the adobe custom properties as well. For example, there is no way to "import" nor "export" to adobe custom properties in calibre.

The reason I say this is that I'm using it for some stuff (adobe custom property) and at this time, there is no way to view the data in any kind of form through calibre (let me know if there is a way somehow).
abuck is offline   Reply With Quote
Advert
Old 10-07-2014, 10:38 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm afraid adding support for format specific metadata extensions is not a road I want to go down.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF custom zoom sajmon5544 Amazon Kindle 0 09-06-2011 11:35 AM
Custom PDF files for Kindle lyrx Kindle Developer's Corner 22 11-29-2010 01:45 PM
Kindle 3 - Custom Zoom for PDF needlz Kindle Developer's Corner 3 10-10-2010 06:35 AM
How to view pdf with custom app pantone Calibre 2 10-05-2010 11:47 AM
Changing pdf properties Puddytat purr PDF 2 02-22-2008 09:27 AM


All times are GMT -4. The time now is 08:23 AM.


MobileRead.com is a privately owned, operated and funded community.