Markers sound much easier for this.
See examples\fo\markers\ included in the FOP distribution.
Plenty of examples in the list archive too.
Cheers,
Roland
-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 March 2005 10:48 AM
To: [EMAIL PROTECTED]
Are you sure? If I understand the question correctly
he wants a different title on page 2 (and 3, and 4,
and 5...) from page 1.
For example: Page One: ACME INVOICE
Page Two onwards:ACME INVOICE (cont'd).
Would markers really help here?
Glen
--- Roland Neilands [EMAIL PROTECTED]
wrote:
Some working code:
...
fo:static-content:
fo:block text-align=end space-after.optimum=3pt line-height=15pt
font-family=serif font-size=10pt
!-- This marker contains Continued til last page then the total --
!-- xsl:value-of select=Header/OrderTotal/ --
I'm confused about the comment:
!-- This marker contains Continued til last page
then the total --
But we don't want to see the text continued until
(=up to) the last page--we *do* want to see it on the
last page, and every page, except the first. Is your
code doing this or are is it solving
Yes, the comment states what my code is doing.
It would have to be modified accordingly for this case, ie
- retrieve-position=first-starting-within-page
- set the static description at the start not the end.
- formatting etc. Note for markers this comes from the setting block not the
Hi,
I am displaying some text on one of the pages, and some times the text
might be long enough that a new page is created. Is there a way to check
if a new page is created so I put some page title eg. (cont...) or
something else.
Thanks
Jaysheel.
If you are using static-content blocks to create headers and footers,
you'll automatically get that content on the new page. You can also put a
running title in the header or footer. If you make the header area big
enough and apply the same style choices to the running title, I suppose
you
I think he can, although I don't have an exact example
for him--[1] may come close. It would be convoluted,
and I'm unsure whether it works in FOP, but:
Basically, he wants the static header to be different
on pages after one, if there is more than one page.
That normally indicates using a