version 1.47, 2003/02/15 11:33:47
|
version 1.48, 2003/02/17 08:03:40
|
Line 15
|
Line 15
|
|
|
<h4>Translated from French by Ethan Munson</h4> |
<h4>Translated from French by Ethan Munson</h4> |
|
|
<h4>Version of Febuary 15, 2003</h4> |
<h4>Version of Febuary 17, 2003</h4> |
|
|
<p>© 1996-2003 INRIA</p> |
<p>© 1996-2003 INRIA</p> |
<hr /> |
<hr /> |
Line 188
|
Line 188
|
<li><a href="#sectc4230">Colors</a></li> |
<li><a href="#sectc4230">Colors</a></li> |
<li><a href="#sectc4230a">Background color and border</a></li> |
<li><a href="#sectc4230a">Background color and border</a></li> |
<li><a href="#sectc4230b">Background pictures</a></li> |
<li><a href="#sectc4230b">Background pictures</a></li> |
|
<li><a href="#sectc4230c">Opacity</a></li> |
<li><a href="#sectc4231">Presentation box content</a></li> |
<li><a href="#sectc4231">Presentation box content</a></li> |
<li><a href="#sectc4232">Presentation box creation</a></li> |
<li><a href="#sectc4232">Presentation box creation</a></li> |
<li><a href="#sectc4233">Page layout</a></li> |
<li><a href="#sectc4233">Page layout</a></li> |
Line 3240 following rules are considered to be the
|
Line 3241 following rules are considered to be the
|
LineWeight: Enclosing =; |
LineWeight: Enclosing =; |
FillPattern: Enclosing =; |
FillPattern: Enclosing =; |
Background: Enclosing =; |
Background: Enclosing =; |
Foreground: Enclosing =;</pre> |
Foreground: Enclosing =; |
|
Opacity: Enclosing =; |
|
FillOpacity: Enclosing =; |
|
StrokeOpacity: Enclosing =;</pre> |
|
|
<p>If other values are desired for the default rules, they must be defined |
<p>If other values are desired for the default rules, they must be defined |
explicitly in the default rules section. In fact, it is only necessary to |
explicitly in the default rules section. In fact, it is only necessary to |
Line 3988 function. The properties are:</p>
|
Line 3992 function. The properties are:</p>
|
thickness of lines, fill pattern for closed objects,</li> |
thickness of lines, fill pattern for closed objects,</li> |
<li>the colors in text, graphics, pictures, and symbols contained in the |
<li>the colors in text, graphics, pictures, and symbols contained in the |
box are displayed or printed,</li> |
box are displayed or printed,</li> |
|
<li>the opacity of the element,</li> |
<li>for presentation boxes only, the contents of the box.</li> |
<li>for presentation boxes only, the contents of the box.</li> |
</ul> |
</ul> |
|
|
Line 4639 SectionTitle :
|
Line 4644 SectionTitle :
|
<div class="subsection"> |
<div class="subsection"> |
<h3><a name="sectc4220" id="sectc4220">Overflow</a></h3> |
<h3><a name="sectc4220" id="sectc4220">Overflow</a></h3> |
|
|
<p>A boxes corresponding to a structural element normally contain all boxes |
<p>A box corresponding to a structural element normally contain all boxes |
corresponding to the elements of its subtree. However, in some cases, it |
corresponding to the elements of its subtree. However, in some cases, it |
could be necessary to allow a box to jut out from its parent box. Two |
could be necessary to allow a box to jut out from its parent box. Two |
presentation rules indicate that such an overflow is allowed, one for |
presentation rules indicate that such an overflow is allowed, one for |
Line 4652 keyword <tt>Yes</tt> or <tt>No</tt>.</p>
|
Line 4657 keyword <tt>Yes</tt> or <tt>No</tt>.</p>
|
Boolean = 'Yes' / 'No' .</pre> |
Boolean = 'Yes' / 'No' .</pre> |
</div> |
</div> |
|
|
<p>@@@@@ ******</p> |
<div> |
|
<h3><a name="Margins" id="Margins">Margins, Padding and Borders</a></h3> |
|
|
<p>Explain Margin, Padding and Border. Refer to CSS2.</p> |
<p>Boxes (element boxes and presentation boxes as well) may have margins, |
|
padding and borders, exactly as in CSS. A set of presentation rules allow to |
|
control the width of margins, padding and borders along the four edges of |
|
boxes. Other rules determine the color and style of borders. Refer to the |
|
CSS2 specification for more details.</p> |
<pre> 'MarginTop' ':' MarginWidth / |
<pre> 'MarginTop' ':' MarginWidth / |
'MarginRight' ':' MarginWidth / |
'MarginRight' ':' MarginWidth / |
'MarginBottom' ':' MarginWidth / |
'MarginBottom' ':' MarginWidth / |
Line 4686 BorderStyle = InheritParent /
|
Line 4696 BorderStyle = InheritParent /
|
'Double' / 'Groove' / 'Ridge' / 'Inset' / 'Outset' . |
'Double' / 'Groove' / 'Ridge' / 'Inset' / 'Outset' . |
InheritParent = 'Enclosing' '=' / 'Creator' '=' . |
InheritParent = 'Enclosing' '=' / 'Creator' '=' . |
ColorName = NAME .</pre> |
ColorName = NAME .</pre> |
|
</div> |
<p>@@@@@ ******</p> |
|
|
|
<div class="subsection"> |
<div class="subsection"> |
<h3><a name="sectc4221" id="sectc4221">Inheritance</a></h3> |
<h3><a name="sectc4221" id="sectc4221">Inheritance</a></h3> |
Line 5550 transmitted to children elements.</p>
|
Line 5559 transmitted to children elements.</p>
|
<div class="subsection"> |
<div class="subsection"> |
<h3><a name="sectc4230c" id="sectc4230c">Opacity</a></h3> |
<h3><a name="sectc4230c" id="sectc4230c">Opacity</a></h3> |
|
|
<p>To be written @@@@ </p> |
<p>The <tt>Opacity</tt>, <tt>FillOpacity</tt> and <tt>StrokeOpacity</tt> |
|
rules allow to set the opacity of the element(s) to which they apply. The |
<pre> 'Opacity' ':' OpacityInherit / |
<code>FillOpacity</code> rule controls the way the interior of the element is |
'FillOpacity' ':' OpacityInherit / |
paint, while the <code>StrokeOpacity</code> rule concerns the outline. The |
'StrokeOpacity' ':' OpacityInherit / |
<code>Opacity</code> rule concerns both the interior and the outline at the |
|
same time.</p> |
|
|
|
<p>In the three rules, opacity is expressed as a percentage. It must be |
|
comprised between 0 (fully transparent) and 100% (fully opaque). In these |
|
rules, the opacity can be expressed as an integer (from 0 to 100) followed by |
|
the <code>%</code> character. It can also be expressed as the name of a |
|
numeric attribute. In that case, the attribute's value is interpreted as a |
|
percentage. It should then be comprised between 0 and 100 included. Finally, |
|
the opacity can be inherited from the parent element.</p> |
|
<pre> 'Opacity' ':' OpacityInherit |
|
'FillOpacity' ':' OpacityInherit |
|
'StrokeOpacity' ':' OpacityInherit |
OpacityInherit = OpPercent '%' / AttrID / Inheritance . |
OpacityInherit = OpPercent '%' / AttrID / Inheritance . |
OpPercent = NUMBER .</pre> |
OpPercent = NUMBER .</pre> |
|
|
</div> |
</div> |
|
|
<div class="subsection"> |
<div class="subsection"> |