Solved

FOP Very Urgent

Posted on 2004-04-04
5
285 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 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression

717 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