You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Kuba Królikowski <ku...@kompakt.pl> on 2003/09/05 13:51:16 UTC
Dynamic page break control
Hello!
I'm new Fop user. Now I'm recognizing this utility and analyzing if it
is suitable for my needs. I'm afraid about page break controling in Fop.
I need such functionality as:
1. I want to print tables. Content in some cells has a lof of rows
(more than one) - I don't know how many before printout generating
because it depends on text length and font size. One table row should be
on one side (it can't be breaking). At the end of site I want to put
summary - for example the sum of values in one column. To count this
summary I have to know where will be page break. This summary should be
printed on the start of next page too.
2. Otherwise there shouldn't be summary when on first page, for example,
there is only header of the table (first row is on the next page) - I
have to know how many rows of table is printed on page and then put
summary or not.
3. Otherwise I want to send some special steering codes at end of the
page to the printer like 'print diacritic code' or 'change paper feeder'
e.t.c.
So I have some questions:
1. Is there any method for page break control in java, such as
'listeners' or 'handlers'?
2. Can I dynamically, during printout generating, do some actions at the
end of page and make some changes in content?
3. How can I send escape sequences, steering codes to the printer from Fop?
Kuba Królikowski
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org