Continued ...

Emails and forum questions have been on fire on a subject lately. To paraphrase, 'how can I add 'Continued ...' to the bottom of a table if the contents spill over more than one page?' I have solution that uses a template approach to dynamically add content to the page footer but Hok Min, the 'Template Meister Extraordinaire' has come up with an even more 'tricksy' solution that I like better. It uses the page total functionality that we support and its extremely cunning!

continued1.gif

The image above shows the template - standard table with employee data in it. Notice the last row of the table has most of the borders turned off. I have got 'Show Gridlines' enabled so you can see it is another row in the table. There are some other fields in there too.

continued2.gif

Walking through the more important fields:
  • InitPT - <?init-page-total: contd_footer?> - initializes a page total object 'contd_footer' - for more info on this check the user guides.
  • ET - <?add-page-total:contd_footer;1?> - within the table, adds the total into the page.
  • Footer - <?table-footer:?> - an undocumented command (we had other plans for the command for a later release - hence the lack of doc) to specify that this row is the table footer. MSWord does not have a concept of table footer so we need to mark it as such for the rendering engine to 'see'. Notice its in the last row of the table - no borders remember (thats optional)
  • PT - <xdofo:inline-total display-condition="exceptlast" name="contd_footer">Continued ...</xdofo:inline-total> - this is the cool piece. It is supposed to render the page total, but instead it will show the string 'Continued ...' on all but the last page of the table.
  • EET - <?end-page-total:contd_footer?> - this closes out the page total command.
Try it out and play with it here. This approach works with 5.6.3 and above. I'll develop out the page footer approach and post that as soon as I get it working.
Comments:

Please have a look at this http://winrichman.blogspot.com/2008/08/last-page-continued-argument-continues.html

Posted by Vetri on August 07, 2008 at 11:28 AM MDT #

Hey Vetri Thanks for the tip Tim

Posted by Tim on August 08, 2008 at 02:54 AM MDT #

Hi Tim/Vitri, How about having this continued message for each group if group falls accross the pages. And how about if we want to have the "Continued ..." message at the top of every page except the page where the group starts. Rgds, -Animesh

Posted by Animesh on August 09, 2008 at 04:36 PM MDT #

Hey Tim, On 5.6.2 need to avoid carriage returns, input but it does not work in this version, any suggestions? Error: Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'chr' Thanks, Barbara

Posted by Barbara on August 10, 2008 at 11:18 PM MDT #

@Barbara - what method are you using to avoid/remove the CRs? @Animesh - this method does handle Continued if the group falls across pages. The header one - you may be able to adapt Vetsrini's method or wait for the other one I have.

Posted by Tim on August 11, 2008 at 02:45 AM MDT #

Please, could you give an advice about command? I'm trying to create table footer with several rows in it. But I'm getting error: element xdofo:table-footer is not supported yet. With one row? all works perfect. Does any possibility exist to create table footer with several table rows in it?

Posted by Mitya on February 01, 2009 at 10:26 PM MST #

Good day to all, great site here :) I am looking for fans of our favorite celebs. If you have any sexy photos with someone, i will appreciate your help :)

In exchange I can upload some top hottest stuff from my hd here.
Regards! Waiting for links with good stuff, and free of course :)

Posted by Mariella on April 01, 2009 at 12:01 PM MDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Follow bipublisher on Twitter Find Us on Facebook BI Publisher Youtube ChannelDiscussion Forum

Join our BI Publisher community to get the most and keep updated with the latest news, How-to, Solutions! Share your feedback and let us hear your voice @bipublisher on Twitter, on our official Facebook page, and Youtube!

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today