On 04 Mar 2011, at 12:25, Vincent Hennebert wrote:

> On 03/03/11 20:18, Andreas Delmelle wrote:
>> 
>> Let's assume that this refers to the default/normal situation. After all, we 
>> are quoting the _general_ fo:region-before definition (= where no deviating 
>> reference-orientation has been specified on the region). I would not believe 
>> anyone claiming that this definition was written with the intention of 
>> covering all possible combinations of reference-orientation/writing-mode.
> 
> I’m not sure I’m following. The specification is supposed to cover all
> cases, isnt’it?

Yes, the specification as a whole, but a general definition of a formatting 
object is just that. It describes the regular behavior. In case the properties 
default to their initial values, and some such. To get the full picture of the 
possible effects of reference-orientation and writing-mode, the property 
definitions are just as important, if not more so.

>> The general definition just states the normal behavior: if no deviating 
>> reference-orientation has been specified, the region-reference-area will 
>> have the same orientation as the viewport.
>> 
>> The definition of reference-orientation (7.21.3) states that a value of '90' 
>> means that "the reference-orientation of this *reference-area* is rotated 90 
>> degrees counter-clockwise from the reference-orientation of the *containing 
>> reference-area*."
> 
> Exactly. So the reference-orientation of the region-viewport-area is
> rotated from the reference-orientation of the page-reference-area.

The reference-orientation of the region-reference-area is rotated with respect 
to the containing page-reference-area. Where does it say 'viewport'?

>> So, specifying reference-orientation="90" on the region rotates its 
>> reference-area by 90 degrees from the page-reference-area. Nothing is said 
>> about the viewport here, mind you.
> 
> There is, see Section 6.4.15, “fo:region-before”:
>    “The reference-orientation and writing-mode of the
>    region-viewport-area are determined by the formatting object that
>    generates the area (see 6.4.5 fo:page-sequence).”

By 'here', I meant the definition of the property value. 
On the other hand: indeed! My point exactly. The reference-orientation of the 
region-viewport-area is always the same as that of the page-reference-area. 
Only the reference-orientation of the region-reference-area can deviate further 
(as described, by combining reference-orientation on the region with 
from-page-master-region() on the page-sequence). The new, rotated co-ordinate 
system would hold only *inside* the region-viewport-area to determine the 
dimensions and placement of the region-reference-area. On the outside, "before" 
is not rotated, yet.



Regards,

Andreas
---

Reply via email to