RE: Footer placement...

2004-11-09 Thread Anil R. Pinto
Thanks Chris. Will try out your suggestion and get back to the list of the
outcome.

Anil.

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Monday, November 08, 2004 8:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Footer placement...


Anil R. Pinto wrote:



> But with the marker approach I noticed that the footer area has to be
> allocated to the other pages (using the layout and region-after values
> applicable to the pages) irrespective. So, untimately although no footer
is
> printed on the middle pages, the area is consumed by a blank portion and
so
> paper will not really be saved (the main intention of this exercise :-) )

Sounds to me like you can fulfill your requirement using a footnote. A
footnote only takes up space if present. So just put a footnote in your last
paragraph and it should appear at the bottom of the last page. No need to
define a region-after.

The only problem with footnotes is that they are a bit buggy in current
version of FOP. Certain scenarios may produce strange effects, e.g. if last
paragraph in document happens to be at bottom of page, then there will be
room
for footnote. What should happen is FOP should move last paragraph to next
page along with footnote, but I dont think this works.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Footer placement...

2004-11-08 Thread Chris Bowditch
Anil R. Pinto wrote:

But with the marker approach I noticed that the footer area has to be
allocated to the other pages (using the layout and region-after values
applicable to the pages) irrespective. So, untimately although no footer is
printed on the middle pages, the area is consumed by a blank portion and so
paper will not really be saved (the main intention of this exercise :-) )
Sounds to me like you can fulfill your requirement using a footnote. A 
footnote only takes up space if present. So just put a footnote in your last 
paragraph and it should appear at the bottom of the last page. No need to 
define a region-after.

The only problem with footnotes is that they are a bit buggy in current 
version of FOP. Certain scenarios may produce strange effects, e.g. if last 
paragraph in document happens to be at bottom of page, then there will be room 
for footnote. What should happen is FOP should move last paragraph to next 
page along with footnote, but I dont think this works.

Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Footer placement...

2004-11-08 Thread Anil R. Pinto
Thanx Andreas !!! It sure did help. And almost was too good to be true, as
yet another issue cropped up.

The reason the footer was needed only on the last page was to save page area
on previous pages and use the footer information only on the last page where
the footer info is actually relevant.

But with the marker approach I noticed that the footer area has to be
allocated to the other pages (using the layout and region-after values
applicable to the pages) irrespective. So, untimately although no footer is
printed on the middle pages, the area is consumed by a blank portion and so
paper will not really be saved (the main intention of this exercise :-) )

But, nonetheless, your help was useful in understanding the feature provided
by markers and is greatly appreciated.

Anil.

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 8:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Footer placement...


> -Original Message-
> From: Anil Pinto [mailto:[EMAIL PROTECTED]
>

Hi,

>
> Can I get some more information or links on how this can be done
> with markers or footnotes ? I need to come up with a solution
> soon. Thanx in advance.
>

For the solution with markers, the explanation is:

- define fo:static-content for every page, and make them include
fo:retrieve-marker of a specific marker-class
- make sure that the footer-info required to appear on your last page only
appears in a fo:marker of the corresponding marker-class after the last
fo:block

Roughly, the XSL-FO has to look something like:


  

  

  
  
  ...
  
  
This text appears only on the page containing
the last fo:block
  
  


Hope this helps!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Footer placement...

2004-11-07 Thread Andreas L. Delmelle
> -Original Message-
> From: Anil Pinto [mailto:[EMAIL PROTECTED]
>

Hi,

>
> Can I get some more information or links on how this can be done
> with markers or footnotes ? I need to come up with a solution
> soon. Thanx in advance.
>

For the solution with markers, the explanation is:

- define fo:static-content for every page, and make them include
fo:retrieve-marker of a specific marker-class
- make sure that the footer-info required to appear on your last page only
appears in a fo:marker of the corresponding marker-class after the last
fo:block

Roughly, the XSL-FO has to look something like:


  

  

  
  
  ...
  
  
This text appears only on the page containing
the last fo:block
  
  


Hope this helps!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Footer placement...

2004-11-07 Thread Anil Pinto
Thanx for the reply.

Can I get some more information or links on how this can be done with markers 
or footnotes ? I need to come up with a solution soon. Thanx in advance.

Anil.

-- Original Message --
From: "J.Pietschmann" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Sat, 06 Nov 2004 21:44:12 +0100

>Anil R. Pinto wrote:
>> I have a requirement to print the footer only within the LAST page
>...
>> But it seems that the [page-position="last"] feature has not yet been
>> implemented,
>
>
>Commonly recommended workarounds are to implement a specific
>footer on the last page as marker or as a footnote.
>
>J.Pietschmann
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Footer placement...

2004-11-06 Thread J.Pietschmann
Anil R. Pinto wrote:
I have a requirement to print the footer only within the LAST page
...
But it seems that the [page-position="last"] feature has not yet been
implemented,

Commonly recommended workarounds are to implement a specific
footer on the last page as marker or as a footnote.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Footer placement...

2004-11-05 Thread Anil R. Pinto
Hi all,

I have a requirement to print the footer only within the LAST page (along
with body continued from previous pages) as shown below


---Page 1 --

Body details 

---Page 1 --

---Middle Page 1 ---

Body details continued .

---Middle Page 1 ---


 .. subsequent pages ..


---Middle Page N 

Body details continued .

---Middle Page N 

---Last Page 

Body details continued .

FOOTER Information

---Last Page -


Generally this functionality would need the use of the following



  



But it seems that the [page-position="last"] feature has not yet been
implemented, and I need a way to do the above in the absence of this
feature.

Any help in this direction is greatly appreciated.

thanks for your time,
Anil.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: table footer placement

2003-03-31 Thread J.Pietschmann
Partridge, Michael wrote:
I've got a table with a header, footer, and just enough rows to make
the footer spill onto a new page. I also set the attribute
table-omit-footer-at-break to true. So I get this when transforming:
[WARNING] footer could not fit on page, moving last body row to next
page
What actually happens, however, is that the last row of the table is
on the first page, and the second page has the table header and footer
only. I'm using fop 0.20.5rc - is the message implemented but not the
functionality?
It's probably a bug, but investigating it is way down my todo list.
A quick glance at the code didn't find any glaring fault.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: table footer placement

2003-03-31 Thread Clay Leeds
Mike,
This may not help, but have you tried 0.20.5rc2 and/or 0.20.4? Perhaps 
one of those may behave the way it should.

Partridge, Michael wrote:
What actually happens, however, is that the last row of the table is
on the first page, and the second page has the table header and footer
only. I'm using fop 0.20.5rc - is the message implemented but not the
functionality?

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


table footer placement

2003-03-31 Thread Partridge, Michael
The first time I sent this one I didn't get any replies, so I'll try it
one more time.

I've got a table with a header, footer, and just enough rows to make
the footer spill onto a new page. I also set the attribute
table-omit-footer-at-break to true. So I get this when transforming:

[WARNING] footer could not fit on page, moving last body row to next
page

What actually happens, however, is that the last row of the table is
on the first page, and the second page has the table header and footer
only. I'm using fop 0.20.5rc - is the message implemented but not the
functionality?

Mike Partridge 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



table footer placement

2003-03-19 Thread Partridge, Michael
I've got a table with a header, footer, and just enough rows to make
the footer spill onto a new page. I also set the attribute
table-omit-footer-at-break to true. So I get this when transforming:

[WARNING] footer could not fit on page, moving last body row to next
page

What actually happens, however, is that the last row of the table is
on the first page, and the second page has the table header and footer
only. I'm using fop 0.20.5rc.

Mike Partridge 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]