Solved

FOP Very Urgent

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 48
Replace a tag with sed 2 43
Path to Python 9 48
I need an assist with a programming logic math question. 5 32
A short article about problems I had with the new location API and permissions in Marshmallow
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.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now