5.10.4 from-page-master-region discrepancy?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

5.10.4 from-page-master-region discrepancy?

Glenn Adams-2
In XSL-FO 1.1, 5.10.4, appears:

"If this function is used in an expression on a formatting object, F, that is a descendant of an fo:page-sequence, then the computed value is taken from the region specification that was used to generate the nearest ancestor region reference area which has as its descendants the areas returned by F."

However, this is followed by an example where "this function" (from-page-master-region) is used on fo:page-sequence, and not a descendant of fo:page-sequence!

<fo:page-sequence master-name="default-sequence"
                  writing-mode="from-page-master-region()">

How is this example to be reconciled with the normative language cited above about being "used in an expression ... that is a descendant of an fo:page-sequence"?

Regards,
Glenn

Reply | Threaded
Open this post in threaded view
|

RE: 5.10.4 from-page-master-region discrepancy?

Amick, Eric

I may be misreading, but since a page-sequence is not a descendant of a page-sequence, doesn’t the paragraph before the one you cited cover this situation?

 

The computed value of the designated property is taken from that property on the layout formatting object being used to generate the region viewport/reference area pair.

 

In other words, the value comes from the simple-page-master called all-pages.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Glenn Adams [mailto:[hidden email]]
Sent: Saturday, April 21, 2012 12:13
To: [hidden email]; [hidden email]
Subject: 5.10.4 from-page-master-region discrepancy?

 

In XSL-FO 1.1, 5.10.4, appears:

 

"If this function is used in an expression on a formatting object, F, that is a descendant of an fo:page-sequence, then the computed value is taken from the region specification that was used to generate the nearest ancestor region reference area which has as its descendants the areas returned by F."

 

However, this is followed by an example where "this function" (from-page-master-region) is used on fo:page-sequence, and not a descendant of fo:page-sequence!

 

<fo:page-sequence master-name="default-sequence"
                  writing-mode="from-page-master-region()">

 

How is this example to be reconciled with the normative language cited above about being "used in an expression ... that is a descendant of an fo:page-sequence"?

 

Regards,

Glenn

 

Reply | Threaded
Open this post in threaded view
|

Re: 5.10.4 from-page-master-region discrepancy?

Glenn Adams-2
No, I don't believe so: simple-page-master does not generate any area. It is page-sequence which generates the region viewport/reference pairs.

On Mon, Apr 30, 2012 at 5:13 AM, Amick, Eric <[hidden email]> wrote:

I may be misreading, but since a page-sequence is not a descendant of a page-sequence, doesn’t the paragraph before the one you cited cover this situation?

 

The computed value of the designated property is taken from that property on the layout formatting object being used to generate the region viewport/reference area pair.

 

In other words, the value comes from the simple-page-master called all-pages.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Glenn Adams [mailto:[hidden email]]
Sent: Saturday, April 21, 2012 12:13
To: [hidden email]; [hidden email]
Subject: 5.10.4 from-page-master-region discrepancy?

 

In XSL-FO 1.1, 5.10.4, appears:

 

"If this function is used in an expression on a formatting object, F, that is a descendant of an fo:page-sequence, then the computed value is taken from the region specification that was used to generate the nearest ancestor region reference area which has as its descendants the areas returned by F."

 

However, this is followed by an example where "this function" (from-page-master-region) is used on fo:page-sequence, and not a descendant of fo:page-sequence!

 


<fo:page-sequence master-name="default-sequence"
                  writing-mode="from-page-master-region()">

 

How is this example to be reconciled with the normative language cited above about being "used in an expression ... that is a descendant of an fo:page-sequence"?

 

Regards,

Glenn