xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1416775 [4/6] - in /xmlgraphics/site/trunk/content/fop: ./ 0.95/ 1.0/ 1.1/ dev/ dev/design/ trunk/
Date Tue, 04 Dec 2012 05:01:42 GMT
Modified: xmlgraphics/site/trunk/content/fop/1.1/pdfa.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/pdfa.mdtext?rev=1416775&r1=1416774&r2=1416775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/pdfa.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/pdfa.mdtext Tue Dec  4 05:01:25 2012
@@ -27,9 +27,10 @@ PDF/A-1a is enabled by specifying "-pdfp
 
 When FOP is embedded in another Java application you can set a special option on the renderer
options in the user agent to activate the PDF/A-1b profile. Here's an example:
 
-userAgent.getRendererOptions().put("pdf-a-mode", "PDF/A-1b");
-Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
-[..]
+    userAgent.getRendererOptions().put("pdf-a-mode", "PDF/A-1b");
+    Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
+    [..]
+
 If one of the validation rules of PDF/A is violated, an PDFConformanceException (descendant
of RuntimeException) is thrown.
 
 For PDF/A-1a, just use the string "PDF/A-1a" instead of "PDF/A-1b".
@@ -53,6 +54,7 @@ There are a number of things that must b
 
 - No filter must be specified explicitely for metadata objects. Metadata must be embedded
in clear text so non-PDF-aware applications can extract the XMP metadata.
 There are additional requirements if you want to enabled PDF/A-1a (Tagged PDF). This is particularly
the specification of the natural language and alternative descriptions for images. Please
refer to the [Accessibility page](accessibility.html) for details.
+
 ## PDF profile compatibility <a id="profile-compatibility"></a>
 
 The PDF profiles "PDF/X-3:2003" and "PDF/A-1b" (or "PDF/A-1a") are compatible and can both
be activated at the same time.

Modified: xmlgraphics/site/trunk/content/fop/1.1/pdfx.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/pdfx.mdtext?rev=1416775&r1=1416774&r2=1416775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/pdfx.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/pdfx.mdtext Tue Dec  4 05:01:25 2012
@@ -23,10 +23,11 @@ To activate PDF/X-3:2003 from the comman
 
 When FOP is embedded in another Java application you can set a special option on the renderer
options in the user agent to activate the PDF/A-1b profile. Here's an example:
 
-FOUserAgent userAgent = fopFactory.newFOUserAgent();
-userAgent.getRendererOptions().put("pdf-x-mode", "PDF/X-3:2003");
-Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
-[..]
+    FOUserAgent userAgent = fopFactory.newFOUserAgent();
+    userAgent.getRendererOptions().put("pdf-x-mode", "PDF/X-3:2003");
+    Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
+    [..]
+
 If one of the validation rules of PDF/X is violated, an PDFConformanceException (descendant
of RuntimeException) is thrown.
 
 ## PDF/X in Action <a id="rules"></a>

Modified: xmlgraphics/site/trunk/content/fop/1.1/releaseNotes_1.1.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/releaseNotes_1.1.mdtext?rev=1416775&r1=1416774&r2=1416775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/releaseNotes_1.1.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/releaseNotes_1.1.mdtext Tue Dec  4 05:01:25 2012
@@ -8,97 +8,97 @@ This is not a complete list of changes, 
 ## Changes to the Code Base <a id="Changes+to+the+Code+Base"></a>
 
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Update to use of checkstyle-5.5
as default configuration. Remove checkstyle-4.0 configuration. Also, import environment build
properties before local properties, so that latter can refer to former. Committed by GA. See
Issue [53083](http://issues.apache.org/bugzilla/show_bug.cgi?id=53083) .
+- ![fix](../images/fix.jpg) Update to use of checkstyle-5.5 as default configuration. Remove
checkstyle-4.0 configuration. Also, import environment build properties before local properties,
so that latter can refer to former. Committed by GA. See Issue [53083](http://issues.apache.org/bugzilla/show_bug.cgi?id=53083)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Invoke JVM in headless mode
from FOP command scripts and JS shell to prevent stealing focus from GUI applications. Committed
by GA. See Issue [50062](http://issues.apache.org/bugzilla/show_bug.cgi?id=50062) .
+- ![fix](../images/fix.jpg) Invoke JVM in headless mode from FOP command scripts and JS shell
to prevent stealing focus from GUI applications. Committed by GA. See Issue [50062](http://issues.apache.org/bugzilla/show_bug.cgi?id=50062)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Support list-block in marker,
thus preventing NPE. Committed by GA. See Issue [52763](http://issues.apache.org/bugzilla/show_bug.cgi?id=52763)
.
+- ![fix](../images/fix.jpg) Support list-block in marker, thus preventing NPE. Committed
by GA. See Issue [52763](http://issues.apache.org/bugzilla/show_bug.cgi?id=52763) .
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Allow https scheme URI for PDF
external action target. Committed by GA. Thanks to Paul Huemer. See Issue [51599](http://issues.apache.org/bugzilla/show_bug.cgi?id=51599)
.
+- ![fix](../images/fix.jpg) Allow https scheme URI for PDF external action target. Committed
by GA. Thanks to Paul Huemer. See Issue [51599](http://issues.apache.org/bugzilla/show_bug.cgi?id=51599)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fixed incorrect rejection of
fo:wrapper inside fo:inline inside fo:footnote-body. Committed by GA. Thanks to Alberto Simões.
See Issue [53005](http://issues.apache.org/bugzilla/show_bug.cgi?id=53005) .
+- ![fix](../images/fix.jpg) Fixed incorrect rejection of fo:wrapper inside fo:inline inside
fo:footnote-body. Committed by GA. Thanks to Alberto Simões. See Issue [53005](http://issues.apache.org/bugzilla/show_bug.cgi?id=53005)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added support for PDF Object
Streams. When accessibility is enabled and PDF version 1.5 selected, the structure tree will
be stored in object streams in order to reduce the size of the final PDF. Committed by VH.
Thanks to Peter Hancock.
+- ![add](../images/add.jpg) Added support for PDF Object Streams. When accessibility is enabled
and PDF version 1.5 selected, the structure tree will be stored in object streams in order
to reduce the size of the final PDF. Committed by VH. Thanks to Peter Hancock.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fixed bug that caused a configured
and installed SVG font to be stroked, also added an event indicating when fonts are stroked.
Committed by MH. Thanks to Luis Bernardo. See Issue [52849](http://issues.apache.org/bugzilla/show_bug.cgi?id=52849)
.
+- ![fix](../images/fix.jpg) Fixed bug that caused a configured and installed SVG font to
be stroked, also added an event indicating when fonts are stroked. Committed by MH. Thanks
to Luis Bernardo. See Issue [52849](http://issues.apache.org/bugzilla/show_bug.cgi?id=52849)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Improved support for empty flow-name
mapping. Committed by PH. See Issue [50391](http://issues.apache.org/bugzilla/show_bug.cgi?id=50391)
.
+- ![add](../images/add.jpg) Improved support for empty flow-name mapping. Committed by PH.
See Issue [50391](http://issues.apache.org/bugzilla/show_bug.cgi?id=50391) .
 
-- <icon alt="add" src="../images/add.jpg"></icon>Add support for different flow-name
of fo:region-body in FOP Committed by CB. Thanks to Peter Hancock. See Issue [50391](http://issues.apache.org/bugzilla/show_bug.cgi?id=50391)
.
+- ![add](../images/add.jpg) Add support for different flow-name of fo:region-body in FOP
Committed by CB. Thanks to Peter Hancock. See Issue [50391](http://issues.apache.org/bugzilla/show_bug.cgi?id=50391)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Allow JPEG images to be embedded
in an AFP document as is, without being decoded and encoded. Committed by PH. Thanks to Mehdi
Houshmand. See Issue [52089](http://issues.apache.org/bugzilla/show_bug.cgi?id=52089) .
+- ![add](../images/add.jpg) Allow JPEG images to be embedded in an AFP document as is, without
being decoded and encoded. Committed by PH. Thanks to Mehdi Houshmand. See Issue [52089](http://issues.apache.org/bugzilla/show_bug.cgi?id=52089)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Fix for when the last simple-page-master
referenced in a page-sequence-master is not chosen when force-page-count=odd. Committed by
PH. Thanks to Mehdi Houshmand. See Issue [51962](http://issues.apache.org/bugzilla/show_bug.cgi?id=51962)
.
+- ![add](../images/add.jpg) Fix for when the last simple-page-master referenced in a page-sequence-master
is not chosen when force-page-count=odd. Committed by PH. Thanks to Mehdi Houshmand. See Issue
[51962](http://issues.apache.org/bugzilla/show_bug.cgi?id=51962) .
 
-- <icon alt="add" src="../images/add.jpg"></icon>Upgraded all tests to JUnit
4. Committed by VH. Thanks to Mehdi Houshmand. See Issue [51928](http://issues.apache.org/bugzilla/show_bug.cgi?id=51928)
.
+- ![add](../images/add.jpg) Upgraded all tests to JUnit 4. Committed by VH. Thanks to Mehdi
Houshmand. See Issue [51928](http://issues.apache.org/bugzilla/show_bug.cgi?id=51928) .
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added support for resolution
of relative URIs against a specified xml:base during property refinement. Committed by AD.
See Issue [48334](http://issues.apache.org/bugzilla/show_bug.cgi?id=48334) .
+- ![add](../images/add.jpg) Added support for resolution of relative URIs against a specified
xml:base during property refinement. Committed by AD. See Issue [48334](http://issues.apache.org/bugzilla/show_bug.cgi?id=48334)
.
 
 ### Changes to the User Configuration <a id="Changes+to+the+User+Configuration"></a>
 
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added configuration option to
set the version of the output PDF document. Committed by VH. Thanks to Mehdi Houshmand. See
Issue [51385](http://issues.apache.org/bugzilla/show_bug.cgi?id=51385) .
+- ![add](../images/add.jpg) Added configuration option to set the version of the output PDF
document. Committed by VH. Thanks to Mehdi Houshmand. See Issue [51385](http://issues.apache.org/bugzilla/show_bug.cgi?id=51385)
.
 
 ### Changes to the Font Subsystem <a id="Changes+to+the+Font+Subsystem"></a>
 
 
-- <icon alt="add" src="../images/add.jpg"></icon>Add support for OpenType advanced
typographic tables (GDEF, GSUB, GPOS). Committed by GA.
+- ![add](../images/add.jpg) Add support for OpenType advanced typographic tables (GDEF, GSUB,
GPOS). Committed by GA.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Changes the way PostScript handles
Graphics2D images such that if the language is set to level 3, the image is stored as an embedded
file which has no length limit. Previously it was stored as an array which has a implementation
limit of 65535 elements. Committed by PH. Thanks to Mehdi Houshmand. See Issue [51760](http://issues.apache.org/bugzilla/show_bug.cgi?id=51760)
.
+- ![fix](../images/fix.jpg) Changes the way PostScript handles Graphics2D images such that
if the language is set to level 3, the image is stored as an embedded file which has no length
limit. Previously it was stored as an array which has a implementation limit of 65535 elements.
Committed by PH. Thanks to Mehdi Houshmand. See Issue [51760](http://issues.apache.org/bugzilla/show_bug.cgi?id=51760)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Improved support for EBCDIC
encoded double byte fonts fo AFP. Committed by PH. Thanks to Mehdi Houshmand. See Issue [51530](http://issues.apache.org/bugzilla/show_bug.cgi?id=51530)
.
+- ![fix](../images/fix.jpg) Improved support for EBCDIC encoded double byte fonts fo AFP.
Committed by PH. Thanks to Mehdi Houshmand. See Issue [51530](http://issues.apache.org/bugzilla/show_bug.cgi?id=51530)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Reinstated support for being
able to specify a font cache filepath in the fop user configuration. Committed by AC.
+- ![fix](../images/fix.jpg) Reinstated support for being able to specify a font cache filepath
in the fop user configuration. Committed by AC.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added convenience support for
the flushing of the Fop font cache file from the command line. Committed by AC.
+- ![add](../images/add.jpg) Added convenience support for the flushing of the Fop font cache
file from the command line. Committed by AC.
 
 ### Changes to the Image Support <a id="Changes+to+the+Image+Support"></a>
 
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Support use of ImageLoaderRawPNG
decoder in order to prevent re-encoding of PNG images (and unnecssary output file bloat).
Committed by GA. Thanks to Luis Bernardo, Matthias Reischenbacher. See Issue [40676](http://issues.apache.org/bugzilla/show_bug.cgi?id=40676)
.
+- ![fix](../images/fix.jpg) Support use of ImageLoaderRawPNG decoder in order to prevent
re-encoding of PNG images (and unnecssary output file bloat). Committed by GA. Thanks to Luis
Bernardo, Matthias Reischenbacher. See Issue [40676](http://issues.apache.org/bugzilla/show_bug.cgi?id=40676)
.
 
 ### Changes to the Layout Engine <a id="Changes+to+the+Layout+Engine"></a>
 
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fix for break before (break-before)
not respected on blocks nested in inlines. Committed by GA. Thanks to Luis Bernardo. See Issue
[45715](http://issues.apache.org/bugzilla/show_bug.cgi?id=45715) .
+- ![fix](../images/fix.jpg) Fix for break before (break-before) not respected on blocks nested
in inlines. Committed by GA. Thanks to Luis Bernardo. See Issue [45715](http://issues.apache.org/bugzilla/show_bug.cgi?id=45715)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Ensure square image is appropriately
scaled. Committed by GA. Thanks to Luis Bernardo. See Issue [52514](http://issues.apache.org/bugzilla/show_bug.cgi?id=52514)
.
+- ![fix](../images/fix.jpg) Ensure square image is appropriately scaled. Committed by GA.
Thanks to Luis Bernardo. See Issue [52514](http://issues.apache.org/bugzilla/show_bug.cgi?id=52514)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Add support for complex scripts,
including: full bidi support, support for advanced typographic tables, advanced support for
number conversion. Committed by GA. See Issue [32789](http://issues.apache.org/bugzilla/show_bug.cgi?id=32789)
, [49008](http://issues.apache.org/bugzilla/show_bug.cgi?id=49008) , [49687](http://issues.apache.org/bugzilla/show_bug.cgi?id=49687)
.
+- ![add](../images/add.jpg) Add support for complex scripts, including: full bidi support,
support for advanced typographic tables, advanced support for number conversion. Committed
by GA. See Issue [32789](http://issues.apache.org/bugzilla/show_bug.cgi?id=32789) , [49008](http://issues.apache.org/bugzilla/show_bug.cgi?id=49008)
, [49687](http://issues.apache.org/bugzilla/show_bug.cgi?id=49687) .
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Implemented non-standard behavior
for basic-link areas, such that they take into account the heights of their descendants areas.
Committed by VH.
+- ![fix](../images/fix.jpg) Implemented non-standard behavior for basic-link areas, such
that they take into account the heights of their descendants areas. Committed by VH.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fix for keep-together does not
apply to fo:table-cell. Committed by VH.
+- ![fix](../images/fix.jpg) Fix for keep-together does not apply to fo:table-cell. Committed
by VH.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fix for keep-together on a table
containing row-spanning cells that was not honored. Committed by VH.
+- ![fix](../images/fix.jpg) Fix for keep-together on a table containing row-spanning cells
that was not honored. Committed by VH.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fix forpadding-start ignored
when table-header/footer is repeated. Committed by VH. Thanks to Matthias Reischenbacher.
See Issue [50196](http://issues.apache.org/bugzilla/show_bug.cgi?id=50196) .
+- ![fix](../images/fix.jpg) Fix forpadding-start ignored when table-header/footer is repeated.
Committed by VH. Thanks to Matthias Reischenbacher. See Issue [50196](http://issues.apache.org/bugzilla/show_bug.cgi?id=50196)
.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Fix for correct behavior of
keep-together.within-line in case there are nested inlines Committed by AD. See Issue [49848](http://issues.apache.org/bugzilla/show_bug.cgi?id=49848)
.
+- ![fix](../images/fix.jpg) Fix for correct behavior of keep-together.within-line in case
there are nested inlines Committed by AD. See Issue [49848](http://issues.apache.org/bugzilla/show_bug.cgi?id=49848)
.
 
 ### Changes to Renderers (Output Formats) <a id="Changes+to+Renderers+%28Output+Formats%29"></a>
 
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added possibility to embed TrueType
fonts in PostScript. Committed by VH. See Issue [52338](http://issues.apache.org/bugzilla/show_bug.cgi?id=52338)
.
+- ![add](../images/add.jpg) Added possibility to embed TrueType fonts in PostScript. Committed
by VH. See Issue [52338](http://issues.apache.org/bugzilla/show_bug.cgi?id=52338) .
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Add extension to place code
just before PostScript %PageTrailer. Committed by GA. Thanks to Luis Bernardo. See Issue [53295](http://issues.apache.org/bugzilla/show_bug.cgi?id=53295)
.
+- ![fix](../images/fix.jpg) Add extension to place code just before PostScript %PageTrailer.
Committed by GA. Thanks to Luis Bernardo. See Issue [53295](http://issues.apache.org/bugzilla/show_bug.cgi?id=53295)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added support for 128bit encryption
in PDF output. Committed by VH. Thanks to Michael Rubin.
+- ![add](../images/add.jpg) Added support for 128bit encryption in PDF output. Committed
by VH. Thanks to Michael Rubin.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added an IFDocumentHandler filter
for triggering rendering events. Created an Event that captures an end page event with the
page number. Committed by PH.
+- ![add](../images/add.jpg) Added an IFDocumentHandler filter for triggering rendering events.
Created an Event that captures an end page event with the page number. Committed by PH.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>AFP GOCA: Changed the way FOP
fonts are selected based on Batik's GVT fonts to match the behaviour of PDF/PS output. Committed
by JM.
+- ![fix](../images/fix.jpg) AFP GOCA: Changed the way FOP fonts are selected based on Batik's
GVT fonts to match the behaviour of PDF/PS output. Committed by JM.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added option to place AFP NOPs
right before the end of a named page group (page-sequence), rather than after the start. Committed
by JM.
+- ![add](../images/add.jpg) Added option to place AFP NOPs right before the end of a named
page group (page-sequence), rather than after the start. Committed by JM.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added option for PostScript
output to optimize for file size rather than quality. Committed by JM.
+- ![add](../images/add.jpg) Added option for PostScript output to optimize for file size
rather than quality. Committed by JM.
 
-- <icon alt="add" src="../images/add.jpg"></icon>AFP GOCA: Added option to disable
GOCA and to control text painting inside GOCA graphics. Committed by JM.
+- ![add](../images/add.jpg) AFP GOCA: Added option to disable GOCA and to control text painting
inside GOCA graphics. Committed by JM.
 
-- <icon alt="fix" src="../images/fix.jpg"></icon>Increased maximum possible PDF
size from 2GB to around 9GB (hard maximum imposed by the PDF specification). Committed by
JM.
+- ![fix](../images/fix.jpg) Increased maximum possible PDF size from 2GB to around 9GB (hard
maximum imposed by the PDF specification). Committed by JM.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added support for CIE Lab colors
(from XSL-FO 2.0 WD). Committed by JM.
+- ![add](../images/add.jpg) Added support for CIE Lab colors (from XSL-FO 2.0 WD). Committed
by JM.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Initial work on spot colors
(aka named colors) for PDF output. Committed by JM. Thanks to Patrick Jaromin. See Issue [49403](http://issues.apache.org/bugzilla/show_bug.cgi?id=49403)
.
+- ![add](../images/add.jpg) Initial work on spot colors (aka named colors) for PDF output.
Committed by JM. Thanks to Patrick Jaromin. See Issue [49403](http://issues.apache.org/bugzilla/show_bug.cgi?id=49403)
.
 
-- <icon alt="add" src="../images/add.jpg"></icon>Added ability to embed an external
AFP page segment resource file (AFP output only). Committed by JM. Thanks to Peter Hancock.
See Issue [49379](http://issues.apache.org/bugzilla/show_bug.cgi?id=49379) .
+- ![add](../images/add.jpg) Added ability to embed an external AFP page segment resource
file (AFP output only). Committed by JM. Thanks to Peter Hancock. See Issue [49379](http://issues.apache.org/bugzilla/show_bug.cgi?id=49379)
.

Modified: xmlgraphics/site/trunk/content/fop/1.1/running.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/running.mdtext?rev=1416775&r1=1416774&r2=1416775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/running.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/running.mdtext Tue Dec  4 05:01:25 2012
@@ -146,6 +146,7 @@ The usual and recommended practice for s
       fop foo.fo -rtf foo.rtf
       fop foo.fo -print
       fop foo.fo -awt
+
 PDF encryption is only available if FOP was compiled with encryption support **and** if compatible
encryption support is available at run time. Currently, only the JCE is supported. Check the
[Details](pdfencryption.html) .
 
 ### Writing your own script <a id="your-own-script"></a>

Modified: xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext?rev=1416775&r1=1416774&r2=1416775&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext Tue Dec  4 05:01:25 2012
@@ -84,7 +84,9 @@ A common requirement is to transform an 
     
     //Send content to Browser
     response.getOutputStream().write(out.toByteArray());
-    response.getOutputStream().flush();Buffering the generated PDF in a ByteArrayOutputStream
is done to avoid potential problems with the Acrobat Reader Plug-in in Microsoft Internet
Explorer.
+    response.getOutputStream().flush();
+
+Buffering the generated PDF in a ByteArrayOutputStream is done to avoid potential problems
with the Acrobat Reader Plug-in in Microsoft Internet Explorer.
 The `Source` instance used above is simply an example. If you have to read the XML from a
string, supply a `new StreamSource(new
           StringReader(xmlstring))` . Constructing and reparsing an XML string is generally
less desirable than using a SAXSource if you generate your XML. You can alternatively supply
a DOMSource as well. You may also use dynamically generated XSL if you like.
 
@@ -118,6 +120,7 @@ Here's how to set it up in your servlet.
         this.uriResolver = new ServletContextURIResolver(getServletContext());
         [..]
     }
+
 The ServletContextURIResolver reacts on URIs beginning with "servlet-context:". If you want
to access an image in a subdirectory of your web application, you could, for example, use:
"servlet-context:/images/myimage.png". Don't forget the leading slash after the colon!
 
 Further down, you can use the URIResolver for various things:
@@ -148,6 +151,7 @@ Here are some example snippets:
         "servlet-context:/xslt/mystylesheet.xsl", null);
     Transformer transformer = this.transFactory.newTransformer(xsltSrc);
     transformer.setURIResolver(this.uriResolver);
+
 ## Notes on Microsoft Internet Explorer <a id="ie"></a>
 
 Some versions of Internet Explorer will not automatically show the PDF or call the servlet
multiple times. These are well-known limitations of Internet Explorer and are not a problem
of the servlet. However, Internet Explorer can still be used to download the PDF so that it
can be viewed later. Here are some suggestions in this context:



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


Mime
View raw message