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">¶</a></h1>
+<p>You can set PDF viewer preferences for example using:</p>
+<div class="codehilite"><pre><span class="nt"><fo:declarations></span>
+ <span class="nt"><pdf:catalog</span> <span class="na">xmlns:pdf=</span><span class="s">"http://xmlgraphics.apache.org/fop/extensions/pdf"</span><span class="nt">></span>
+ <span class="nt"><pdf:dictionary</span> <span class="na">key=</span><span class="s">"ViewerPreferences"</span><span class="nt">></span>
+ <span class="nt"><pdf:name</span> <span class="na">key=</span><span class="s">"Duplex"</span><span class="nt">></span>DuplexFlipShortEdge<span class="nt"></pdf:name></span>
+ <span class="nt"></pdf:dictionary></span>
+ <span class="nt"></pdf:catalog></span>
+<span class="nt"></fo:declarations></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"><fo:declarations></span>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org