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 2020/04/21 07:55:42 UTC

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

Author: ssteiner
Date: Tue Apr 21 07:55:41 2020
New Revision: 1876775

URL: http://svn.apache.org/viewvc?rev=1876775&view=rev
Log:
Add viewer docs

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=1876775&r1=1876774&r2=1876775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/metadata.mdtext Tue Apr 21 07:55:41 2020
@@ -108,6 +108,19 @@ A pdf:info element can be added as a chi
     </fo:declarations>
 
 
+#PDF ViewerPreferences
+
+You can set PDF viewer preferences for example using:
+
+    :::xml
+    <fo:declarations>
+      <pdf:catalog xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
+       <pdf:dictionary key="ViewerPreferences">
+        <pdf:name key="Duplex">DuplexFlipShortEdge</pdf:name>
+       </pdf:dictionary>
+      </pdf:catalog>
+    </fo:declarations>
+
 There is a specific element for each possible entry type: pdf:array, pdf:boolean, pdf:name, pdf:number, pdf:string.
 For example:
 



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