Due to the limitations of the ODF file format we occasionally add foreign elements and attributes to those files. This text documents those elements and attributes.

Note: Any reference to ODF 1.3 refers tot eh current work-in-progress in the OASIS ODF TC. 

Part 1: In ODF 1.0 and 1.1 files only.

2) Attributes added by GOffice:

gnm:no-integer-part
An attribute to <number:fraction> determining whether an integer portion is shown or not. Defaults to "false" (i.e. an integer part is shown.)

2) Attributes added by Gnumeric:

gnm:reverse-direction
gnm:automatic-content
gnm:display-equation
gnm:display-r-square
used instead of the ODF1.2 attribute chart:...

Part 2: In ODF 1.0, 1.1 and ODF 1.2 files only.

1) Elements and attributes added by goffice:

gnm:engineering   
An attribute to <number:scientific-number>. A value of "true" indicates that the exponent will always be a multiple of 3.
(In ODF 1.3 to be replaced by number:exponent-base=1 ("false") or =3 ("true") resp.)

gnm:max-denominator-digits
An attribute to <number:fraction> giving the maximum number of denominator digits to be used.

2) Attribute _values_ added by Gnumeric. 
Since these are not eleemnts or new attributes they are used in all ODF exports.

gnm:step-start          in ODF1.3: step-end
gnm:step-end		in ODF1.3: step-start
gnm:step-center-x	in ODF1.3: step-center-x
gnm:step-center-y	in ODF1.3: step-center-y
various attribute values specifying chart:interpolation types

Part 3: In any ODF files:

1) Elements and attributes added by goffice:

gnm:format-magic
An attribute to <number:time-style> and <number:date-style> to specify Gnumeric's magic number for the style. The magic number is stored as an integer. When ever we set this attribute we also set the number:source attribute to language. On import we only use this magic number if the number:source attribute is still set to language, since otherwise somebody will have edited the format.

gnm:truncate-on-overflow
An attribute to <number:hours>, <number:minutes> and <number:seconds>. An attribute value of "false" indicates that this item is not restricted to its natural range and so is used for elapsed time. This attribute defaults to "true". Note that ODF has the attribute number:truncate-on-overflow of the <number:time-style> with a similar effect, but with unclear specification to which element it applies. For an element where gnm:truncate-on-overflow is not set, number:truncate-on-overflow applies.

2) Elements and attributes added by Gnumeric:

gnm:border-line-style-top
gnm:border-line-style-bottom
gnm:border-line-style-left
gnm:border-line-style-right
gnm:diagonal-bl-tr-line-style
gnm:diagonal-tl-br-line-style
These are attributes of the <style:table-cell-properties> giving the Gnumeric code for the appropriate border as created by odf_get_gnm_border_format.

gnm:GnmVAlign
An attribute of the <style:table-cell-properties> adding to the "automatic" value of style:vertical-align. Possible values are any GnmVAlign enumeration values other than VALIGN_TOP, VALIGN_BOTTOM, VALIGN_CENTER

gnm:GnmHAlign
An attribute of the <style:paragraph-properties> clarifying the "start" value of style:text-align. Possible values are any GnmHAlign enumeration values other than HALIGN_LEFT, HALIGN_RIGHT, HALIGN_CENTER, HALIGN_JUSTIFY 

gnm:input-title
gnm:input-msg
These are attributes of the <style:table-cell-properties> giving the input title and the input message  [These are currently ignored on import.]

gnm:outliers
gnm:radius-ratio
These are attributes for the plot-style gnm:box

gnm:default-separation
This is an attribute for the plot-style chart:circle

gnm:expression
Attribute used where ODF restricts expressions to be cell references via table:cell-range-address for example chart titles.

gnm:font-stretch-pango
gnm:font-gravity-pango
Attributes to chart:text-properties

gnm:label-cell-expression
used instead of chart:label-cell-address if that isn't just a range reference

gnm:droplines
element to add droplines to charts

gnm:regression-curve
element used instead of chart:regression-curve for any second or later regression curve in a plot

gnm:multi-series
flag to recognize an XLSurfacePlot export

gnm:vary-style-by-element
plot property

gnm:show-negatives
property of bubble plots

gnm:regression-affine
whether a given regression is affine or not

gnm:regression-polynomial-dims
dimension for a polynomial regression

gnm:is-position-manual
gnm:position
gnm:anchor
position of GogObject

gnm:tab-color
gnm:tab-text-color 
attributes to the style:table-properties

3) Attribute _values_ added by Gnumeric. 
Since these are not eleemnts or new attributes they are used in all ODF exports.

gnm:closed-spline
gnm:parabolic-cspline
gnm:cubic-cspline
gnm:clamped-cspline
various attribute values specifying chart:interpolation types

gnm:polynomial
gnm:log-fit
gnm:moving-average
gnm:exponential-smoothed
various attributes for chart:regression-type

3a) Plot Styles added by Gnumeric (these are technically also attribute values)

gnm:box
gnm:scatter-color
gnm:xyz-surface
gnm:polar
