Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.3
    • Fix Version/s: ODF 1.3
    • Labels:
      None
    • Environment:

      This is an enhancement, described in terms of changes to OpenDocument-v1.2

    • Proposal:
      Hide

      1. RATIONALE

      1.1 Use cases:
      Text input field is already supported by ODF, but sometimes
      it is desirable to use list of possible selections instead of
      freeform input. List boxes are used for this in various word
      processors. This also improves interoperability with Office
      Open XML, as that markup has a notion of drop-down list.

      1.2 Alternatives considered:
      None.

      2. REQUESTED CHANGES TO THE ODF STANDARD

      2.1 Text changes/additions:
      Add new sections as following:

      7.4.16 <text:drop-down>
      The <text:drop-down> element is a drop-down list input field. A drop-down list input field is used in a user interface to prompt a user to select a value from a list of options. The selected value is stored and displayed as the content of this element until it is changed by a user.
      The <text:drop-down> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.
      The <text:drop-down> element has the following attribute: text:name 19.837.28.
      The <text:drop-down> element has the following child element: <text:label> 7.4.17.
      The <text:drop-down> element has character data content.

      7.4.17 <text:label>
      The <text:label> element defines an entry of a drop-down list.
      The <text:label> element is usable within the following element: <text:drop-down> 7.4.16
      The <text:label> element has the following attributes: text:value 19.903.2, text:current-selected 19.787
      The <text:label> element has no child elements.

      19.837.28 <text:drop-down>
      The text:name attribute specifies unique name for a drop-down list input field.
      The text:name attribute is usable with the following element: <text:drop-down> 7.4.16.
      The text:name attribute has the data type variableName 18.3.39.

      19.787 text:current-selected
      The text:current-selected attribute specifies whether the <text:label> element is the currently selected one. The defined values for the text:current-selected attribute are:

      • false: the <text:label> element is not the currently selected one.
      • true: the <text:label> element is the currently selected one.
        The default value for this attribute is false.
        The text:current-selected is usable with the following element: <text:label> 7.4.17.
        The text:current-selected has the data type string boolean 18.3.3.

      19.903 text:value
      19.903.1 General
      The text:value attribute specifies a value.
      19.903.2 <text:label>
      The text:value attribute specifies the text of a <text:label> element.
      The text:value attribute is usable with the following element: <text:label> 7.4.17.
      The text:value attribute has the data type string 18.2.
      19.903.3 [... previous content of 19.902 ...]

      Update the reference information accordingly in sections:
      6.1.8 <text:a>, 5.1.2 <text:h>, 6.1.9 <text:meta>, 7.5.19 <text:meta-field>, 5.1.3 <text>, 6.4.2 <text:ruby-base> and 6.1.7 <text:span> ... has the following child elements: <text:drop-down> 7.4.16
      7.6.6 <text:database-row-number> ... has the following attributes: text:value 19.903.3

      2.2 Schema changes/additions to <define name="paragraph-content"><choice> ... </choice></define> :

                  <element name="text:drop-down">
                      <attribute name="text:name">
                          <ref name="string"/>
                      </attribute>
                      <zeroOrMore>
                          <element name="text:label">
                              <optional>
                                  <attribute name="text:value">
                                      <ref name="string"/>
                                  </attribute>
                              </optional>
                              <optional>
                                  <attribute name="text:current-selected>
                                      <ref name="boolean"/>
                                  </attribute>
                              </optional>
                          </element>
                      </zeroOrMore>
                      <text/>
                  </element>
      
      

      3. IMPACTS

      3.1 Conformance:
      This proposal will not add any mandatory features or behaviors.

      3.2 Backwards compatibility:
      This element was not available in previous versions and is
      optional. Existing ODF processors may ignore it.

      3.3 Accessibility impact:
      None.

      Show
      1. RATIONALE 1.1 Use cases: Text input field is already supported by ODF, but sometimes it is desirable to use list of possible selections instead of freeform input. List boxes are used for this in various word processors. This also improves interoperability with Office Open XML, as that markup has a notion of drop-down list. 1.2 Alternatives considered: None. 2. REQUESTED CHANGES TO THE ODF STANDARD 2.1 Text changes/additions: Add new sections as following: 7.4.16 <text:drop-down> The <text:drop-down> element is a drop-down list input field. A drop-down list input field is used in a user interface to prompt a user to select a value from a list of options. The selected value is stored and displayed as the content of this element until it is changed by a user. The <text:drop-down> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text > 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7. The <text:drop-down> element has the following attribute: text:name 19.837.28. The <text:drop-down> element has the following child element: <text:label> 7.4.17. The <text:drop-down> element has character data content. 7.4.17 <text:label> The <text:label> element defines an entry of a drop-down list. The <text:label> element is usable within the following element: <text:drop-down> 7.4.16 The <text:label> element has the following attributes: text:value 19.903.2, text:current-selected 19.787 The <text:label> element has no child elements. 19.837.28 <text:drop-down> The text:name attribute specifies unique name for a drop-down list input field. The text:name attribute is usable with the following element: <text:drop-down> 7.4.16. The text:name attribute has the data type variableName 18.3.39. 19.787 text:current-selected The text:current-selected attribute specifies whether the <text:label> element is the currently selected one. The defined values for the text:current-selected attribute are: false: the <text:label> element is not the currently selected one. true: the <text:label> element is the currently selected one. The default value for this attribute is false. The text:current-selected is usable with the following element: <text:label> 7.4.17. The text:current-selected has the data type string boolean 18.3.3. 19.903 text:value 19.903.1 General The text:value attribute specifies a value. 19.903.2 <text:label> The text:value attribute specifies the text of a <text:label> element. The text:value attribute is usable with the following element: <text:label> 7.4.17. The text:value attribute has the data type string 18.2. 19.903.3 [... previous content of 19.902 ...] Update the reference information accordingly in sections: 6.1.8 <text:a>, 5.1.2 <text:h>, 6.1.9 <text:meta>, 7.5.19 <text:meta-field>, 5.1.3 <text >, 6.4.2 <text:ruby-base> and 6.1.7 <text:span> ... has the following child elements: <text:drop-down> 7.4.16 7.6.6 <text:database-row-number> ... has the following attributes: text:value 19.903.3 2.2 Schema changes/additions to <define name="paragraph-content"><choice> ... </choice></define> : <element name="text:drop-down"> <attribute name="text:name"> <ref name="string"/> </attribute> <zeroOrMore> <element name="text:label"> <optional> <attribute name="text:value"> <ref name="string"/> </attribute> </optional> <optional> <attribute name="text:current-selected> <ref name="boolean"/> </attribute> </optional> </element> </zeroOrMore> <text/> </element> 3. IMPACTS 3.1 Conformance: This proposal will not add any mandatory features or behaviors. 3.2 Backwards compatibility: This element was not available in previous versions and is optional. Existing ODF processors may ignore it. 3.3 Accessibility impact: None.

      Description

      The support of drop-down listbox fields was added to OpenOffice.org in 2003, possibly as an MS Office interoperability feature. However, <text:drop-down> element does not exist in ODF 1.0-1.2.

        Attachments

          Activity

            People

            • Assignee:
              timar Andras Timar (Inactive)
              Reporter:
              timar Andras Timar (Inactive)
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: