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

Glenn Adams <[email protected]> Mon, 30 Apr 2012 08:19:20 -0700
Newsgroups gmane.org.w3c.xsl-editors,gmane.text.xml.xsl.general
Message-ID <CACQ=j+dUHBSBMg7fEq1Vb4H7JQKku=y81S-5ikqnSmVmMu35xw@mail.gmail.com>
--20cf30051446a6681904bee6fb94
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 <[email protected]>wro=
te:

> I may be misreading, but since a page-sequence is not a descendant of a
> page-sequence, doesn=E2=80=99t the paragraph before the one you cited cov=
er 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:[email protected]]
> *Sent:* Saturday, April 21, 2012 12:13
> *To:* [email protected]; [email protected]
> *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 descenda=
nt
> of fo:page-sequence!****
>
> ** **
>
>
> <fo:page-sequence master-name=3D"default-sequence"****
>
>                   writing-mode=3D"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****
>
> ** **
>

--20cf30051446a6681904bee6fb94
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

No, I don&#39;t believe so: simple-page-master does not generate any area. =
It is page-sequence which generates the region viewport/reference pairs.<di=
v><br></div><div><div class=3D"gmail_quote">On Mon, Apr 30, 2012 at 5:13 AM=
, Amick, Eric <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
.gov" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"p=
urple"><div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I may be misr=
eading, but since a page-sequence is not a descendant of a page-sequence, d=
oesn=E2=80=99t the paragraph before the one you cited cover this situation?=
<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p><p class=3D"MsoNormal">The computed value of the designated property =
is taken from that property on the layout formatting object being used to g=
enerate the region viewport/reference area pair.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">In ot=
her words, the value comes from the simple-page-master called all-pages.<sp=
an style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-ser=
if&quot;;color:#1f497d"><u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p><p class=3D"MsoNormal"><span style=3D"font-size:7.5pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;">Eric Amick=C2=A0=C2=A0 Systems Engin=
eer II<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:7.5pt;font-family:&quot;Ari=
al&quot;,&quot;sans-serif&quot;">Legislative Computer Systems</span><span s=
tyle=3D"color:#1f497d"><u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;;color:#1f497d"><u></u>=C2=A0<u></u></span></p>

<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt"><div><div style=3D"border:none;border-top:solid #b5c4df 1.0pt;paddin=
g:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b><span style=3D"font-size:10.=
0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b>=
<span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-s=
erif&quot;"> Glenn Adams [mailto:<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>] <br>

<b>Sent:</b> Saturday, April 21, 2012 12:13<br><b>To:</b> <a href=3D"mailto=
:[email protected]" target=3D"_blank">[email protected]</a>; <a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a><br><b>Subj=
ect:</b> 5.10.4 from-page-master-region discrepancy?<u></u><u></u></span></=
p>

</div></div><div><div class=3D"h5"><p class=3D"MsoNormal"><u></u>=C2=A0<u><=
/u></p><p class=3D"MsoNormal">In XSL-FO 1.1, 5.10.4, appears:<u></u><u></u>=
</p><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=
=3D"MsoNormal">
&quot;<span><span style=3D"font-family:&quot;Arial&quot;,&quot;sans-serif&q=
uot;">If this function is used in an expression on a formatting object,=C2=
=A0</span></span><var><span style=3D"font-family:&quot;Arial&quot;,&quot;sa=
ns-serif&quot;">F</span></var><span><span style=3D"font-family:&quot;Arial&=
quot;,&quot;sans-serif&quot;">, that is <span style=3D"background:#ffff99">=
a descendant of an fo:page-sequence</span>, then the computed value is take=
n from the region specification that was used to generate the nearest ances=
tor region reference area which has as its descendants the areas returned b=
y=C2=A0</span></span><var><span style=3D"font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;">F</span></var><span><span style=3D"font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">.</span></span>&quot;<u></u><u></u></p>

</div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p cla=
ss=3D"MsoNormal">However, this is followed by an example where &quot;this f=
unction&quot; (from-page-master-region) is used on fo:page-sequence, and no=
t a descendant of fo:page-sequence!<u></u><u></u></p>

</div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><div s=
tyle=3D"border-top:double lightgrey 2.25pt;border-left:none;border-bottom:d=
ouble lightgrey 2.25pt;border-right:none;padding:3.0pt 0in 3.0pt 0in"><pre =
style=3D"margin-left:12.0pt;background:#d5dee3">

&lt;fo:page-sequence master-name=3D&quot;default-sequence&quot;<u></u><u></=
u></pre><pre style=3D"margin-left:12.0pt;background:#d5dee3">=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 writing-mode=3D&quot;from-page-master-region()&quot;&gt;<u>=
</u><u></u></pre>

</div></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div>=
<p class=3D"MsoNormal">How is this example to be reconciled with the normat=
ive language cited above about being &quot;used in an expression ... that i=
s a descendant of an fo:page-sequence&quot;?<u></u><u></u></p>

</div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p cla=
ss=3D"MsoNormal">Regards,<u></u><u></u></p></div><div><p class=3D"MsoNormal=
">Glenn<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u>=
</u></p></div>

</div></div></div></div></div></blockquote></div><br></div>

--20cf30051446a6681904bee6fb94--