Solved

FOP Very Urgent

Posted on 2004-04-04
5
269 Views
Last Modified: 2010-04-17
Hi folks,

This is FOP.

I need a specific table on single page it self.
This table comes in middle of the page.
I dont want the table to span on 2 pages...
It should either be on 1 page or on page 2.

================
================
table1

table2

================
page1 ends
================

================
page 2 begins
================
table 2 contd


.......
.......
================

i dont want the above situation. Either table 2 goes on page2 or on page 1. it should not be divided between two pages...

NE clue?

Please respond asap
0
Comment
Question by:wizlokesh
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
simgron earned 250 total points
ID: 10753157
Since you need to know the length of table 2 you need to go ahead and build that, but not "print" it until you know its' length. Generally it is always clever to build larger objects prior to getting data from them, you never know how you will change your code in the future. And you have to build them anyway.

With FOP you simply build the tree that is the tables, before you decide the page layout.

Simon
0
 

Author Comment

by:wizlokesh
ID: 10754609
How do I not print it?
Do u mean we have any function which idicates that we just build it first and then call it whenever needed. to insert the table?

Do you have any example of it?

Its pretty urgent
0
 
LVL 1

Expert Comment

by:simgron
ID: 10756678
Is this the URL you are looking for http://xml.apache.org/fop/dev/implement.html ?

Regards
Simon
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question