?
Solved

FOP Very Urgent

Posted on 2004-04-04
5
Medium Priority
?
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
simgron earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Starting up a Project
Suggested Courses

777 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