page layout bug

View: New views
5 Messages — Rating Filter:   Alert me  

page layout bug

by Mark Volkmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

According to the W3C XSL-FO recommendation, region-before and region-
after should extend horizontally all the way across the page. region-
start and region-end should extend vertically, consuming whatever  
space remains after region-before and region-after claim their space.

FOP doesn't do this. In FOP, region-start and region-end extend  
vertically all the way down the page. region-before and region-end  
extend horizontally, consuming whatever space remains after region-
start and region-end claim their space.

I'm seen some emails saying that this can be corrected by setting  
precedence attributes. However, I think what's in the recommendation  
should be the default behavior.

Is this considered a bug in FOP?

---
Mark Volkmann






smime.p7s (7K) Download Attachment

Parent Message unknown RE: page layout bug

by Manuel Mall-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mark,

It is my understanding that the question "who gets the corners of the page"
is controlled by the precedence property which applies only to the
region-before and region-after. This property is by default false which
means if not set the start and end regions extend into the corners of the
page.

Manuel

> -----Original Message-----
> From: Mark Volkmann [mailto:mark@...]
> Sent: Sunday, 6 July 2008 11:17 AM
> To: fop-users@...
> Subject: page layout bug
>
> According to the W3C XSL-FO recommendation, region-before and region-
> after should extend horizontally all the way across the page. region-
> start and region-end should extend vertically, consuming whatever
> space remains after region-before and region-after claim their space.
>
> FOP doesn't do this. In FOP, region-start and region-end extend
> vertically all the way down the page. region-before and region-end
> extend horizontally, consuming whatever space remains after region-
> start and region-end claim their space.
>
> I'm seen some emails saying that this can be corrected by setting
> precedence attributes. However, I think what's in the recommendation
> should be the default behavior.
>
> Is this considered a bug in FOP?
>
> ---
> Mark Volkmann
>
>
>


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


Re: page layout bug

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 6, 2008, at 05:59, Manuel Mall wrote:

>> -----Original Message-----
>> From: Mark Volkmann [mailto:mark@...]
>> Sent: Sunday, 6 July 2008 11:17 AM
>> To: fop-users@...
>> Subject: page layout bug
>>
>> According to the W3C XSL-FO recommendation, region-before and region-
>> after should extend horizontally all the way across the page. region-
>> start and region-end should extend vertically, consuming whatever
>> space remains after region-before and region-after claim their space.
>>
> It is my understanding that the question "who gets the corners of  
> the page"
> is controlled by the precedence property which applies only to the
> region-before and region-after. This property is by default false  
> which
> means if not set the start and end regions extend into the corners  
> of the
> page.

Yep. It's only rather unfortunate that the 'clarifying' images in the  
Recommendation (like in 6.4.13 simple-page-master) show the behavior  
Mark is describing (corresponds to non-default values for  
'precedence' on region-before and region-after...), thus giving the  
impression that this is the default behavior.


Cheers

Andreas


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


Re: page layout bug

by Mark Volkmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 6, 2008, at 2:44 AM, Andreas Delmelle wrote:

> On Jul 6, 2008, at 05:59, Manuel Mall wrote:
>
>>> -----Original Message-----
>>> From: Mark Volkmann [mailto:mark@...]
>>> Sent: Sunday, 6 July 2008 11:17 AM
>>> To: fop-users@...
>>> Subject: page layout bug
>>>
>>> According to the W3C XSL-FO recommendation, region-before and  
>>> region-
>>> after should extend horizontally all the way across the page.  
>>> region-
>>> start and region-end should extend vertically, consuming whatever
>>> space remains after region-before and region-after claim their  
>>> space.
>>>
>> It is my understanding that the question "who gets the corners of  
>> the page"
>> is controlled by the precedence property which applies only to the
>> region-before and region-after. This property is by default false  
>> which
>> means if not set the start and end regions extend into the corners  
>> of the
>> page.
>
> Yep. It's only rather unfortunate that the 'clarifying' images in  
> the Recommendation (like in 6.4.13 simple-page-master) show the  
> behavior Mark is describing (corresponds to non-default values for  
> 'precedence' on region-before and region-after...), thus giving the  
> impression that this is the default behavior.

It's quite a puzzle to determine the default behaviour from the XSL-FO  
1.1 Recommendation. Are you saying that the correct default behavior  
is for region-before and region-after to default to a precedence of  
false and therefore region-start and region-end will default to true?  
Is there a section in the Recommendation that makes this clear?

---
Mark Volkmann






smime.p7s (7K) Download Attachment

Parent Message unknown Re: page layout bug

by Andreas Delmelle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>----- Oorspronkelijk bericht -----
>Van: Mark Volkmann [mailto:mark@...]
>Verzonden: zondag, juli 6, 2008 02:19 PM
>
>On Jul 6, 2008, at 2:44 AM, Andreas Delmelle wrote:

Hi Mark

>> Yep. It's only rather unfortunate that the 'clarifying' images in
>> the Recommendation (like in 6.4.13 simple-page-master) show the
>> behavior Mark is describing (corresponds to non-default values for
>> 'precedence' on region-before and region-after...), thus giving the
>> impression that this is the default behavior.
>
>
>It's quite a puzzle to determine the default behaviour from the XSL-FO  
>1.1 Recommendation. Are you saying that the correct default behavior
>is for region-before and region-after to default to a precedence of
>false and therefore region-start and region-end will default to true?

Not entirely. The 'precedence' property only applies to region-before and region-after, and there it defaults to a value of 'false'. You can specify it on region-start or region-end, but there it has no effect.

The example given under fo:simple-page-master therefore reflects the situation where the author has specified an explicit value of 'true' for both region-before and -after...

>Is there a section in the Recommendation that makes this clear?

Not really a section. It follows from the definition of the property:
http://www.w3.org/TR/xsl/#precedence

HTH!

Cheers

Andreas



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

LightInTheBox - Buy quality products at wholesale price