Detecting a page break before it happens

2008-01-04 Thread Trevor Keast

Hi,

I have a large table that spans many pages.  I need some way or 
detecting a page break before it happens so that I can write 
continued... at the bottom of the table.


How can I go about doing this?

Thanks in advance!

Regards,

Trevor.

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



Re: Newbie question for incrementing a number

2007-07-13 Thread Trevor Keast
You cannot increment a number using (x = x + 1) as you can in most 
languages, however you can use the position() function as a counter in 
many cases.


For example:

xsl:valueOf select=position()/

The alternative to this is to use a recursive template, which is a bit 
more tricky.


Hope that helps,

Trevor.

alphamanic wrote:

Hi Guys,

This is a newbie question.

I have an XSL which reads in some of value from xml using Document()
function and some some XSL:PARM. I'm using fo:block to display the
content in a block.
Simply what I want to do is create a counter that will increment for my each
FO:BLOCKi.e.

fo:block
display counter value
xsl:valueOf select=$param1/
/fo:block

fo:block
display counter value
xsl:valueOf select=document(somexml.xml)/note1/
/fo:block

etc.

Please help? - I've tried the below code but it doesn't work:
xsl:parm name=counter select=1/
some template
fo:block
xsl:with-parm name=counter select=$counter + 1/
xsl:valueOf select=$counter/ - this return 1 instead of 2
/some template


--
Trevor Keast
Client Server Specialists Inc.

Email: [EMAIL PROTECTED]

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



Forcing a new line

2007-06-27 Thread Trevor Keast

Hi,

I have a table with column headings.  Sometimes the headings are quite 
long and I want to force a carrige return and display the heading text 
on two lines, for example:


Currently looks like this:

--

Portfolio Start Value

33
44
55

--

But I want it like this:

--

Portfolio
Start Value





--

I also want to be able to force a blank line between the heading and the 
table body.


Any advice would be greatly appreciated!

Regards,

Trevor.
--
Trevor Keast
Client Server Specialists Inc.

Email: [EMAIL PROTECTED]

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



Re: page numbering

2007-06-18 Thread Trevor Keast
You can start the page numbering at any given number.  You can use the 
fo:page-sequence tag in the following fashion:


fo:page-sequence master-reference=myMaster initial-page-number=1

Hope this helps,

Trevor.

Baeckham wrote:

Hi,

I want to have a table of content on my pdf, the page numbering should start 
at the next page (the first page after the toc).


How can I do this, do I need two fo:page-sequence ?

Thanx for any hints.

Steffen

-
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]



Problem inserting a BMP image.

2007-04-23 Thread Trevor Keast

Hi,

I am trying to insert a bitmap image into my pdf document using 
fo:external-graphic in my style sheet.


This works fine with most bmp's I try to insert but when I try and 
insert  a bmp representation of a ChartFX chart I get the following error.


SEVERE: Image () has 200 which is not a supported BMP format.

I am using FOP 0.93.

Any advice or guidance would be greatly appreciated.
--
Trevor Keast
Client Server Specialists Inc.

Email: [EMAIL PROTECTED]

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