Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3846

Use @text:relative-tab-stop-position as well for style:tabs-stops instead of using settings.xml flag

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      Define an attribute text:relative-tab-stop-position for element style:paragraph-properties similar to attribute 19.861 text:relative-tab-stop-position for indexes, see https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#attribute-text_relative-tab-stop-position

      (we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:362 style:tab-stop-distance.)

      I. add a new section [note: this should be in chapter 20 since that contains the style attributes, whereas the existing 19.861 text:relative-tab-stop-position is an attribute on indexes, that's why it's in chapter 19]:

      20.xxxx text:relative-tab-stop-position

      The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the outer or inner edge of the margin area of the paragraph.

      The defined values for the text:relative-tab-stop-position attribute are:

      • false: paragraph style determines position of tab stops relative to the outer edge of the margin area that is specified by fo:margin or fo:margin-left of the paragraph or the applied list level.
      • true: paragraph style determines the position of tab stops relative to the inner edge of the margin area that is specified by fo:margin or fo:margin-left of the paragraph or the applied list level. Exception: The tab stop set by applied list style, which is determined by the attributes text:label-followed-by 19.833 and text:list-tab-stop-position 19.836 of the list style, is always positioned relative to the outer edge of the paragraph’s margin area.

      Note: The paragraph's margin area may be specified by its paragraph style, an applied list style or paragraph default style.
      Note: In right-to-left layout environments, the paragraph's right margin area is specified by fo:margin-left, and its tab stop positions are relative to the edges of the right margin area.

      The default value for this attribute is true.

      This attribute is only evaluated if it is specified within a default style of family paragraph.

      II. add the attribute to style:paragraph-properties element:

      — OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100
      +++ tc/3846-schema-v2.rng 2018-02-26 18:22:19.536937642 +0100
      @@ -15146,18 +15146,23 @@
      <ref name="nonNegativeInteger"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="style:tab-stop-distance">
      <ref name="nonNegativeLength"/>
      </attribute>
      </optional>
      <optional>
      + <attribute name="text:relative-tab-stop-position">
      + <ref name="boolean"/>
      + </attribute>
      + </optional>
      + <optional>
      <attribute name="fo:hyphenation-keep">
      <choice>
      <value>auto</value>
      <value>page</value>
      </choice>
      </attribute>
      </optional>
      <optional>
      <attribute name="fo:hyphenation-ladder-count">

      Show
      Define an attribute text:relative-tab-stop-position for element style:paragraph-properties similar to attribute 19.861 text:relative-tab-stop-position for indexes, see https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#attribute-text_relative-tab-stop-position (we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:362 style:tab-stop-distance.) I. add a new section [note: this should be in chapter 20 since that contains the style attributes, whereas the existing 19.861 text:relative-tab-stop-position is an attribute on indexes, that's why it's in chapter 19] : 20.xxxx text:relative-tab-stop-position The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the outer or inner edge of the margin area of the paragraph. The defined values for the text:relative-tab-stop-position attribute are: false: paragraph style determines position of tab stops relative to the outer edge of the margin area that is specified by fo:margin or fo:margin-left of the paragraph or the applied list level. true: paragraph style determines the position of tab stops relative to the inner edge of the margin area that is specified by fo:margin or fo:margin-left of the paragraph or the applied list level. Exception: The tab stop set by applied list style, which is determined by the attributes text:label-followed-by 19.833 and text:list-tab-stop-position 19.836 of the list style, is always positioned relative to the outer edge of the paragraph’s margin area. Note: The paragraph's margin area may be specified by its paragraph style, an applied list style or paragraph default style. Note: In right-to-left layout environments, the paragraph's right margin area is specified by fo:margin-left, and its tab stop positions are relative to the edges of the right margin area. The default value for this attribute is true. This attribute is only evaluated if it is specified within a default style of family paragraph. II. add the attribute to style:paragraph-properties element: — OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100 +++ tc/3846-schema-v2.rng 2018-02-26 18:22:19.536937642 +0100 @@ -15146,18 +15146,23 @@ <ref name="nonNegativeInteger"/> </attribute> </optional> <optional> <attribute name="style:tab-stop-distance"> <ref name="nonNegativeLength"/> </attribute> </optional> <optional> + <attribute name="text:relative-tab-stop-position"> + <ref name="boolean"/> + </attribute> + </optional> + <optional> <attribute name="fo:hyphenation-keep"> <choice> <value>auto</value> <value>page</value> </choice> </attribute> </optional> <optional> <attribute name="fo:hyphenation-ladder-count">
    • Resolution:
      Hide

      20.xxxx text:relative-tab-stop-position

      The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the outer or inner edge of the margin area of the paragraph.

      The defined values for the text:relative-tab-stop-position attribute are:

      • false: paragraph style determines position of tab stops relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph.
      • true: paragraph style determines the position of tab stops relative to the inner edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph. Exception: the tab stop set by applied list style is determined by the paragraph style relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph.

      Note: The paragraph's margin may be specified by its paragraph style, an applied list style or paragraph default style.

      Note: In right-to-left layout environments, the paragraph's right margin is specified by fo:margin-left, and its tab stop positions are relative to the right edge.

      The default value for this attribute is true.

      This attribute is only evaluated if it is specified within a default style of family paragraph.

      II. add the attribute to style:paragraph-properties element:

      — OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100
      +++ tc/3846-schema-v2.rng 2018-02-26 18:22:19.536937642 +0100
      @@ -15146,18 +15146,23 @@
      <ref name="nonNegativeInteger"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="style:tab-stop-distance">
      <ref name="nonNegativeLength"/>
      </attribute>
      </optional>
      <optional>
      + <attribute name="text:relative-tab-stop-position">
      + <ref name="boolean"/>
      + </attribute>
      + </optional>
      + <optional>
      <attribute name="fo:hyphenation-keep">
      <choice>
      <value>auto</value>
      <value>page</value>
      </choice>
      </attribute>
      </optional>
      <optional>
      <attribute name="fo:hyphenation-ladder-count">

      Show
      20.xxxx text:relative-tab-stop-position The text:relative-tab-stop-position attribute specifies whether the position of tab stops is relative to the outer or inner edge of the margin area of the paragraph. The defined values for the text:relative-tab-stop-position attribute are: • false: paragraph style determines position of tab stops relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph. • true: paragraph style determines the position of tab stops relative to the inner edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph. Exception: the tab stop set by applied list style is determined by the paragraph style relative to the outer edge of the margin that is specified by fo:margin or fo:margin-left of the paragraph. Note: The paragraph's margin may be specified by its paragraph style, an applied list style or paragraph default style. Note: In right-to-left layout environments, the paragraph's right margin is specified by fo:margin-left, and its tab stop positions are relative to the right edge. The default value for this attribute is true. This attribute is only evaluated if it is specified within a default style of family paragraph. II. add the attribute to style:paragraph-properties element: — OpenDocument-v1.2-os-schema.rng 2014-11-10 16:37:52.035133745 +0100 +++ tc/3846-schema-v2.rng 2018-02-26 18:22:19.536937642 +0100 @@ -15146,18 +15146,23 @@ <ref name="nonNegativeInteger"/> </attribute> </optional> <optional> <attribute name="style:tab-stop-distance"> <ref name="nonNegativeLength"/> </attribute> </optional> <optional> + <attribute name="text:relative-tab-stop-position"> + <ref name="boolean"/> + </attribute> + </optional> + <optional> <attribute name="fo:hyphenation-keep"> <choice> <value>auto</value> <value>page</value> </choice> </attribute> </optional> <optional> <attribute name="fo:hyphenation-ladder-count">

      Description

      Reuse existing ODF attribute @text:relative-tab-stop-position that same semantics as often used settings.xml flag "TabsRelativeToIndent".
      It defines, if the left-margin have to be added to the tab position.

      See end of mail to office list at 14th October 2013, https://lists.oasis-open.org/archives/office/201310/msg00005.html

        Attachments

        1. Example3846_False.odt
          14 kB
        2. Example3846_False.odt
          11 kB
        3. Example3846_True.odt
          14 kB
        4. Example3846_True.odt
          11 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              svante.schubert Svante Schubert
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: