xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r840716 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/fo.html
Date Tue, 04 Dec 2012 13:45:02 GMT
Author: buildbot
Date: Tue Dec  4 13:45:01 2012
New Revision: 840716

Log:
Staging update by buildbot for xmlgraphics

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

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Dec  4 13:45:01 2012
@@ -1 +1 @@
-1416923
+1416932

Modified: websites/staging/xmlgraphics/trunk/content/fop/fo.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/fo.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/fo.html Tue Dec  4 13:45:01 2012
@@ -610,55 +610,7 @@ Getting your XML correctly encoded is on
 
 
 <p>The FOP library provides a method to get the total page count after an FO document
has been rendered. One possibility is to implement your own wrapper to do a dummy rendering,
inquire the total page count and then perform the real rendering, passing the total page count
to the XSLT processor to splice it into the generated FO. For example:</p>
-<table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>
1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49</pre></div></td><td class="code"><div class="codehilite"><pre><span
class="kn">import</span> <span class="nn">org.apache.fop.apps.*</span><span
class="o">;</span>
+<div class="codehilite"><pre><span class="kn">import</span> <span
class="nn">org.apache.fop.apps.*</span><span class="o">;</span>
 <span class="kn">import</span> <span class="nn">org.xml.sax.*</span><span
class="o">;</span>
 <span class="kn">import</span> <span class="nn">java.io.*</span><span
class="o">;</span>
 <span class="kn">import</span> <span class="nn">javax.xml.transform.*</span><span
class="o">;</span>
@@ -708,7 +660,7 @@ Getting your XML correctly encoded is on
   <span class="o">}</span>
 <span class="o">}</span>
 </pre></div>
-</td></tr></table>
+
 
 <p>Declare and use the parameter "page-count" in your XSLT.</p>
 <p><warning>It is possible to run into a convergence problem with this solution.
Replacing the "#" placeholder in the first run with the actual page count in the second run,
may change the total number of pages in the document.</warning></p>



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


Mime
View raw message