Documentation
¶
Index ¶
- func Write(filepath string, ods ODS, files *zip.ReadCloser) error
- func WriteTo(writer io.Writer, ods ODS, files *zip.ReadCloser) error
- type AutomaticStyles
- type Body
- type CalculationSettings
- type Content
- type CurrencyStyle
- type CurrencyStyleMarshal
- type CurrencySymbol
- type DateStyle
- type Day
- type FontFace
- type FontFaceDecls
- type Forms
- type Iteration
- type Manifest
- type Map
- type Meta
- type Mimetype
- type Month
- type Number
- type ODS
- type ParagraphProperties
- type Settings
- type Spreadsheet
- type Style
- type Styles
- type Table
- type TableCell
- type TableCellProperties
- type TableColumn
- type TableColumnProperties
- type TableProperties
- type TableRow
- type TableRowProperties
- type TextProperties
- type TextProperties0
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutomaticStyles ¶
type AutomaticStyles struct { Text string `xml:",chardata" json:"text,omitempty"` Style []Style `xml:"style" json:"style,omitempty"` DateStyle DateStyle `xml:"date-style" json:"date-style,omitempty"` CurrencyStyle []CurrencyStyle `xml:"currency-style" json:"currency-style,omitempty"` }
type Body ¶
type Body struct { Text string `xml:",chardata" json:"text,omitempty"` Spreadsheet Spreadsheet `xml:"spreadsheet" json:"spreadsheet,omitempty"` }
type CalculationSettings ¶
type CalculationSettings struct { Text string `xml:",chardata" json:"text,omitempty"` CaseSensitive string `xml:"case-sensitive,attr" json:"case-sensitive,omitempty"` AutomaticFindLabels string `xml:"automatic-find-labels,attr" json:"automatic-find-labels,omitempty"` UseRegularExpressions string `xml:"use-regular-expressions,attr" json:"use-regular-expressions,omitempty"` UseWildcards string `xml:"use-wildcards,attr" json:"use-wildcards,omitempty"` Iteration Iteration `xml:"iteration" json:"iteration,omitempty"` }
type Content ¶
type Content struct { XMLName xml.Name `xml:"document-content" json:"document-content,omitempty"` Text string `xml:",chardata" json:"text,omitempty"` Presentation string `xml:"presentation,attr" json:"presentation,omitempty"` Css3t string `xml:"css3t,attr" json:"css3t,omitempty"` Grddl string `xml:"grddl,attr" json:"grddl,omitempty"` Xhtml string `xml:"xhtml,attr" json:"xhtml,omitempty"` Xsi string `xml:"xsi,attr" json:"xsi,omitempty"` Xsd string `xml:"xsd,attr" json:"xsd,omitempty"` Xforms string `xml:"xforms,attr" json:"xforms,omitempty"` Dom string `xml:"dom,attr" json:"dom,omitempty"` Script string `xml:"script,attr" json:"script,omitempty"` Form string `xml:"form,attr" json:"form,omitempty"` Math string `xml:"math,attr" json:"math,omitempty"` Office string `xml:"office,attr" json:"office,omitempty"` Ooo string `xml:"ooo,attr" json:"ooo,omitempty"` Fo string `xml:"fo,attr" json:"fo,omitempty"` Ooow string `xml:"ooow,attr" json:"ooow,omitempty"` Xlink string `xml:"xlink,attr" json:"xlink,omitempty"` Drawooo string `xml:"drawooo,attr" json:"drawooo,omitempty"` Oooc string `xml:"oooc,attr" json:"oooc,omitempty"` Dc string `xml:"dc,attr" json:"dc,omitempty"` Calcext string `xml:"calcext,attr" json:"calcext,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` AttrText string `xml:"text,attr" json:"attrText,omitempty"` Of string `xml:"of,attr" json:"of,omitempty"` Tableooo string `xml:"tableooo,attr" json:"tableooo,omitempty"` Draw string `xml:"draw,attr" json:"draw,omitempty"` Dr3d string `xml:"dr3d,attr" json:"dr3d,omitempty"` Rpt string `xml:"rpt,attr" json:"rpt,omitempty"` Formx string `xml:"formx,attr" json:"formx,omitempty"` SVG string `xml:"svg,attr" json:"svg,omitempty"` Chart string `xml:"chart,attr" json:"chart,omitempty"` Table string `xml:"table,attr" json:"table,omitempty"` Meta string `xml:"meta,attr" json:"meta,omitempty"` Loext string `xml:"loext,attr" json:"loext,omitempty"` Number string `xml:"number,attr" json:"number,omitempty"` Field string `xml:"field,attr" json:"field,omitempty"` Version string `xml:"version,attr" json:"version,omitempty"` Scripts string `xml:"scripts" json:"scripts,omitempty"` FontFaceDecls FontFaceDecls `xml:"font-face-decls" json:"font-face-decls,omitempty"` AutomaticStyles AutomaticStyles `xml:"automatic-styles" json:"automatic-styles,omitempty"` Body Body `xml:"body" json:"body,omitempty"` }
func Uncompress ¶
Reverses compression by permitting duplicate cells, preventing increments in NumberColumnsRepeated.
The ignore parameter sets a limit on repetitions to ignore if the number of repetitions exceeds this value. This helps prevent file corruption caused by adding excessive rows or columns and enhances performance. This value should be set to only what is needed and should generally stay below 100.
type CurrencyStyle ¶
type CurrencyStyle struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Volatile string `xml:"volatile,attr" json:"volatile,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` CurrencySymbol CurrencySymbol `xml:"currency-symbol" json:"currency-symbol,omitempty"` Number Number `xml:"number" json:"number,omitempty"` TextProperties TextProperties0 `xml:"text-properties" json:"text-properties,omitempty"` Text string `xml:"text" json:"text,omitempty"` Map Map `xml:"map" json:"map,omitempty"` }
type CurrencyStyleMarshal ¶
type CurrencyStyleMarshal struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"number:name,attr" json:"name,omitempty"` Volatile string `xml:"style:volatile,attr" json:"volatile,omitempty"` Language string `xml:"number:language,attr" json:"language,omitempty"` Country string `xml:"number:country,attr" json:"country,omitempty"` CurrencySymbol currencySymbolMarshal `xml:"number:currency-symbol" json:"currency-symbol,omitempty"` Number numberMarshal `xml:"number:number" json:"number,omitempty"` TextProperties textProperties0Marshal `xml:"style:text-properties" json:"text-properties,omitempty"` Text string `xml:"number:text" json:"text,omitempty"` Map mapMarshal `xml:"style:map" json:"map,omitempty"` }
type CurrencySymbol ¶
type DateStyle ¶
type DateStyle struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` AutomaticOrder string `xml:"automatic-order,attr" json:"automatic-order,omitempty"` Month Month `xml:"month" json:"month,omitempty"` Text []string `xml:"text" json:"text,omitempty"` Day Day `xml:"day" json:"day,omitempty"` Year string `xml:"year" json:"year,omitempty"` }
type FontFace ¶
type FontFace struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` FontFamily string `xml:"font-family,attr" json:"font-family,omitempty"` FontFamilyGeneric string `xml:"font-family-generic,attr" json:"font-family-generic,omitempty"` FontPitch string `xml:"font-pitch,attr" json:"font-pitch,omitempty"` }
type FontFaceDecls ¶
type Manifest ¶
type Manifest struct { XMLName xml.Name `xml:"RDF" json:"rdf,omitempty"` Text string `xml:",chardata" json:"text,omitempty"` Rdf string `xml:"rdf,attr,omitempty" json:"rdf0,omitempty"` Description []struct { Text string `xml:",chardata" json:"text,omitempty"` About string `xml:"about,attr,omitempty" json:"about,omitempty"` Type struct { Text string `xml:",chardata" json:"text,omitempty"` Resource string `xml:"resource,attr,omitempty" json:"resource,omitempty"` } `xml:"type" json:"type,omitempty"` HasPart struct { Text string `xml:",chardata" json:"text,omitempty"` Ns0 string `xml:"ns0,attr,omitempty" json:"ns0,omitempty"` Resource string `xml:"resource,attr,omitempty" json:"resource,omitempty"` } `xml:"hasPart" json:"haspart,omitempty"` } `xml:"Description" json:"description,omitempty"` }
type Meta ¶
type Meta struct { XMLName xml.Name `xml:"document-meta" json:"document-meta,omitempty"` Text string `xml:",chardata" json:"text,omitempty"` Grddl string `xml:"grddl,attr,omitempty" json:"grddl,omitempty"` AttrMeta string `xml:"meta,attr,omitempty" json:"attrMeta,omitempty"` Dc string `xml:"dc,attr,omitempty" json:"dc,omitempty"` Xlink string `xml:"xlink,attr,omitempty" json:"xlink,omitempty"` Ooo string `xml:"ooo,attr,omitempty" json:"ooo,omitempty"` Office string `xml:"office,attr,omitempty" json:"office,omitempty"` Version string `xml:"version,attr,omitempty" json:"version,omitempty"` Meta struct { Text string `xml:",chardata" json:"text,omitempty"` Generator string `xml:"generator"` Date string `xml:"date"` EditingDuration string `xml:"editing-duration"` EditingCycles string `xml:"editing-cycles"` DocumentStatistic struct { Text string `xml:",chardata" json:"text,omitempty"` TableCount string `xml:"table-count,attr,omitempty" json:"table-count,omitempty"` CellCount string `xml:"cell-count,attr,omitempty" json:"cell-count,omitempty"` ObjectCount string `xml:"object-count,attr,omitempty" json:"object-count,omitempty"` } `xml:"document-statistic" json:"document-statistic,omitempty"` } `xml:"meta" json:"meta,omitempty"` }
type Number ¶
type Number struct { Text string `xml:",chardata" json:"text,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` MinDecimalPlaces string `xml:"min-decimal-places,attr" json:"min-decimal-places,omitempty"` MinIntegerDigits string `xml:"min-integer-digits,attr" json:"min-integer-digits,omitempty"` Grouping string `xml:"grouping,attr" json:"grouping,omitempty"` }
type ODS ¶
type ParagraphProperties ¶
type Settings ¶
type Settings struct { XMLName xml.Name `xml:"document-settings" json:"document-settings,omitempty"` Text string `xml:",chardata" json:"text,omitempty"` Config string `xml:"config,attr" json:"config,omitempty"` Xlink string `xml:"xlink,attr" json:"xlink,omitempty"` Ooo string `xml:"ooo,attr" json:"ooo,omitempty"` Office string `xml:"office,attr" json:"office,omitempty"` Version string `xml:"version,attr" json:"version,omitempty"` Settings struct { Text string `xml:",chardata" json:"text,omitempty"` ConfigItemSet []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItem []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Type string `xml:"type,attr" json:"type,omitempty"` } `xml:"config-item" json:"config-item,omitempty"` ConfigItemMapIndexed struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItemMapEntry struct { Text string `xml:",chardata" json:"text,omitempty"` ConfigItem []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Type string `xml:"type,attr" json:"type,omitempty"` } `xml:"config-item" json:"config-item,omitempty"` ConfigItemMapNamed struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItemMapEntry []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItem []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Type string `xml:"type,attr" json:"type,omitempty"` } `xml:"config-item" json:"config-item,omitempty"` } `xml:"config-item-map-entry" json:"config-item-map-entry,omitempty"` } `xml:"config-item-map-named" json:"config-item-map-named,omitempty"` } `xml:"config-item-map-entry" json:"config-item-map-entry,omitempty"` } `xml:"config-item-map-indexed" json:"config-item-map-indexed,omitempty"` ConfigItemMapNamed struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItemMapEntry []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` ConfigItem struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Type string `xml:"type,attr" json:"type,omitempty"` } `xml:"config-item" json:"config-item,omitempty"` } `xml:"config-item-map-entry" json:"config-item-map-entry,omitempty"` } `xml:"config-item-map-named" json:"config-item-map-named,omitempty"` } `xml:"config-item-set" json:"config-item-set,omitempty"` } `xml:"settings" json:"settings,omitempty"` }
type Spreadsheet ¶
type Spreadsheet struct { Text string `xml:",chardata" json:"text,omitempty"` CalculationSettings CalculationSettings `xml:"calculation-settings" json:"calculation-settings,omitempty"` Table []Table `xml:"table" json:"table,omitempty"` NamedExpressions string `xml:"named-expressions" json:"named-expressions,omitempty"` }
type Style ¶
type Style struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Family string `xml:"family,attr" json:"family,omitempty"` MasterPageName string `xml:"master-page-name,attr" json:"master-page-name,omitempty"` ParentStyleName string `xml:"parent-style-name,attr" json:"parent-style-name,omitempty"` DataStyleName string `xml:"data-style-name,attr" json:"data-style-name,omitempty"` TableColumnProperties TableColumnProperties `xml:"table-column-properties" json:"table-column-properties,omitempty"` TableRowProperties TableRowProperties `xml:"table-row-properties" json:"table-row-properties,omitempty"` TableProperties TableProperties `xml:"table-properties" json:"table-properties,omitempty"` TableCellProperties TableCellProperties `xml:"table-cell-properties" json:"table-cell-properties,omitempty"` ParagraphProperties ParagraphProperties `xml:"paragraph-properties" json:"paragraph-properties,omitempty"` TextProperties TextProperties `xml:"text-properties" json:"text-properties,omitempty"` }
type Styles ¶
type Styles struct { XMLName xml.Name `xml:"document-styles" json:"document-styles,omitempty"` Text string `xml:",chardata" json:"text,omitempty"` Presentation string `xml:"presentation,attr" json:"presentation,omitempty"` Css3t string `xml:"css3t,attr" json:"css3t,omitempty"` Grddl string `xml:"grddl,attr" json:"grddl,omitempty"` Xhtml string `xml:"xhtml,attr" json:"xhtml,omitempty"` Dom string `xml:"dom,attr" json:"dom,omitempty"` Script string `xml:"script,attr" json:"script,omitempty"` Form string `xml:"form,attr" json:"form,omitempty"` Math string `xml:"math,attr" json:"math,omitempty"` Office string `xml:"office,attr" json:"office,omitempty"` Ooo string `xml:"ooo,attr" json:"ooo,omitempty"` Fo string `xml:"fo,attr" json:"fo,omitempty"` Ooow string `xml:"ooow,attr" json:"ooow,omitempty"` Xlink string `xml:"xlink,attr" json:"xlink,omitempty"` Drawooo string `xml:"drawooo,attr" json:"drawooo,omitempty"` Oooc string `xml:"oooc,attr" json:"oooc,omitempty"` Dc string `xml:"dc,attr" json:"dc,omitempty"` Calcext string `xml:"calcext,attr" json:"calcext,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` AttrText string `xml:"text,attr" json:"attrText,omitempty"` Of string `xml:"of,attr" json:"of,omitempty"` Tableooo string `xml:"tableooo,attr" json:"tableooo,omitempty"` Draw string `xml:"draw,attr" json:"draw,omitempty"` Dr3d string `xml:"dr3d,attr" json:"dr3d,omitempty"` Rpt string `xml:"rpt,attr" json:"rpt,omitempty"` SVG string `xml:"svg,attr" json:"svg,omitempty"` Chart string `xml:"chart,attr" json:"chart,omitempty"` Table string `xml:"table,attr" json:"table,omitempty"` Meta string `xml:"meta,attr" json:"meta,omitempty"` Loext string `xml:"loext,attr" json:"loext,omitempty"` Number string `xml:"number,attr" json:"number,omitempty"` Field string `xml:"field,attr" json:"field,omitempty"` Version string `xml:"version,attr" json:"version,omitempty"` FontFaceDecls struct { Text string `xml:",chardata" json:"text,omitempty"` FontFace []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` FontFamily string `xml:"font-family,attr" json:"font-family,omitempty"` FontFamilyGeneric string `xml:"font-family-generic,attr" json:"font-family-generic,omitempty"` FontPitch string `xml:"font-pitch,attr" json:"font-pitch,omitempty"` } `xml:"font-face" json:"font-face,omitempty"` } `xml:"font-face-decls" json:"font-face-decls,omitempty"` Styles struct { Text string `xml:",chardata" json:"text,omitempty"` DefaultStyle []struct { Text string `xml:",chardata" json:"text,omitempty"` Family string `xml:"family,attr" json:"family,omitempty"` ParagraphProperties struct { Text string `xml:",chardata" json:"text,omitempty"` TabStopDistance string `xml:"tab-stop-distance,attr" json:"tab-stop-distance,omitempty"` TextAutospace string `xml:"text-autospace,attr" json:"text-autospace,omitempty"` PunctuationWrap string `xml:"punctuation-wrap,attr" json:"punctuation-wrap,omitempty"` LineBreak string `xml:"line-break,attr" json:"line-break,omitempty"` WritingMode string `xml:"writing-mode,attr" json:"writing-mode,omitempty"` FontIndependentLineSpacing string `xml:"font-independent-line-spacing,attr" json:"font-independent-line-spacing,omitempty"` TabStops string `xml:"tab-stops"` } `xml:"paragraph-properties" json:"paragraph-properties,omitempty"` TextProperties struct { Text string `xml:",chardata" json:"text,omitempty"` FontName string `xml:"font-name,attr" json:"font-name,omitempty"` FontSize string `xml:"font-size,attr" json:"font-size,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` FontNameAsian string `xml:"font-name-asian,attr" json:"font-name-asian,omitempty"` FontSizeAsian string `xml:"font-size-asian,attr" json:"font-size-asian,omitempty"` LanguageAsian string `xml:"language-asian,attr" json:"language-asian,omitempty"` CountryAsian string `xml:"country-asian,attr" json:"country-asian,omitempty"` FontNameComplex string `xml:"font-name-complex,attr" json:"font-name-complex,omitempty"` FontSizeComplex string `xml:"font-size-complex,attr" json:"font-size-complex,omitempty"` LanguageComplex string `xml:"language-complex,attr" json:"language-complex,omitempty"` CountryComplex string `xml:"country-complex,attr" json:"country-complex,omitempty"` UseWindowFontColor string `xml:"use-window-font-color,attr" json:"use-window-font-color,omitempty"` Opacity string `xml:"opacity,attr" json:"opacity,omitempty"` FontFamily string `xml:"font-family,attr" json:"font-family,omitempty"` FontFamilyGeneric string `xml:"font-family-generic,attr" json:"font-family-generic,omitempty"` FontPitch string `xml:"font-pitch,attr" json:"font-pitch,omitempty"` LetterKerning string `xml:"letter-kerning,attr" json:"letter-kerning,omitempty"` } `xml:"text-properties" json:"text-properties,omitempty"` GraphicProperties struct { Text string `xml:",chardata" json:"text,omitempty"` StrokeColor string `xml:"stroke-color,attr" json:"stroke-color,omitempty"` FillColor string `xml:"fill-color,attr" json:"fill-color,omitempty"` WrapOption string `xml:"wrap-option,attr" json:"wrap-option,omitempty"` ShadowOffsetX string `xml:"shadow-offset-x,attr" json:"shadow-offset-x,omitempty"` ShadowOffsetY string `xml:"shadow-offset-y,attr" json:"shadow-offset-y,omitempty"` WritingMode string `xml:"writing-mode,attr" json:"writing-mode,omitempty"` } `xml:"graphic-properties" json:"graphic-properties,omitempty"` } `xml:"default-style" json:"default-style,omitempty"` Style []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Family string `xml:"family,attr" json:"family,omitempty"` ParentStyleName string `xml:"parent-style-name,attr" json:"parent-style-name,omitempty"` DisplayName string `xml:"display-name,attr" json:"display-name,omitempty"` GraphicProperties struct { Text string `xml:",chardata" json:"text,omitempty"` Stroke string `xml:"stroke,attr" json:"stroke,omitempty"` MarkerStart string `xml:"marker-start,attr" json:"marker-start,omitempty"` MarkerStartWidth string `xml:"marker-start-width,attr" json:"marker-start-width,omitempty"` MarkerStartCenter string `xml:"marker-start-center,attr" json:"marker-start-center,omitempty"` Fill string `xml:"fill,attr" json:"fill,omitempty"` FillColor string `xml:"fill-color,attr" json:"fill-color,omitempty"` AutoGrowHeight string `xml:"auto-grow-height,attr" json:"auto-grow-height,omitempty"` AutoGrowWidth string `xml:"auto-grow-width,attr" json:"auto-grow-width,omitempty"` PaddingTop string `xml:"padding-top,attr" json:"padding-top,omitempty"` PaddingBottom string `xml:"padding-bottom,attr" json:"padding-bottom,omitempty"` PaddingLeft string `xml:"padding-left,attr" json:"padding-left,omitempty"` PaddingRight string `xml:"padding-right,attr" json:"padding-right,omitempty"` Shadow string `xml:"shadow,attr" json:"shadow,omitempty"` ShadowOffsetX string `xml:"shadow-offset-x,attr" json:"shadow-offset-x,omitempty"` ShadowOffsetY string `xml:"shadow-offset-y,attr" json:"shadow-offset-y,omitempty"` } `xml:"graphic-properties" json:"graphic-properties,omitempty"` TextProperties struct { Text string `xml:",chardata" json:"text,omitempty"` FontName string `xml:"font-name,attr" json:"font-name,omitempty"` FontFamily string `xml:"font-family,attr" json:"font-family,omitempty"` FontSize string `xml:"font-size,attr" json:"font-size,omitempty"` FontNameAsian string `xml:"font-name-asian,attr" json:"font-name-asian,omitempty"` FontFamilyAsian string `xml:"font-family-asian,attr" json:"font-family-asian,omitempty"` FontFamilyGenericAsian string `xml:"font-family-generic-asian,attr" json:"font-family-generic-asian,omitempty"` FontPitchAsian string `xml:"font-pitch-asian,attr" json:"font-pitch-asian,omitempty"` FontSizeAsian string `xml:"font-size-asian,attr" json:"font-size-asian,omitempty"` FontNameComplex string `xml:"font-name-complex,attr" json:"font-name-complex,omitempty"` FontFamilyComplex string `xml:"font-family-complex,attr" json:"font-family-complex,omitempty"` FontSizeComplex string `xml:"font-size-complex,attr" json:"font-size-complex,omitempty"` Color string `xml:"color,attr" json:"color,omitempty"` FontStyle string `xml:"font-style,attr" json:"font-style,omitempty"` FontWeight string `xml:"font-weight,attr" json:"font-weight,omitempty"` TextUnderlineStyle string `xml:"text-underline-style,attr" json:"text-underline-style,omitempty"` TextUnderlineWidth string `xml:"text-underline-width,attr" json:"text-underline-width,omitempty"` TextUnderlineColor string `xml:"text-underline-color,attr" json:"text-underline-color,omitempty"` FontStyleAsian string `xml:"font-style-asian,attr" json:"font-style-asian,omitempty"` FontWeightAsian string `xml:"font-weight-asian,attr" json:"font-weight-asian,omitempty"` FontStyleComplex string `xml:"font-style-complex,attr" json:"font-style-complex,omitempty"` FontWeightComplex string `xml:"font-weight-complex,attr" json:"font-weight-complex,omitempty"` } `xml:"text-properties" json:"text-properties,omitempty"` TableCellProperties struct { Text string `xml:",chardata" json:"text,omitempty"` RotationAlign string `xml:"rotation-align,attr" json:"rotation-align,omitempty"` VerticalAlign string `xml:"vertical-align,attr" json:"vertical-align,omitempty"` BackgroundColor string `xml:"background-color,attr" json:"background-color,omitempty"` DiagonalBlTr string `xml:"diagonal-bl-tr,attr" json:"diagonal-bl-tr,omitempty"` DiagonalTlBr string `xml:"diagonal-tl-br,attr" json:"diagonal-tl-br,omitempty"` Border string `xml:"border,attr" json:"border,omitempty"` WrapOption string `xml:"wrap-option,attr" json:"wrap-option,omitempty"` ShrinkToFit string `xml:"shrink-to-fit,attr" json:"shrink-to-fit,omitempty"` } `xml:"table-cell-properties" json:"table-cell-properties,omitempty"` } `xml:"style" json:"style,omitempty"` NumberStyle []struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Volatile string `xml:"volatile,attr" json:"volatile,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` Number struct { Text string `xml:",chardata" json:"text,omitempty"` MinIntegerDigits string `xml:"min-integer-digits,attr" json:"min-integer-digits,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` MinDecimalPlaces string `xml:"min-decimal-places,attr" json:"min-decimal-places,omitempty"` Grouping string `xml:"grouping,attr" json:"grouping,omitempty"` } `xml:"number" json:"number,omitempty"` ScientificNumber struct { Text string `xml:",chardata" json:"text,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` MinDecimalPlaces string `xml:"min-decimal-places,attr" json:"min-decimal-places,omitempty"` MinIntegerDigits string `xml:"min-integer-digits,attr" json:"min-integer-digits,omitempty"` MinExponentDigits string `xml:"min-exponent-digits,attr" json:"min-exponent-digits,omitempty"` ExponentInterval string `xml:"exponent-interval,attr" json:"exponent-interval,omitempty"` ForcedExponentSign string `xml:"forced-exponent-sign,attr" json:"forced-exponent-sign,omitempty"` } `xml:"scientific-number" json:"scientific-number,omitempty"` Text []string `xml:"text"` TextProperties struct { Text string `xml:",chardata" json:"text,omitempty"` Color string `xml:"color,attr" json:"color,omitempty"` } `xml:"text-properties" json:"text-properties,omitempty"` Map struct { Text string `xml:",chardata" json:"text,omitempty"` Condition string `xml:"condition,attr" json:"condition,omitempty"` ApplyStyleName string `xml:"apply-style-name,attr" json:"apply-style-name,omitempty"` } `xml:"map" json:"map,omitempty"` FillCharacter string `xml:"fill-character"` } `xml:"number-style" json:"number-style,omitempty"` TimeStyle []struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` TruncateOnOverflow string `xml:"truncate-on-overflow,attr" json:"truncate-on-overflow,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` Minutes struct { Text string `xml:",chardata" json:"text,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` } `xml:"minutes" json:"minutes,omitempty"` Text []string `xml:"text"` Seconds struct { Text string `xml:",chardata" json:"text,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` } `xml:"seconds" json:"seconds,omitempty"` Hours string `xml:"hours"` AmPm string `xml:"am-pm"` } `xml:"time-style" json:"time-style,omitempty"` DateStyle []struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` Month struct { Text string `xml:",chardata" json:"text,omitempty"` Textual string `xml:"textual,attr" json:"textual,omitempty"` } `xml:"month" json:"month,omitempty"` Text []string `xml:"text"` Day string `xml:"day"` Year struct { Text string `xml:",chardata" json:"text,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` } `xml:"year" json:"year,omitempty"` Hours string `xml:"hours"` Minutes struct { Text string `xml:",chardata" json:"text,omitempty"` Style string `xml:"style,attr" json:"style,omitempty"` } `xml:"minutes" json:"minutes,omitempty"` } `xml:"date-style" json:"date-style,omitempty"` CurrencyStyle []struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Volatile string `xml:"volatile,attr" json:"volatile,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` CurrencySymbol string `xml:"currency-symbol"` Number struct { Text string `xml:",chardata" json:"text,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` MinDecimalPlaces string `xml:"min-decimal-places,attr" json:"min-decimal-places,omitempty"` MinIntegerDigits string `xml:"min-integer-digits,attr" json:"min-integer-digits,omitempty"` Grouping string `xml:"grouping,attr" json:"grouping,omitempty"` } `xml:"number" json:"number,omitempty"` Text []string `xml:"text"` Map struct { Text string `xml:",chardata" json:"text,omitempty"` Condition string `xml:"condition,attr" json:"condition,omitempty"` ApplyStyleName string `xml:"apply-style-name,attr" json:"apply-style-name,omitempty"` } `xml:"map" json:"map,omitempty"` TextProperties struct { Text string `xml:",chardata" json:"text,omitempty"` Color string `xml:"color,attr" json:"color,omitempty"` } `xml:"text-properties" json:"text-properties,omitempty"` FillCharacter string `xml:"fill-character"` } `xml:"currency-style" json:"currency-style,omitempty"` TextStyle []struct { Chardata string `xml:",chardata" json:"chardata,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Language string `xml:"language,attr" json:"language,omitempty"` Country string `xml:"country,attr" json:"country,omitempty"` Text []string `xml:"text"` TextContent string `xml:"text-content"` Map []struct { Text string `xml:",chardata" json:"text,omitempty"` Condition string `xml:"condition,attr" json:"condition,omitempty"` ApplyStyleName string `xml:"apply-style-name,attr" json:"apply-style-name,omitempty"` } `xml:"map" json:"map,omitempty"` } `xml:"text-style" json:"text-style,omitempty"` Marker struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` DisplayName string `xml:"display-name,attr" json:"display-name,omitempty"` ViewBox string `xml:"viewBox,attr" json:"viewbox,omitempty"` D string `xml:"d,attr" json:"d,omitempty"` } `xml:"marker" json:"marker,omitempty"` } `xml:"styles" json:"styles,omitempty"` AutomaticStyles struct { Text string `xml:",chardata" json:"text,omitempty"` NumberStyle struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` Number struct { Text string `xml:",chardata" json:"text,omitempty"` DecimalPlaces string `xml:"decimal-places,attr" json:"decimal-places,omitempty"` MinDecimalPlaces string `xml:"min-decimal-places,attr" json:"min-decimal-places,omitempty"` MinIntegerDigits string `xml:"min-integer-digits,attr" json:"min-integer-digits,omitempty"` } `xml:"number" json:"number,omitempty"` } `xml:"number-style" json:"number-style,omitempty"` PageLayout []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` PageLayoutProperties struct { Text string `xml:",chardata" json:"text,omitempty"` FirstPageNumber string `xml:"first-page-number,attr" json:"first-page-number,omitempty"` WritingMode string `xml:"writing-mode,attr" json:"writing-mode,omitempty"` NumFormat string `xml:"num-format,attr" json:"num-format,omitempty"` PrintOrientation string `xml:"print-orientation,attr" json:"print-orientation,omitempty"` MarginTop string `xml:"margin-top,attr" json:"margin-top,omitempty"` MarginBottom string `xml:"margin-bottom,attr" json:"margin-bottom,omitempty"` MarginLeft string `xml:"margin-left,attr" json:"margin-left,omitempty"` MarginRight string `xml:"margin-right,attr" json:"margin-right,omitempty"` PrintPageOrder string `xml:"print-page-order,attr" json:"print-page-order,omitempty"` ScaleTo string `xml:"scale-to,attr" json:"scale-to,omitempty"` Print string `xml:"print,attr" json:"print,omitempty"` } `xml:"page-layout-properties" json:"page-layout-properties,omitempty"` HeaderStyle struct { Text string `xml:",chardata" json:"text,omitempty"` HeaderFooterProperties struct { Text string `xml:",chardata" json:"text,omitempty"` MinHeight string `xml:"min-height,attr" json:"min-height,omitempty"` MarginLeft string `xml:"margin-left,attr" json:"margin-left,omitempty"` MarginRight string `xml:"margin-right,attr" json:"margin-right,omitempty"` MarginBottom string `xml:"margin-bottom,attr" json:"margin-bottom,omitempty"` Border string `xml:"border,attr" json:"border,omitempty"` Padding string `xml:"padding,attr" json:"padding,omitempty"` BackgroundColor string `xml:"background-color,attr" json:"background-color,omitempty"` BackgroundImage string `xml:"background-image"` } `xml:"header-footer-properties" json:"header-footer-properties,omitempty"` } `xml:"header-style" json:"header-style,omitempty"` FooterStyle struct { Text string `xml:",chardata" json:"text,omitempty"` HeaderFooterProperties struct { Text string `xml:",chardata" json:"text,omitempty"` MinHeight string `xml:"min-height,attr" json:"min-height,omitempty"` MarginLeft string `xml:"margin-left,attr" json:"margin-left,omitempty"` MarginRight string `xml:"margin-right,attr" json:"margin-right,omitempty"` MarginTop string `xml:"margin-top,attr" json:"margin-top,omitempty"` Border string `xml:"border,attr" json:"border,omitempty"` Padding string `xml:"padding,attr" json:"padding,omitempty"` BackgroundColor string `xml:"background-color,attr" json:"background-color,omitempty"` BackgroundImage string `xml:"background-image"` } `xml:"header-footer-properties" json:"header-footer-properties,omitempty"` } `xml:"footer-style" json:"footer-style,omitempty"` } `xml:"page-layout" json:"page-layout,omitempty"` } `xml:"automatic-styles" json:"automatic-styles,omitempty"` MasterStyles struct { Text string `xml:",chardata" json:"text,omitempty"` MasterPage []struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` PageLayoutName string `xml:"page-layout-name,attr" json:"page-layout-name,omitempty"` DisplayName string `xml:"display-name,attr" json:"display-name,omitempty"` Header struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` P struct { Text string `xml:",chardata" json:"text,omitempty"` SheetName string `xml:"sheet-name"` } `xml:"p" json:"p,omitempty"` RegionLeft struct { Text string `xml:",chardata" json:"text,omitempty"` P struct { Text string `xml:",chardata" json:"text,omitempty"` SheetName string `xml:"sheet-name"` S string `xml:"s"` Title string `xml:"title"` } `xml:"p" json:"p,omitempty"` } `xml:"region-left" json:"region-left,omitempty"` RegionRight struct { Text string `xml:",chardata" json:"text,omitempty"` P struct { Text string `xml:",chardata" json:"text,omitempty"` Date struct { Text string `xml:",chardata" json:"text,omitempty"` DataStyleName string `xml:"data-style-name,attr" json:"data-style-name,omitempty"` DateValue string `xml:"date-value,attr" json:"date-value,omitempty"` } `xml:"date" json:"date,omitempty"` Time struct { Text string `xml:",chardata" json:"text,omitempty"` DataStyleName string `xml:"data-style-name,attr" json:"data-style-name,omitempty"` TimeValue string `xml:"time-value,attr" json:"time-value,omitempty"` } `xml:"time" json:"time,omitempty"` } `xml:"p" json:"p,omitempty"` } `xml:"region-right" json:"region-right,omitempty"` } `xml:"header" json:"header,omitempty"` HeaderLeft struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` } `xml:"header-left" json:"header-left,omitempty"` HeaderFirst struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` } `xml:"header-first" json:"header-first,omitempty"` Footer struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` P struct { Text string `xml:",chardata" json:"text,omitempty"` PageNumber string `xml:"page-number"` S string `xml:"s"` PageCount string `xml:"page-count"` } `xml:"p" json:"p,omitempty"` } `xml:"footer" json:"footer,omitempty"` FooterLeft struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` } `xml:"footer-left" json:"footer-left,omitempty"` FooterFirst struct { Text string `xml:",chardata" json:"text,omitempty"` Display string `xml:"display,attr" json:"display,omitempty"` } `xml:"footer-first" json:"footer-first,omitempty"` } `xml:"master-page" json:"master-page,omitempty"` } `xml:"master-styles" json:"master-styles,omitempty"` }
type Table ¶
type Table struct { Text string `xml:",chardata" json:"text,omitempty"` Name string `xml:"name,attr" json:"name,omitempty"` StyleName string `xml:"style-name,attr" json:"style-name,omitempty"` Forms Forms `xml:"forms" json:"forms,omitempty"` TableColumn []TableColumn `xml:"table-column" json:"table-column,omitempty"` TableRow []TableRow `xml:"table-row" json:"table-row,omitempty"` }
type TableCell ¶
type TableCell struct { Text string `xml:",chardata" json:"text,omitempty"` StyleName string `xml:"style-name,attr" json:"style-name,omitempty"` ValueType string `xml:"value-type,attr" json:"value-type,omitempty"` ValueType0 string `json:"value-type0,omitempty"` NumberColumnsRepeated string `xml:"number-columns-repeated,attr" json:"number-columns-repeated,omitempty"` Formula string `xml:"formula,attr" json:"formula,omitempty"` Value string `xml:"value,attr" json:"value,omitempty"` Currency string `xml:"currency,attr" json:"currency,omitempty"` DateValue string `xml:"date-value,attr" json:"date-value,omitempty"` P string `xml:"p" json:"p,omitempty"` }
type TableCellProperties ¶
type TableCellProperties struct { Text string `xml:",chardata" json:"text,omitempty"` BackgroundColor string `xml:"background-color,attr" json:"background-color,omitempty"` TextAlignSource string `xml:"text-align-source,attr" json:"text-align-source,omitempty"` RepeatContent string `xml:"repeat-content,attr" json:"repeat-content,omitempty"` Border string `xml:"border,attr" json:"border,omitempty"` }
type TableColumn ¶
type TableColumn struct { Text string `xml:",chardata" json:"text,omitempty"` StyleName string `xml:"style-name,attr" json:"style-name,omitempty"` NumberColumnsRepeated string `xml:"number-columns-repeated,attr" json:"number-columns-repeated,omitempty"` DefaultCellStyleName string `xml:"default-cell-style-name,attr" json:"default-cell-style-name,omitempty"` }
type TableColumnProperties ¶
type TableProperties ¶
type TableRow ¶
type TableRow struct { Text string `xml:",chardata" json:"text,omitempty"` StyleName string `xml:"style-name,attr" json:"style-name,omitempty"` NumberRowsRepeated string `xml:"number-rows-repeated,attr" json:"number-rows-repeated,omitempty"` TableCell []TableCell `xml:"table-cell" json:"table-cell,omitempty"` }
type TableRowProperties ¶
type TableRowProperties struct { Text string `xml:",chardata" json:"text,omitempty"` RowHeight string `xml:"row-height,attr" json:"row-height,omitempty"` BreakBefore string `xml:"break-before,attr" json:"break-before,omitempty"` UseOptimalRowHeight string `xml:"use-optimal-row-height,attr" json:"use-optimal-row-height,omitempty"` }
type TextProperties ¶
type TextProperties struct { Text string `xml:",chardata" json:"text,omitempty"` FontSize string `xml:"font-size,attr" json:"font-size,omitempty"` FontWeight string `xml:"font-weight,attr" json:"font-weight,omitempty"` FontSizeAsian string `xml:"font-size-asian,attr" json:"font-size-asian,omitempty"` FontWeightAsian string `xml:"font-weight-asian,attr" json:"font-weight-asian,omitempty"` FontSizeComplex string `xml:"font-size-complex,attr" json:"font-size-complex,omitempty"` FontWeightComplex string `xml:"font-weight-complex,attr" json:"font-weight-complex,omitempty"` }
type TextProperties0 ¶
Click to show internal directories.
Click to hide internal directories.