You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2015/04/20 11:22:15 UTC

svn commit: r1674769 - /xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext

Author: ssteiner
Date: Mon Apr 20 09:22:15 2015
New Revision: 1674769

URL: http://svn.apache.org/r1674769
Log:
PDF custom properties

Modified:
    xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext

Modified: xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext?rev=1674769&r1=1674768&r2=1674769&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext Mon Apr 20 09:22:15 2015
@@ -93,6 +93,21 @@ Property sets (Namespaces) not listed he
 
 -  [http://dublincore.org/](http://dublincore.org/)
 
+#PDF custom properties
+
+It is possible to add custom key/value pairs in the Info dictionary of a PDF document. Those custom properties will appear in the ‘Custom’ tab of Adobe Reader’s ‘Document Properties’ window.
+
+A pdf:info element can be added as a child of fo:declarations and contain the custom properties. For example:
+
+    :::xml
+    <fo:declarations>
+      <pdf:info xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
+        <pdf:name key="MyProperty">MyValue</pdf:name>
+        <pdf:name key="MyOtherProperty">MyOtherValue</pdf:name>
+      </pdf:info>
+    </fo:declarations>
+
+
 #PDF Page Piece
 
 Allows indexing of PDF files for tools such as IBM Content Manager OnDemand



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org