version 1.53, 2004/06/17 14:13:37
|
version 1.54, 2004/09/27 10:01:01
|
Line 16
|
Line 16
|
|
|
<h4>Translated from French by Ethan Munson</h4> |
<h4>Translated from French by Ethan Munson</h4> |
|
|
<h4>Version of June 16, 2004</h4> |
<h4>Version of September 27, 2004</h4> |
|
|
<p>© 1996-2004 INRIA</p> |
<p>© 1996-2004 INRIA</p> |
<hr /> |
<hr /> |
Line 174
|
Line 174
|
</li> |
</li> |
<li><a href="#sectc4223">Page breaking and line breaking |
<li><a href="#sectc4223">Page breaking and line breaking |
conditions</a></li> |
conditions</a></li> |
|
<li><a href="#Controllin">Controlling style of lists</a> |
|
<ul> |
|
<li><a href="#litype">List item type</a></li> |
|
<li><a href="#liimage">List item image</a></li> |
|
<li><a href="#liposition">List item position</a></li> |
|
</ul> |
|
</li> |
<li><a href="#sectc4224">Visibility</a></li> |
<li><a href="#sectc4224">Visibility</a></li> |
<li><a href="#sectc4225">Character style properties</a> |
<li><a href="#sectc4225">Character style properties</a> |
<ul> |
<ul> |
Line 1894 exceptions are indicated by a name. They
|
Line 1901 exceptions are indicated by a name. They
|
'CssBackground' / 'CssClass' / 'CssId' / 'CssPseudoClass' / |
'CssBackground' / 'CssClass' / 'CssId' / 'CssPseudoClass' / |
'NoShowBox' / 'SetWindowBackground' / |
'NoShowBox' / 'SetWindowBackground' / |
'Shadow' / 'EventAttr' / 'SpacePreserve' / |
'Shadow' / 'EventAttr' / 'SpacePreserve' / |
'IsPlaceholder' / |
'IsPlaceholder' / 'StartCounter' / 'SetCounter' / |
ExceptNum .</pre> |
ExceptNum .</pre> |
|
|
<p>The following are the available exceptions:</p> |
<p>The following are the available exceptions:</p> |
Line 2110 exceptions are indicated by a name. They
|
Line 2117 exceptions are indicated by a name. They
|
<dd>@@@@</dd> |
<dd>@@@@</dd> |
<dt><tt>IsPlaceholder</tt></dt> |
<dt><tt>IsPlaceholder</tt></dt> |
<dd>@@@@</dd> |
<dd>@@@@</dd> |
|
<dt><tt>StartCounter</tt></dt> |
|
<dd>@@@@</dd> |
|
<dt><tt>SetCounter</tt></dt> |
|
<dd>@@@@</dd> |
</dl> |
</dl> |
|
|
<blockquote class="example"> |
<blockquote class="example"> |
Line 3166 different styles. The keyword <tt>VALUE<
|
Line 3177 different styles. The keyword <tt>VALUE<
|
parentheses) by the name of the counter, the name of the attribute, or the |
parentheses) by the name of the counter, the name of the attribute, or the |
keyword <tt>PageNumber</tt> and the desired style, the two parameters being |
keyword <tt>PageNumber</tt> and the desired style, the two parameters being |
separated by a comma. The style is a keyword which indicates whether the |
separated by a comma. The style is a keyword which indicates whether the |
value should be presented in arabic numerals (<tt>Arabic</tt>), lower-case |
value should be presented in arabic numerals (<tt>Arabic</tt>, |
roman numerals (<tt>LRoman</tt>), or upper-case roman numerals |
<tt>Decimal</tt> or <tt>DecimalLeadingZero</tt>), lower-case roman numerals |
(<tt>URoman</tt>), or by an upper-case letter (<tt>Uppercase</tt>) or |
(<tt>LRoman</tt> or <tt>LowerRoman</tt>), upper-case roman numerals |
lower-case letter (<tt>Lowercase</tt>).</p> |
(<tt>URoman</tt> or <tt>UpperRoman</tt>), upper-case latin letter |
|
(<tt>Uppercase</tt> or <tt>UpperLatin</tt>), lower-case latin letter |
|
(<tt>Lowercase</tt> or <tt>LowerLatin</tt>), uppercase greek letter |
|
(<tt>UpperGreek</tt>) or lowercase greek letter (<tt>LowerGreek</tt>).</p> |
|
|
<p>For a page counter, the keyword <tt>PageNumber</tt> can be followed, |
<p>For a page counter, the keyword <tt>PageNumber</tt> can be followed, |
between parentheses, by the name of the view from which to obtain the page |
between parentheses, by the name of the view from which to obtain the page |
Line 3191 concerned by the function.</p>
|
Line 3205 concerned by the function.</p>
|
CounterStyle ')' . |
CounterStyle ')' . |
PageAttrCtr = 'PageNumber' [ '(' ViewID ')' ] / |
PageAttrCtr = 'PageNumber' [ '(' ViewID ')' ] / |
[ MinMax ] CounterID / AttrID . |
[ MinMax ] CounterID / AttrID . |
CounterStyle = 'Arabic' / 'LRoman' / 'URoman' / |
CounterStyle = 'Arabic' / 'Decimal' / 'DecimalLeadingZero' / |
'Uppercase' / 'Lowercase' . |
'URoman' / 'UpperRoman' / 'LRoman' / 'LowerRoman' / |
|
'Uppercase' / 'UpperLatin' / 'Lowercase' / 'LowerLatin' / |
|
'LowerGreek' / 'UpperGreek' . |
MinMax = 'MaxRangeVal' / 'MinRangeVal' .</pre> |
MinMax = 'MaxRangeVal' / 'MinRangeVal' .</pre> |
|
|
<blockquote class="example"> |
<blockquote class="example"> |
Line 4039 function. The properties are:</p>
|
Line 4055 function. The properties are:</p>
|
<li>the position of the box in relation to other boxes,</li> |
<li>the position of the box in relation to other boxes,</li> |
<li>the height or width of the box, with overflow exceptions,</li> |
<li>the height or width of the box, with overflow exceptions,</li> |
<li>the margins, padding and borders of the box,</li> |
<li>the margins, padding and borders of the box,</li> |
|
<li>the style and position of list item markers,</li> |
<li>the characteristics of the lines contained in the box: linespacing, |
<li>the characteristics of the lines contained in the box: linespacing, |
indentation of the first line, hyphenation, writing direction</li> |
indentation of the first line, hyphenation, writing direction</li> |
<li>the conditions for breaking the box across pages,</li> |
<li>the conditions for breaking the box across pages,</li> |
Line 4104 rules are terminated by a semicolon.</p>
|
Line 4121 rules are terminated by a semicolon.</p>
|
'BorderTopStyle' ':' BorderStyle / |
'BorderTopStyle' ':' BorderStyle / |
'BorderRightStyle' ':' BorderStyle / |
'BorderRightStyle' ':' BorderStyle / |
'BorderBottomStyle' ':' BorderStyle / |
'BorderBottomStyle' ':' BorderStyle / |
'BorderLeftStyle' ':' BorderStyle . |
'BorderLeftStyle' ':' BorderStyle / |
|
'ListStyleType' ':' ListStyleType / |
|
'ListStyleImage' ':' ListStyleImage / |
|
'ListStylePosition' ':' ListStylePosition / |
'LineSpacing' ':' DistanceInherit / |
'LineSpacing' ':' DistanceInherit / |
'Indent' ':' DistanceInherit / |
'Indent' ':' DistanceInherit / |
'Adjust' ':' AdjustInherit / |
'Adjust' ':' AdjustInherit / |
Line 4137 rules are terminated by a semicolon.</p>
|
Line 4157 rules are terminated by a semicolon.</p>
|
PresFunc = Creation '(' BoxID ')' / |
PresFunc = Creation '(' BoxID ')' / |
'Line' / |
'Line' / |
'NoLine' / |
'NoLine' / |
|
'Display' ':' DisplayVal / |
'Page' '(' BoxID ')' / |
'Page' '(' BoxID ')' / |
'Copy' '(' BoxTypeToCopy ')' / |
'Copy' '(' BoxTypeToCopy ')' / |
'ShowBox' / |
'ShowBox' / |
Line 4872 non-primary view to override the primary
|
Line 4893 non-primary view to override the primary
|
<tt>NoLine</tt> rule must not be used with the primary view because the |
<tt>NoLine</tt> rule must not be used with the primary view because the |
absence of the <tt>Line</tt> rule has the same effect. Like the <tt>Line</tt> |
absence of the <tt>Line</tt> rule has the same effect. Like the <tt>Line</tt> |
rule, the <tt>NoLine</tt> rule does not take any parameters.</p> |
rule, the <tt>NoLine</tt> rule does not take any parameters.</p> |
<pre> 'Line' |
|
'NoLine'</pre> |
<p id="compatibil">For compatibility with CSS, langiage P also provides the |
|
<tt>Display</tt> rule which accepts the following values: <tt>Inline</tt>, |
|
<tt>Block</tt>, <tt>ListItem</tt>, <tt>RunIin</tt>, <tt>InlineBlock</tt>, and |
|
<tt>None</tt>, plus <tt>Enclosing =</tt> for inheritance. These values play |
|
the same role as in CSS. Notice that the effect of value <tt>ListItem</tt> |
|
depends on other rules related to lists: <tt>ListStyleType</tt>, |
|
<tt>ListStyleImage</tt> and <tt>ListStylePosition</tt>.</p> |
|
<pre> 'Line' |
|
'NoLine' |
|
'Display' ':' DisplayVal / |
|
DisplayVal = 'Inline' / 'Block' / 'ListItem' / 'RunIin' / |
|
'InlineBlock' / 'None' / 'Enclosing' '=' .</pre> |
|
|
<div class="subsubsection"> |
<div class="subsubsection"> |
<h4><a name="sectd42221" id="sectd42221">Line spacing</a></h4> |
<h4><a name="sectd42221" id="sectd42221">Line spacing</a></h4> |
Line 5149 to all views defined in the presentation
|
Line 5181 to all views defined in the presentation
|
</div> |
</div> |
|
|
<div class="subsection"> |
<div class="subsection"> |
|
<h3 id="Controllin">Controlling style of lists</h3> |
|
|
|
<p>To present an element as a list item, rule <tt>Display</tt> with value |
|
<tt>ListItem</tt> must apply to that element. The type and the position of |
|
the marker generated by this rule are determined by three other rules: |
|
<tt>ListStyleType</tt>, <tt>ListStyleImage</tt> and |
|
<tt>ListStylePosition</tt>.</p> |
|
|
|
<h4 id="litype">List item type</h4> |
|
|
|
<p>This rule defines the type of maker that must be created for a list item. |
|
It is equivalent to the CSS property <tt>list-style-type</tt>, and accepts |
|
the same values.</p> |
|
<pre> 'ListStyleType' ':' ListStyleType |
|
ListStyleType = 'Disc' / 'Circle' / 'Square' / 'Decimal' / |
|
'DecimalLeadingZero' / 'LowerRoman' / 'UpperRoman' / |
|
'LowerGreek' / 'LowerLatin' / 'UpperLatin' / 'None' / |
|
'Enclosing' '=' .</pre> |
|
|
|
<h4 id="liimage">List item image</h4> |
|
|
|
<p>This rule defines the image that must be created as a merker for a list |
|
item. It is equivalent to the CSS property <tt>list-style-image</tt>. The URL |
|
of the image is simply a character string.</p> |
|
<pre> 'ListStyleImage' ':' ListStyleImage |
|
ListStyleImage = 'None' / 'Enclosing' '=' / ListStyleImageURI . |
|
ListStyleImageURI = STRING .</pre> |
|
</div> |
|
|
|
<h4 id="liposition">List item position</h4> |
|
|
|
<p>This rule defines the position of the marker: inside the list item or |
|
outside. It is equivalent to the CSS property <tt>list-style-position</tt>, |
|
and accepts the same values.</p> |
|
<pre> 'ListStylePosition' ':' ListStylePosition |
|
ListStylePosition = 'Inside' / 'Outside' / 'Enclosing' '=' .</pre> |
|
|
|
<div class="subsection"> |
<h3><a name="sectc4224" id="sectc4224">Visibility</a></h3> |
<h3><a name="sectc4224" id="sectc4224">Visibility</a></h3> |
|
|
<p>The visibility property is used to control which elements should or should |
<p>The visibility property is used to control which elements should or should |
Line 5193 is used.</p>
|
Line 5263 is used.</p>
|
</div> |
</div> |
|
|
<div class="subsection"> |
<div class="subsection"> |
|
<p>Notice that rule <a href="#compatibil"><tt>Display</tt></a> with value |
|
<tt>None</tt> is equivalent to rule <tt>Visibility</tt> with value |
|
<tt>0</tt>.</p> |
|
|
<h3><a name="sectc4225" id="sectc4225">Character style properties</a></h3> |
<h3><a name="sectc4225" id="sectc4225">Character style properties</a></h3> |
|
|
<p>Four properties are used to determine which characters are used to display |
<p>Four properties are used to determine which characters are used to display |
Line 7968 ExcValue = 'NoCut' / 'NoCreate' /
|
Line 8042 ExcValue = 'NoCut' / 'NoCreate' /
|
'CssBackground' / 'CssClass' / 'CssId' / 'CssPseudoClass' / |
'CssBackground' / 'CssClass' / 'CssId' / 'CssPseudoClass' / |
'NoShowBox' / 'SetWindowBackground' / |
'NoShowBox' / 'SetWindowBackground' / |
'Shadow' / 'EventAttr' / 'SpacePreserve' / |
'Shadow' / 'EventAttr' / 'SpacePreserve' / |
'IsPlaceholder' / |
'IsPlaceholder' / 'StartCounter' / 'SetCounter' / |
ExceptNum . |
ExceptNum . |
ExceptNum = NUMBER . |
ExceptNum = NUMBER . |
|
|
Line 8049 Function = 'DATE' / 'FDATE' /
|
Line 8123 Function = 'DATE' / 'FDATE' /
|
CounterStyle ')' . |
CounterStyle ')' . |
PageAttrCtr = 'PageNumber' [ '(' ViewID ')' ] / |
PageAttrCtr = 'PageNumber' [ '(' ViewID ')' ] / |
[ MinMax ] CounterID / AttrID . |
[ MinMax ] CounterID / AttrID . |
CounterStyle = 'Arabic' / 'LRoman' / 'URoman' / |
CounterStyle = 'Arabic' / 'Decimal' / 'DecimalLeadingZero' / |
'Uppercase' / 'Lowercase' . |
'URoman' / 'UpperRoman' / 'LRoman' / 'LowerRoman' / |
|
'Uppercase' / 'UpperLatin' / 'Lowercase' / 'LowerLatin' / |
|
'LowerGreek' / 'UpperGreek' . |
MinMax = 'MaxRangeVal' / 'MinRangeVal' . |
MinMax = 'MaxRangeVal' / 'MinRangeVal' . |
|
|
BoxSeq = Box < Box > . |
BoxSeq = Box < Box > . |
Line 8154 Property = 'VertRef' ':' HorizPos
|
Line 8230 Property = 'VertRef' ':' HorizPos
|
'BorderTopStyle' ':' BorderStyle / |
'BorderTopStyle' ':' BorderStyle / |
'BorderRightStyle' ':' BorderStyle / |
'BorderRightStyle' ':' BorderStyle / |
'BorderBottomStyle' ':' BorderStyle / |
'BorderBottomStyle' ':' BorderStyle / |
'BorderLeftStyle' ':' BorderStyle . |
'BorderLeftStyle' ':' BorderStyle / |
|
'ListStyleType' ':' ListStyleType / |
|
'ListStyleImage' ':' ListStyleImage / |
|
'ListStylePosition' ':' ListStylePosition / |
'LineSpacing' ':' DistOrInherit / |
'LineSpacing' ':' DistOrInherit / |
'Indent' ':' DistOrInherit / |
'Indent' ':' DistOrInherit / |
'Adjust' ':' AlignOrInherit / |
'Adjust' ':' AlignOrInherit / |
Line 8187 Property = 'VertRef' ':' HorizPos
|
Line 8266 Property = 'VertRef' ':' HorizPos
|
PresFunc = Creation '(' BoxID ')' / |
PresFunc = Creation '(' BoxID ')' / |
'Line' / |
'Line' / |
'NoLine' / |
'NoLine' / |
|
'Display' ':' DisplayVal / |
'Page' '(' BoxID ')' / |
'Page' '(' BoxID ')' / |
'Copy' '(' BoxTypeToCopy ')' / |
'Copy' '(' BoxTypeToCopy ')' / |
'ShowBox' / |
'ShowBox' / |
'BackgroundPicture' ':' FileName / |
'BackgroundPicture' ':' FileName / |
'PictureMode' ':' PictMode . |
'PictureMode' ':' PictMode . |
|
|
|
DisplayVal = 'Inline' / 'Block' / 'ListItem' / 'RunIin' / |
|
'InlineBlock' / 'None' / 'Enclosing' '=' . |
BoxTypeToCopy = BoxID [ ExtStruct ] / |
BoxTypeToCopy = BoxID [ ExtStruct ] / |
ElemID [ ExtStruct ] . |
ElemID [ ExtStruct ] . |
ExtStruct = '(' ElemID ')' . |
ExtStruct = '(' ElemID ')' . |
Line 8251 BorderColor = InheritParent / 'Trans
|
Line 8333 BorderColor = InheritParent / 'Trans
|
BorderStyle = InheritParent / |
BorderStyle = InheritParent / |
'None' / 'Hidden' / 'Dotted' / 'Dashed' / 'Solid' / |
'None' / 'Hidden' / 'Dotted' / 'Dashed' / 'Solid' / |
'Double' / 'Groove' / 'Ridge' / 'Inset' / 'Outset' . |
'Double' / 'Groove' / 'Ridge' / 'Inset' / 'Outset' . |
|
|
|
ListStyleType = 'Disc' / 'Circle' / 'Square' / 'Decimal' / |
|
'DecimalLeadingZero' / 'LowerRoman' / 'UpperRoman' / |
|
'LowerGreek' / 'LowerLatin' / 'UpperLatin' / 'None' / |
|
'Enclosing' '=' . |
|
ListStyleImage = 'None' / 'Enclosing' '=' / ListStyleImageURI . |
|
ListStyleImageURI = STRING . |
|
ListStylePosition = 'Inside' / 'Outside' / 'Enclosing' '=' . |
|
|
InheritParent = 'Enclosing' '=' / 'Creator' '=' . |
InheritParent = 'Enclosing' '=' / 'Creator' '=' . |
ColorName = NAME . |
ColorName = NAME . |
|
|