xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r842097 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/1.1/embedding.html
Date Thu, 13 Dec 2012 10:58:11 GMT
Author: buildbot
Date: Thu Dec 13 10:58:11 2012
New Revision: 842097

Log:
Staging update by buildbot for xmlgraphics

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

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec 13 10:58:11 2012
@@ -1 +1 @@
-1421212
+1421220

Modified: websites/staging/xmlgraphics/trunk/content/fop/1.1/embedding.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.1/embedding.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.1/embedding.html Thu Dec 13 10:58:11
2012
@@ -556,78 +556,77 @@ Disable <strong>strict validation</stron
 <ul>
 <li>
 <p>The <strong>base URL</strong> to use when resolving relative URLs. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setBaseURL</span><span class="o">(</span><span
class="s">&quot;file:///C:/Temp/&quot;</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setBaseURL</span><span class="o">(</span><span
class="s">&quot;file:///C:/Temp/&quot;</span><span class="o">);</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set the <strong>producer</strong> of the document. This is metadata
information that can be used for certain output formats such as PDF. The default producer
is "Apache FOP". Example:</p>
-<div class="codehilite"><pre>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setProducer</span><span class="o">(</span><span
class="s">&quot;MyKillerApplication&quot;</span><span class="o">);</span>
 </pre></div>
 
 
-<p><code>userAgent.setProducer("MyKillerApplication");</code></p>
 </li>
 <li>
 <p>Set the <strong>creating user</strong> of the document. This is metadata
information that can be used for certain output formats such as PDF. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setCreator</span><span class="o">(</span><span
class="s">&quot;John Doe&quot;</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setCreator</span><span class="o">(</span><span
class="s">&quot;John Doe&quot;</span><span class="o">);</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set the <strong>author</strong> of the document. This is metadata information
that can be used for certain output formats such as PDF. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setAuthor</span><span class="o">(</span><span
class="s">&quot;John Doe&quot;</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setAuthor</span><span class="o">(</span><span
class="s">&quot;John Doe&quot;</span><span class="o">);</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Override the <strong>creation date and time</strong> of the document.
This is metadata information that can be used for certain output formats such as PDF. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setCreationDate</span><span class="o">(</span><span
class="k">new</span> <span class="n">Date</span><span class="o">());</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setCreationDate</span><span class="o">(</span><span
class="k">new</span> <span class="n">Date</span><span class="o">());</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set the <strong>title</strong> of the document. This is metadata information
that can be used for certain output formats such as PDF. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setTitle</span><span class="o">(</span><span
class="s">&quot;Invoice No 138716847&quot;</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setTitle</span><span class="o">(</span><span
class="s">&quot;Invoice No 138716847&quot;</span><span class="o">);</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set the <strong>keywords</strong> of the document. This is metadata
information that can be used for certain output formats such as PDF. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setKeywords</span><span class="o">(</span><span
class="s">&quot;XML XSL-FO&quot;</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setKeywords</span><span class="o">(</span><span
class="s">&quot;XML XSL-FO&quot;</span><span class="o">);</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set the <strong>target resolution</strong> for the document. This is
used to specify the output resolution for bitmap images generated by bitmap renderers (such
as the TIFF renderer) and by bitmaps generated by Apache Batik for filter effects and such.
Default: 72 dpi. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setTargetResolution</span><span
class="o">(</span><span class="mi">300</span><span class="o">);</span>
<span class="c1">// =300dpi (dots/pixels per Inch)`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setTargetResolution</span><span
class="o">(</span><span class="mi">300</span><span class="o">);</span>
<span class="c1">// =300dpi (dots/pixels per Inch)</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set <strong>your own Document Handler</strong>. This feature can be
used for several purposes, the most likey usage of which would probably be binding a MIME
type when the output is Intermediate Format (see <a href="#documenthandlers">Document
Handlers</a>). This also allows advanced users to create their own implementation of
the document handler.</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setDocumentHandlerOverride</span><span
class="o">(</span><span class="n">documentHandler</span><span class="o">)</span>
<span class="c1">// documentHandler is an instance of org.apache.fop.render.intermediate.IFDocumentHandler`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setDocumentHandlerOverride</span><span
class="o">(</span><span class="n">documentHandler</span><span class="o">)</span>
<span class="c1">// documentHandler is an instance of org.apache.fop.render.intermediate.IFDocumentHandler</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set <strong>your own FOEventHandler instance</strong>. If you want to
supply your own FOEventHandler or configure an FOEventHandler subclass in a special way you
can give the instance to the FOUserAgent. Normally, the FOEventHandler instance is created
by FOP. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setFOEventHandlerOverride</span><span
class="o">(</span><span class="n">myFOEventHandler</span><span class="o">);</span>
<span class="c1">// myFOEventHandler is an org.apache.fop.fo.FOEventHandler`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setFOEventHandlerOverride</span><span
class="o">(</span><span class="n">myFOEventHandler</span><span class="o">);</span>
<span class="c1">// myFOEventHandler is an org.apache.fop.fo.FOEventHandler</span>
 </pre></div>
 
 
 </li>
 <li>
 <p>Set a <strong>URIResolver</strong> for custom URI resolution. By supplying
a JAXP URIResolver you can add custom URI resolution functionality to FOP. For example, you
can use <a href="http://xml.apache.org/commons/components/resolver/">Apache XML Commons
Resolver</a> to make use of XCatalogs. Example:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">userAgent</span><span
class="o">.</span><span class="na">setURIResolver</span><span class="o">(</span><span
class="n">myResolver</span><span class="o">);</span> <span class="c1">//
myResolver is a javax.xml.transform.URIResolver`</span>
+<div class="codehilite"><pre><span class="n">userAgent</span><span
class="o">.</span><span class="na">setURIResolver</span><span class="o">(</span><span
class="n">myResolver</span><span class="o">);</span> <span class="c1">//
myResolver is a javax.xml.transform.URIResolver</span>
 </pre></div>
 
 



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


Mime
View raw message