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

    Details

    • Proposal:
      Hide

      Define the following attribute http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_relative-tab-stop-position
      for style:tabs-stops in paragraphs as well.

      (we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:352 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.855 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 left margin or to the left indent as determined by the paragraph style.

      The defined values for the text:relative-tab-stop-position attribute are:
      • false: paragraph style determines position of tab stops relative to the left margin.
      • true: paragraph style determines the position of tab stops relative to the left indent.

      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 the following attribute http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_relative-tab-stop-position for style:tabs-stops in paragraphs as well. (we want a document-wide setting, so add a restriction to the default-style of family paragraph, similar to 20:352 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.855 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 left margin or to the left indent as determined by the paragraph style. The defined values for the text:relative-tab-stop-position attribute are: • false: paragraph style determines position of tab stops relative to the left margin. • true: paragraph style determines the position of tab stops relative to the left indent. 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

          Activity

            People

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

              Dates

              • Created:
                Updated: