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

Engineering notation requires a slightly modified scientific format in which the exponent is always divisible by 3.

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      The previous proposal was: In Part 1, 16.27.5 <number:scientific-number> change:
      -----------------------------------------------------------------
      The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.
      -----------------------------------------------------------------
      to:
      -----------------------------------------------------------------
      The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:exponent-base 19.xxx, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.
      -----------------------------------------------------------------

      In Part 1 insert section:
      -----------------------------------------------------------------
      19.xxx number:exponent-base
      The number:exponent-base attribute determines the valid exponents to be used: the valid exponents are the integer multiples of the value of the number:exponent-base attribute. The defined values for this attribute are 1 and 3. The default value for this attribute is 1.
      The number:exponent-base attribute is usable with the following element:
      <number:scientific-number> 16.27.5.
      The values of the number:exponent-base attribute are 1 and 3.
      -----------------------------------------------------------------

      In the schema change
      -----------------------------------------------------------------
      <define name="number-scientific-number-attlist">
      <optional>
      <attribute name="number:min-exponent-digits">
      <ref name="integer"/>
      </attribute>
      </optional>
      </define>
      -----------------------------------------------------------------------
      to
      -----------------------------------------------------------------
      <define name="number-scientific-number-attlist">
      <interleave>
      <optional>
      <attribute name="number:min-exponent-digits">
      <ref name="integer"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="number:exponent-base">
      <value>1</value>
      <value>3</value>
      </attribute>
      </optional>
      </interleave>
      </define>
      ------------------------------------------------------------------

      Show
      The previous proposal was: In Part 1, 16.27.5 <number:scientific-number> change: ----------------------------------------------------------------- The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352. ----------------------------------------------------------------- to: ----------------------------------------------------------------- The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:exponent-base 19.xxx, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352. ----------------------------------------------------------------- In Part 1 insert section: ----------------------------------------------------------------- 19.xxx number:exponent-base The number:exponent-base attribute determines the valid exponents to be used: the valid exponents are the integer multiples of the value of the number:exponent-base attribute. The defined values for this attribute are 1 and 3. The default value for this attribute is 1. The number:exponent-base attribute is usable with the following element: <number:scientific-number> 16.27.5. The values of the number:exponent-base attribute are 1 and 3. ----------------------------------------------------------------- In the schema change ----------------------------------------------------------------- <define name="number-scientific-number-attlist"> <optional> <attribute name="number:min-exponent-digits"> <ref name="integer"/> </attribute> </optional> </define> ----------------------------------------------------------------------- to ----------------------------------------------------------------- <define name="number-scientific-number-attlist"> <interleave> <optional> <attribute name="number:min-exponent-digits"> <ref name="integer"/> </attribute> </optional> <optional> <attribute name="number:exponent-base"> <value>1</value> <value>3</value> </attribute> </optional> </interleave> </define> ------------------------------------------------------------------
    • Resolution:
      Hide

      In Part 1, 16.27.5 <number:scientific-number> change:
      -----------------------------------------------------------------
      The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.
      -----------------------------------------------------------------
      to:
      -----------------------------------------------------------------
      The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:exponent-interval 19.xxx, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.
      -----------------------------------------------------------------

      In Part 1 insert section:
      -----------------------------------------------------------------
      19.xxx number:exponent-interval
      The number:exponent-interval attribute determines the valid exponents to be used: the valid exponents are the integer multiples of the value of the number:exponent-interval attribute. The default value for this attribute is 1.
      The number:exponent-interval attribute is usable with the following element:
      <number:scientific-number> 16.27.5.
      The number:exponent-interval attribute has the data type positiveInteger 18.2.

      -----------------------------------------------------------------

      In the schema change
      -----------------------------------------------------------------
      <define name="number-scientific-number-attlist">
      <optional>
      <attribute name="number:min-exponent-digits">
      <ref name="integer"/>
      </attribute>
      </optional>
      </define>
      -----------------------------------------------------------------------
      to
      -----------------------------------------------------------------
      <define name="number-scientific-number-attlist">
      <interleave>
      <optional>
      <attribute name="number:min-exponent-digits">
      <ref name="integer"/>
      </attribute>
      </optional>
      <optional>
      <attribute name="number:exponent-interval">
      <ref name="positiveInteger"/>
      </attribute>
      </optional>
      </interleave>
      </define>
      ------------------------------------------------------------------

      Show
      In Part 1, 16.27.5 <number:scientific-number> change: ----------------------------------------------------------------- The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352. ----------------------------------------------------------------- to: ----------------------------------------------------------------- The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:exponent-interval 19.xxx, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352. ----------------------------------------------------------------- In Part 1 insert section: ----------------------------------------------------------------- 19.xxx number:exponent-interval The number:exponent-interval attribute determines the valid exponents to be used: the valid exponents are the integer multiples of the value of the number:exponent-interval attribute. The default value for this attribute is 1. The number:exponent-interval attribute is usable with the following element: <number:scientific-number> 16.27.5. The number:exponent-interval attribute has the data type positiveInteger 18.2. ----------------------------------------------------------------- In the schema change ----------------------------------------------------------------- <define name="number-scientific-number-attlist"> <optional> <attribute name="number:min-exponent-digits"> <ref name="integer"/> </attribute> </optional> </define> ----------------------------------------------------------------------- to ----------------------------------------------------------------- <define name="number-scientific-number-attlist"> <interleave> <optional> <attribute name="number:min-exponent-digits"> <ref name="integer"/> </attribute> </optional> <optional> <attribute name="number:exponent-interval"> <ref name="positiveInteger"/> </attribute> </optional> </interleave> </define> ------------------------------------------------------------------

      Description

      Engineering notation frequently requires a slightly modified scientific format in which the exponent is always divisible by 3.

      We should allow for an attribute (number:exponent-factor or something like) that that determines which multiples are allowed as exponents. It would be 1 for regular scientific notation, 3 for engineering notation,...

      Gnumeric currently only allows regular scientific notation and engineering notation and uses a foreign attribute "gnm:engineering" to <number:scientific-number>. A value of "true" indicates that the exponent will always be a multiple of 3.

      In this proposal I intend to provide for a more general situation by providing an attribute to <number:scientific-number> that has, at this time, the two integer values 1 and 3 as possible values. This will permit easier extension if any implementation desires to allow other multipliers.

        Attachments

          Activity

            People

            • Assignee:
              aguelzow Andreas Guelzow (Inactive)
              Reporter:
              aguelzow Andreas Guelzow (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: