You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by gennady <ge...@yahoo.com> on 2008/08/25 21:49:46 UTC

I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20 we used
fox:extension continued label for the table header. So if it's 1st page -
table header prints "Subject". All next pages will have the same table
header with "Subject cont." printed. How can I do it with latest FOP? Thank
you for your help.
-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19150429.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by gennady <ge...@yahoo.com>.
Thank you, bonekrusher.
This is the same lousy workaround that I had in my sample. See, you don't
have "Table 2 - Continued" on Page VI, because you forgot to add that marker
on its 4th row. Basically, FOP-0.95 is deprived of the highly useful
continued-label for the table header feature that was in FOP-0.20 extension.
They should implement it back.

-Gennady


bonekrusher wrote:
> 
> Hi gennady,
> 
> A sample FO is attached. Good luck.
> 
> Regards,
> 
> 
> gennady wrote:
>> 
>> Can you post an example? Or send me email. But I would like the header to
>> print "continued...", not the rows. Here is the my complete file. How to
>> make "SUBJECT" in dark-blue to print "cont..." instead of row cell? Thank
>> you.
>> <?xml version="1.0" encoding="UTF-8"?>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>    <!-- layout information -->
>>    <fo:layout-master-set>
>>       <fo:simple-page-master master-name="simple" page-height="792px"
>> page-width="576px" margin-top="30px"
>>             margin-bottom="30px" margin-left="30px" margin-right="30px">
>>          <fo:region-body margin-top="130px" margin-bottom="30px"/>
>>          <fo:region-before extent="1px"/>
>>          <fo:region-after extent="34px"/>
>>       </fo:simple-page-master>
>>    </fo:layout-master-set>
>> 
>>    <fo:page-sequence master-reference="simple" font="italic 10pt
>> Verdana">
>> 	   <fo:static-content flow-name="xsl-region-before">
>> 	     <fo:block text-align="center" font-style="italic" font-size="12pt">
>> 	         <fo:retrieve-marker retrieve-class-name="continued"
>> 	                          retrieve-position="first-including-carryover"
>> 	                          retrieve-boundary="page"/>
>> 	     </fo:block>
>> 	   </fo:static-content>
>>    
>> 	    <fo:flow flow-name="xsl-region-body" font="10pt Verdana">
>> 	          <fo:block keep-with-next="always">
>> 			     <fo:marker marker-class-name="continued">Subject</fo:marker>
>> 			   </fo:block>  
>> 	<fo:table table-layout="fixed" width="516px">
>>     <fo:table-column column-width="10px"/>
>>     <fo:table-column column-width="proportional-column-width(1)"/>
>>     <fo:table-column column-width="10px"/>
>> 
>>     <fo:table-header>
>>       <fo:table-row background-color="#102568">
>>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>         <fo:table-cell>
>>           <fo:block space-before="2px" color="white" text-align="left"
>> font-family="sans-serif" font-size="12pt" font-weight="bold">
>> 		     SUBJECT 
>>           </fo:block>
>>         </fo:table-cell>
>>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>       </fo:table-row>
>>     </fo:table-header>
>> 
>>     <fo:table-body>
>>     
>>       <fo:table-row>
>>         <fo:table-cell number-columns-spanned="3">
>>           <fo:block>
>>               <fo:marker marker-class-name="continued">Subject
>> cont...</fo:marker>
>>               <!-- Other Information Table -->
>>               <fo:table table-layout="fixed" width="100%"
>> hyphenate="true" language="en">
>>                 <fo:table-column column-width="10px"/>
>>                 <fo:table-column
>> column-width="proportional-column-width(1)"/>
>>                 <fo:table-column column-width="10px"/>
>> 
>>                 <fo:table-header>
>>                   <fo:table-row background-color="#B0C4DE">
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                       <fo:table-cell>
>>                               <fo:block space-before="2px" color="white"
>> text-align="left" font-family="sans-serif" font-size="12pt"
>> font-weight="bold">
>>                                 Some Table Notes
>>                               </fo:block>
>>                       </fo:table-cell>
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-header>
>> 
>>                 <fo:table-body>
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                   
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-body>
>>               </fo:table>
>>               <!-- End Other Information Table -->
>>           </fo:block>
>>         </fo:table-cell>
>>       </fo:table-row>
>>       
>>       <fo:table-row>
>>         <fo:table-cell number-columns-spanned="3">
>>           <fo:block>
>>               <fo:marker marker-class-name="continued">Subject
>> cont...</fo:marker>
>>               <!-- Other Information Table -->
>>               <fo:table table-layout="fixed" width="100%"
>> hyphenate="true" language="en">
>>                 <fo:table-column column-width="10px"/>
>>                 <fo:table-column
>> column-width="proportional-column-width(1)"/>
>>                 <fo:table-column column-width="10px"/>
>> 
>>                 <fo:table-header>
>>                   <fo:table-row background-color="#B0C4DE">
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                       <fo:table-cell>
>>                               <fo:block space-before="2px" color="white"
>> text-align="left" font-family="sans-serif" font-size="12pt"
>> font-weight="bold">
>>                                 Some Table Notes
>>                               </fo:block>
>>                       </fo:table-cell>
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-header>
>> 
>>                 <fo:table-body>
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                   
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-body>
>>               </fo:table>
>>               <!-- End Other Information Table -->
>>           </fo:block>
>>         </fo:table-cell>
>>       </fo:table-row>
>>       
>>       <fo:table-row>
>>         <fo:table-cell number-columns-spanned="3">
>>           <fo:block>
>>               <fo:marker marker-class-name="continued">Subject
>> cont...</fo:marker>
>>               <!-- Other Information Table -->
>>               <fo:table table-layout="fixed" width="100%"
>> hyphenate="true" language="en">
>>                 <fo:table-column column-width="10px"/>
>>                 <fo:table-column
>> column-width="proportional-column-width(1)"/>
>>                 <fo:table-column column-width="10px"/>
>> 
>>                 <fo:table-header>
>>                   <fo:table-row background-color="#B0C4DE">
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                       <fo:table-cell>
>>                               <fo:block space-before="2px" color="white"
>> text-align="left" font-family="sans-serif" font-size="12pt"
>> font-weight="bold">
>>                                 Some Table Notes
>>                               </fo:block>
>>                       </fo:table-cell>
>>                      
>> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-header>
>> 
>>                 <fo:table-body>
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                   
>>                   <fo:table-row>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                     <!-- Some Notes -->
>>                     <fo:table-cell>
>>                         <fo:block text-align="left">
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                           This is a text! This is a text! This is a text!
>> This is a text! This is a text! This is a text!
>>                            This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                             This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                              This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                               This is a text! This is a text! This is a
>> text! This is a text! This is a text! This is a text!
>>                         </fo:block>
>>                     </fo:table-cell>
>>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>>                   </fo:table-row>
>>                 </fo:table-body>
>>               </fo:table>
>>               <!-- End Other Information Table -->
>>           </fo:block>
>>         </fo:table-cell>
>>       </fo:table-row>
>>       
>>       
>>     </fo:table-body>
>>   </fo:table>
>> 			   <fo:block keep-with-previous="always">
>> 			     <fo:marker marker-class-name="continued"></fo:marker>
>> 			   </fo:block>
>> 	    </fo:flow>
>> </fo:page-sequence>
>> 
>> </fo:root>
>> 
>> bonekrusher wrote:
>>> 
>>> Hi,
>>> 
>>> I posed this issue to a fellow colleague and offered him a lunch to
>>> figure it out. I am happy to say I now owe him a lunch. The solution was
>>> so simple. Instead of putting a marker in the fo:table-header, put a
>>> marker on every row. The first rows marker will be empty. The rest will
>>> have the "continued" marker. We tested in 0.95 and works like a charm.
>>> 
>>> Regards,
>>> 
>>> 
>>> 
>>> gennady wrote:
>>>> 
>>>> 
>>>> gennady wrote:
>>>>> 
>>>>> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20
>>>>> we used fox:extension continued label for the table header. So if it's
>>>>> 1st page - table header prints "Subject". All next pages will have the
>>>>> same table header with "Subject cont." printed. How can I do it with
>>>>> latest FOP? Thank you for your help.
>>>>> 
>>>> OK. I found an exmaple that works here (the last one):
>>>> http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
>>>> Why do they need this <fo:marker marker-class-name="section">Section
>>>> One - 1.</fo:marker>?
>>>> But they use retrieve-marker. How about retrieve-table-marker. Is it
>>>> ever supported by FOP-0.95?
>>>> If not, will it be supported in next release? This is very critical
>>>> feature for my PDF report.
>>>> Thank you.
>>>> 
>>>> -Gennady
>>>> 
>>> 
>>> 
>> 
>> 
>  http://www.nabble.com/file/p19178241/table-continues-example.fo
> table-continues-example.fo 
> 

-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19183172.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by bonekrusher <dj...@yahoo.com>.
Hi gennady,

A sample FO is attached. Good luck.

Regards,


gennady wrote:
> 
> Can you post an example? Or send me email. But I would like the header to
> print "continued...", not the rows. Here is the my complete file. How to
> make "SUBJECT" in dark-blue to print "cont..." instead of row cell? Thank
> you.
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>    <!-- layout information -->
>    <fo:layout-master-set>
>       <fo:simple-page-master master-name="simple" page-height="792px"
> page-width="576px" margin-top="30px"
>             margin-bottom="30px" margin-left="30px" margin-right="30px">
>          <fo:region-body margin-top="130px" margin-bottom="30px"/>
>          <fo:region-before extent="1px"/>
>          <fo:region-after extent="34px"/>
>       </fo:simple-page-master>
>    </fo:layout-master-set>
> 
>    <fo:page-sequence master-reference="simple" font="italic 10pt Verdana">
> 	   <fo:static-content flow-name="xsl-region-before">
> 	     <fo:block text-align="center" font-style="italic" font-size="12pt">
> 	         <fo:retrieve-marker retrieve-class-name="continued"
> 	                          retrieve-position="first-including-carryover"
> 	                          retrieve-boundary="page"/>
> 	     </fo:block>
> 	   </fo:static-content>
>    
> 	    <fo:flow flow-name="xsl-region-body" font="10pt Verdana">
> 	          <fo:block keep-with-next="always">
> 			     <fo:marker marker-class-name="continued">Subject</fo:marker>
> 			   </fo:block>  
> 	<fo:table table-layout="fixed" width="516px">
>     <fo:table-column column-width="10px"/>
>     <fo:table-column column-width="proportional-column-width(1)"/>
>     <fo:table-column column-width="10px"/>
> 
>     <fo:table-header>
>       <fo:table-row background-color="#102568">
>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>         <fo:table-cell>
>           <fo:block space-before="2px" color="white" text-align="left"
> font-family="sans-serif" font-size="12pt" font-weight="bold">
> 		     SUBJECT 
>           </fo:block>
>         </fo:table-cell>
>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>       </fo:table-row>
>     </fo:table-header>
> 
>     <fo:table-body>
>     
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       
>     </fo:table-body>
>   </fo:table>
> 			   <fo:block keep-with-previous="always">
> 			     <fo:marker marker-class-name="continued"></fo:marker>
> 			   </fo:block>
> 	    </fo:flow>
> </fo:page-sequence>
> 
> </fo:root>
> 
> bonekrusher wrote:
>> 
>> Hi,
>> 
>> I posed this issue to a fellow colleague and offered him a lunch to
>> figure it out. I am happy to say I now owe him a lunch. The solution was
>> so simple. Instead of putting a marker in the fo:table-header, put a
>> marker on every row. The first rows marker will be empty. The rest will
>> have the "continued" marker. We tested in 0.95 and works like a charm.
>> 
>> Regards,
>> 
>> 
>> 
>> gennady wrote:
>>> 
>>> 
>>> gennady wrote:
>>>> 
>>>> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20
>>>> we used fox:extension continued label for the table header. So if it's
>>>> 1st page - table header prints "Subject". All next pages will have the
>>>> same table header with "Subject cont." printed. How can I do it with
>>>> latest FOP? Thank you for your help.
>>>> 
>>> OK. I found an exmaple that works here (the last one):
>>> http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
>>> Why do they need this <fo:marker marker-class-name="section">Section One
>>> - 1.</fo:marker>?
>>> But they use retrieve-marker. How about retrieve-table-marker. Is it
>>> ever supported by FOP-0.95?
>>> If not, will it be supported in next release? This is very critical
>>> feature for my PDF report.
>>> Thank you.
>>> 
>>> -Gennady
>>> 
>> 
>> 
> 
> 
http://www.nabble.com/file/p19178241/table-continues-example.fo
table-continues-example.fo 
-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19178241.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by bonekrusher <dj...@yahoo.com>.
Hi,

I will post it tommorrow. 

HTH

Phil


gennady wrote:
> 
> Can you post an example? Or send me email. But I would like the header to
> print "continued...", not the rows. Here is the my complete file. How to
> make "SUBJECT" in dark-blue to print "cont..." instead of row cell? Thank
> you.
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>    <!-- layout information -->
>    <fo:layout-master-set>
>       <fo:simple-page-master master-name="simple" page-height="792px"
> page-width="576px" margin-top="30px"
>             margin-bottom="30px" margin-left="30px" margin-right="30px">
>          <fo:region-body margin-top="130px" margin-bottom="30px"/>
>          <fo:region-before extent="1px"/>
>          <fo:region-after extent="34px"/>
>       </fo:simple-page-master>
>    </fo:layout-master-set>
> 
>    <fo:page-sequence master-reference="simple" font="italic 10pt Verdana">
> 	   <fo:static-content flow-name="xsl-region-before">
> 	     <fo:block text-align="center" font-style="italic" font-size="12pt">
> 	         <fo:retrieve-marker retrieve-class-name="continued"
> 	                          retrieve-position="first-including-carryover"
> 	                          retrieve-boundary="page"/>
> 	     </fo:block>
> 	   </fo:static-content>
>    
> 	    <fo:flow flow-name="xsl-region-body" font="10pt Verdana">
> 	          <fo:block keep-with-next="always">
> 			     <fo:marker marker-class-name="continued">Subject</fo:marker>
> 			   </fo:block>  
> 	<fo:table table-layout="fixed" width="516px">
>     <fo:table-column column-width="10px"/>
>     <fo:table-column column-width="proportional-column-width(1)"/>
>     <fo:table-column column-width="10px"/>
> 
>     <fo:table-header>
>       <fo:table-row background-color="#102568">
>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>         <fo:table-cell>
>           <fo:block space-before="2px" color="white" text-align="left"
> font-family="sans-serif" font-size="12pt" font-weight="bold">
> 		     SUBJECT 
>           </fo:block>
>         </fo:table-cell>
>         <fo:table-cell><fo:block></fo:block></fo:table-cell>
>       </fo:table-row>
>     </fo:table-header>
> 
>     <fo:table-body>
>     
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       <fo:table-row>
>         <fo:table-cell number-columns-spanned="3">
>           <fo:block>
>               <fo:marker marker-class-name="continued">Subject
> cont...</fo:marker>
>               <!-- Other Information Table -->
>               <fo:table table-layout="fixed" width="100%" hyphenate="true"
> language="en">
>                 <fo:table-column column-width="10px"/>
>                 <fo:table-column
> column-width="proportional-column-width(1)"/>
>                 <fo:table-column column-width="10px"/>
> 
>                 <fo:table-header>
>                   <fo:table-row background-color="#B0C4DE">
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                       <fo:table-cell>
>                               <fo:block space-before="2px" color="white"
> text-align="left" font-family="sans-serif" font-size="12pt"
> font-weight="bold">
>                                 Some Table Notes
>                               </fo:block>
>                       </fo:table-cell>
>                       <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-header>
> 
>                 <fo:table-body>
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                   
>                   <fo:table-row>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                     <!-- Some Notes -->
>                     <fo:table-cell>
>                         <fo:block text-align="left">
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                           This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                            This is a text! This is a text! This is a text!
> This is a text! This is a text! This is a text!
>                             This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                              This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                               This is a text! This is a text! This is a
> text! This is a text! This is a text! This is a text!
>                         </fo:block>
>                     </fo:table-cell>
>                     <fo:table-cell><fo:block></fo:block></fo:table-cell>
>                   </fo:table-row>
>                 </fo:table-body>
>               </fo:table>
>               <!-- End Other Information Table -->
>           </fo:block>
>         </fo:table-cell>
>       </fo:table-row>
>       
>       
>     </fo:table-body>
>   </fo:table>
> 			   <fo:block keep-with-previous="always">
> 			     <fo:marker marker-class-name="continued"></fo:marker>
> 			   </fo:block>
> 	    </fo:flow>
> </fo:page-sequence>
> 
> </fo:root>
> 
> bonekrusher wrote:
>> 
>> Hi,
>> 
>> I posed this issue to a fellow colleague and offered him a lunch to
>> figure it out. I am happy to say I now owe him a lunch. The solution was
>> so simple. Instead of putting a marker in the fo:table-header, put a
>> marker on every row. The first rows marker will be empty. The rest will
>> have the "continued" marker. We tested in 0.95 and works like a charm.
>> 
>> Regards,
>> 
>> 
>> 
>> gennady wrote:
>>> 
>>> 
>>> gennady wrote:
>>>> 
>>>> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20
>>>> we used fox:extension continued label for the table header. So if it's
>>>> 1st page - table header prints "Subject". All next pages will have the
>>>> same table header with "Subject cont." printed. How can I do it with
>>>> latest FOP? Thank you for your help.
>>>> 
>>> OK. I found an exmaple that works here (the last one):
>>> http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
>>> Why do they need this <fo:marker marker-class-name="section">Section One
>>> - 1.</fo:marker>?
>>> But they use retrieve-marker. How about retrieve-table-marker. Is it
>>> ever supported by FOP-0.95?
>>> If not, will it be supported in next release? This is very critical
>>> feature for my PDF report.
>>> Thank you.
>>> 
>>> -Gennady
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19170336.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by gennady <ge...@yahoo.com>.
Can you post an example? Or send me email. But I would like the header to
print "continued...", not the rows. Here is the my complete file. How to
make "SUBJECT" in dark-blue to print "cont..." instead of row cell? Thank
you.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
   <!-- layout information -->
   <fo:layout-master-set>
      <fo:simple-page-master master-name="simple" page-height="792px"
page-width="576px" margin-top="30px"
            margin-bottom="30px" margin-left="30px" margin-right="30px">
         <fo:region-body margin-top="130px" margin-bottom="30px"/>
         <fo:region-before extent="1px"/>
         <fo:region-after extent="34px"/>
      </fo:simple-page-master>
   </fo:layout-master-set>

   <fo:page-sequence master-reference="simple" font="italic 10pt Verdana">
	   <fo:static-content flow-name="xsl-region-before">
	     <fo:block text-align="center" font-style="italic" font-size="12pt">
	         <fo:retrieve-marker retrieve-class-name="continued"
	                          retrieve-position="first-including-carryover"
	                          retrieve-boundary="page"/>
	     </fo:block>
	   </fo:static-content>
   
	    <fo:flow flow-name="xsl-region-body" font="10pt Verdana">
	          <fo:block keep-with-next="always">
			     <fo:marker marker-class-name="continued">Subject</fo:marker>
			   </fo:block>  
	<fo:table table-layout="fixed" width="516px">
    <fo:table-column column-width="10px"/>
    <fo:table-column column-width="proportional-column-width(1)"/>
    <fo:table-column column-width="10px"/>

    <fo:table-header>
      <fo:table-row background-color="#102568">
        <fo:table-cell><fo:block></fo:block></fo:table-cell>
        <fo:table-cell>
          <fo:block space-before="2px" color="white" text-align="left"
font-family="sans-serif" font-size="12pt" font-weight="bold">
		     SUBJECT 
          </fo:block>
        </fo:table-cell>
        <fo:table-cell><fo:block></fo:block></fo:table-cell>
      </fo:table-row>
    </fo:table-header>

    <fo:table-body>
    
      <fo:table-row>
        <fo:table-cell number-columns-spanned="3">
          <fo:block>
              <fo:marker marker-class-name="continued">Subject
cont...</fo:marker>
              <!-- Other Information Table -->
              <fo:table table-layout="fixed" width="100%" hyphenate="true"
language="en">
                <fo:table-column column-width="10px"/>
                <fo:table-column
column-width="proportional-column-width(1)"/>
                <fo:table-column column-width="10px"/>

                <fo:table-header>
                  <fo:table-row background-color="#B0C4DE">
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                      <fo:table-cell>
                              <fo:block space-before="2px" color="white"
text-align="left" font-family="sans-serif" font-size="12pt"
font-weight="bold">
                                Some Table Notes
                              </fo:block>
                      </fo:table-cell>
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-header>

                <fo:table-body>
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                  
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-body>
              </fo:table>
              <!-- End Other Information Table -->
          </fo:block>
        </fo:table-cell>
      </fo:table-row>
      
      <fo:table-row>
        <fo:table-cell number-columns-spanned="3">
          <fo:block>
              <fo:marker marker-class-name="continued">Subject
cont...</fo:marker>
              <!-- Other Information Table -->
              <fo:table table-layout="fixed" width="100%" hyphenate="true"
language="en">
                <fo:table-column column-width="10px"/>
                <fo:table-column
column-width="proportional-column-width(1)"/>
                <fo:table-column column-width="10px"/>

                <fo:table-header>
                  <fo:table-row background-color="#B0C4DE">
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                      <fo:table-cell>
                              <fo:block space-before="2px" color="white"
text-align="left" font-family="sans-serif" font-size="12pt"
font-weight="bold">
                                Some Table Notes
                              </fo:block>
                      </fo:table-cell>
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-header>

                <fo:table-body>
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                  
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-body>
              </fo:table>
              <!-- End Other Information Table -->
          </fo:block>
        </fo:table-cell>
      </fo:table-row>
      
      <fo:table-row>
        <fo:table-cell number-columns-spanned="3">
          <fo:block>
              <fo:marker marker-class-name="continued">Subject
cont...</fo:marker>
              <!-- Other Information Table -->
              <fo:table table-layout="fixed" width="100%" hyphenate="true"
language="en">
                <fo:table-column column-width="10px"/>
                <fo:table-column
column-width="proportional-column-width(1)"/>
                <fo:table-column column-width="10px"/>

                <fo:table-header>
                  <fo:table-row background-color="#B0C4DE">
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                      <fo:table-cell>
                              <fo:block space-before="2px" color="white"
text-align="left" font-family="sans-serif" font-size="12pt"
font-weight="bold">
                                Some Table Notes
                              </fo:block>
                      </fo:table-cell>
                      <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-header>

                <fo:table-body>
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                  
                  <fo:table-row>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                    <!-- Some Notes -->
                    <fo:table-cell>
                        <fo:block text-align="left">
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                          This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                           This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                            This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                             This is a text! This is a text! This is a text!
This is a text! This is a text! This is a text!
                              This is a text! This is a text! This is a
text! This is a text! This is a text! This is a text!
                        </fo:block>
                    </fo:table-cell>
                    <fo:table-cell><fo:block></fo:block></fo:table-cell>
                  </fo:table-row>
                </fo:table-body>
              </fo:table>
              <!-- End Other Information Table -->
          </fo:block>
        </fo:table-cell>
      </fo:table-row>
      
      
    </fo:table-body>
  </fo:table>
			   <fo:block keep-with-previous="always">
			     <fo:marker marker-class-name="continued"></fo:marker>
			   </fo:block>
	    </fo:flow>
</fo:page-sequence>

</fo:root>

bonekrusher wrote:
> 
> Hi,
> 
> I posed this issue to a fellow colleague and offered him a lunch to figure
> it out. I am happy to say I now owe him a lunch. The solution was so
> simple. Instead of putting a marker in the fo:table-header, put a marker
> on every row. The first rows marker will be empty. The rest will have the
> "continued" marker. We tested in 0.95 and works like a charm.
> 
> Regards,
> 
> 
> 
> gennady wrote:
>> 
>> 
>> gennady wrote:
>>> 
>>> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20 we
>>> used fox:extension continued label for the table header. So if it's 1st
>>> page - table header prints "Subject". All next pages will have the same
>>> table header with "Subject cont." printed. How can I do it with latest
>>> FOP? Thank you for your help.
>>> 
>> OK. I found an exmaple that works here (the last one):
>> http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
>> Why do they need this <fo:marker marker-class-name="section">Section One
>> - 1.</fo:marker>?
>> But they use retrieve-marker. How about retrieve-table-marker. Is it ever
>> supported by FOP-0.95?
>> If not, will it be supported in next release? This is very critical
>> feature for my PDF report.
>> Thank you.
>> 
>> -Gennady
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19168857.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by bonekrusher <dj...@yahoo.com>.
Hi,

I posed this issue to a fellow colleague and offered him a lunch to figure
it out. I am happy to say I now owe him a lunch. The solution was so simple.
Instead of putting a marker in the fo:table-header, put a marker on every
row. The first rows marker will be empty. The rest will have the "continued"
marker. We tested in 0.95 and works like a charm.

Regards,



gennady wrote:
> 
> 
> gennady wrote:
>> 
>> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20 we
>> used fox:extension continued label for the table header. So if it's 1st
>> page - table header prints "Subject". All next pages will have the same
>> table header with "Subject cont." printed. How can I do it with latest
>> FOP? Thank you for your help.
>> 
> OK. I found an exmaple that works here (the last one):
> http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
> Why do they need this <fo:marker marker-class-name="section">Section One -
> 1.</fo:marker>?
> But they use retrieve-marker. How about retrieve-table-marker. Is it ever
> supported by FOP-0.95?
> If not, will it be supported in next release? This is very critical
> feature for my PDF report.
> Thank you.
> 
> -Gennady
> 

-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19167491.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by gennady <ge...@yahoo.com>.

gennady wrote:
> 
> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20 we
> used fox:extension continued label for the table header. So if it's 1st
> page - table header prints "Subject". All next pages will have the same
> table header with "Subject cont." printed. How can I do it with latest
> FOP? Thank you for your help.
> 
OK. I found an exmaple that works here (the last one):
http://www.dpawson.co.uk/xsl/sect3/markers.html#d14055e100
Why do they need this <fo:marker marker-class-name="section">Section One -
1.</fo:marker>?
But they use retrieve-marker. How about retrieve-table-marker. Is it ever
supported by FOP-0.95?
If not, will it be supported in next release? This is very critical feature
for my PDF report.
Thank you.

-Gennady
-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19163408.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Jean-François El Fouly <je...@elfouly.fr>.
Jeremias Maerki a écrit :
> Hmm, that's one of the two remaining features that are available in
> 0.20.5 but not in 0.95. So far, nobody has had enough of an itch to
> implement this, I'm afraid.
>
>   
It's becoming one of the last two problems with our application so I 
hope I'll be able to implement it in the short term (I would say in the 
next couple of weeks or so).
Well, at least I'll try ;-)

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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Vincent Hennebert <vh...@gmail.com>.
For the sake of completeness, see this message and the following ones in
the same thread:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200805.mbox/<48...@anyware-tech.com>

Some non-trivial changes are indeed necessary in the table layout
code... and might be further invalidated by the new page layout
approach.

Vincent


Jeremias Maerki wrote:
> On 01.09.2008 23:20:29 Andreas Delmelle wrote:
>> On Sep 1, 2008, at 23:02, Andreas Delmelle wrote:
>>
>> (Moving this to fop-dev@)
>>
>>> On Sep 1, 2008, at 22:42, Jean-François El Fouly wrote:
>>>> Hhmm... I've been quickly through the code and my first impression  
>>>> is that it IS implemented.
>>> Not really, I'm afraid. I have prepared the implementation a while  
>>> ago. That much is true. FOP simply does nothing with a retrieve- 
>>> table-marker node, but the node is created and the properties  
>>> parsed. Only in layoutmgr.LayoutManagerMapping, you will notice  
>>> that the RetrieveTableMarker generates no LayoutManager yet.
>>>
>>>> I've set up a simple test case and, going through the stack trace,  
>>>> I guess it could be a simple bug fix, something like a bad or  
>>>> insufficient test in TablePart.java
>>> Oh, rest assured, it's going to take a bit more thought and  
>>> effort... ;-)
>> To spare some time looking, I see one issue that may turn out to be  
>> quite a challenge.
>> One significant benefit is that it operates on the same fo:markers,  
>> so little work there, and it may even give you some ideas on how to  
>> solve it for the table-case, however...
>>
>> If you follow what happens during regular marker-retrieval, you'll  
>> notice that the resolution depends on the markers having been added  
>> to the page-viewport.
>> This happens in the addAreas() phase. Later, when the page is  
>> finalized, the static-content is added, and at that point the markers  
>> are readily available.
>>
>> For a table-header (or -footer), there will be an additional  
>> difficulty, because at the point where we generate the base element  
>> list, the markers will not have been processed, so we cannot really  
>> depend on that same mechanism... Strictly speaking, we might also end  
>> up with borderline cases, where the table-header's height varies from  
>> page to page, depending on the content retrieved in the marker. Not  
>> sure, but the table-code may need some work to cater for this.
> 
> Absolutely. At the moment the element list for headers and footers is
> calculated once (in TableContentLayoutManager) and then used for every
> break possibility (see TableHFPenaltyPosition). When
> retrieve-table-markers are used you basically have to recalculate the
> header and footer element lists for each break position in case the
> markers change.
> 
> That's quite a bit of processing effort that is even mostly done in vain
> since most break positions won't even be used. But since we're still on
> a total-fit approach, that is necessary. That should improve when
> Vincent is finished with his revamping of the page breaking process.
> 
>> Just so you know what you're getting yourself into. ;-)
>>
>> Then again, we're here for you, if you get stuck.
>>
>> Cheers
>>
>> Andreas
>>
> 
> 
> 
> 
> Jeremias Maerki


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 01.09.2008 23:20:29 Andreas Delmelle wrote:
> On Sep 1, 2008, at 23:02, Andreas Delmelle wrote:
> 
> (Moving this to fop-dev@)
> 
> > On Sep 1, 2008, at 22:42, Jean-François El Fouly wrote:
> >> Hhmm... I've been quickly through the code and my first impression  
> >> is that it IS implemented.
> >
> > Not really, I'm afraid. I have prepared the implementation a while  
> > ago. That much is true. FOP simply does nothing with a retrieve- 
> > table-marker node, but the node is created and the properties  
> > parsed. Only in layoutmgr.LayoutManagerMapping, you will notice  
> > that the RetrieveTableMarker generates no LayoutManager yet.
> >
> >> I've set up a simple test case and, going through the stack trace,  
> >> I guess it could be a simple bug fix, something like a bad or  
> >> insufficient test in TablePart.java
> >
> > Oh, rest assured, it's going to take a bit more thought and  
> > effort... ;-)
> 
> To spare some time looking, I see one issue that may turn out to be  
> quite a challenge.
> One significant benefit is that it operates on the same fo:markers,  
> so little work there, and it may even give you some ideas on how to  
> solve it for the table-case, however...
> 
> If you follow what happens during regular marker-retrieval, you'll  
> notice that the resolution depends on the markers having been added  
> to the page-viewport.
> This happens in the addAreas() phase. Later, when the page is  
> finalized, the static-content is added, and at that point the markers  
> are readily available.
> 
> For a table-header (or -footer), there will be an additional  
> difficulty, because at the point where we generate the base element  
> list, the markers will not have been processed, so we cannot really  
> depend on that same mechanism... Strictly speaking, we might also end  
> up with borderline cases, where the table-header's height varies from  
> page to page, depending on the content retrieved in the marker. Not  
> sure, but the table-code may need some work to cater for this.

Absolutely. At the moment the element list for headers and footers is
calculated once (in TableContentLayoutManager) and then used for every
break possibility (see TableHFPenaltyPosition). When
retrieve-table-markers are used you basically have to recalculate the
header and footer element lists for each break position in case the
markers change.

That's quite a bit of processing effort that is even mostly done in vain
since most break positions won't even be used. But since we're still on
a total-fit approach, that is necessary. That should improve when
Vincent is finished with his revamping of the page breaking process.

> Just so you know what you're getting yourself into. ;-)
> 
> Then again, we're here for you, if you get stuck.
> 
> Cheers
> 
> Andreas
> 




Jeremias Maerki


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Andreas Delmelle <an...@telenet.be>.
On Sep 1, 2008, at 23:02, Andreas Delmelle wrote:

(Moving this to fop-dev@)

> On Sep 1, 2008, at 22:42, Jean-François El Fouly wrote:
>> Hhmm... I've been quickly through the code and my first impression  
>> is that it IS implemented.
>
> Not really, I'm afraid. I have prepared the implementation a while  
> ago. That much is true. FOP simply does nothing with a retrieve- 
> table-marker node, but the node is created and the properties  
> parsed. Only in layoutmgr.LayoutManagerMapping, you will notice  
> that the RetrieveTableMarker generates no LayoutManager yet.
>
>> I've set up a simple test case and, going through the stack trace,  
>> I guess it could be a simple bug fix, something like a bad or  
>> insufficient test in TablePart.java
>
> Oh, rest assured, it's going to take a bit more thought and  
> effort... ;-)

To spare some time looking, I see one issue that may turn out to be  
quite a challenge.
One significant benefit is that it operates on the same fo:markers,  
so little work there, and it may even give you some ideas on how to  
solve it for the table-case, however...

If you follow what happens during regular marker-retrieval, you'll  
notice that the resolution depends on the markers having been added  
to the page-viewport.
This happens in the addAreas() phase. Later, when the page is  
finalized, the static-content is added, and at that point the markers  
are readily available.

For a table-header (or -footer), there will be an additional  
difficulty, because at the point where we generate the base element  
list, the markers will not have been processed, so we cannot really  
depend on that same mechanism... Strictly speaking, we might also end  
up with borderline cases, where the table-header's height varies from  
page to page, depending on the content retrieved in the marker. Not  
sure, but the table-code may need some work to cater for this.

Just so you know what you're getting yourself into. ;-)

Then again, we're here for you, if you get stuck.

Cheers

Andreas


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by gennady <ge...@yahoo.com>.
It's nice that some Europeans are willing to work for free! What incentives
are you getting anyways?

-Gennady


Jean-François El Fouly wrote:
> 
> Andreas Delmelle a écrit :
>>
>>> I've set up a simple test case and, going through the stack trace, I 
>>> guess it could be a simple bug fix, something like a bad or 
>>> insufficient test in TablePart.java
>>
>> Oh, rest assured, it's going to take a bit more thought and effort... ;-)
>>
> Yes, I've seen late in the evening that implementing the "context" 
> attributes as defined in the W3C recommendation is probably going to be 
> a tough task.
> I've got a more serious question but I'll ask in another post.
> 
> Thanks for the moral support ;-)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19279169.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Jean-François El Fouly <je...@elfouly.fr>.
Andreas Delmelle a écrit :
>
>> I've set up a simple test case and, going through the stack trace, I 
>> guess it could be a simple bug fix, something like a bad or 
>> insufficient test in TablePart.java
>
> Oh, rest assured, it's going to take a bit more thought and effort... ;-)
>
Yes, I've seen late in the evening that implementing the "context" 
attributes as defined in the W3C recommendation is probably going to be 
a tough task.
I've got a more serious question but I'll ask in another post.

Thanks for the moral support ;-)



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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Andreas Delmelle <an...@telenet.be>.
On Sep 1, 2008, at 22:42, Jean-François El Fouly wrote:

Hi Jean-François

> Jeremias Maerki a écrit :
>> Hmm, that's one of the two remaining features that are available in
>> 0.20.5 but not in 0.95. So far, nobody has had enough of an itch to
>> implement this, I'm afraid.
>>
> Hhmm... I've been quickly through the code and my first impression  
> is that it IS implemented.

Not really, I'm afraid. I have prepared the implementation a while  
ago. That much is true. FOP simply does nothing with a retrieve-table- 
marker node, but the node is created and the properties parsed. Only  
in layoutmgr.LayoutManagerMapping, you will notice that the  
RetrieveTableMarker generates no LayoutManager yet.

> I've set up a simple test case and, going through the stack trace,  
> I guess it could be a simple bug fix, something like a bad or  
> insufficient test in TablePart.java

Oh, rest assured, it's going to take a bit more thought and  
effort... ;-)

> Will continue my quest tomorrow.
> I really need to fix this one by now.

Good to see some movement here!

Thanks

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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Jean-François El Fouly <je...@elfouly.fr>.
Jeremias Maerki a écrit :
> Hmm, that's one of the two remaining features that are available in
> 0.20.5 but not in 0.95. So far, nobody has had enough of an itch to
> implement this, I'm afraid.
>   
Hhmm... I've been quickly through the code and my first impression is 
that it IS implemented. I've set up a simple test case and, going 
through the stack trace, I guess it could be a simple bug fix, something 
like a bad or insufficient test in TablePart.java
Will continue my quest tomorrow.
I really need to fix this one by now.

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


Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Hmm, that's one of the two remaining features that are available in
0.20.5 but not in 0.95. So far, nobody has had enough of an itch to
implement this, I'm afraid.

On 25.08.2008 21:49:46 gennady wrote:
> 
> Hi, I am new to FOP and I need to convert FOP-20 to FOP-95. In FOP-20 we used
> fox:extension continued label for the table header. So if it's 1st page -
> table header prints "Subject". All next pages will have the same table
> header with "Subject cont." printed. How can I do it with latest FOP? Thank
> you for your help.
> -- 
> View this message in context: http://www.nabble.com/I-need-fo%3Aretrieve-table-marker-example-or-how-to-implement-continued-label-in-FOP-95--tp19150429p19150429.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 




Jeremias Maerki


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