You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by bu...@apache.org on 2020/04/21 07:57:36 UTC

svn commit: r1059656 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/trunk/metadata.html

Author: buildbot
Date: Tue Apr 21 07:57:36 2020
New Revision: 1059656

Log:
Staging update by buildbot for xmlgraphics

Modified:
    websites/staging/xmlgraphics/trunk/content/   (props changed)
    websites/staging/xmlgraphics/trunk/content/fop/trunk/metadata.html

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 21 07:57:36 2020
@@ -1 +1 @@
-1876517
+1876775

Modified: websites/staging/xmlgraphics/trunk/content/fop/trunk/metadata.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/trunk/metadata.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/trunk/metadata.html Tue Apr 21 07:57:36 2020
@@ -752,6 +752,18 @@ h2:hover > .headerlink, h3:hover > .head
 </pre></div>
 
 
+<h1 id="pdf-viewerpreferences">PDF ViewerPreferences<a class="headerlink" href="#pdf-viewerpreferences" title="Permanent link">&para;</a></h1>
+<p>You can set PDF viewer preferences for example using:</p>
+<div class="codehilite"><pre><span class="nt">&lt;fo:declarations&gt;</span>
+  <span class="nt">&lt;pdf:catalog</span> <span class="na">xmlns:pdf=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/pdf&quot;</span><span class="nt">&gt;</span>
+   <span class="nt">&lt;pdf:dictionary</span> <span class="na">key=</span><span class="s">&quot;ViewerPreferences&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;pdf:name</span> <span class="na">key=</span><span class="s">&quot;Duplex&quot;</span><span class="nt">&gt;</span>DuplexFlipShortEdge<span class="nt">&lt;/pdf:name&gt;</span>
+   <span class="nt">&lt;/pdf:dictionary&gt;</span>
+  <span class="nt">&lt;/pdf:catalog&gt;</span>
+<span class="nt">&lt;/fo:declarations&gt;</span>
+</pre></div>
+
+
 <p>There is a specific element for each possible entry type: pdf:array, pdf:boolean, pdf:name, pdf:number, pdf:string.
 For example:</p>
 <div class="codehilite"><pre><span class="nt">&lt;fo:declarations&gt;</span>



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