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

Default values for draw:dots1-length and draw:dots2-length missing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: ODF 1.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Proposal:
      Hide

      In section "19.136 draw:dots1-length" add the following text as new paragraph:

      The default value for this attribute is 100%.

       

      In section "19.138 draw:dots2-length" add the following text as new paragraph:

      The default value for this attribute is 100%.

      Show
      In section "19.136 draw:dots1-length" add the following text as new paragraph: The default value for this attribute is 100% .   In section "19.138 draw:dots2-length" add the following text as new paragraph: The default value for this attribute is 100% .

      Description

      I'm hoping to resolve an ambiguity regarding the ODF attributes draw:dots1-length and draw:dots2-length under the draw:stroke-dash element. (Spec snippet included below.)

      These two parameters can be either percentages (relative to the line width; this appears to be the more common option) or absolute distance values. However, I've encountered scenarios in which one or both of these fields are absent altogether, and only the dash count parameters (draw:dots1 and draw:dots2) are provided.

      I'm wondering if there's a formal default value for these attributes. When they're absent, LibreOffice appears to default to a value of 100% of the line width. If there's no official default value, I'd like to propose this becomes the standard!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Patrick Patrick Durusau
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: