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 Luis Ferro <lf...@teladigital.pt> on 2006/08/10 07:40:46 UTC
background-color not painted...
If one uses a background-color="#0000FF" in the fo:simple-page-master i was
expecting it to either giving an error (which it didn't) or that it painted
the whole area inside the page definition with the stated color (which i
think would be the default behavior).
But it just ignored the attribute...
:(
--
View this message in context: http://www.nabble.com/background-color-not-painted...-tf2082850.html#a5738650
Sent from the FOP - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: background-color not painted...
Posted by Chris Bowditch <bo...@hotmail.com>.
Luis Ferro wrote:
> If one uses a background-color="#0000FF" in the fo:simple-page-master i was
> expecting it to either giving an error (which it didn't) or that it painted
> the whole area inside the page definition with the stated color (which i
> think would be the default behavior).
background-color is not used by simple-page-master. IIRC,
background-color is used by the before-region, start-region, etc.
>
> But it just ignored the attribute...
Not all properties affect all FOs, but its not invalid to specify a
property on an FO that doesnt use the property because of property
inheritence. For example, you might want to specify a default font for
an entire document by setting the font-family on fo:root. Whilst
font-family has no direct affect on fo:root, all child FOs will inherit
this property.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: background-color not painted...
Posted by Luis Ferro <lf...@teladigital.pt>.
Ok...
Anyway... i found out a way of "handling" the page requirements thru the
precedence="true" in the regions... which means that one can specify the
full defined page... and thrus adding a "bleeding" space between the content
and the "tinting" margin...
Thanx for the enlightment...
LF
--
View this message in context: http://www.nabble.com/background-color-not-painted...-tf2082850.html#a5740655
Sent from the FOP - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org