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-3331

19.286 form:list-linkage-type - "list box" is undefined, is the <form:linkbox> linked or is the <form:option> box linked?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.2 CD 06
    • Component/s: Forms, Public Review
    • Labels:
      None
    • Proposal:
      Hide

      Recast to read:

      "The form:list-linkage-type attribute specifies how <form:listbox> elements interact with a linked table cell."

      "selection: The text selected in a <form:listbox> element is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the <form:option> element whose text matches the cell text is selected, or all items are deselected if no such item exists."

      "selection-indexes: If a <form:option> element is selected in the <form:listbox> element, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the <form:listbox> element should select the <form:option> element with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item."

      Show
      Recast to read: "The form:list-linkage-type attribute specifies how <form:listbox> elements interact with a linked table cell." "selection: The text selected in a <form:listbox> element is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the <form:option> element whose text matches the cell text is selected, or all items are deselected if no such item exists." "selection-indexes: If a <form:option> element is selected in the <form:listbox> element, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the <form:listbox> element should select the <form:option> element with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item."
    • Resolution:
      Hide

      "The form:list-linkage-type attribute specifies how a control defined by a <form:listbox> elements interact with a linked table cell."

      "selection: The text selected in the control is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the list item whose label matches the cell text is selected, or all items are deselected if no such item exists."

      "selection-indexes: If a list item is selected in the control, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the control should select the list item with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item."

      Show
      "The form:list-linkage-type attribute specifies how a control defined by a <form:listbox> elements interact with a linked table cell." "selection: The text selected in the control is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the list item whose label matches the cell text is selected, or all items are deselected if no such item exists." "selection-indexes: If a list item is selected in the control, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the control should select the list item with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item."

      Description

      First, list box isn't defined. We do define <form:listbox>, 13.5.13, which has a child element, <form:option>, which "defines a list item for a <form:listbox> control."

      Suggest the following [with remaining issues noted]

      "The form:list-linkage-type attribute specifies how <form:listbox> elements interact with a linked table cell."

      "selection: The text selected in a <form:listbox> element is propagated to its linked cell. If text is entered into a cell linked to a <form:listbox> element, the <form:option> element whose text matches the cell text is selected, or all items are deselected if no such item exists."

      [Does "match" mean string equivalent, including case?]

      "selection-indexes: If a <form:option> element is selected in the <form:listbox> element, its index value on a 1-based index is propagated to its its linked cell. If the value in the linked cell changes, the <form:listbox> element should select the <form:option> element with the index described by the cell value, or deselect all items if the cell value cannot be interpreted as integer value, or does not specify a valid list index item."

      PS: This also solves the "such" issue with this attribute.

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              patrick Patrick Durusau
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: