← Prev in month ← Prev in thread

Proposal: To add default value for draw:auto-grow-height,draw:auto-grow-width,fo:wrap-option,style:flow-with-text

From
Zhi Yu Yue <>
Date
2007-08-28T06:11:32+00:00
ID
Thread
Proposal: To add default value for draw:auto-grow-height,draw:auto-grow-width,fo:wrap-option,style:flow-with-text
The following proposal aims to add default
value for several attributes in the graphic properties, respectively "fo:wrap-option",
"draw:auto-grow-height", and "draw:auto-grow-width".
Currently, there is no default value defined for these attributes. It will
cause ambiguity when there is no such property specified in the graphic-properties.
For example, when there is no such attribute, some application will deem
one value as default, while others assume other value.

1. "draw:auto-grow-height",
"draw:auto-grow-width"

15.16.1 Auto Grow Width and Height

The attributes draw:auto-grow-width and
draw:auto-grow-height specify whether or not to automatically increase
the width and height of the drawing object if text is added to the drawing
object. These attributes usually are evaluated only for text boxes.

<define name="style-graphic-properties-attlist"
combine="interleave">

        <optional>

         
      <attribute name="draw:auto-grow-width"
a:defaultValue="false">

         
              <ref
name="boolean"/>

         
      </attribute>

        </optional>

        <optional>

         
      <attribute name="draw:auto-grow-height">

         
              <ref
name="boolean"/>

         
      </attribute>

        </optional>

</define>

2. fo:wrap-option

15.16.6 Word Wrap

The fo:wrap-option attribute specifies
if text is word wrapped in a shape.

<define name="style-graphic-properties-attlist"
combine="interleave">

        <optional>

         
      <attribute name="fo:wrap-option"
a:defaultValue="wrap">

         
              <choice>

         
               
      <value>no-wrap</value>

         
               
      <value>wrap</value>

         
              </choice>

         
      </attribute>

        </optional>

</define>

3. "style:flow-with-text"

15.27.27 Flow with Text

...

<define name="style-graphic-properties-attlist"
combine="interleave">

        <optional>

         
      <attribute name="style:flow-with-text"
a:defaultValue="false">

         
              <ref
name="boolean"/>

         
      </attribute>

        </optional>

</define>

Best Regards,

Helen Yue(Zhi Yu)
← Prev in month ← Prev in thread