camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r985262 - in /websites/production/camel/content: cache/main.pageCache fop.html
Date Sun, 10 Apr 2016 13:18:46 GMT
Author: buildbot
Date: Sun Apr 10 13:18:46 2016
New Revision: 985262

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/fop.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/fop.html
==============================================================================
--- websites/production/camel/content/fop.html (original)
+++ websites/production/camel/content/fop.html Sun Apr 10 13:18:46 2016
@@ -96,7 +96,7 @@
 </div></div><h3 id="FOP-URIformat">URI format</h3><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[fop://outputFormat?[options]
 ]]></script>
-</div></div><h3 id="FOP-OutputFormats">Output Formats</h3><p>The
primary output format is PDF but other output <a shape="rect" class="external-link" href="http://xmlgraphics.apache.org/fop/0.95/output.html">formats</a>
are also supported:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>outputFormat</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/pdf</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Portable Document Format</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PS</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/postscript</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Adobe Postscript</p></td></tr><tr><td

 colspan="1" rowspan="1" class="confluenceTd"><p>PCL</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/x-pcl</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Printer Control Language</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PNG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/png</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>PNG images</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>JPEG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/jpeg</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>JPEG images</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>SVG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/svg+xml</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Scalable Vector Graphics</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XML</p></td><td colspan="1"
rowspan="1" class="con
 fluenceTd"><p>application/X-fop-areatree</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Area tree representation</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>MIF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/mif</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>FrameMaker's MIF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>RTF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/rtf</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Rich Text Format</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>TXT</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>text/plain</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Text</p></td></tr></tbody></table></div><p>The
complete list of valid output formats can be found <a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/src/java/org/ap
 ache/xmlgraphics/util/MimeConstants.java">here</a></p><h3 id="FOP-EndpointOptions">Endpoint
Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>default value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">outputFormat</td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">See
table above</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>userConfigURL</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>none</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The location of a configuration file with the
following <a shape="rect" class="external-link" href="http://xmlgraphics.apache.org/fop/1.0/configuration.html">structure</a>.
From <strong>Camel 2.12</strong> onward
 s the file is loaded from the classpath by default. You can use <code>file:</code>,
or <code>classpath:</code> as prefix to load the resource from file or classpath.
In previous releases the file is always loaded from file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">fopFactory</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">Allows
to use a custom configured or implementation of <code>org.apache.fop.apps.FopFactory</code>.</td></tr></tbody></table></div><h3
id="FOP-MessageOperations">Message Operations</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Output.Format</p></td><td
colspan="1" rowspa
 n="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Overrides the output format for that message</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.userPassword</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF user password</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.ownerPassword</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF owner passoword</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowPrint</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows printing the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowCopyContent</p></td><td
col
 span="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows copying content of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowEditContent</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows editing content of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowEditAnnotations</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows editing annotation of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.producer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Apache FOP</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Metadata element for the system/software
that produces the document</p></td></tr><tr><td colspan=
 "1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.creator</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Metadata element for the user that
created the document</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>CamelFop.Render.creationDate</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Creation Date</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.author</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Author of the content of the document</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.title</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Title of the document</p></td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.subject</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Subject of the document</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.keywords</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set of keywords applicable to this
document</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelFop.RendererOptions</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd">Set key/values to <span style="color: rgb(0,0,0);">FOUserAgent</span>.rendererOptions
(for example<div class="a3s">pdf-a-mode to PDF/A-1b)</div></td></tr></tbody></table></div><h3
id="FOP-Example">Example</h3><p>Below is an example route that renders PDFs
from xml data and xslt template and saves 
 the PDF files in target folder:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="FOP-OutputFormats">Output Formats</h3><p>The
primary output format is PDF but other output <a shape="rect" class="external-link" href="http://xmlgraphics.apache.org/fop/0.95/output.html">formats</a>
are also supported:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>outputFormat</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/pdf</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Portable Document Format</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PS</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/postscript</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Adobe Postscript</p></td></tr><tr><td

 colspan="1" rowspan="1" class="confluenceTd"><p>PCL</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/x-pcl</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Printer Control Language</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>PNG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/png</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>PNG images</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>JPEG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/jpeg</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>JPEG images</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>SVG</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>image/svg+xml</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Scalable Vector Graphics</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XML</p></td><td colspan="1"
rowspan="1" class="con
 fluenceTd"><p>application/X-fop-areatree</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Area tree representation</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>MIF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/mif</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>FrameMaker's MIF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>RTF</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>application/rtf</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Rich Text Format</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>TXT</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>text/plain</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Text</p></td></tr></tbody></table></div><p>The
complete list of valid output formats can be found <a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/src/java/org/ap
 ache/xmlgraphics/util/MimeConstants.java">here</a></p><h3 id="FOP-EndpointOptions">Endpoint
Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>default value</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">outputFormat</td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">See
table above</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>userConfigURL</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>none</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The location of a configuration file with the
following <a shape="rect" class="external-link" href="http://xmlgraphics.apache.org/fop/1.0/configuration.html">structure</a>.
From <strong>Camel 2.12</strong> onward
 s the file is loaded from the classpath by default. You can use <code>file:</code>,
or <code>classpath:</code> as prefix to load the resource from file or classpath.
In previous releases the file is always loaded from file system.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">fopFactory</td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">Allows
to use a custom configured or implementation of <code>org.apache.fop.apps.FopFactory</code>.</td></tr></tbody></table></div><h3
id="FOP-MessageOperations">Message Operations</h3><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>default value</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Output.Format</p></td><td
colspan="1" rowspa
 n="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Overrides the output format for that message</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.userPassword</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF user password</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.ownerPassword</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>PDF owner passoword</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowPrint</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows printing the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowCopyContent</p></td><td
col
 span="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows copying content of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowEditContent</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows editing content of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Encrypt.allowEditAnnotations</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Allows editing annotation of the PDF</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.producer</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Apache FOP</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Metadata element for the system/software
that produces the document</p></td></tr><tr><td colspan=
 "1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.creator</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Metadata element for the user that
created the document</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>CamelFop.Render.creationDate</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Creation Date</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.author</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Author of the content of the document</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.title</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Title of the document</p></td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.subject</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Subject of the document</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>CamelFop.Render.keywords</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Set of keywords applicable to this
document</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelFop.RendererOptions</td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"><strong>(since Camel 2.18)</strong> Set key/values to
FOUserAgent.rendererOptions (for example<div class="a3s">pdf-a-mode to PDF/A-1b)</div></td></tr></tbody></table></div><h3
id="FOP-Example">Example</h3><p>Below is an example route that renders PDFs
from xml data and xslt template and saves the 
 PDF files in target folder:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;file:source/data/xml&quot;)
     .to(&quot;xslt:xslt/template.xsl&quot;)
     .to(&quot;fop:application/pdf&quot;)



Mime
View raw message