Re: page-number-citation problem

2004-10-27 Thread J.Pietschmann
Randy Ouellette wrote:
We are having an issue with using the page-number-citation for outputting
the page-number for those pages that are inside a page-sequence when the
number is restarted (initial-number=1). We are trying to output a
page-number in a TOC but cannot get a value.
Please provide:
- FOP release information
- Exact problem description (expected result vs. actual result)
- A reasonably small test case
J.Pietschmann


Re: PAGE NUMBER HELP IN PDF

2003-03-20 Thread J.Pietschmann
Shyam Sundar wrote:
but the requirement is the ouptut should be like 1of 10 for the first page,2
of 10 for the second page etc.
See
 http://xml.apache.org/fop/faq.html#fo_total_pages
J.Pietschmann

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


RE: PAGE NUMBER HELP IN PDF

2003-03-20 Thread Shyam Sundar
Title: RE: PAGE NUMBER HELP IN PDF





thank you...
but i have multiple documents and it is generating errors .


cheers
shyam


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 21, 2003 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: PAGE NUMBER HELP IN PDF



Shyam Sundar wrote:
 but the requirement is the ouptut should be like 1of 10 for the first page,2
 of 10 for the second page etc.


See
 http://xml.apache.org/fop/faq.html#fo_total_pages


J.Pietschmann



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





Re: page-number-citation

2002-07-02 Thread Cyril Rognon

Hi,

(Remark : This is a XSL issue, nothing particular with XSL FO nor FOP. :)

you can simply use some other template (usually they use some toc named 
template) to generate your table of content using the same nodes. This wat, 
you can use the same xsl:generate-id function to generate the same internal 
created id here.

If you need more explanation, here is some sample code in the antennahouse 
fo tutorial here (http://www.antennahouse.com/XSLsample/XSLsample.htm) even 
if it is more complicated than your basic need.

Cyril

At 14:11 02/07/2002 +0200, you wrote:
Therefore I automatically create
id-attributes for each new
headline using xsl:generate-id.. but the problem is I cannot refer to this
generated ids!!  The
command fo:page-number-citation contains ref-id= but I don`t know how to
tell FOP that it
should use the internal created id-attributes here!  I didn`t find any
documentation about this
kind of problem.  Maybe you could help me?


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




Re: page-number-citation

2002-07-02 Thread FOP project-Vienna

Thanx for your answer but I´ve already studied these examples.. I tried it
again and it simply doesn`t work..
what I want to know is how can I refer to the genrated page-numbers in
fo:page-number-citation ref-id=/???

I have tried it like described by Antenna House:

the headline of each article is placed in a fo:block id={generate-id()}

in the table of content I used 
xsl:for-each select=//headline
...
fo:page-number-citation ref-id={generate-id()}/
...

like Antenna House
but the function in ref-id generates completely NEW ids which surely don`t
match with the ones generated in fo:block..
Is there any possibility to write something like fo:page-number-citation
ref-id=@id/ ?? Any possibility to write an xsl-command in the ref-id, like
fo:page-number-citation ref-id=xsl:value-of select=...// 
I know that it can`t work that way but maybe you understand my problem and
know something similar I could use...

Thank you a lot :)
Marion
 Hi,
 
 (Remark : This is a XSL issue, nothing particular with XSL FO nor FOP. :)
 
 you can simply use some other template (usually they use some toc named 
 template) to generate your table of content using the same nodes. This
 wat, 
 you can use the same xsl:generate-id function to generate the same
 internal 
 created id here.
 
 If you need more explanation, here is some sample code in the antennahouse
 
 fo tutorial here (http://www.antennahouse.com/XSLsample/XSLsample.htm)
 even 
 if it is more complicated than your basic need.
 
 Cyril
 
 At 14:11 02/07/2002 +0200, you wrote:
 Therefore I automatically create
 id-attributes for each new
 headline using xsl:generate-id.. but the problem is I cannot refer to
 this
 generated ids!!  The
 command fo:page-number-citation contains ref-id= but I don`t know how
 to
 tell FOP that it
 should use the internal created id-attributes here!  I didn`t find any
 documentation about this
 kind of problem.  Maybe you could help me?
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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




Re: page-number-citation

2002-07-02 Thread Cyril Rognon

Again, I must ell you that your issue is XSLT related, not FO nor FOP.

You must be sure that the current context node is the same when you 
generate the fo:block id={generate-id()}
and the fo:page-number-citation ref-id={generate-id()}/ !

different ids mean different nodes used by the generate-id function.

Be sure you have the same nodes means that if you use xsl:for-each 
select=//headline to gather your nodeset, you have to use some equal 
stuff to parse your headlines to generate your block with ids . It has to 
be the exat same nodes.

Cyril


At 17:34 02/07/2002 +0200, you wrote:
I have tried it like described by Antenna House:

the headline of each article is placed in a fo:block id={generate-id()}

in the table of content I used
xsl:for-each select=//headline
...
fo:page-number-citation ref-id={generate-id()}/
...

like Antenna House
but the function in ref-id generates completely NEW ids which surely don`t
match with the ones generated in fo:block..


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




Re: page-number-citation in combination with force-page-count

2002-05-14 Thread J.Pietschmann

Arnd Beißner wrote:
 I don't see how I could use a page-position=last property for this, 
 either.
This could work if it were implemented in FOP.

 Did I stumble upon a missing feature in XSL:FO,
Yes. There is no feature to really *count* pages, you can
only cite page numbers.

Postprocessing with iText or implementing an extension
element might help.

J.Pietschmann


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




Re: page-number-citation in combination with force-page-count

2002-05-14 Thread Arnd Beißner

J.Pietschmann wrote:

 Arnd Beißner wrote:
  I don't see how I could use a page-position=last property for this, 
  either.
 This could work if it were implemented in FOP.

  Did I stumble upon a missing feature in XSL:FO,
 Yes. There is no feature to really *count* pages, you can
 only cite page numbers.

 Postprocessing with iText or implementing an extension
 element might help.

Thanks, that'd be an extension element for me. If I do it,
I'll report my findings.

Thanks again,

Arnd Beissner
--
Cappelino Informationstechnologie GmbH
Arnd Beißner
Bahnhofstr. 3, 71063 Sindelfingen, Germany
Email: [EMAIL PROTECTED]
Phone: +49-7031-463458
Mobile: +49-173-3016917


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




RE: page-number

2002-04-10 Thread Dudley . Butt

yup

Try this in the beginning of your xsl:

fo:block
  fo:page-number//fo:page-number-citation ref-id=endofdoc/
/fo:block

And this somewhere close to the end.

fo:block id=endofdoc/fo:block


-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different page-sequence
master-reference but want to something like : this document has 12 pages.

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



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




RE: page-number

2002-04-10 Thread Dudley . Butt


this tag must be right at the end of the doc fo:block
id=endofdoc/fo:block

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but fo:page-number-citation ref-id=endofdoc/
says 6 ??
Does ist start from 0 ? can i change it, or is something like
fo:page-number-citation ref-id=endofdoc/ + 1 possible ?


henrik


yup

Try this in the beginning of your xsl:

fo:block
  fo:page-number//fo:page-number-citation ref-id=endofdoc/
/fo:block

And this somewhere close to the end.

fo:block id=endofdoc/fo:block


-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different page-sequence
master-reference but want to something like : this document has 12 pages.

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



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




re: page-number

2002-04-10 Thread Henrik Holle

nice try ;)

fo:block id=endofdoc/fo:block ist at the end !

on the first page i have fo:page-number-citation ref-id=endofdoc/

and at the last page-sequence i have fo:block id=endofdoc/fo:block

but fop forget to count 1 page





-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. April 2002 16:04
An: [EMAIL PROTECTED]
Betreff: RE: page-number



this tag must be right at the end of the doc fo:block
id=endofdoc/fo:block

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but fo:page-number-citation ref-id=endofdoc/
says 6 ??
Does ist start from 0 ? can i change it, or is something like
fo:page-number-citation ref-id=endofdoc/ + 1 possible ?


henrik


yup

Try this in the beginning of your xsl:

fo:block
  fo:page-number//fo:page-number-citation ref-id=endofdoc/
/fo:block

And this somewhere close to the end.

fo:block id=endofdoc/fo:block


-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different page-sequence
master-reference but want to something like : this document has 12 pages.

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


-
To unsubscribe, e-mail: [EMAIL PROTECTED

RE: page-number

2002-04-10 Thread Louis . Masters


Here is my body flow from my main page sequence:

fo:flow flow-name=xsl-region-body
 xsl:apply-templates select=data/
 fo:block id=lastpage/fo:block  !-- IMPORTANT: THIS MUST BE THE
LAST THING!!!--
/fo:flow

Reference it in your content as:

fo:block font-size=8pt color=black text-align=end
 Page fo:page-number/ of fo:page-number-citation ref-id=lastpage/
/fo:block

Hope this helps.  I also think info on this is in the FAQ.

-Lou






[EMAIL PROTECTED] on 04/10/2002 10:03:48

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: page-number


this tag must be right at the end of the doc fo:block
id=endofdoc/fo:block

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but fo:page-number-citation ref-id=endofdoc/
says 6 ??
Does ist start from 0 ? can i change it, or is something like
fo:page-number-citation ref-id=endofdoc/ + 1 possible ?


henrik


yup

Try this in the beginning of your xsl:

fo:block
  fo:page-number//fo:page-number-citation ref-id=endofdoc/
/fo:block

And this somewhere close to the end.

fo:block id=endofdoc/fo:block


-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different page-sequence
master-reference but want to something like : this document has 12
pages.

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies (Dimension Data). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



-
To unsubscribe, e-mail: [EMAIL

Re: page-number

2002-04-10 Thread J.Pietschmann

Henrik Holle wrote:
 how can i count all pages in my document? i have different page-sequence
 master-reference but want to something like : this document has 12 pages.
 is it possible?

Yes, you got some hints already.
Keep in mind that this will force FOP to keep all
pages in memory until the last page is rendered.
If you get a memory overflow exception, remove the
forward reference to the last page first.

J.Pietschmann




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




RE: page-number-citation and formatting

2001-12-10 Thread Matthias Fischer

We had the same problem you had, Phil. I admit, the output is not too
representable due to this (among other) problems of FOP. Another problem
would be that, if you use a filler of type ., it assumes a fix width.
It does not seem to be able to fill out the variable space between the text
of a TOC heading and the corresponding page number, like is shown in the
following example:

Long text long text . 12
Short text .. 18

Matthias



-Original Message-
From: Philip Harling [mailto:[EMAIL PROTECTED]]On Behalf Of Phillip
Harling
Sent: Friday, December 07, 2001 6:11 PM
To: [EMAIL PROTECTED]
Subject: page-number-citation and formatting


I'm having a small problem when using fo:page-number-citation/ and
formatting.  I am generating a table of contents using a table, and wish to
right align the page numbers.  If the table of contents appears at the
beginning of the document, the numbers don't get right-aligned, but if the
table of contents appears at the end of the document then they get aligned
correctly.

What appears to be happening is that if a forward reference is made to a
page citation then fop doesn't know how big the page number will be and
doesn't allocate any area for it.  If the page number is known, then the
space it allocates is known and correct alignment can occur.

I've had a look at org.apache.fop.fo.flow.PageNumberCitation and this seems
to bear up to the analysis.

Has anyone else experienced this problem and if so, do you have a
work-around?

Phil.



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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


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




RE: page-number-citation and formatting

2001-12-07 Thread Vladimir Sneblic

Hi Phillip,

I'm trying to generate a contents page myself, but since I'm quite new to
FOP I have no idea as to how to make a reference to page numbers of pages in
the document. It seams like you've solved this problem and I was wondering
if you would be willing to share this information, or point me in the
direction of a web page (or some other resource) that discusses this kind of
thing.

Here's what I'm trying to do in a bit more detail. I'm creating a PDF
document from a FOP template which is dynamically modified with the data
from the database. The reason why I can't just create a static content page
is because of the dynamic content (which needs a variable number of pages).
What's the best way to handle this kind of a problem?

Thanks in advance,

Vladimir

 -Original Message-
From:   Phillip Harling [mailto:[EMAIL PROTECTED]] 
Sent:   Saturday, 8 December 2001 6:11 a.m.
To: [EMAIL PROTECTED]
Subject:page-number-citation and formatting

I'm having a small problem when using fo:page-number-citation/ and
formatting.  I am generating a table of contents using a table, and wish to
right align the page numbers.  If the table of contents appears at the
beginning of the document, the numbers don't get right-aligned, but if the
table of contents appears at the end of the document then they get aligned
correctly.

What appears to be happening is that if a forward reference is made to a
page citation then fop doesn't know how big the page number will be and
doesn't allocate any area for it.  If the page number is known, then the
space it allocates is known and correct alignment can occur.

I've had a look at org.apache.fop.fo.flow.PageNumberCitation and this seems
to bear up to the analysis.

Has anyone else experienced this problem and if so, do you have a
work-around?

Phil.



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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

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