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 ncw <nc...@hyacinth.us> on 2005/12/19 19:31:40 UTC

page-break-before


Hello,

I am using CSSToXSLFO to generate FO, and then FOP to generate PDF. I've 
found that the page-break-before attribute of fo:block is not yet 
implemented, and was wondering if this is something that will be 
implemented sooner or later. Is there any other FO construct I could use 
to achieve the same effect?

Regards,
Nancy



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by Paul <de...@gmail.com>.
Not sure if it's what you're looking for, but I use this in my custom.xsl file:

<xsl:attribute-set name="section.level1.properties">
           <xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>


On 12/19/05, ncw <nc...@hyacinth.us> wrote:
>
>
> Hello,
>
> I am using CSSToXSLFO to generate FO, and then FOP to generate PDF. I've
> found that the page-break-before attribute of fo:block is not yet
> implemented, and was wondering if this is something that will be
> implemented sooner or later. Is there any other FO construct I could use
> to achieve the same effect?
>
> Regards,
> Nancy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


--
"It is hard enough to remember my opinions, without also remembering
my reasons for them!"
-- Friedrich Nietzsche

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 19.12.2005 20:04:25 Andreas L Delmelle wrote:
> On Dec 19, 2005, at 19:58, Jeremias Maerki wrote:
> 
> > Uhm, there is a shorthand property called "page-break- 
> > before" (7.29.17).
> 
> Oops! Totally missed that one. Too quick in my reply --again *sigh*

Welcome to the club. I was burned by that a number of times now. :-)
That's life on the fast lane. Hehe


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Dec 19, 2005, at 19:58, Jeremias Maerki wrote:

> Uhm, there is a shorthand property called "page-break- 
> before" (7.29.17).

Oops! Totally missed that one. Too quick in my reply --again *sigh*

Sorry,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Uhm, there is a shorthand property called "page-break-before" (7.29.17).
It's just that it's not implemented, yet. Still, it would be better for
CSSToXSLFO to support the break-before property instead, because
"page-break-before" is in the "Complete" conformance level while
"break-before" is already available in "Basic". But I guess since the
application has a CSS background it's no wonder that it rather uses the
CSS properties instead of the native FO ones.

On 19.12.2005 19:41:19 Andreas L Delmelle wrote:
> On Dec 19, 2005, at 19:31, ncw wrote:
> 
> Hi,
> 
> > I am using CSSToXSLFO to generate FO, and then FOP to generate PDF.  
> > I've found that the page-break-before attribute of fo:block is not  
> > yet implemented, and was wondering if this is something that will  
> > be implemented sooner or later. Is there any other FO construct I  
> > could use to achieve the same effect?
> 
> In fact there is no property named 'page-break-before'. The right way  
> to specify this is 'break-before="page"'.
> 
> see: http://www.w3.org/TR/xsl/slice7.html#break-before
> 
> 
> HTH!
> 
> Cheers,
> 
> Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by ncw <nc...@hyacinth.us>.
Andreas L Delmelle wrote:

> On Dec 19, 2005, at 19:31, ncw wrote:
>
> Hi,
>
>> I am using CSSToXSLFO to generate FO, and then FOP to generate PDF.  
>> I've found that the page-break-before attribute of fo:block is not  
>> yet implemented, and was wondering if this is something that will  be 
>> implemented sooner or later. Is there any other FO construct I  could 
>> use to achieve the same effect?
>
>
> In fact there is no property named 'page-break-before'. The right way  
> to specify this is 'break-before="page"'.
>
> see: http://www.w3.org/TR/xsl/slice7.html#break-before
>
>
> HTH!

Thanks! This advice did help. For now I am replacing 'page-break-before' 
with 'break-before="page"', and it works great. I appreciate the quick 
response :-)

Nancy


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page-break-before

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Dec 19, 2005, at 19:31, ncw wrote:

Hi,

> I am using CSSToXSLFO to generate FO, and then FOP to generate PDF.  
> I've found that the page-break-before attribute of fo:block is not  
> yet implemented, and was wondering if this is something that will  
> be implemented sooner or later. Is there any other FO construct I  
> could use to achieve the same effect?

In fact there is no property named 'page-break-before'. The right way  
to specify this is 'break-before="page"'.

see: http://www.w3.org/TR/xsl/slice7.html#break-before


HTH!

Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org