odt

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

README

odt

Build status GoDoc godocs.io

odt is a set of Go-based tools to deal with the ODT file format.

Installation

$> go install sbinet.org/x/odt

Examples

func main() {
	doc, err := odt.Open("testdata/simple.odt")
	if err != nil {
		panic(err)
	}
	defer doc.Close()

	var depth int
	indent := func() string {
		return strings.Repeat("  ", depth)
	}

	err = odt.Walk(doc.Node(), func(n odt.Node, entering bool) (odt.WalkStatus, error) {
		switch {
		case entering:
			ii := indent()
			fmt.Printf("%s<%s> {\n", ii, n.Name())
			depth++
		default:
			switch n := n.(type) {
			case *odt.Text:
				if n.Value != "" {
					fmt.Printf("%stext: %q\n", indent(), n.Value)
				}
			}
			depth--
			ii := indent()
			fmt.Printf("%s}\n", ii)
		}
		return odt.WalkContinue, nil
	})
	if err != nil {
		panic(err)
	}
}
odt2md

odt2md tries its best at converting an ODT document to a CommonMark one:

$> go install sbinet.org/x/odt/cmd/odt2md@latest
$> odt2md -h
odt2md converts an ODT document into a CommonMark one.

Usage: odt2md [OPTIONS] [INPUT.odt]

Example:

 $> odt2md input.odt
 $> odt2md input.odt > out.md
 $> odt2md -o out.md input.odt
 $> odt2md < input.odt > out.md
 $> odt2md -o out.md < input.odt

Options:
  -o string
    	path to output CommonMark file

$> odt2md ./testdata/simple.odt

# Title

Hello World!

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(n Node, f WalkFunc) error

Walk traverses a tree of odt nodes, in a depth-first fashion.

Example
package main

import (
	"fmt"
	"strings"

	"sbinet.org/x/odt"
)

func main() {
	doc, err := odt.Open("testdata/simple.odt")
	if err != nil {
		panic(err)
	}
	defer doc.Close()

	var depth int
	indent := func() string {
		return strings.Repeat("  ", depth)
	}

	err = odt.Walk(doc.Node(), func(n odt.Node, entering bool) (odt.WalkStatus, error) {
		switch {
		case entering:
			ii := indent()
			fmt.Printf("%s<%s> {\n", ii, n.Name())
			depth++
		default:
			switch n := n.(type) {
			case *odt.Text:
				if n.Value != "" {
					fmt.Printf("%stext: %q\n", indent(), n.Value)
				}
			}
			depth--
			ii := indent()
			fmt.Printf("%s}\n", ii)
		}
		return odt.WalkContinue, nil
	})
	if err != nil {
		panic(err)
	}

}
Output:

<office:document-content> {
  <office:scripts> {
  }
  <office:font-face-decls> {
    <style:font-face> {
    }
    <style:font-face> {
    }
    <style:font-face> {
    }
    <style:font-face> {
    }
    <style:font-face> {
    }
  }
  <office:automatic-styles> {
    <style:style> {
      <style:text-properties> {
      }
    }
    <style:style> {
      <style:text-properties> {
      }
    }
  }
  <office:body> {
    <office:text> {
      <text:sequence-decls> {
      }
      <text:p> {
        <text> {
          text: "Title"
        }
      }
      <text:p> {
        <text> {
          text: "Hello World!"
        }
      }
    }
  }
}

Types

type Document

type Document struct {
	// contains filtered or unexported fields
}

Document represents a complete ODT document.

func Open

func Open(name string) (*Document, error)

Open opens the named file and returns the parsed ODT document.

Users are expected to call Close on the returned document.

Example
package main

import (
	"fmt"
	"log"

	"sbinet.org/x/odt"
)

func main() {
	doc, err := odt.Open("testdata/simple.odt")
	if err != nil {
		log.Fatal(err)
	}
	defer doc.Close()

	fmt.Printf("name:  %q\n", doc.Node().Name())
	fmt.Printf("nodes: %d\n", len(doc.Node().Nodes()))

}
Output:

name:  "office:document-content"
nodes: 4

func OpenFrom

func OpenFrom(f Reader) (*Document, error)

OpenFrom returns the parsed ODT document from the provided reader.

Calling Close on the returned document will not close the underlying reader.

Example
package main

import (
	"fmt"
	"log"
	"os"

	"sbinet.org/x/odt"
)

func main() {
	f, err := os.Open("testdata/simple.odt")
	if err != nil {
		log.Fatal(err)
	}
	defer f.Close()

	doc, err := odt.OpenFrom(f)
	if err != nil {
		log.Fatal(err)
	}
	defer doc.Close()

	fmt.Printf("name:  %q\n", doc.Node().Name())
	fmt.Printf("nodes: %d\n", len(doc.Node().Nodes()))

}
Output:

name:  "office:document-content"
nodes: 4

func (*Document) Close

func (doc *Document) Close() error

Close closes the underlying zip ODT document.

func (*Document) Node

func (doc *Document) Node() Node

Node returns the root node of the ODT document.

func (*Document) Open

func (doc *Document) Open(name string) (fs.File, error)

Open opens the named file from the underlying zip ODT document.

type Dr3dScene

type Dr3dScene struct {
	// contains filtered or unexported fields
}

Dr3dScene represents a <dr3d:scene> element.

func (*Dr3dScene) Name

func (node *Dr3dScene) Name() string

func (*Dr3dScene) Nodes

func (node *Dr3dScene) Nodes() []Node

func (*Dr3dScene) Parent

func (node *Dr3dScene) Parent() Node

type DrawA

type DrawA struct {
	// contains filtered or unexported fields
}

DrawA represents a <draw:a> element.

func (*DrawA) Name

func (node *DrawA) Name() string

func (*DrawA) Nodes

func (node *DrawA) Nodes() []Node

func (*DrawA) Parent

func (node *DrawA) Parent() Node

type DrawCaption

type DrawCaption struct {
	// contains filtered or unexported fields
}

DrawCaption represents a <draw:caption> element.

func (*DrawCaption) Name

func (node *DrawCaption) Name() string

func (*DrawCaption) Nodes

func (node *DrawCaption) Nodes() []Node

func (*DrawCaption) Parent

func (node *DrawCaption) Parent() Node

type DrawCircle

type DrawCircle struct {
	// contains filtered or unexported fields
}

DrawCircle represents a <draw:circle> element.

func (*DrawCircle) Name

func (node *DrawCircle) Name() string

func (*DrawCircle) Nodes

func (node *DrawCircle) Nodes() []Node

func (*DrawCircle) Parent

func (node *DrawCircle) Parent() Node

type DrawConnector

type DrawConnector struct {
	// contains filtered or unexported fields
}

DrawConnector represents a <draw:connector> element.

func (*DrawConnector) Name

func (node *DrawConnector) Name() string

func (*DrawConnector) Nodes

func (node *DrawConnector) Nodes() []Node

func (*DrawConnector) Parent

func (node *DrawConnector) Parent() Node

type DrawControl

type DrawControl struct {
	// contains filtered or unexported fields
}

DrawControl represents a <draw:control> element.

func (*DrawControl) Name

func (node *DrawControl) Name() string

func (*DrawControl) Nodes

func (node *DrawControl) Nodes() []Node

func (*DrawControl) Parent

func (node *DrawControl) Parent() Node

type DrawCustomShape

type DrawCustomShape struct {
	// contains filtered or unexported fields
}

DrawCustomShape represents a <draw:custom-shape> element.

func (*DrawCustomShape) Name

func (node *DrawCustomShape) Name() string

func (*DrawCustomShape) Nodes

func (node *DrawCustomShape) Nodes() []Node

func (*DrawCustomShape) Parent

func (node *DrawCustomShape) Parent() Node

type DrawEllipse

type DrawEllipse struct {
	// contains filtered or unexported fields
}

DrawEllipse represents a <draw:ellipse> element.

func (*DrawEllipse) Name

func (node *DrawEllipse) Name() string

func (*DrawEllipse) Nodes

func (node *DrawEllipse) Nodes() []Node

func (*DrawEllipse) Parent

func (node *DrawEllipse) Parent() Node

type DrawFrame

type DrawFrame struct {
	DrawStyleName  string `xml:"draw:style-name,attr"`
	DrawName       string `xml:"draw:name,attr"`
	StyleRelWidth  string `xml:"style:rel-width,attr"`
	StyleRelHeight string `xml:"style:rel-height,attr"`
	TextAnchorType string `xml:"text:anchor-type,attr"`
	SvgX           string `xml:"svg:x,attr"`
	SvgY           string `xml:"svg:y,attr"`
	SvgWidth       string `xml:"svg:width,attr"`
	SvgHeight      string `xml:"svg:height,attr"`
	DrawZIndex     string `xml:"draw:z-index,attr"`
	// contains filtered or unexported fields
}

DrawFrame represents a <draw:frame> element. A <draw:frame> has the following child elements:

  • <draw:text-box> and
  • <draw:image>

func (*DrawFrame) Name

func (node *DrawFrame) Name() string

func (*DrawFrame) Nodes

func (node *DrawFrame) Nodes() []Node

func (*DrawFrame) Parent

func (node *DrawFrame) Parent() Node

type DrawG

type DrawG struct {
	// contains filtered or unexported fields
}

DrawG represents a <draw:g> element.

func (*DrawG) Name

func (node *DrawG) Name() string

func (*DrawG) Nodes

func (node *DrawG) Nodes() []Node

func (*DrawG) Parent

func (node *DrawG) Parent() Node

type DrawImage

type DrawImage struct {
	DrawFilterName string `xml:"draw:filter-name,attr"`
	XlinkType      string `xml:"xlink:type,attr"`
	XlinkHref      string `xml:"xlink:href,attr"`
	XlinkShow      string `xml:"xlink:show,attr"`
	XlinkActuate   string `xml:"xlink:actuate,attr"`
	DrawMimeType   string `xml:"draw:mime-type,attr"`
	XmlID          string `xml:"xml:id,attr"`
	// contains filtered or unexported fields
}

DrawImage represents a <draw:image> element. A <draw:image> has the following child elements:

  • <office:binary-data> and
  • <draw:text>

func (*DrawImage) Name

func (node *DrawImage) Name() string

func (*DrawImage) Nodes

func (node *DrawImage) Nodes() []Node

func (*DrawImage) Parent

func (node *DrawImage) Parent() Node

type DrawLine

type DrawLine struct {
	// contains filtered or unexported fields
}

DrawLine represents a <draw:line> element.

func (*DrawLine) Name

func (node *DrawLine) Name() string

func (*DrawLine) Nodes

func (node *DrawLine) Nodes() []Node

func (*DrawLine) Parent

func (node *DrawLine) Parent() Node

type DrawMeasure

type DrawMeasure struct {
	// contains filtered or unexported fields
}

DrawMeasure represents a <draw:measure> element.

func (*DrawMeasure) Name

func (node *DrawMeasure) Name() string

func (*DrawMeasure) Nodes

func (node *DrawMeasure) Nodes() []Node

func (*DrawMeasure) Parent

func (node *DrawMeasure) Parent() Node

type DrawPageThumbnail

type DrawPageThumbnail struct {
	// contains filtered or unexported fields
}

DrawPageThumbnail represents a <draw:page-thumbnail> element.

func (*DrawPageThumbnail) Name

func (node *DrawPageThumbnail) Name() string

func (*DrawPageThumbnail) Nodes

func (node *DrawPageThumbnail) Nodes() []Node

func (*DrawPageThumbnail) Parent

func (node *DrawPageThumbnail) Parent() Node

type DrawPath

type DrawPath struct {
	// contains filtered or unexported fields
}

DrawPath represents a <draw:path> element.

func (*DrawPath) Name

func (node *DrawPath) Name() string

func (*DrawPath) Nodes

func (node *DrawPath) Nodes() []Node

func (*DrawPath) Parent

func (node *DrawPath) Parent() Node

type DrawPolygon

type DrawPolygon struct {
	// contains filtered or unexported fields
}

DrawPolygon represents a <draw:polygon> element.

func (*DrawPolygon) Name

func (node *DrawPolygon) Name() string

func (*DrawPolygon) Nodes

func (node *DrawPolygon) Nodes() []Node

func (*DrawPolygon) Parent

func (node *DrawPolygon) Parent() Node

type DrawPolyline

type DrawPolyline struct {
	// contains filtered or unexported fields
}

DrawPolyline represents a <draw:polyline> element.

func (*DrawPolyline) Name

func (node *DrawPolyline) Name() string

func (*DrawPolyline) Nodes

func (node *DrawPolyline) Nodes() []Node

func (*DrawPolyline) Parent

func (node *DrawPolyline) Parent() Node

type DrawRect

type DrawRect struct {
	// contains filtered or unexported fields
}

DrawRect represents a <draw:rect> element.

func (*DrawRect) Name

func (node *DrawRect) Name() string

func (*DrawRect) Nodes

func (node *DrawRect) Nodes() []Node

func (*DrawRect) Parent

func (node *DrawRect) Parent() Node

type DrawRegularPolygon

type DrawRegularPolygon struct {
	// contains filtered or unexported fields
}

DrawRegularPolygon represents a <draw:regular-polygon> element.

func (*DrawRegularPolygon) Name

func (node *DrawRegularPolygon) Name() string

func (*DrawRegularPolygon) Nodes

func (node *DrawRegularPolygon) Nodes() []Node

func (*DrawRegularPolygon) Parent

func (node *DrawRegularPolygon) Parent() Node

type DrawText

type DrawText struct {
	// contains filtered or unexported fields
}

DrawText represents a <draw:text> element.

func (*DrawText) Name

func (node *DrawText) Name() string

func (*DrawText) Nodes

func (node *DrawText) Nodes() []Node

func (*DrawText) Parent

func (node *DrawText) Parent() Node

type DrawTextBox

type DrawTextBox struct {
	FoMinHeight string `xml:"fo:min-height,attr"`
	// contains filtered or unexported fields
}

DrawTextBox represents a <draw:text-box> element. A <draw:text-box> has the following child elements:

  • <text:p>

func (*DrawTextBox) Name

func (node *DrawTextBox) Name() string

func (*DrawTextBox) Nodes

func (node *DrawTextBox) Nodes() []Node

func (*DrawTextBox) Parent

func (node *DrawTextBox) Parent() Node

type GrddlTransformation

type GrddlTransformation struct {
	Value string
	// contains filtered or unexported fields
}

GrddlTransformation represents a <grddl:transformation> element.

func (*GrddlTransformation) Name

func (node *GrddlTransformation) Name() string

func (*GrddlTransformation) Nodes

func (node *GrddlTransformation) Nodes() []Node

func (*GrddlTransformation) Parent

func (node *GrddlTransformation) Parent() Node

type Node

type Node interface {
	Name() string
	Parent() Node
	Nodes() []Node
}

Node represents a node in an ODT document.

type NumberBooleanStyle

type NumberBooleanStyle struct {
	// contains filtered or unexported fields
}

NumberBooleanStyle represents a <number:boolean-style> element.

func (*NumberBooleanStyle) Name

func (node *NumberBooleanStyle) Name() string

func (*NumberBooleanStyle) Nodes

func (node *NumberBooleanStyle) Nodes() []Node

func (*NumberBooleanStyle) Parent

func (node *NumberBooleanStyle) Parent() Node

type NumberCurrencyStyle

type NumberCurrencyStyle struct {
	// contains filtered or unexported fields
}

NumberCurrencyStyle represents a <number:currency-style> element.

func (*NumberCurrencyStyle) Name

func (node *NumberCurrencyStyle) Name() string

func (*NumberCurrencyStyle) Nodes

func (node *NumberCurrencyStyle) Nodes() []Node

func (*NumberCurrencyStyle) Parent

func (node *NumberCurrencyStyle) Parent() Node

type NumberDateStyle

type NumberDateStyle struct {
	// contains filtered or unexported fields
}

NumberDateStyle represents a <number:date-style> element.

func (*NumberDateStyle) Name

func (node *NumberDateStyle) Name() string

func (*NumberDateStyle) Nodes

func (node *NumberDateStyle) Nodes() []Node

func (*NumberDateStyle) Parent

func (node *NumberDateStyle) Parent() Node

type NumberNumberStyle

type NumberNumberStyle struct {
	// contains filtered or unexported fields
}

NumberNumberStyle represents a <number:number-style> element.

func (*NumberNumberStyle) Name

func (node *NumberNumberStyle) Name() string

func (*NumberNumberStyle) Nodes

func (node *NumberNumberStyle) Nodes() []Node

func (*NumberNumberStyle) Parent

func (node *NumberNumberStyle) Parent() Node

type NumberPercentageStyle

type NumberPercentageStyle struct {
	// contains filtered or unexported fields
}

NumberPercentageStyle represents a <number:percentage-style> element.

func (*NumberPercentageStyle) Name

func (node *NumberPercentageStyle) Name() string

func (*NumberPercentageStyle) Nodes

func (node *NumberPercentageStyle) Nodes() []Node

func (*NumberPercentageStyle) Parent

func (node *NumberPercentageStyle) Parent() Node

type NumberTextStyle

type NumberTextStyle struct {
	// contains filtered or unexported fields
}

NumberTextStyle represents a <number:text-style> element.

func (*NumberTextStyle) Name

func (node *NumberTextStyle) Name() string

func (*NumberTextStyle) Nodes

func (node *NumberTextStyle) Nodes() []Node

func (*NumberTextStyle) Parent

func (node *NumberTextStyle) Parent() Node

type NumberTimeStyle

type NumberTimeStyle struct {
	// contains filtered or unexported fields
}

NumberTimeStyle represents a <number:time-style> element.

func (*NumberTimeStyle) Name

func (node *NumberTimeStyle) Name() string

func (*NumberTimeStyle) Nodes

func (node *NumberTimeStyle) Nodes() []Node

func (*NumberTimeStyle) Parent

func (node *NumberTimeStyle) Parent() Node

type OfficeAnnotation

type OfficeAnnotation struct {
	// contains filtered or unexported fields
}

OfficeAnnotation represents a <office:annotation> element.

func (*OfficeAnnotation) Name

func (node *OfficeAnnotation) Name() string

func (*OfficeAnnotation) Nodes

func (node *OfficeAnnotation) Nodes() []Node

func (*OfficeAnnotation) Parent

func (node *OfficeAnnotation) Parent() Node

type OfficeAnnotationEnd

type OfficeAnnotationEnd struct {
	// contains filtered or unexported fields
}

OfficeAnnotationEnd represents a <office:annotation-end> element.

func (*OfficeAnnotationEnd) Name

func (node *OfficeAnnotationEnd) Name() string

func (*OfficeAnnotationEnd) Nodes

func (node *OfficeAnnotationEnd) Nodes() []Node

func (*OfficeAnnotationEnd) Parent

func (node *OfficeAnnotationEnd) Parent() Node

type OfficeAutomaticStyles

type OfficeAutomaticStyles struct {
	// contains filtered or unexported fields
}

OfficeAutomaticStyles represents a <office:automatic-styles> element. A <office:automatic-styles> has the following child elements:

  • <number:boolean-style>,
  • <number:currency-style>,
  • <number:date-style>,
  • <number:number-style>,
  • <number:percentage-style>,
  • <number:text-style>,
  • <number:time-style>,
  • <style:page-layout>,
  • <style:style> and
  • <text:list-style>

func (*OfficeAutomaticStyles) Name

func (node *OfficeAutomaticStyles) Name() string

func (*OfficeAutomaticStyles) Nodes

func (node *OfficeAutomaticStyles) Nodes() []Node

func (*OfficeAutomaticStyles) Parent

func (node *OfficeAutomaticStyles) Parent() Node

type OfficeBinaryData

type OfficeBinaryData struct {
	// contains filtered or unexported fields
}

OfficeBinaryData represents a <office:binary-data> element. A <office:binary-data> has the following child elements:

  • <xml:chardata>

func (*OfficeBinaryData) Name

func (node *OfficeBinaryData) Name() string

func (*OfficeBinaryData) Nodes

func (node *OfficeBinaryData) Nodes() []Node

func (*OfficeBinaryData) Parent

func (node *OfficeBinaryData) Parent() Node

type OfficeBody

type OfficeBody struct {
	// contains filtered or unexported fields
}

OfficeBody represents a <office:body> element. A <office:body> has the following child elements:

  • <office:chart>,
  • <office:database>,
  • <office:drawing>,
  • <office:image>,
  • <office:presentation>,
  • <office:spreadsheet> and
  • <office:text>

func (*OfficeBody) Name

func (node *OfficeBody) Name() string

func (*OfficeBody) Nodes

func (node *OfficeBody) Nodes() []Node

func (*OfficeBody) Parent

func (node *OfficeBody) Parent() Node

type OfficeChart

type OfficeChart struct {
	// contains filtered or unexported fields
}

OfficeChart represents a <office:chart> element.

func (*OfficeChart) Name

func (node *OfficeChart) Name() string

func (*OfficeChart) Nodes

func (node *OfficeChart) Nodes() []Node

func (*OfficeChart) Parent

func (node *OfficeChart) Parent() Node

type OfficeDatabase

type OfficeDatabase struct {
	// contains filtered or unexported fields
}

OfficeDatabase represents a <office:database> element.

func (*OfficeDatabase) Name

func (node *OfficeDatabase) Name() string

func (*OfficeDatabase) Nodes

func (node *OfficeDatabase) Nodes() []Node

func (*OfficeDatabase) Parent

func (node *OfficeDatabase) Parent() Node

type OfficeDocumentContent

type OfficeDocumentContent struct {
	XmlnsOfficeooo      string `xml:"xmlns:officeooo,attr"`
	XmlnsCss3t          string `xml:"xmlns:css3t,attr"`
	XmlnsGrddl          string `xml:"xmlns:grddl,attr"`
	XmlnsXhtml          string `xml:"xmlns:xhtml,attr"`
	XmlnsFormx          string `xml:"xmlns:formx,attr"`
	XmlnsXsi            string `xml:"xmlns:xsi,attr"`
	XmlnsRpt            string `xml:"xmlns:rpt,attr"`
	XmlnsDc             string `xml:"xmlns:dc,attr"`
	XmlnsChart          string `xml:"xmlns:chart,attr"`
	XmlnsSvg            string `xml:"xmlns:svg,attr"`
	XmlnsDraw           string `xml:"xmlns:draw,attr"`
	XmlnsText           string `xml:"xmlns:text,attr"`
	XmlnsOooc           string `xml:"xmlns:oooc,attr"`
	XmlnsStyle          string `xml:"xmlns:style,attr"`
	XmlnsOoow           string `xml:"xmlns:ooow,attr"`
	XmlnsMeta           string `xml:"xmlns:meta,attr"`
	XmlnsXlink          string `xml:"xmlns:xlink,attr"`
	XmlnsFo             string `xml:"xmlns:fo,attr"`
	XmlnsOoo            string `xml:"xmlns:ooo,attr"`
	XmlnsOffice         string `xml:"xmlns:office,attr"`
	XmlnsDr3d           string `xml:"xmlns:dr3d,attr"`
	XmlnsTable          string `xml:"xmlns:table,attr"`
	XmlnsNumber         string `xml:"xmlns:number,attr"`
	XmlnsOf             string `xml:"xmlns:of,attr"`
	XmlnsCalcext        string `xml:"xmlns:calcext,attr"`
	XmlnsTableooo       string `xml:"xmlns:tableooo,attr"`
	XmlnsDrawooo        string `xml:"xmlns:drawooo,attr"`
	XmlnsLoext          string `xml:"xmlns:loext,attr"`
	XmlnsDom            string `xml:"xmlns:dom,attr"`
	XmlnsField          string `xml:"xmlns:field,attr"`
	XmlnsXsd            string `xml:"xmlns:xsd,attr"`
	XmlnsMath           string `xml:"xmlns:math,attr"`
	XmlnsForm           string `xml:"xmlns:form,attr"`
	XmlnsScript         string `xml:"xmlns:script,attr"`
	XmlnsXforms         string `xml:"xmlns:xforms,attr"`
	GrddlTransformation string `xml:"grddl:transformation,attr"`
	OfficeVersion       string `xml:"office:version,attr"`
	// contains filtered or unexported fields
}

OfficeDocumentContent represents a <office:document-content> element. A <office:document-content> has the following child elements:

  • <office:automatic-styles>,
  • <office:body>,
  • <office:font-face-decls> and
  • <office:scripts>

func (*OfficeDocumentContent) Name

func (node *OfficeDocumentContent) Name() string

func (*OfficeDocumentContent) Nodes

func (node *OfficeDocumentContent) Nodes() []Node

func (*OfficeDocumentContent) Parent

func (node *OfficeDocumentContent) Parent() Node

type OfficeDrawing

type OfficeDrawing struct {
	// contains filtered or unexported fields
}

OfficeDrawing represents a <office:drawing> element.

func (*OfficeDrawing) Name

func (node *OfficeDrawing) Name() string

func (*OfficeDrawing) Nodes

func (node *OfficeDrawing) Nodes() []Node

func (*OfficeDrawing) Parent

func (node *OfficeDrawing) Parent() Node

type OfficeEventListeners

type OfficeEventListeners struct {
	// contains filtered or unexported fields
}

OfficeEventListeners represents a <office:event-listeners> element.

func (*OfficeEventListeners) Name

func (node *OfficeEventListeners) Name() string

func (*OfficeEventListeners) Nodes

func (node *OfficeEventListeners) Nodes() []Node

func (*OfficeEventListeners) Parent

func (node *OfficeEventListeners) Parent() Node

type OfficeFontFaceDecls

type OfficeFontFaceDecls struct {
	// contains filtered or unexported fields
}

OfficeFontFaceDecls represents a <office:font-face-decls> element. A <office:font-face-decls> has the following child elements:

  • <style:font-face>

func (*OfficeFontFaceDecls) Name

func (node *OfficeFontFaceDecls) Name() string

func (*OfficeFontFaceDecls) Nodes

func (node *OfficeFontFaceDecls) Nodes() []Node

func (*OfficeFontFaceDecls) Parent

func (node *OfficeFontFaceDecls) Parent() Node

type OfficeForms

type OfficeForms struct {
	// contains filtered or unexported fields
}

OfficeForms represents a <office:forms> element.

func (*OfficeForms) Name

func (node *OfficeForms) Name() string

func (*OfficeForms) Nodes

func (node *OfficeForms) Nodes() []Node

func (*OfficeForms) Parent

func (node *OfficeForms) Parent() Node

type OfficeImage

type OfficeImage struct {
	// contains filtered or unexported fields
}

OfficeImage represents a <office:image> element.

func (*OfficeImage) Name

func (node *OfficeImage) Name() string

func (*OfficeImage) Nodes

func (node *OfficeImage) Nodes() []Node

func (*OfficeImage) Parent

func (node *OfficeImage) Parent() Node

type OfficePresentation

type OfficePresentation struct {
	// contains filtered or unexported fields
}

OfficePresentation represents a <office:presentation> element.

func (*OfficePresentation) Name

func (node *OfficePresentation) Name() string

func (*OfficePresentation) Nodes

func (node *OfficePresentation) Nodes() []Node

func (*OfficePresentation) Parent

func (node *OfficePresentation) Parent() Node

type OfficeScript

type OfficeScript struct {
	// contains filtered or unexported fields
}

OfficeScript represents a <office:script> element.

func (*OfficeScript) Name

func (node *OfficeScript) Name() string

func (*OfficeScript) Nodes

func (node *OfficeScript) Nodes() []Node

func (*OfficeScript) Parent

func (node *OfficeScript) Parent() Node

type OfficeScripts

type OfficeScripts struct {
	// contains filtered or unexported fields
}

OfficeScripts represents a <office:scripts> element. A <office:scripts> has the following child elements:

  • <office:event-listeners> and
  • <office:script>

func (*OfficeScripts) Name

func (node *OfficeScripts) Name() string

func (*OfficeScripts) Nodes

func (node *OfficeScripts) Nodes() []Node

func (*OfficeScripts) Parent

func (node *OfficeScripts) Parent() Node

type OfficeSpreadsheet

type OfficeSpreadsheet struct {
	// contains filtered or unexported fields
}

OfficeSpreadsheet represents a <office:spreadsheet> element.

func (*OfficeSpreadsheet) Name

func (node *OfficeSpreadsheet) Name() string

func (*OfficeSpreadsheet) Nodes

func (node *OfficeSpreadsheet) Nodes() []Node

func (*OfficeSpreadsheet) Parent

func (node *OfficeSpreadsheet) Parent() Node

type OfficeText

type OfficeText struct {
	TextGlobal            bool `xml:"text:global,attr"`
	TextUseSoftPageBreaks bool `xml:"text:use-soft-page-breaks,attr"`
	// contains filtered or unexported fields
}

OfficeText represents a <office:text> element. A <office:text> has the following child elements:

  • <dr3d:scene>,
  • <draw:a>,
  • <draw:caption>,
  • <draw:circle>,
  • <draw:connector>,
  • <draw:control>,
  • <draw:custom-shape>,
  • <draw:ellipse>,
  • <draw:frame>,
  • <draw:g>,
  • <draw:line>,
  • <draw:measure>,
  • <draw:page-thumbnail>,
  • <draw:path>,
  • <draw:polygon>,
  • <draw:polyline>,
  • <draw:rect>,
  • <draw:regular-polygon>,
  • <office:forms>,
  • <table:calculation-settings>,
  • <table:consolidation>,
  • <table:content-validations>,
  • <table:data-pilot-tables>,
  • <table:database-ranges>,
  • <table:dde-links>,
  • <table:label-ranges>,
  • <table:named-expressions>,
  • <table:table>,
  • <text:alphabetical-index>,
  • <text:alphabetical-index-auto-mark-file>,
  • <text:bibliography>,
  • <text:change>,
  • <text:change-end>,
  • <text:change-start>,
  • <text:dde-connection-decls>,
  • <text:h>,
  • <text:illustration-index>,
  • <text:list>,
  • <text:numbered-paragraph>,
  • <text:object-index>,
  • <text:p>,
  • <text:page-sequence>,
  • <text:section>,
  • <text:sequence-decls>,
  • <text:soft-page-break>,
  • <text:table-index>,
  • <text:table-of-content>,
  • <text:tracked-changes>,
  • <text:user-field-decls>,
  • <text:user-index> and
  • <text:variable-decls>

func (*OfficeText) Name

func (node *OfficeText) Name() string

func (*OfficeText) Nodes

func (node *OfficeText) Nodes() []Node

func (*OfficeText) Parent

func (node *OfficeText) Parent() Node

type OfficeVersion

type OfficeVersion struct {
	Value string
	// contains filtered or unexported fields
}

OfficeVersion represents a <office:version> element.

func (*OfficeVersion) Name

func (node *OfficeVersion) Name() string

func (*OfficeVersion) Nodes

func (node *OfficeVersion) Nodes() []Node

func (*OfficeVersion) Parent

func (node *OfficeVersion) Parent() Node

type PresentationDateTime

type PresentationDateTime struct {
	// contains filtered or unexported fields
}

PresentationDateTime represents a <presentation:date-time> element.

func (*PresentationDateTime) Name

func (node *PresentationDateTime) Name() string

func (*PresentationDateTime) Nodes

func (node *PresentationDateTime) Nodes() []Node

func (*PresentationDateTime) Parent

func (node *PresentationDateTime) Parent() Node

type PresentationFooter

type PresentationFooter struct {
	// contains filtered or unexported fields
}

PresentationFooter represents a <presentation:footer> element.

func (*PresentationFooter) Name

func (node *PresentationFooter) Name() string

func (*PresentationFooter) Nodes

func (node *PresentationFooter) Nodes() []Node

func (*PresentationFooter) Parent

func (node *PresentationFooter) Parent() Node

type PresentationHeader

type PresentationHeader struct {
	// contains filtered or unexported fields
}

PresentationHeader represents a <presentation:header> element.

func (*PresentationHeader) Name

func (node *PresentationHeader) Name() string

func (*PresentationHeader) Nodes

func (node *PresentationHeader) Nodes() []Node

func (*PresentationHeader) Parent

func (node *PresentationHeader) Parent() Node

type Reader

type Reader interface {
	io.ReaderAt
	io.Seeker
}

Reader is the interface that wraps the basic ReaderAt and Seek methods.

type StyleChartProperties

type StyleChartProperties struct {
	// contains filtered or unexported fields
}

StyleChartProperties represents a <style:chart-properties> element.

func (*StyleChartProperties) Name

func (node *StyleChartProperties) Name() string

func (*StyleChartProperties) Nodes

func (node *StyleChartProperties) Nodes() []Node

func (*StyleChartProperties) Parent

func (node *StyleChartProperties) Parent() Node

type StyleDrawingPageProperties

type StyleDrawingPageProperties struct {
	// contains filtered or unexported fields
}

StyleDrawingPageProperties represents a <style:drawing-page-properties> element.

func (*StyleDrawingPageProperties) Name

func (node *StyleDrawingPageProperties) Name() string

func (*StyleDrawingPageProperties) Nodes

func (node *StyleDrawingPageProperties) Nodes() []Node

func (*StyleDrawingPageProperties) Parent

func (node *StyleDrawingPageProperties) Parent() Node

type StyleFontFace

type StyleFontFace struct {
	// contains filtered or unexported fields
}

StyleFontFace represents a <style:font-face> element.

func (*StyleFontFace) Name

func (node *StyleFontFace) Name() string

func (*StyleFontFace) Nodes

func (node *StyleFontFace) Nodes() []Node

func (*StyleFontFace) Parent

func (node *StyleFontFace) Parent() Node

type StyleGraphicProperties

type StyleGraphicProperties struct {
	// contains filtered or unexported fields
}

StyleGraphicProperties represents a <style:graphic-properties> element.

func (*StyleGraphicProperties) Name

func (node *StyleGraphicProperties) Name() string

func (*StyleGraphicProperties) Nodes

func (node *StyleGraphicProperties) Nodes() []Node

func (*StyleGraphicProperties) Parent

func (node *StyleGraphicProperties) Parent() Node

type StylePageLayout

type StylePageLayout struct {
	// contains filtered or unexported fields
}

StylePageLayout represents a <style:page-layout> element.

func (*StylePageLayout) Name

func (node *StylePageLayout) Name() string

func (*StylePageLayout) Nodes

func (node *StylePageLayout) Nodes() []Node

func (*StylePageLayout) Parent

func (node *StylePageLayout) Parent() Node

type StyleParagraphProperties

type StyleParagraphProperties struct {
	// contains filtered or unexported fields
}

StyleParagraphProperties represents a <style:paragraph-properties> element.

func (*StyleParagraphProperties) Name

func (node *StyleParagraphProperties) Name() string

func (*StyleParagraphProperties) Nodes

func (node *StyleParagraphProperties) Nodes() []Node

func (*StyleParagraphProperties) Parent

func (node *StyleParagraphProperties) Parent() Node

type StyleRubyProperties

type StyleRubyProperties struct {
	// contains filtered or unexported fields
}

StyleRubyProperties represents a <style:ruby-properties> element.

func (*StyleRubyProperties) Name

func (node *StyleRubyProperties) Name() string

func (*StyleRubyProperties) Nodes

func (node *StyleRubyProperties) Nodes() []Node

func (*StyleRubyProperties) Parent

func (node *StyleRubyProperties) Parent() Node

type StyleSectionProperties

type StyleSectionProperties struct {
	// contains filtered or unexported fields
}

StyleSectionProperties represents a <style:section-properties> element.

func (*StyleSectionProperties) Name

func (node *StyleSectionProperties) Name() string

func (*StyleSectionProperties) Nodes

func (node *StyleSectionProperties) Nodes() []Node

func (*StyleSectionProperties) Parent

func (node *StyleSectionProperties) Parent() Node

type StyleStyle

type StyleStyle struct {
	StyleName                    string `xml:"style:name,attr"`
	StyleDisplayName             string `xml:"style:display-name,attr"`
	StyleParentStyleName         string `xml:"style:parent-style-name,attr"`
	StyleNextStyleName           string `xml:"style:next-style-name,attr"`
	StyleListLevel               string `xml:"style:list-level,attr"`
	StyleListStyleName           string `xml:"style:list-style-name,attr"`
	StyleMasterPageName          string `xml:"style:master-page-name,attr"`
	StyleAutoUpdate              bool   `xml:"style:auto-update,attr"`
	StyleDataStyleName           string `xml:"style:data-style-name,attr"`
	StylePercentageDataStyleName string `xml:"style:percentage-data-style-name,attr"`
	StyleClass                   string `xml:"style:class,attr"`
	StyleDefaultOutlineLevel     string `xml:"style:default-outline-level,attr"`
	StyleFamily                  string `xml:"style:family,attr"`
	// contains filtered or unexported fields
}

StyleStyle represents a <style:style> element. A <style:style> has the following child elements:

  • <style:chart-properties>,
  • <style:drawing-page-properties>,
  • <style:graphic-properties>,
  • <style:paragraph-properties>,
  • <style:ruby-properties>,
  • <style:section-properties>,
  • <style:table-cell-properties>,
  • <style:table-column-properties>,
  • <style:table-properties>,
  • <style:table-row-properties> and
  • <style:text-properties>

func (*StyleStyle) Name

func (node *StyleStyle) Name() string

func (*StyleStyle) Nodes

func (node *StyleStyle) Nodes() []Node

func (*StyleStyle) Parent

func (node *StyleStyle) Parent() Node

type StyleTableCellProperties

type StyleTableCellProperties struct {
	// contains filtered or unexported fields
}

StyleTableCellProperties represents a <style:table-cell-properties> element.

func (*StyleTableCellProperties) Name

func (node *StyleTableCellProperties) Name() string

func (*StyleTableCellProperties) Nodes

func (node *StyleTableCellProperties) Nodes() []Node

func (*StyleTableCellProperties) Parent

func (node *StyleTableCellProperties) Parent() Node

type StyleTableColumnProperties

type StyleTableColumnProperties struct {
	// contains filtered or unexported fields
}

StyleTableColumnProperties represents a <style:table-column-properties> element.

func (*StyleTableColumnProperties) Name

func (node *StyleTableColumnProperties) Name() string

func (*StyleTableColumnProperties) Nodes

func (node *StyleTableColumnProperties) Nodes() []Node

func (*StyleTableColumnProperties) Parent

func (node *StyleTableColumnProperties) Parent() Node

type StyleTableProperties

type StyleTableProperties struct {
	// contains filtered or unexported fields
}

StyleTableProperties represents a <style:table-properties> element.

func (*StyleTableProperties) Name

func (node *StyleTableProperties) Name() string

func (*StyleTableProperties) Nodes

func (node *StyleTableProperties) Nodes() []Node

func (*StyleTableProperties) Parent

func (node *StyleTableProperties) Parent() Node

type StyleTableRowProperties

type StyleTableRowProperties struct {
	// contains filtered or unexported fields
}

StyleTableRowProperties represents a <style:table-row-properties> element.

func (*StyleTableRowProperties) Name

func (node *StyleTableRowProperties) Name() string

func (*StyleTableRowProperties) Nodes

func (node *StyleTableRowProperties) Nodes() []Node

func (*StyleTableRowProperties) Parent

func (node *StyleTableRowProperties) Parent() Node

type StyleTextProperties

type StyleTextProperties struct {
	FoCountry                     string `xml:"fo:country,attr"`
	FoFontFamily                  string `xml:"fo:font-family,attr"`
	FoFontSize                    string `xml:"fo:font-size,attr"`
	FoFontStyle                   string `xml:"fo:font-style,attr"`
	FoFontWeight                  string `xml:"fo:font-weight,attr"`
	FoHyphenate                   string `xml:"fo:hyphenate,attr"`
	FoHyphenationPushCharCount    string `xml:"fo:hyphenation-push-char-count,attr"`
	FoHyphenationRemainCharCount  string `xml:"fo:hyphenation-remain-char-count,attr"`
	FoLanguage                    string `xml:"fo:language,attr"`
	FoLetterSpacing               string `xml:"fo:letter-spacing,attr"`
	FoScript                      string `xml:"fo:script,attr"`
	FoTextShadow                  string `xml:"fo:text-shadow,attr"`
	StyleCountryAsian             string `xml:"style:country-asian,attr"`
	StyleCountryComplex           string `xml:"style:country-complex,attr"`
	StyleFontCharset              string `xml:"style:font-charset,attr"`
	StyleFontCharsetAsian         string `xml:"style:font-charset-asian,attr"`
	StyleFontCharsetComplex       string `xml:"style:font-charset-complex,attr"`
	StyleFontFamilyAsian          string `xml:"style:font-family-asian,attr"`
	StyleFontFamilyComplex        string `xml:"style:font-family-complex,attr"`
	StyleFontFamilyGeneric        string `xml:"style:font-family-generic,attr"`
	StyleFontFamilyGenericAsian   string `xml:"style:font-family-generic-asian,attr"`
	StyleFontFamilyGenericComplex string `xml:"style:font-family-generic-complex,attr"`
	StyleFontName                 string `xml:"style:font-name,attr"`
	StyleFontNameAsian            string `xml:"style:font-name-asian,attr"`
	StyleFontNameComplex          string `xml:"style:font-name-complex,attr"`
	StyleFontPitch                string `xml:"style:font-pitch,attr"`
	StyleFontPitchAsian           string `xml:"style:font-pitch-asian,attr"`
	StyleFontPitchComplex         string `xml:"style:font-pitch-complex,attr"`
	StyleFontRelief               string `xml:"style:font-relief,attr"`
	StyleFontSizeAsian            string `xml:"style:font-size-asian,attr"`
	StyleFontSizeComplex          string `xml:"style:font-size-complex,attr"`
	StyleFontSizeRel              string `xml:"style:font-size-rel,attr"`
	StyleFontSizeRelAsian         string `xml:"style:font-size-rel-asian,attr"`
	StyleFontSizeRelComplex       string `xml:"style:font-size-rel-complex,attr"`
	StyleFontStyleAsian           string `xml:"style:font-style-asian,attr"`
	StyleFontStyleComplex         string `xml:"style:font-style-complex,attr"`
	StyleFontStyleName            string `xml:"style:font-style-name,attr"`
	StyleFontStyleNameAsian       string `xml:"style:font-style-name-asian,attr"`
	StyleFontStyleNameComplex     string `xml:"style:font-style-name-complex,attr"`
	StyleFontWeightAsian          string `xml:"style:font-weight-asian,attr"`
	StyleFontWeightComplex        string `xml:"style:font-weight-complex,attr"`
	StyleLanguageAsian            string `xml:"style:language-asian,attr"`
	StyleLanguageComplex          string `xml:"style:language-complex,attr"`
	StyleLetterKerning            string `xml:"style:letter-kerning,attr"`
	StyleRfcLanguageTag           string `xml:"style:rfc-language-tag,attr"`
	StyleRfcLanguageTagAsian      string `xml:"style:rfc-language-tag-asian,attr"`
	StyleRfcLanguageTagComplex    string `xml:"style:rfc-language-tag-complex,attr"`
	StyleScriptAsian              string `xml:"style:script-asian,attr"`
	StyleScriptComplex            string `xml:"style:script-complex,attr"`
	StyleScriptType               string `xml:"style:script-type,attr"`
	StyleTextBlinking             string `xml:"style:text-blinking,attr"`
	StyleTextCombine              string `xml:"style:text-combine,attr"`
	StyleTextCombineEndChar       string `xml:"style:text-combine-end-char,attr"`
	StyleTextCombineStartChar     string `xml:"style:text-combine-start-char,attr"`
	StyleTextEmphasize            string `xml:"style:text-emphasize,attr"`
	StyleTextLineThroughColor     string `xml:"style:text-line-through-color,attr"`
	StyleTextLineThroughMode      string `xml:"style:text-line-through-mode,attr"`
	StyleTextLineThroughText      string `xml:"style:text-line-through-text,attr"`
	StyleTextLineThroughTextStyle string `xml:"style:text-line-through-text-style,attr"`
	StyleTextOverlineColor        string `xml:"style:text-overline-color,attr"`
	StyleTextOverlineMode         string `xml:"style:text-overline-mode,attr"`
	StyleTextOverlineStyle        string `xml:"style:text-overline-style,attr"`
	StyleTextOverlineType         string `xml:"style:text-overline-type,attr"`
	StyleTextOverlineWidth        string `xml:"style:text-overline-width,attr"`
	StyleTextPosition             string `xml:"style:text-position,attr"`
	StyleTextRotationAngle        string `xml:"style:text-rotation-angle,attr"`
	StyleTextRotationScale        string `xml:"style:text-rotation-scale,attr"`
	StyleTextScale                string `xml:"style:text-scale,attr"`
	StyleTextUnderlineColor       string `xml:"style:text-underline-color,attr"`
	StyleTextUnderlineMode        string `xml:"style:text-underline-mode,attr"`
	StyleTextUnderlineStyle       string `xml:"style:text-underline-style,attr"`
	StyleTextUnderlineType        string `xml:"style:text-underline-type,attr"`
	StyleTextUnderlineWidth       string `xml:"style:text-underline-width,attr"`
	TextCondition                 string `xml:"text:condition,attr"`
	TextDisplay                   string `xml:"text:display,attr"`
	OfficeoooRsid                 string `xml:"officeooo:rsid,attr"`
	OfficeoooParagraphRsid        string `xml:"officeooo:paragraph-rsid,attr"`
	// contains filtered or unexported fields
}

StyleTextProperties represents a <style:text-properties> element.

func (*StyleTextProperties) Name

func (node *StyleTextProperties) Name() string

func (*StyleTextProperties) Nodes

func (node *StyleTextProperties) Nodes() []Node

func (*StyleTextProperties) Parent

func (node *StyleTextProperties) Parent() Node

type TableCalculationSettings

type TableCalculationSettings struct {
	// contains filtered or unexported fields
}

TableCalculationSettings represents a <table:calculation-settings> element.

func (*TableCalculationSettings) Name

func (node *TableCalculationSettings) Name() string

func (*TableCalculationSettings) Nodes

func (node *TableCalculationSettings) Nodes() []Node

func (*TableCalculationSettings) Parent

func (node *TableCalculationSettings) Parent() Node

type TableConsolidation

type TableConsolidation struct {
	// contains filtered or unexported fields
}

TableConsolidation represents a <table:consolidation> element.

func (*TableConsolidation) Name

func (node *TableConsolidation) Name() string

func (*TableConsolidation) Nodes

func (node *TableConsolidation) Nodes() []Node

func (*TableConsolidation) Parent

func (node *TableConsolidation) Parent() Node

type TableContentValidations

type TableContentValidations struct {
	// contains filtered or unexported fields
}

TableContentValidations represents a <table:content-validations> element.

func (*TableContentValidations) Name

func (node *TableContentValidations) Name() string

func (*TableContentValidations) Nodes

func (node *TableContentValidations) Nodes() []Node

func (*TableContentValidations) Parent

func (node *TableContentValidations) Parent() Node

type TableDataPilotTables

type TableDataPilotTables struct {
	// contains filtered or unexported fields
}

TableDataPilotTables represents a <table:data-pilot-tables> element.

func (*TableDataPilotTables) Name

func (node *TableDataPilotTables) Name() string

func (*TableDataPilotTables) Nodes

func (node *TableDataPilotTables) Nodes() []Node

func (*TableDataPilotTables) Parent

func (node *TableDataPilotTables) Parent() Node

type TableDatabaseRanges

type TableDatabaseRanges struct {
	// contains filtered or unexported fields
}

TableDatabaseRanges represents a <table:database-ranges> element.

func (*TableDatabaseRanges) Name

func (node *TableDatabaseRanges) Name() string

func (*TableDatabaseRanges) Nodes

func (node *TableDatabaseRanges) Nodes() []Node

func (*TableDatabaseRanges) Parent

func (node *TableDatabaseRanges) Parent() Node
type TableDdeLinks struct {
	// contains filtered or unexported fields
}

TableDdeLinks represents a <table:dde-links> element.

func (*TableDdeLinks) Name

func (node *TableDdeLinks) Name() string

func (*TableDdeLinks) Nodes

func (node *TableDdeLinks) Nodes() []Node

func (*TableDdeLinks) Parent

func (node *TableDdeLinks) Parent() Node

type TableLabelRanges

type TableLabelRanges struct {
	// contains filtered or unexported fields
}

TableLabelRanges represents a <table:label-ranges> element.

func (*TableLabelRanges) Name

func (node *TableLabelRanges) Name() string

func (*TableLabelRanges) Nodes

func (node *TableLabelRanges) Nodes() []Node

func (*TableLabelRanges) Parent

func (node *TableLabelRanges) Parent() Node

type TableNamedExpressions

type TableNamedExpressions struct {
	// contains filtered or unexported fields
}

TableNamedExpressions represents a <table:named-expressions> element.

func (*TableNamedExpressions) Name

func (node *TableNamedExpressions) Name() string

func (*TableNamedExpressions) Nodes

func (node *TableNamedExpressions) Nodes() []Node

func (*TableNamedExpressions) Parent

func (node *TableNamedExpressions) Parent() Node

type TableTable

type TableTable struct {
	// contains filtered or unexported fields
}

TableTable represents a <table:table> element.

func (*TableTable) Name

func (node *TableTable) Name() string

func (*TableTable) Nodes

func (node *TableTable) Nodes() []Node

func (*TableTable) Parent

func (node *TableTable) Parent() Node

type Text

type Text struct {
	Value string
	// contains filtered or unexported fields
}

Text is a text node.

func (*Text) Name

func (node *Text) Name() string

func (*Text) Nodes

func (node *Text) Nodes() []Node

func (*Text) Parent

func (node *Text) Parent() Node

type TextA

type TextA struct {
	OfficeName            string `xml:"office:name,attr"`
	OfficeTitle           string `xml:"office:title,attr"`
	XlinkType             string `xml:"xlink:type,attr"`
	XlinkHref             string `xml:"xlink:href,attr"`
	XlinkActuate          string `xml:"xlink:actuate,attr"`
	OfficeTargetFrameName string `xml:"office:target-frame-name,attr"`
	XlinkShow             string `xml:"xlink:show,attr"`
	TextStyleName         string `xml:"text:style-name,attr"`
	TextVisitedStyleName  string `xml:"text:visited-style-name,attr"`
	// contains filtered or unexported fields
}

TextA represents a <text:a> element. A <text:a> has the following child elements:

  • <office:event-listeners>,
  • <text:s>,
  • <text:tab>,
  • <text:line-break>,
  • <text:soft-page-break>,
  • <text:span>,
  • <text:meta> and
  • <xml:chardata>

func (*TextA) Name

func (node *TextA) Name() string

func (*TextA) Nodes

func (node *TextA) Nodes() []Node

func (*TextA) Parent

func (node *TextA) Parent() Node

type TextAlphabeticalIndex

type TextAlphabeticalIndex struct {
	// contains filtered or unexported fields
}

TextAlphabeticalIndex represents a <text:alphabetical-index> element.

func (*TextAlphabeticalIndex) Name

func (node *TextAlphabeticalIndex) Name() string

func (*TextAlphabeticalIndex) Nodes

func (node *TextAlphabeticalIndex) Nodes() []Node

func (*TextAlphabeticalIndex) Parent

func (node *TextAlphabeticalIndex) Parent() Node

type TextAlphabeticalIndexAutoMarkFile

type TextAlphabeticalIndexAutoMarkFile struct {
	// contains filtered or unexported fields
}

TextAlphabeticalIndexAutoMarkFile represents a <text:alphabetical-index-auto-mark-file> element.

func (*TextAlphabeticalIndexAutoMarkFile) Name

func (*TextAlphabeticalIndexAutoMarkFile) Nodes

func (node *TextAlphabeticalIndexAutoMarkFile) Nodes() []Node

func (*TextAlphabeticalIndexAutoMarkFile) Parent

func (node *TextAlphabeticalIndexAutoMarkFile) Parent() Node

type TextAlphabeticalIndexMark

type TextAlphabeticalIndexMark struct {
	// contains filtered or unexported fields
}

TextAlphabeticalIndexMark represents a <text:alphabetical-index-mark> element.

func (*TextAlphabeticalIndexMark) Name

func (node *TextAlphabeticalIndexMark) Name() string

func (*TextAlphabeticalIndexMark) Nodes

func (node *TextAlphabeticalIndexMark) Nodes() []Node

func (*TextAlphabeticalIndexMark) Parent

func (node *TextAlphabeticalIndexMark) Parent() Node

type TextAlphabeticalIndexMarkEnd

type TextAlphabeticalIndexMarkEnd struct {
	// contains filtered or unexported fields
}

TextAlphabeticalIndexMarkEnd represents a <text:alphabetical-index-mark-end> element.

func (*TextAlphabeticalIndexMarkEnd) Name

func (node *TextAlphabeticalIndexMarkEnd) Name() string

func (*TextAlphabeticalIndexMarkEnd) Nodes

func (node *TextAlphabeticalIndexMarkEnd) Nodes() []Node

func (*TextAlphabeticalIndexMarkEnd) Parent

func (node *TextAlphabeticalIndexMarkEnd) Parent() Node

type TextAlphabeticalIndexMarkStart

type TextAlphabeticalIndexMarkStart struct {
	// contains filtered or unexported fields
}

TextAlphabeticalIndexMarkStart represents a <text:alphabetical-index-mark-start> element.

func (*TextAlphabeticalIndexMarkStart) Name

func (*TextAlphabeticalIndexMarkStart) Nodes

func (node *TextAlphabeticalIndexMarkStart) Nodes() []Node

func (*TextAlphabeticalIndexMarkStart) Parent

func (node *TextAlphabeticalIndexMarkStart) Parent() Node

type TextAuthorInitials

type TextAuthorInitials struct {
	// contains filtered or unexported fields
}

TextAuthorInitials represents a <text:author-initials> element.

func (*TextAuthorInitials) Name

func (node *TextAuthorInitials) Name() string

func (*TextAuthorInitials) Nodes

func (node *TextAuthorInitials) Nodes() []Node

func (*TextAuthorInitials) Parent

func (node *TextAuthorInitials) Parent() Node

type TextAuthorName

type TextAuthorName struct {
	// contains filtered or unexported fields
}

TextAuthorName represents a <text:author-name> element.

func (*TextAuthorName) Name

func (node *TextAuthorName) Name() string

func (*TextAuthorName) Nodes

func (node *TextAuthorName) Nodes() []Node

func (*TextAuthorName) Parent

func (node *TextAuthorName) Parent() Node

type TextBibliography

type TextBibliography struct {
	// contains filtered or unexported fields
}

TextBibliography represents a <text:bibliography> element.

func (*TextBibliography) Name

func (node *TextBibliography) Name() string

func (*TextBibliography) Nodes

func (node *TextBibliography) Nodes() []Node

func (*TextBibliography) Parent

func (node *TextBibliography) Parent() Node

type TextBibliographyMark

type TextBibliographyMark struct {
	// contains filtered or unexported fields
}

TextBibliographyMark represents a <text:bibliography-mark> element.

func (*TextBibliographyMark) Name

func (node *TextBibliographyMark) Name() string

func (*TextBibliographyMark) Nodes

func (node *TextBibliographyMark) Nodes() []Node

func (*TextBibliographyMark) Parent

func (node *TextBibliographyMark) Parent() Node

type TextBookmark

type TextBookmark struct {
	// contains filtered or unexported fields
}

TextBookmark represents a <text:bookmark> element.

func (*TextBookmark) Name

func (node *TextBookmark) Name() string

func (*TextBookmark) Nodes

func (node *TextBookmark) Nodes() []Node

func (*TextBookmark) Parent

func (node *TextBookmark) Parent() Node

type TextBookmarkEnd

type TextBookmarkEnd struct {
	// contains filtered or unexported fields
}

TextBookmarkEnd represents a <text:bookmark-end> element.

func (*TextBookmarkEnd) Name

func (node *TextBookmarkEnd) Name() string

func (*TextBookmarkEnd) Nodes

func (node *TextBookmarkEnd) Nodes() []Node

func (*TextBookmarkEnd) Parent

func (node *TextBookmarkEnd) Parent() Node

type TextBookmarkRef

type TextBookmarkRef struct {
	// contains filtered or unexported fields
}

TextBookmarkRef represents a <text:bookmark-ref> element.

func (*TextBookmarkRef) Name

func (node *TextBookmarkRef) Name() string

func (*TextBookmarkRef) Nodes

func (node *TextBookmarkRef) Nodes() []Node

func (*TextBookmarkRef) Parent

func (node *TextBookmarkRef) Parent() Node

type TextBookmarkStart

type TextBookmarkStart struct {
	// contains filtered or unexported fields
}

TextBookmarkStart represents a <text:bookmark-start> element.

func (*TextBookmarkStart) Name

func (node *TextBookmarkStart) Name() string

func (*TextBookmarkStart) Nodes

func (node *TextBookmarkStart) Nodes() []Node

func (*TextBookmarkStart) Parent

func (node *TextBookmarkStart) Parent() Node

type TextC

type TextC struct {
	Value int
	// contains filtered or unexported fields
}

TextC represents a <text:c> element.

func (*TextC) Name

func (node *TextC) Name() string

func (*TextC) Nodes

func (node *TextC) Nodes() []Node

func (*TextC) Parent

func (node *TextC) Parent() Node

type TextChange

type TextChange struct {
	// contains filtered or unexported fields
}

TextChange represents a <text:change> element.

func (*TextChange) Name

func (node *TextChange) Name() string

func (*TextChange) Nodes

func (node *TextChange) Nodes() []Node

func (*TextChange) Parent

func (node *TextChange) Parent() Node

type TextChangeEnd

type TextChangeEnd struct {
	// contains filtered or unexported fields
}

TextChangeEnd represents a <text:change-end> element.

func (*TextChangeEnd) Name

func (node *TextChangeEnd) Name() string

func (*TextChangeEnd) Nodes

func (node *TextChangeEnd) Nodes() []Node

func (*TextChangeEnd) Parent

func (node *TextChangeEnd) Parent() Node

type TextChangeStart

type TextChangeStart struct {
	// contains filtered or unexported fields
}

TextChangeStart represents a <text:change-start> element.

func (*TextChangeStart) Name

func (node *TextChangeStart) Name() string

func (*TextChangeStart) Nodes

func (node *TextChangeStart) Nodes() []Node

func (*TextChangeStart) Parent

func (node *TextChangeStart) Parent() Node

type TextChapter

type TextChapter struct {
	// contains filtered or unexported fields
}

TextChapter represents a <text:chapter> element.

func (*TextChapter) Name

func (node *TextChapter) Name() string

func (*TextChapter) Nodes

func (node *TextChapter) Nodes() []Node

func (*TextChapter) Parent

func (node *TextChapter) Parent() Node

type TextCharacterCount

type TextCharacterCount struct {
	// contains filtered or unexported fields
}

TextCharacterCount represents a <text:character-count> element.

func (*TextCharacterCount) Name

func (node *TextCharacterCount) Name() string

func (*TextCharacterCount) Nodes

func (node *TextCharacterCount) Nodes() []Node

func (*TextCharacterCount) Parent

func (node *TextCharacterCount) Parent() Node

type TextClassNames

type TextClassNames struct {
	// contains filtered or unexported fields
}

TextClassNames represents a <text:class-names> element.

func (*TextClassNames) Name

func (node *TextClassNames) Name() string

func (*TextClassNames) Nodes

func (node *TextClassNames) Nodes() []Node

func (*TextClassNames) Parent

func (node *TextClassNames) Parent() Node

type TextCondStyleName

type TextCondStyleName struct {
	// contains filtered or unexported fields
}

TextCondStyleName represents a <text:cond-style-name> element.

func (*TextCondStyleName) Name

func (node *TextCondStyleName) Name() string

func (*TextCondStyleName) Nodes

func (node *TextCondStyleName) Nodes() []Node

func (*TextCondStyleName) Parent

func (node *TextCondStyleName) Parent() Node

type TextConditionalText

type TextConditionalText struct {
	// contains filtered or unexported fields
}

TextConditionalText represents a <text:conditional-text> element.

func (*TextConditionalText) Name

func (node *TextConditionalText) Name() string

func (*TextConditionalText) Nodes

func (node *TextConditionalText) Nodes() []Node

func (*TextConditionalText) Parent

func (node *TextConditionalText) Parent() Node

type TextContinueList

type TextContinueList struct {
	// contains filtered or unexported fields
}

TextContinueList represents a <text:continue-list> element.

func (*TextContinueList) Name

func (node *TextContinueList) Name() string

func (*TextContinueList) Nodes

func (node *TextContinueList) Nodes() []Node

func (*TextContinueList) Parent

func (node *TextContinueList) Parent() Node

type TextContinueNumbering

type TextContinueNumbering struct {
	// contains filtered or unexported fields
}

TextContinueNumbering represents a <text:continue-numbering> element.

func (*TextContinueNumbering) Name

func (node *TextContinueNumbering) Name() string

func (*TextContinueNumbering) Nodes

func (node *TextContinueNumbering) Nodes() []Node

func (*TextContinueNumbering) Parent

func (node *TextContinueNumbering) Parent() Node

type TextCreationDate

type TextCreationDate struct {
	// contains filtered or unexported fields
}

TextCreationDate represents a <text:creation-date> element.

func (*TextCreationDate) Name

func (node *TextCreationDate) Name() string

func (*TextCreationDate) Nodes

func (node *TextCreationDate) Nodes() []Node

func (*TextCreationDate) Parent

func (node *TextCreationDate) Parent() Node

type TextCreationTime

type TextCreationTime struct {
	// contains filtered or unexported fields
}

TextCreationTime represents a <text:creation-time> element.

func (*TextCreationTime) Name

func (node *TextCreationTime) Name() string

func (*TextCreationTime) Nodes

func (node *TextCreationTime) Nodes() []Node

func (*TextCreationTime) Parent

func (node *TextCreationTime) Parent() Node

type TextCreator

type TextCreator struct {
	// contains filtered or unexported fields
}

TextCreator represents a <text:creator> element.

func (*TextCreator) Name

func (node *TextCreator) Name() string

func (*TextCreator) Nodes

func (node *TextCreator) Nodes() []Node

func (*TextCreator) Parent

func (node *TextCreator) Parent() Node

type TextDatabaseDisplay

type TextDatabaseDisplay struct {
	// contains filtered or unexported fields
}

TextDatabaseDisplay represents a <text:database-display> element.

func (*TextDatabaseDisplay) Name

func (node *TextDatabaseDisplay) Name() string

func (*TextDatabaseDisplay) Nodes

func (node *TextDatabaseDisplay) Nodes() []Node

func (*TextDatabaseDisplay) Parent

func (node *TextDatabaseDisplay) Parent() Node

type TextDatabaseName

type TextDatabaseName struct {
	// contains filtered or unexported fields
}

TextDatabaseName represents a <text:database-name> element.

func (*TextDatabaseName) Name

func (node *TextDatabaseName) Name() string

func (*TextDatabaseName) Nodes

func (node *TextDatabaseName) Nodes() []Node

func (*TextDatabaseName) Parent

func (node *TextDatabaseName) Parent() Node

type TextDatabaseNext

type TextDatabaseNext struct {
	// contains filtered or unexported fields
}

TextDatabaseNext represents a <text:database-next> element.

func (*TextDatabaseNext) Name

func (node *TextDatabaseNext) Name() string

func (*TextDatabaseNext) Nodes

func (node *TextDatabaseNext) Nodes() []Node

func (*TextDatabaseNext) Parent

func (node *TextDatabaseNext) Parent() Node

type TextDatabaseRowNumber

type TextDatabaseRowNumber struct {
	// contains filtered or unexported fields
}

TextDatabaseRowNumber represents a <text:database-row-number> element.

func (*TextDatabaseRowNumber) Name

func (node *TextDatabaseRowNumber) Name() string

func (*TextDatabaseRowNumber) Nodes

func (node *TextDatabaseRowNumber) Nodes() []Node

func (*TextDatabaseRowNumber) Parent

func (node *TextDatabaseRowNumber) Parent() Node

type TextDatabaseRowSelect

type TextDatabaseRowSelect struct {
	// contains filtered or unexported fields
}

TextDatabaseRowSelect represents a <text:database-row-select> element.

func (*TextDatabaseRowSelect) Name

func (node *TextDatabaseRowSelect) Name() string

func (*TextDatabaseRowSelect) Nodes

func (node *TextDatabaseRowSelect) Nodes() []Node

func (*TextDatabaseRowSelect) Parent

func (node *TextDatabaseRowSelect) Parent() Node

type TextDate

type TextDate struct {
	// contains filtered or unexported fields
}

TextDate represents a <text:date> element.

func (*TextDate) Name

func (node *TextDate) Name() string

func (*TextDate) Nodes

func (node *TextDate) Nodes() []Node

func (*TextDate) Parent

func (node *TextDate) Parent() Node

type TextDdeConnection

type TextDdeConnection struct {
	// contains filtered or unexported fields
}

TextDdeConnection represents a <text:dde-connection> element.

func (*TextDdeConnection) Name

func (node *TextDdeConnection) Name() string

func (*TextDdeConnection) Nodes

func (node *TextDdeConnection) Nodes() []Node

func (*TextDdeConnection) Parent

func (node *TextDdeConnection) Parent() Node

type TextDdeConnectionDecls

type TextDdeConnectionDecls struct {
	// contains filtered or unexported fields
}

TextDdeConnectionDecls represents a <text:dde-connection-decls> element.

func (*TextDdeConnectionDecls) Name

func (node *TextDdeConnectionDecls) Name() string

func (*TextDdeConnectionDecls) Nodes

func (node *TextDdeConnectionDecls) Nodes() []Node

func (*TextDdeConnectionDecls) Parent

func (node *TextDdeConnectionDecls) Parent() Node

type TextDescription

type TextDescription struct {
	// contains filtered or unexported fields
}

TextDescription represents a <text:description> element.

func (*TextDescription) Name

func (node *TextDescription) Name() string

func (*TextDescription) Nodes

func (node *TextDescription) Nodes() []Node

func (*TextDescription) Parent

func (node *TextDescription) Parent() Node

type TextDropDown

type TextDropDown struct {
	// contains filtered or unexported fields
}

TextDropDown represents a <text:drop-down> element.

func (*TextDropDown) Name

func (node *TextDropDown) Name() string

func (*TextDropDown) Nodes

func (node *TextDropDown) Nodes() []Node

func (*TextDropDown) Parent

func (node *TextDropDown) Parent() Node

type TextEditingCycles

type TextEditingCycles struct {
	// contains filtered or unexported fields
}

TextEditingCycles represents a <text:editing-cycles> element.

func (*TextEditingCycles) Name

func (node *TextEditingCycles) Name() string

func (*TextEditingCycles) Nodes

func (node *TextEditingCycles) Nodes() []Node

func (*TextEditingCycles) Parent

func (node *TextEditingCycles) Parent() Node

type TextEditingDuration

type TextEditingDuration struct {
	// contains filtered or unexported fields
}

TextEditingDuration represents a <text:editing-duration> element.

func (*TextEditingDuration) Name

func (node *TextEditingDuration) Name() string

func (*TextEditingDuration) Nodes

func (node *TextEditingDuration) Nodes() []Node

func (*TextEditingDuration) Parent

func (node *TextEditingDuration) Parent() Node

type TextExecuteMacro

type TextExecuteMacro struct {
	// contains filtered or unexported fields
}

TextExecuteMacro represents a <text:execute-macro> element.

func (*TextExecuteMacro) Name

func (node *TextExecuteMacro) Name() string

func (*TextExecuteMacro) Nodes

func (node *TextExecuteMacro) Nodes() []Node

func (*TextExecuteMacro) Parent

func (node *TextExecuteMacro) Parent() Node

type TextExpression

type TextExpression struct {
	// contains filtered or unexported fields
}

TextExpression represents a <text:expression> element.

func (*TextExpression) Name

func (node *TextExpression) Name() string

func (*TextExpression) Nodes

func (node *TextExpression) Nodes() []Node

func (*TextExpression) Parent

func (node *TextExpression) Parent() Node

type TextFileName

type TextFileName struct {
	// contains filtered or unexported fields
}

TextFileName represents a <text:file-name> element.

func (*TextFileName) Name

func (node *TextFileName) Name() string

func (*TextFileName) Nodes

func (node *TextFileName) Nodes() []Node

func (*TextFileName) Parent

func (node *TextFileName) Parent() Node

type TextFixed

type TextFixed struct {
	// contains filtered or unexported fields
}

TextFixed represents a <text:fixed> element.

func (*TextFixed) Name

func (node *TextFixed) Name() string

func (*TextFixed) Nodes

func (node *TextFixed) Nodes() []Node

func (*TextFixed) Parent

func (node *TextFixed) Parent() Node

type TextGlobal

type TextGlobal struct {
	// contains filtered or unexported fields
}

TextGlobal represents a <text:global> element.

func (*TextGlobal) Name

func (node *TextGlobal) Name() string

func (*TextGlobal) Nodes

func (node *TextGlobal) Nodes() []Node

func (*TextGlobal) Parent

func (node *TextGlobal) Parent() Node

type TextH

type TextH struct {
	TextOutlineLevel     int    `xml:"text:outline-level,attr"`
	TextRestartNumbering bool   `xml:"text:restart-numbering,attr"`
	TextStartValue       uint   `xml:"text:start-value,attr"`
	TextIsListHeader     bool   `xml:"text:is-list-header,attr"`
	TextStyleName        string `xml:"text:style-name,attr"`
	TextClassNames       string `xml:"text:class-names,attr"`
	TextCondStyleName    string `xml:"text:cond-style-name,attr"`
	XmlID                string `xml:"xml:id,attr"`
	TextID               string `xml:"text:id,attr"`
	XhtmlAbout           string `xml:"xhtml:about,attr"`
	XhtmlProperty        string `xml:"xhtml:property,attr"`
	XhtmlDatatype        string `xml:"xhtml:datatype,attr"`
	XhtmlContent         string `xml:"xhtml:content,attr"`
	TextNumber           string `xml:"text:number,attr"`
	// contains filtered or unexported fields
}

TextH represents a <text:h> element. A <text:h> has the following child elements:

  • <text:a>,
  • <text:s>,
  • <text:tab>,
  • <text:line-break>,
  • <text:soft-page-break>,
  • <text:span>,
  • <text:meta> and
  • <xml:chardata>

func (*TextH) Name

func (node *TextH) Name() string

func (*TextH) Nodes

func (node *TextH) Nodes() []Node

func (*TextH) Parent

func (node *TextH) Parent() Node

type TextHiddenParagraph

type TextHiddenParagraph struct {
	// contains filtered or unexported fields
}

TextHiddenParagraph represents a <text:hidden-paragraph> element.

func (*TextHiddenParagraph) Name

func (node *TextHiddenParagraph) Name() string

func (*TextHiddenParagraph) Nodes

func (node *TextHiddenParagraph) Nodes() []Node

func (*TextHiddenParagraph) Parent

func (node *TextHiddenParagraph) Parent() Node

type TextHiddenText

type TextHiddenText struct {
	// contains filtered or unexported fields
}

TextHiddenText represents a <text:hidden-text> element.

func (*TextHiddenText) Name

func (node *TextHiddenText) Name() string

func (*TextHiddenText) Nodes

func (node *TextHiddenText) Nodes() []Node

func (*TextHiddenText) Parent

func (node *TextHiddenText) Parent() Node

type TextID

type TextID struct {
	// contains filtered or unexported fields
}

TextID represents a <text:id> element.

func (*TextID) Name

func (node *TextID) Name() string

func (*TextID) Nodes

func (node *TextID) Nodes() []Node

func (*TextID) Parent

func (node *TextID) Parent() Node

type TextIllustrationIndex

type TextIllustrationIndex struct {
	// contains filtered or unexported fields
}

TextIllustrationIndex represents a <text:illustration-index> element.

func (*TextIllustrationIndex) Name

func (node *TextIllustrationIndex) Name() string

func (*TextIllustrationIndex) Nodes

func (node *TextIllustrationIndex) Nodes() []Node

func (*TextIllustrationIndex) Parent

func (node *TextIllustrationIndex) Parent() Node

type TextImageCount

type TextImageCount struct {
	// contains filtered or unexported fields
}

TextImageCount represents a <text:image-count> element.

func (*TextImageCount) Name

func (node *TextImageCount) Name() string

func (*TextImageCount) Nodes

func (node *TextImageCount) Nodes() []Node

func (*TextImageCount) Parent

func (node *TextImageCount) Parent() Node

type TextInitialCreator

type TextInitialCreator struct {
	// contains filtered or unexported fields
}

TextInitialCreator represents a <text:initial-creator> element.

func (*TextInitialCreator) Name

func (node *TextInitialCreator) Name() string

func (*TextInitialCreator) Nodes

func (node *TextInitialCreator) Nodes() []Node

func (*TextInitialCreator) Parent

func (node *TextInitialCreator) Parent() Node

type TextKeywords

type TextKeywords struct {
	// contains filtered or unexported fields
}

TextKeywords represents a <text:keywords> element.

func (*TextKeywords) Name

func (node *TextKeywords) Name() string

func (*TextKeywords) Nodes

func (node *TextKeywords) Nodes() []Node

func (*TextKeywords) Parent

func (node *TextKeywords) Parent() Node

type TextLineBreak

type TextLineBreak struct {
	// contains filtered or unexported fields
}

TextLineBreak represents a <text:line-break> element.

func (*TextLineBreak) Name

func (node *TextLineBreak) Name() string

func (*TextLineBreak) Nodes

func (node *TextLineBreak) Nodes() []Node

func (*TextLineBreak) Parent

func (node *TextLineBreak) Parent() Node

type TextList

type TextList struct {
	TextContinueList      string `xml:"text:continue-list,attr"`
	TextContinueNumbering string `xml:"text:continue-numbering,attr"`
	TextStyleName         string `xml:"text:style-name,attr"`
	XmlID                 string `xml:"xml:id,attr"`
	// contains filtered or unexported fields
}

TextList represents a <text:list> element. A <text:list> has the following child elements:

  • <text:list-header> and
  • <text:list-item>

func (*TextList) Name

func (node *TextList) Name() string

func (*TextList) Nodes

func (node *TextList) Nodes() []Node

func (*TextList) Parent

func (node *TextList) Parent() Node

type TextListHeader

type TextListHeader struct {
	XmlID string `xml:"xml:id,attr"`
	// contains filtered or unexported fields
}

TextListHeader represents a <text:list-header> element. A <text:list-header> has the following child elements:

  • <text:h>,
  • <text:list>,
  • <text:number>,
  • <text:p> and
  • <text:soft-page-break>

func (*TextListHeader) Name

func (node *TextListHeader) Name() string

func (*TextListHeader) Nodes

func (node *TextListHeader) Nodes() []Node

func (*TextListHeader) Parent

func (node *TextListHeader) Parent() Node

type TextListItem

type TextListItem struct {
	TextStartValue    string `xml:"text:start-value,attr"`
	TextStyleOverride string `xml:"text:style-override,attr"`
	XmlID             string `xml:"xml:id,attr"`
	// contains filtered or unexported fields
}

TextListItem represents a <text:list-item> element. A <text:list-item> has the following child elements:

  • <text:h>,
  • <text:list>,
  • <text:number>,
  • <text:p> and
  • <text:soft-page-break>

func (*TextListItem) Name

func (node *TextListItem) Name() string

func (*TextListItem) Nodes

func (node *TextListItem) Nodes() []Node

func (*TextListItem) Parent

func (node *TextListItem) Parent() Node

type TextListLevelStyleBullet

type TextListLevelStyleBullet struct {
	// contains filtered or unexported fields
}

TextListLevelStyleBullet represents a <text:list-level-style-bullet> element.

func (*TextListLevelStyleBullet) Name

func (node *TextListLevelStyleBullet) Name() string

func (*TextListLevelStyleBullet) Nodes

func (node *TextListLevelStyleBullet) Nodes() []Node

func (*TextListLevelStyleBullet) Parent

func (node *TextListLevelStyleBullet) Parent() Node

type TextListLevelStyleImage

type TextListLevelStyleImage struct {
	// contains filtered or unexported fields
}

TextListLevelStyleImage represents a <text:list-level-style-image> element.

func (*TextListLevelStyleImage) Name

func (node *TextListLevelStyleImage) Name() string

func (*TextListLevelStyleImage) Nodes

func (node *TextListLevelStyleImage) Nodes() []Node

func (*TextListLevelStyleImage) Parent

func (node *TextListLevelStyleImage) Parent() Node

type TextListLevelStyleNumber

type TextListLevelStyleNumber struct {
	// contains filtered or unexported fields
}

TextListLevelStyleNumber represents a <text:list-level-style-number> element.

func (*TextListLevelStyleNumber) Name

func (node *TextListLevelStyleNumber) Name() string

func (*TextListLevelStyleNumber) Nodes

func (node *TextListLevelStyleNumber) Nodes() []Node

func (*TextListLevelStyleNumber) Parent

func (node *TextListLevelStyleNumber) Parent() Node

type TextListStyle

type TextListStyle struct {
	StyleName                string `xml:"style:name,attr"`
	StyleDisplayName         string `xml:"style:display-name,attr"`
	TextConsecutiveNumbering bool   `xml:"text:consecutive-numbering,attr"`
	// contains filtered or unexported fields
}

TextListStyle represents a <text:list-style> element. A <text:list-style> has the following child elements:

  • <text:list-level-style-number>,
  • <text:list-level-style-bullet> and
  • <text:list-level-style-image>

func (*TextListStyle) Name

func (node *TextListStyle) Name() string

func (*TextListStyle) Nodes

func (node *TextListStyle) Nodes() []Node

func (*TextListStyle) Parent

func (node *TextListStyle) Parent() Node

type TextMeasure

type TextMeasure struct {
	// contains filtered or unexported fields
}

TextMeasure represents a <text:measure> element.

func (*TextMeasure) Name

func (node *TextMeasure) Name() string

func (*TextMeasure) Nodes

func (node *TextMeasure) Nodes() []Node

func (*TextMeasure) Parent

func (node *TextMeasure) Parent() Node

type TextMeta

type TextMeta struct {
	// contains filtered or unexported fields
}

TextMeta represents a <text:meta> element.

func (*TextMeta) Name

func (node *TextMeta) Name() string

func (*TextMeta) Nodes

func (node *TextMeta) Nodes() []Node

func (*TextMeta) Parent

func (node *TextMeta) Parent() Node

type TextMetaField

type TextMetaField struct {
	// contains filtered or unexported fields
}

TextMetaField represents a <text:meta-field> element.

func (*TextMetaField) Name

func (node *TextMetaField) Name() string

func (*TextMetaField) Nodes

func (node *TextMetaField) Nodes() []Node

func (*TextMetaField) Parent

func (node *TextMetaField) Parent() Node

type TextModificationDate

type TextModificationDate struct {
	// contains filtered or unexported fields
}

TextModificationDate represents a <text:modification-date> element.

func (*TextModificationDate) Name

func (node *TextModificationDate) Name() string

func (*TextModificationDate) Nodes

func (node *TextModificationDate) Nodes() []Node

func (*TextModificationDate) Parent

func (node *TextModificationDate) Parent() Node

type TextModificationTime

type TextModificationTime struct {
	// contains filtered or unexported fields
}

TextModificationTime represents a <text:modification-time> element.

func (*TextModificationTime) Name

func (node *TextModificationTime) Name() string

func (*TextModificationTime) Nodes

func (node *TextModificationTime) Nodes() []Node

func (*TextModificationTime) Parent

func (node *TextModificationTime) Parent() Node

type TextNote

type TextNote struct {
	// contains filtered or unexported fields
}

TextNote represents a <text:note> element.

func (*TextNote) Name

func (node *TextNote) Name() string

func (*TextNote) Nodes

func (node *TextNote) Nodes() []Node

func (*TextNote) Parent

func (node *TextNote) Parent() Node

type TextNoteRef

type TextNoteRef struct {
	// contains filtered or unexported fields
}

TextNoteRef represents a <text:note-ref> element.

func (*TextNoteRef) Name

func (node *TextNoteRef) Name() string

func (*TextNoteRef) Nodes

func (node *TextNoteRef) Nodes() []Node

func (*TextNoteRef) Parent

func (node *TextNoteRef) Parent() Node

type TextNumber

type TextNumber struct {
	// contains filtered or unexported fields
}

TextNumber represents a <text:number> element.

func (*TextNumber) Name

func (node *TextNumber) Name() string

func (*TextNumber) Nodes

func (node *TextNumber) Nodes() []Node

func (*TextNumber) Parent

func (node *TextNumber) Parent() Node

type TextNumberedParagraph

type TextNumberedParagraph struct {
	// contains filtered or unexported fields
}

TextNumberedParagraph represents a <text:numbered-paragraph> element.

func (*TextNumberedParagraph) Name

func (node *TextNumberedParagraph) Name() string

func (*TextNumberedParagraph) Nodes

func (node *TextNumberedParagraph) Nodes() []Node

func (*TextNumberedParagraph) Parent

func (node *TextNumberedParagraph) Parent() Node

type TextObjectCount

type TextObjectCount struct {
	// contains filtered or unexported fields
}

TextObjectCount represents a <text:object-count> element.

func (*TextObjectCount) Name

func (node *TextObjectCount) Name() string

func (*TextObjectCount) Nodes

func (node *TextObjectCount) Nodes() []Node

func (*TextObjectCount) Parent

func (node *TextObjectCount) Parent() Node

type TextObjectIndex

type TextObjectIndex struct {
	// contains filtered or unexported fields
}

TextObjectIndex represents a <text:object-index> element.

func (*TextObjectIndex) Name

func (node *TextObjectIndex) Name() string

func (*TextObjectIndex) Nodes

func (node *TextObjectIndex) Nodes() []Node

func (*TextObjectIndex) Parent

func (node *TextObjectIndex) Parent() Node

type TextP

type TextP struct {
	TextClassNames    string `xml:"text:class-names,attr"`
	TextCondStyleName string `xml:"text:cond-style-name,attr"`
	TextID            string `xml:"text:id,attr"`
	TextStyleName     string `xml:"text:style-name,attr"`
	XhtmlAbout        string `xml:"xhtml:about,attr"`
	XhtmlContent      string `xml:"xhtml:content,attr"`
	XhtmlDatatype     string `xml:"xhtml:datatype,attr"`
	XhtmlProperty     string `xml:"xhtml:property,attr"`
	XmlID             string `xml:"xml:id,attr"`
	// contains filtered or unexported fields
}

TextP represents a <text:p> element. A <text:p> has the following child elements:

  • <dr3d:scene>,
  • <draw:a>,
  • <draw:caption>,
  • <draw:circle>,
  • <draw:connector>,
  • <draw:control>,
  • <draw:custom-shape>,
  • <draw:ellipse>,
  • <draw:frame>,
  • <draw:g>,
  • <draw:line>,
  • <draw:measure>,
  • <draw:page-thumbnail>,
  • <draw:path>,
  • <draw:polygon>,
  • <draw:polyline>,
  • <draw:rect>,
  • <draw:regular-polygon>,
  • <office:annotation>,
  • <office:annotation-end>,
  • <presentation:date-time>,
  • <presentation:footer>,
  • <presentation:header>,
  • <text:a>,
  • <text:alphabetical-index-mark>,
  • <text:alphabetical-index-mark-end>,
  • <text:alphabetical-index-mark-start>,
  • <text:author-initials>,
  • <text:author-name>,
  • <text:bibliography-mark>,
  • <text:bookmark>,
  • <text:bookmark-end>,
  • <text:bookmark-ref>,
  • <text:bookmark-start>,
  • <text:change>,
  • <text:change-end>,
  • <text:change-start>,
  • <text:chapter>,
  • <text:character-count>,
  • <text:conditional-text>,
  • <text:creation-date>,
  • <text:creation-time>,
  • <text:creator>,
  • <text:database-display>,
  • <text:database-name>,
  • <text:database-next>,
  • <text:database-row-number>,
  • <text:database-row-select>,
  • <text:date>,
  • <text:dde-connection>,
  • <text:description>,
  • <text:drop-down>,
  • <text:editing-cycles>,
  • <text:editing-duration>,
  • <text:execute-macro>,
  • <text:expression>,
  • <text:file-name>,
  • <text:hidden-paragraph>,
  • <text:hidden-text>,
  • <text:image-count>,
  • <text:initial-creator>,
  • <text:keywords>,
  • <text:line-break>,
  • <text:measure>,
  • <text:meta>,
  • <text:meta-field>,
  • <text:modification-date>,
  • <text:modification-time>,
  • <text:note>,
  • <text:note-ref>,
  • <text:object-count>,
  • <text:page-continuation>,
  • <text:page-count>,
  • <text:page-number>,
  • <text:page-variable-get>,
  • <text:page-variable-set>,
  • <text:paragraph-count>,
  • <text:placeholder>,
  • <text:print-date>,
  • <text:print-time>,
  • <text:printed-by>,
  • <text:reference-mark>,
  • <text:reference-mark-end>,
  • <text:reference-mark-start>,
  • <text:reference-ref>,
  • <text:ruby>,
  • <text:s>,
  • <text:script>,
  • <text:sender-city>,
  • <text:sender-company>,
  • <text:sender-country>,
  • <text:sender-email>,
  • <text:sender-fax>,
  • <text:sender-firstname>,
  • <text:sender-initials>,
  • <text:sender-lastname>,
  • <text:sender-phone-private>,
  • <text:sender-phone-work>,
  • <text:sender-position>,
  • <text:sender-postal-code>,
  • <text:sender-state-or-province>,
  • <text:sender-street>,
  • <text:sender-title>,
  • <text:sequence>,
  • <text:sequence-ref>,
  • <text:sheet-name>,
  • <text:soft-page-break>,
  • <text:span>,
  • <text:subject>,
  • <text:tab>,
  • <text:table-count>,
  • <text:table-formula>,
  • <text:template-name>,
  • <text:text-input>,
  • <text:time>,
  • <text:title>,
  • <text:toc-mark>,
  • <text:toc-mark-end>,
  • <text:toc-mark-start>,
  • <text:user-defined>,
  • <text:user-field-get>,
  • <text:user-field-input>,
  • <text:user-index-mark>,
  • <text:user-index-mark-end>,
  • <text:user-index-mark-start>,
  • <text:variable-get>,
  • <text:variable-input>,
  • <text:variable-set>,
  • <text:word-count> and
  • <xml:chardata>

func (*TextP) Name

func (node *TextP) Name() string

func (*TextP) Nodes

func (node *TextP) Nodes() []Node

func (*TextP) Parent

func (node *TextP) Parent() Node

type TextPageContinuation

type TextPageContinuation struct {
	// contains filtered or unexported fields
}

TextPageContinuation represents a <text:page-continuation> element.

func (*TextPageContinuation) Name

func (node *TextPageContinuation) Name() string

func (*TextPageContinuation) Nodes

func (node *TextPageContinuation) Nodes() []Node

func (*TextPageContinuation) Parent

func (node *TextPageContinuation) Parent() Node

type TextPageCount

type TextPageCount struct {
	// contains filtered or unexported fields
}

TextPageCount represents a <text:page-count> element.

func (*TextPageCount) Name

func (node *TextPageCount) Name() string

func (*TextPageCount) Nodes

func (node *TextPageCount) Nodes() []Node

func (*TextPageCount) Parent

func (node *TextPageCount) Parent() Node

type TextPageNumber

type TextPageNumber struct {
	// contains filtered or unexported fields
}

TextPageNumber represents a <text:page-number> element.

func (*TextPageNumber) Name

func (node *TextPageNumber) Name() string

func (*TextPageNumber) Nodes

func (node *TextPageNumber) Nodes() []Node

func (*TextPageNumber) Parent

func (node *TextPageNumber) Parent() Node

type TextPageSequence

type TextPageSequence struct {
	// contains filtered or unexported fields
}

TextPageSequence represents a <text:page-sequence> element.

func (*TextPageSequence) Name

func (node *TextPageSequence) Name() string

func (*TextPageSequence) Nodes

func (node *TextPageSequence) Nodes() []Node

func (*TextPageSequence) Parent

func (node *TextPageSequence) Parent() Node

type TextPageVariableGet

type TextPageVariableGet struct {
	// contains filtered or unexported fields
}

TextPageVariableGet represents a <text:page-variable-get> element.

func (*TextPageVariableGet) Name

func (node *TextPageVariableGet) Name() string

func (*TextPageVariableGet) Nodes

func (node *TextPageVariableGet) Nodes() []Node

func (*TextPageVariableGet) Parent

func (node *TextPageVariableGet) Parent() Node

type TextPageVariableSet

type TextPageVariableSet struct {
	// contains filtered or unexported fields
}

TextPageVariableSet represents a <text:page-variable-set> element.

func (*TextPageVariableSet) Name

func (node *TextPageVariableSet) Name() string

func (*TextPageVariableSet) Nodes

func (node *TextPageVariableSet) Nodes() []Node

func (*TextPageVariableSet) Parent

func (node *TextPageVariableSet) Parent() Node

type TextParagraphCount

type TextParagraphCount struct {
	// contains filtered or unexported fields
}

TextParagraphCount represents a <text:paragraph-count> element.

func (*TextParagraphCount) Name

func (node *TextParagraphCount) Name() string

func (*TextParagraphCount) Nodes

func (node *TextParagraphCount) Nodes() []Node

func (*TextParagraphCount) Parent

func (node *TextParagraphCount) Parent() Node

type TextPlaceholder

type TextPlaceholder struct {
	// contains filtered or unexported fields
}

TextPlaceholder represents a <text:placeholder> element.

func (*TextPlaceholder) Name

func (node *TextPlaceholder) Name() string

func (*TextPlaceholder) Nodes

func (node *TextPlaceholder) Nodes() []Node

func (*TextPlaceholder) Parent

func (node *TextPlaceholder) Parent() Node

type TextPrintDate

type TextPrintDate struct {
	// contains filtered or unexported fields
}

TextPrintDate represents a <text:print-date> element.

func (*TextPrintDate) Name

func (node *TextPrintDate) Name() string

func (*TextPrintDate) Nodes

func (node *TextPrintDate) Nodes() []Node

func (*TextPrintDate) Parent

func (node *TextPrintDate) Parent() Node

type TextPrintTime

type TextPrintTime struct {
	// contains filtered or unexported fields
}

TextPrintTime represents a <text:print-time> element.

func (*TextPrintTime) Name

func (node *TextPrintTime) Name() string

func (*TextPrintTime) Nodes

func (node *TextPrintTime) Nodes() []Node

func (*TextPrintTime) Parent

func (node *TextPrintTime) Parent() Node

type TextPrintedBy

type TextPrintedBy struct {
	// contains filtered or unexported fields
}

TextPrintedBy represents a <text:printed-by> element.

func (*TextPrintedBy) Name

func (node *TextPrintedBy) Name() string

func (*TextPrintedBy) Nodes

func (node *TextPrintedBy) Nodes() []Node

func (*TextPrintedBy) Parent

func (node *TextPrintedBy) Parent() Node

type TextReferenceMark

type TextReferenceMark struct {
	// contains filtered or unexported fields
}

TextReferenceMark represents a <text:reference-mark> element.

func (*TextReferenceMark) Name

func (node *TextReferenceMark) Name() string

func (*TextReferenceMark) Nodes

func (node *TextReferenceMark) Nodes() []Node

func (*TextReferenceMark) Parent

func (node *TextReferenceMark) Parent() Node

type TextReferenceMarkEnd

type TextReferenceMarkEnd struct {
	// contains filtered or unexported fields
}

TextReferenceMarkEnd represents a <text:reference-mark-end> element.

func (*TextReferenceMarkEnd) Name

func (node *TextReferenceMarkEnd) Name() string

func (*TextReferenceMarkEnd) Nodes

func (node *TextReferenceMarkEnd) Nodes() []Node

func (*TextReferenceMarkEnd) Parent

func (node *TextReferenceMarkEnd) Parent() Node

type TextReferenceMarkStart

type TextReferenceMarkStart struct {
	// contains filtered or unexported fields
}

TextReferenceMarkStart represents a <text:reference-mark-start> element.

func (*TextReferenceMarkStart) Name

func (node *TextReferenceMarkStart) Name() string

func (*TextReferenceMarkStart) Nodes

func (node *TextReferenceMarkStart) Nodes() []Node

func (*TextReferenceMarkStart) Parent

func (node *TextReferenceMarkStart) Parent() Node

type TextReferenceRef

type TextReferenceRef struct {
	// contains filtered or unexported fields
}

TextReferenceRef represents a <text:reference-ref> element.

func (*TextReferenceRef) Name

func (node *TextReferenceRef) Name() string

func (*TextReferenceRef) Nodes

func (node *TextReferenceRef) Nodes() []Node

func (*TextReferenceRef) Parent

func (node *TextReferenceRef) Parent() Node

type TextRuby

type TextRuby struct {
	// contains filtered or unexported fields
}

TextRuby represents a <text:ruby> element.

func (*TextRuby) Name

func (node *TextRuby) Name() string

func (*TextRuby) Nodes

func (node *TextRuby) Nodes() []Node

func (*TextRuby) Parent

func (node *TextRuby) Parent() Node

type TextS

type TextS struct {
	TextC int `xml:"text:c,attr"`
	// contains filtered or unexported fields
}

TextS represents a <text:s> element.

func (*TextS) Name

func (node *TextS) Name() string

func (*TextS) Nodes

func (node *TextS) Nodes() []Node

func (*TextS) Parent

func (node *TextS) Parent() Node

type TextScript

type TextScript struct {
	// contains filtered or unexported fields
}

TextScript represents a <text:script> element.

func (*TextScript) Name

func (node *TextScript) Name() string

func (*TextScript) Nodes

func (node *TextScript) Nodes() []Node

func (*TextScript) Parent

func (node *TextScript) Parent() Node

type TextSection

type TextSection struct {
	// contains filtered or unexported fields
}

TextSection represents a <text:section> element.

func (*TextSection) Name

func (node *TextSection) Name() string

func (*TextSection) Nodes

func (node *TextSection) Nodes() []Node

func (*TextSection) Parent

func (node *TextSection) Parent() Node

type TextSenderCity

type TextSenderCity struct {
	// contains filtered or unexported fields
}

TextSenderCity represents a <text:sender-city> element.

func (*TextSenderCity) Name

func (node *TextSenderCity) Name() string

func (*TextSenderCity) Nodes

func (node *TextSenderCity) Nodes() []Node

func (*TextSenderCity) Parent

func (node *TextSenderCity) Parent() Node

type TextSenderCompany

type TextSenderCompany struct {
	// contains filtered or unexported fields
}

TextSenderCompany represents a <text:sender-company> element.

func (*TextSenderCompany) Name

func (node *TextSenderCompany) Name() string

func (*TextSenderCompany) Nodes

func (node *TextSenderCompany) Nodes() []Node

func (*TextSenderCompany) Parent

func (node *TextSenderCompany) Parent() Node

type TextSenderCountry

type TextSenderCountry struct {
	// contains filtered or unexported fields
}

TextSenderCountry represents a <text:sender-country> element.

func (*TextSenderCountry) Name

func (node *TextSenderCountry) Name() string

func (*TextSenderCountry) Nodes

func (node *TextSenderCountry) Nodes() []Node

func (*TextSenderCountry) Parent

func (node *TextSenderCountry) Parent() Node

type TextSenderEmail

type TextSenderEmail struct {
	// contains filtered or unexported fields
}

TextSenderEmail represents a <text:sender-email> element.

func (*TextSenderEmail) Name

func (node *TextSenderEmail) Name() string

func (*TextSenderEmail) Nodes

func (node *TextSenderEmail) Nodes() []Node

func (*TextSenderEmail) Parent

func (node *TextSenderEmail) Parent() Node

type TextSenderFax

type TextSenderFax struct {
	// contains filtered or unexported fields
}

TextSenderFax represents a <text:sender-fax> element.

func (*TextSenderFax) Name

func (node *TextSenderFax) Name() string

func (*TextSenderFax) Nodes

func (node *TextSenderFax) Nodes() []Node

func (*TextSenderFax) Parent

func (node *TextSenderFax) Parent() Node

type TextSenderFirstname

type TextSenderFirstname struct {
	// contains filtered or unexported fields
}

TextSenderFirstname represents a <text:sender-firstname> element.

func (*TextSenderFirstname) Name

func (node *TextSenderFirstname) Name() string

func (*TextSenderFirstname) Nodes

func (node *TextSenderFirstname) Nodes() []Node

func (*TextSenderFirstname) Parent

func (node *TextSenderFirstname) Parent() Node

type TextSenderInitials

type TextSenderInitials struct {
	// contains filtered or unexported fields
}

TextSenderInitials represents a <text:sender-initials> element.

func (*TextSenderInitials) Name

func (node *TextSenderInitials) Name() string

func (*TextSenderInitials) Nodes

func (node *TextSenderInitials) Nodes() []Node

func (*TextSenderInitials) Parent

func (node *TextSenderInitials) Parent() Node

type TextSenderLastname

type TextSenderLastname struct {
	// contains filtered or unexported fields
}

TextSenderLastname represents a <text:sender-lastname> element.

func (*TextSenderLastname) Name

func (node *TextSenderLastname) Name() string

func (*TextSenderLastname) Nodes

func (node *TextSenderLastname) Nodes() []Node

func (*TextSenderLastname) Parent

func (node *TextSenderLastname) Parent() Node

type TextSenderPhonePrivate

type TextSenderPhonePrivate struct {
	// contains filtered or unexported fields
}

TextSenderPhonePrivate represents a <text:sender-phone-private> element.

func (*TextSenderPhonePrivate) Name

func (node *TextSenderPhonePrivate) Name() string

func (*TextSenderPhonePrivate) Nodes

func (node *TextSenderPhonePrivate) Nodes() []Node

func (*TextSenderPhonePrivate) Parent

func (node *TextSenderPhonePrivate) Parent() Node

type TextSenderPhoneWork

type TextSenderPhoneWork struct {
	// contains filtered or unexported fields
}

TextSenderPhoneWork represents a <text:sender-phone-work> element.

func (*TextSenderPhoneWork) Name

func (node *TextSenderPhoneWork) Name() string

func (*TextSenderPhoneWork) Nodes

func (node *TextSenderPhoneWork) Nodes() []Node

func (*TextSenderPhoneWork) Parent

func (node *TextSenderPhoneWork) Parent() Node

type TextSenderPosition

type TextSenderPosition struct {
	// contains filtered or unexported fields
}

TextSenderPosition represents a <text:sender-position> element.

func (*TextSenderPosition) Name

func (node *TextSenderPosition) Name() string

func (*TextSenderPosition) Nodes

func (node *TextSenderPosition) Nodes() []Node

func (*TextSenderPosition) Parent

func (node *TextSenderPosition) Parent() Node

type TextSenderPostalCode

type TextSenderPostalCode struct {
	// contains filtered or unexported fields
}

TextSenderPostalCode represents a <text:sender-postal-code> element.

func (*TextSenderPostalCode) Name

func (node *TextSenderPostalCode) Name() string

func (*TextSenderPostalCode) Nodes

func (node *TextSenderPostalCode) Nodes() []Node

func (*TextSenderPostalCode) Parent

func (node *TextSenderPostalCode) Parent() Node

type TextSenderStateOrProvince

type TextSenderStateOrProvince struct {
	// contains filtered or unexported fields
}

TextSenderStateOrProvince represents a <text:sender-state-or-province> element.

func (*TextSenderStateOrProvince) Name

func (node *TextSenderStateOrProvince) Name() string

func (*TextSenderStateOrProvince) Nodes

func (node *TextSenderStateOrProvince) Nodes() []Node

func (*TextSenderStateOrProvince) Parent

func (node *TextSenderStateOrProvince) Parent() Node

type TextSenderStreet

type TextSenderStreet struct {
	// contains filtered or unexported fields
}

TextSenderStreet represents a <text:sender-street> element.

func (*TextSenderStreet) Name

func (node *TextSenderStreet) Name() string

func (*TextSenderStreet) Nodes

func (node *TextSenderStreet) Nodes() []Node

func (*TextSenderStreet) Parent

func (node *TextSenderStreet) Parent() Node

type TextSenderTitle

type TextSenderTitle struct {
	// contains filtered or unexported fields
}

TextSenderTitle represents a <text:sender-title> element.

func (*TextSenderTitle) Name

func (node *TextSenderTitle) Name() string

func (*TextSenderTitle) Nodes

func (node *TextSenderTitle) Nodes() []Node

func (*TextSenderTitle) Parent

func (node *TextSenderTitle) Parent() Node

type TextSequence

type TextSequence struct {
	// contains filtered or unexported fields
}

TextSequence represents a <text:sequence> element.

func (*TextSequence) Name

func (node *TextSequence) Name() string

func (*TextSequence) Nodes

func (node *TextSequence) Nodes() []Node

func (*TextSequence) Parent

func (node *TextSequence) Parent() Node

type TextSequenceDecls

type TextSequenceDecls struct {
	// contains filtered or unexported fields
}

TextSequenceDecls represents a <text:sequence-decls> element.

func (*TextSequenceDecls) Name

func (node *TextSequenceDecls) Name() string

func (*TextSequenceDecls) Nodes

func (node *TextSequenceDecls) Nodes() []Node

func (*TextSequenceDecls) Parent

func (node *TextSequenceDecls) Parent() Node

type TextSequenceRef

type TextSequenceRef struct {
	// contains filtered or unexported fields
}

TextSequenceRef represents a <text:sequence-ref> element.

func (*TextSequenceRef) Name

func (node *TextSequenceRef) Name() string

func (*TextSequenceRef) Nodes

func (node *TextSequenceRef) Nodes() []Node

func (*TextSequenceRef) Parent

func (node *TextSequenceRef) Parent() Node

type TextSheetName

type TextSheetName struct {
	// contains filtered or unexported fields
}

TextSheetName represents a <text:sheet-name> element.

func (*TextSheetName) Name

func (node *TextSheetName) Name() string

func (*TextSheetName) Nodes

func (node *TextSheetName) Nodes() []Node

func (*TextSheetName) Parent

func (node *TextSheetName) Parent() Node

type TextSoftPageBreak

type TextSoftPageBreak struct {
	// contains filtered or unexported fields
}

TextSoftPageBreak represents a <text:soft-page-break> element.

func (*TextSoftPageBreak) Name

func (node *TextSoftPageBreak) Name() string

func (*TextSoftPageBreak) Nodes

func (node *TextSoftPageBreak) Nodes() []Node

func (*TextSoftPageBreak) Parent

func (node *TextSoftPageBreak) Parent() Node

type TextSpan

type TextSpan struct {
	TextClassNames string `xml:"text:class-names,attr"`
	TextStyleName  string `xml:"text:style-name,attr"`
	// contains filtered or unexported fields
}

TextSpan represents a <text:span> element. A <text:span> has the following child elements:

  • <dr3d:scene>,
  • <draw:a>,
  • <draw:caption>,
  • <draw:circle>,
  • <draw:connector>,
  • <draw:control>,
  • <draw:custom-shape>,
  • <draw:ellipse>,
  • <draw:frame>,
  • <draw:g>,
  • <draw:line>,
  • <draw:measure>,
  • <draw:page-thumbnail>,
  • <draw:path>,
  • <draw:polygon>,
  • <draw:polyline>,
  • <draw:rect>,
  • <draw:regular-polygon>,
  • <office:annotation>,
  • <office:annotation-end>,
  • <presentation:date-time>,
  • <presentation:footer>,
  • <presentation:header>,
  • <text:a>,
  • <text:alphabetical-index-mark>,
  • <text:alphabetical-index-mark-end>,
  • <text:alphabetical-index-mark-start>,
  • <text:author-initials>,
  • <text:author-name>,
  • <text:bibliography-mark>,
  • <text:bookmark>,
  • <text:bookmark-end>,
  • <text:bookmark-ref>,
  • <text:bookmark-start>,
  • <text:change>,
  • <text:change-end>,
  • <text:change-start>,
  • <text:chapter>,
  • <text:character-count>,
  • <text:conditional-text>,
  • <text:creation-date>,
  • <text:creation-time>,
  • <text:creator>,
  • <text:database-display>,
  • <text:database-name>,
  • <text:database-next>,
  • <text:database-row-number>,
  • <text:database-row-select>,
  • <text:date>,
  • <text:dde-connection>,
  • <text:description>,
  • <text:drop-down>,
  • <text:editing-cycles>,
  • <text:editing-duration>,
  • <text:execute-macro>,
  • <text:expression>,
  • <text:file-name>,
  • <text:hidden-paragraph>,
  • <text:hidden-text>,
  • <text:image-count>,
  • <text:initial-creator>,
  • <text:keywords>,
  • <text:line-break>,
  • <text:measure>,
  • <text:meta>,
  • <text:meta-field>,
  • <text:modification-date>,
  • <text:modification-time>,
  • <text:note>,
  • <text:note-ref>,
  • <text:object-count>,
  • <text:page-continuation>,
  • <text:page-count>,
  • <text:page-number>,
  • <text:page-variable-get>,
  • <text:page-variable-set>,
  • <text:paragraph-count>,
  • <text:placeholder>,
  • <text:print-date>,
  • <text:print-time>,
  • <text:printed-by>,
  • <text:reference-mark>,
  • <text:reference-mark-end>,
  • <text:reference-mark-start>,
  • <text:reference-ref>,
  • <text:ruby>,
  • <text:s>,
  • <text:script>,
  • <text:sender-city>,
  • <text:sender-company>,
  • <text:sender-country>,
  • <text:sender-email>,
  • <text:sender-fax>,
  • <text:sender-firstname>,
  • <text:sender-initials>,
  • <text:sender-lastname>,
  • <text:sender-phone-private>,
  • <text:sender-phone-work>,
  • <text:sender-position>,
  • <text:sender-postal-code>,
  • <text:sender-state-or-province>,
  • <text:sender-street>,
  • <text:sender-title>,
  • <text:sequence>,
  • <text:sequence-ref>,
  • <text:sheet-name>,
  • <text:soft-page-break>,
  • <text:span>,
  • <text:subject>,
  • <text:tab>,
  • <text:table-count>,
  • <text:table-formula>,
  • <text:template-name>,
  • <text:text-input>,
  • <text:time>,
  • <text:title>,
  • <text:toc-mark>,
  • <text:toc-mark-end>,
  • <text:toc-mark-start>,
  • <text:user-defined>,
  • <text:user-field-get>,
  • <text:user-field-input>,
  • <text:user-index-mark>,
  • <text:user-index-mark-end>,
  • <text:user-index-mark-start>,
  • <text:variable-get>,
  • <text:variable-input>,
  • <text:variable-set>,
  • <text:word-count> and
  • <xml:chardata>

func (*TextSpan) Name

func (node *TextSpan) Name() string

func (*TextSpan) Nodes

func (node *TextSpan) Nodes() []Node

func (*TextSpan) Parent

func (node *TextSpan) Parent() Node

type TextStartValue

type TextStartValue struct {
	// contains filtered or unexported fields
}

TextStartValue represents a <text:start-value> element.

func (*TextStartValue) Name

func (node *TextStartValue) Name() string

func (*TextStartValue) Nodes

func (node *TextStartValue) Nodes() []Node

func (*TextStartValue) Parent

func (node *TextStartValue) Parent() Node

type TextStyleName

type TextStyleName struct {
	// contains filtered or unexported fields
}

TextStyleName represents a <text:style-name> element.

func (*TextStyleName) Name

func (node *TextStyleName) Name() string

func (*TextStyleName) Nodes

func (node *TextStyleName) Nodes() []Node

func (*TextStyleName) Parent

func (node *TextStyleName) Parent() Node

type TextStyleOverride

type TextStyleOverride struct {
	// contains filtered or unexported fields
}

TextStyleOverride represents a <text:style-override> element.

func (*TextStyleOverride) Name

func (node *TextStyleOverride) Name() string

func (*TextStyleOverride) Nodes

func (node *TextStyleOverride) Nodes() []Node

func (*TextStyleOverride) Parent

func (node *TextStyleOverride) Parent() Node

type TextSubject

type TextSubject struct {
	// contains filtered or unexported fields
}

TextSubject represents a <text:subject> element.

func (*TextSubject) Name

func (node *TextSubject) Name() string

func (*TextSubject) Nodes

func (node *TextSubject) Nodes() []Node

func (*TextSubject) Parent

func (node *TextSubject) Parent() Node

type TextTab

type TextTab struct {
	TextTabRef string `xml:"text:tab-ref,attr"`
	// contains filtered or unexported fields
}

TextTab represents a <text:tab> element.

func (*TextTab) Name

func (node *TextTab) Name() string

func (*TextTab) Nodes

func (node *TextTab) Nodes() []Node

func (*TextTab) Parent

func (node *TextTab) Parent() Node

type TextTabRef

type TextTabRef struct {
	Value uint
	// contains filtered or unexported fields
}

TextTabRef represents a <text:tab-ref> element.

func (*TextTabRef) Name

func (node *TextTabRef) Name() string

func (*TextTabRef) Nodes

func (node *TextTabRef) Nodes() []Node

func (*TextTabRef) Parent

func (node *TextTabRef) Parent() Node

type TextTableCount

type TextTableCount struct {
	// contains filtered or unexported fields
}

TextTableCount represents a <text:table-count> element.

func (*TextTableCount) Name

func (node *TextTableCount) Name() string

func (*TextTableCount) Nodes

func (node *TextTableCount) Nodes() []Node

func (*TextTableCount) Parent

func (node *TextTableCount) Parent() Node

type TextTableFormula

type TextTableFormula struct {
	// contains filtered or unexported fields
}

TextTableFormula represents a <text:table-formula> element.

func (*TextTableFormula) Name

func (node *TextTableFormula) Name() string

func (*TextTableFormula) Nodes

func (node *TextTableFormula) Nodes() []Node

func (*TextTableFormula) Parent

func (node *TextTableFormula) Parent() Node

type TextTableIndex

type TextTableIndex struct {
	// contains filtered or unexported fields
}

TextTableIndex represents a <text:table-index> element.

func (*TextTableIndex) Name

func (node *TextTableIndex) Name() string

func (*TextTableIndex) Nodes

func (node *TextTableIndex) Nodes() []Node

func (*TextTableIndex) Parent

func (node *TextTableIndex) Parent() Node

type TextTableOfContent

type TextTableOfContent struct {
	// contains filtered or unexported fields
}

TextTableOfContent represents a <text:table-of-content> element.

func (*TextTableOfContent) Name

func (node *TextTableOfContent) Name() string

func (*TextTableOfContent) Nodes

func (node *TextTableOfContent) Nodes() []Node

func (*TextTableOfContent) Parent

func (node *TextTableOfContent) Parent() Node

type TextTemplateName

type TextTemplateName struct {
	// contains filtered or unexported fields
}

TextTemplateName represents a <text:template-name> element.

func (*TextTemplateName) Name

func (node *TextTemplateName) Name() string

func (*TextTemplateName) Nodes

func (node *TextTemplateName) Nodes() []Node

func (*TextTemplateName) Parent

func (node *TextTemplateName) Parent() Node

type TextTextInput

type TextTextInput struct {
	// contains filtered or unexported fields
}

TextTextInput represents a <text:text-input> element.

func (*TextTextInput) Name

func (node *TextTextInput) Name() string

func (*TextTextInput) Nodes

func (node *TextTextInput) Nodes() []Node

func (*TextTextInput) Parent

func (node *TextTextInput) Parent() Node

type TextTime

type TextTime struct {
	// contains filtered or unexported fields
}

TextTime represents a <text:time> element.

func (*TextTime) Name

func (node *TextTime) Name() string

func (*TextTime) Nodes

func (node *TextTime) Nodes() []Node

func (*TextTime) Parent

func (node *TextTime) Parent() Node

type TextTitle

type TextTitle struct {
	TextFixed string `xml:"text:fixed,attr"`
	// contains filtered or unexported fields
}

TextTitle represents a <text:title> element.

func (*TextTitle) Name

func (node *TextTitle) Name() string

func (*TextTitle) Nodes

func (node *TextTitle) Nodes() []Node

func (*TextTitle) Parent

func (node *TextTitle) Parent() Node

type TextTocMark

type TextTocMark struct {
	// contains filtered or unexported fields
}

TextTocMark represents a <text:toc-mark> element.

func (*TextTocMark) Name

func (node *TextTocMark) Name() string

func (*TextTocMark) Nodes

func (node *TextTocMark) Nodes() []Node

func (*TextTocMark) Parent

func (node *TextTocMark) Parent() Node

type TextTocMarkEnd

type TextTocMarkEnd struct {
	// contains filtered or unexported fields
}

TextTocMarkEnd represents a <text:toc-mark-end> element.

func (*TextTocMarkEnd) Name

func (node *TextTocMarkEnd) Name() string

func (*TextTocMarkEnd) Nodes

func (node *TextTocMarkEnd) Nodes() []Node

func (*TextTocMarkEnd) Parent

func (node *TextTocMarkEnd) Parent() Node

type TextTocMarkStart

type TextTocMarkStart struct {
	// contains filtered or unexported fields
}

TextTocMarkStart represents a <text:toc-mark-start> element.

func (*TextTocMarkStart) Name

func (node *TextTocMarkStart) Name() string

func (*TextTocMarkStart) Nodes

func (node *TextTocMarkStart) Nodes() []Node

func (*TextTocMarkStart) Parent

func (node *TextTocMarkStart) Parent() Node

type TextTrackedChanges

type TextTrackedChanges struct {
	// contains filtered or unexported fields
}

TextTrackedChanges represents a <text:tracked-changes> element.

func (*TextTrackedChanges) Name

func (node *TextTrackedChanges) Name() string

func (*TextTrackedChanges) Nodes

func (node *TextTrackedChanges) Nodes() []Node

func (*TextTrackedChanges) Parent

func (node *TextTrackedChanges) Parent() Node

type TextUseSoftPageBreaks

type TextUseSoftPageBreaks struct {
	// contains filtered or unexported fields
}

TextUseSoftPageBreaks represents a <text:use-soft-page-breaks> element.

func (*TextUseSoftPageBreaks) Name

func (node *TextUseSoftPageBreaks) Name() string

func (*TextUseSoftPageBreaks) Nodes

func (node *TextUseSoftPageBreaks) Nodes() []Node

func (*TextUseSoftPageBreaks) Parent

func (node *TextUseSoftPageBreaks) Parent() Node

type TextUserDefined

type TextUserDefined struct {
	// contains filtered or unexported fields
}

TextUserDefined represents a <text:user-defined> element.

func (*TextUserDefined) Name

func (node *TextUserDefined) Name() string

func (*TextUserDefined) Nodes

func (node *TextUserDefined) Nodes() []Node

func (*TextUserDefined) Parent

func (node *TextUserDefined) Parent() Node

type TextUserFieldDecls

type TextUserFieldDecls struct {
	// contains filtered or unexported fields
}

TextUserFieldDecls represents a <text:user-field-decls> element.

func (*TextUserFieldDecls) Name

func (node *TextUserFieldDecls) Name() string

func (*TextUserFieldDecls) Nodes

func (node *TextUserFieldDecls) Nodes() []Node

func (*TextUserFieldDecls) Parent

func (node *TextUserFieldDecls) Parent() Node

type TextUserFieldGet

type TextUserFieldGet struct {
	// contains filtered or unexported fields
}

TextUserFieldGet represents a <text:user-field-get> element.

func (*TextUserFieldGet) Name

func (node *TextUserFieldGet) Name() string

func (*TextUserFieldGet) Nodes

func (node *TextUserFieldGet) Nodes() []Node

func (*TextUserFieldGet) Parent

func (node *TextUserFieldGet) Parent() Node

type TextUserFieldInput

type TextUserFieldInput struct {
	// contains filtered or unexported fields
}

TextUserFieldInput represents a <text:user-field-input> element.

func (*TextUserFieldInput) Name

func (node *TextUserFieldInput) Name() string

func (*TextUserFieldInput) Nodes

func (node *TextUserFieldInput) Nodes() []Node

func (*TextUserFieldInput) Parent

func (node *TextUserFieldInput) Parent() Node

type TextUserIndex

type TextUserIndex struct {
	// contains filtered or unexported fields
}

TextUserIndex represents a <text:user-index> element.

func (*TextUserIndex) Name

func (node *TextUserIndex) Name() string

func (*TextUserIndex) Nodes

func (node *TextUserIndex) Nodes() []Node

func (*TextUserIndex) Parent

func (node *TextUserIndex) Parent() Node

type TextUserIndexMark

type TextUserIndexMark struct {
	// contains filtered or unexported fields
}

TextUserIndexMark represents a <text:user-index-mark> element.

func (*TextUserIndexMark) Name

func (node *TextUserIndexMark) Name() string

func (*TextUserIndexMark) Nodes

func (node *TextUserIndexMark) Nodes() []Node

func (*TextUserIndexMark) Parent

func (node *TextUserIndexMark) Parent() Node

type TextUserIndexMarkEnd

type TextUserIndexMarkEnd struct {
	// contains filtered or unexported fields
}

TextUserIndexMarkEnd represents a <text:user-index-mark-end> element.

func (*TextUserIndexMarkEnd) Name

func (node *TextUserIndexMarkEnd) Name() string

func (*TextUserIndexMarkEnd) Nodes

func (node *TextUserIndexMarkEnd) Nodes() []Node

func (*TextUserIndexMarkEnd) Parent

func (node *TextUserIndexMarkEnd) Parent() Node

type TextUserIndexMarkStart

type TextUserIndexMarkStart struct {
	// contains filtered or unexported fields
}

TextUserIndexMarkStart represents a <text:user-index-mark-start> element.

func (*TextUserIndexMarkStart) Name

func (node *TextUserIndexMarkStart) Name() string

func (*TextUserIndexMarkStart) Nodes

func (node *TextUserIndexMarkStart) Nodes() []Node

func (*TextUserIndexMarkStart) Parent

func (node *TextUserIndexMarkStart) Parent() Node

type TextVariableDecls

type TextVariableDecls struct {
	// contains filtered or unexported fields
}

TextVariableDecls represents a <text:variable-decls> element.

func (*TextVariableDecls) Name

func (node *TextVariableDecls) Name() string

func (*TextVariableDecls) Nodes

func (node *TextVariableDecls) Nodes() []Node

func (*TextVariableDecls) Parent

func (node *TextVariableDecls) Parent() Node

type TextVariableGet

type TextVariableGet struct {
	// contains filtered or unexported fields
}

TextVariableGet represents a <text:variable-get> element.

func (*TextVariableGet) Name

func (node *TextVariableGet) Name() string

func (*TextVariableGet) Nodes

func (node *TextVariableGet) Nodes() []Node

func (*TextVariableGet) Parent

func (node *TextVariableGet) Parent() Node

type TextVariableInput

type TextVariableInput struct {
	// contains filtered or unexported fields
}

TextVariableInput represents a <text:variable-input> element.

func (*TextVariableInput) Name

func (node *TextVariableInput) Name() string

func (*TextVariableInput) Nodes

func (node *TextVariableInput) Nodes() []Node

func (*TextVariableInput) Parent

func (node *TextVariableInput) Parent() Node

type TextVariableSet

type TextVariableSet struct {
	// contains filtered or unexported fields
}

TextVariableSet represents a <text:variable-set> element.

func (*TextVariableSet) Name

func (node *TextVariableSet) Name() string

func (*TextVariableSet) Nodes

func (node *TextVariableSet) Nodes() []Node

func (*TextVariableSet) Parent

func (node *TextVariableSet) Parent() Node

type TextWordCount

type TextWordCount struct {
	// contains filtered or unexported fields
}

TextWordCount represents a <text:word-count> element.

func (*TextWordCount) Name

func (node *TextWordCount) Name() string

func (*TextWordCount) Nodes

func (node *TextWordCount) Nodes() []Node

func (*TextWordCount) Parent

func (node *TextWordCount) Parent() Node

type WalkFunc

type WalkFunc func(n Node, entering bool) (WalkStatus, error)

WalkFunc is a function that will be called when Walk find a new node. entering is set to true before walking through children. It is set to false after having walked through children.

If WalkFunc returns an error, the Walk function immediately stops traversing the tree of nodes.

type WalkStatus

type WalkStatus byte

WalkStatus represents the current state of an AST traversal.

const (
	WalkInvalid WalkStatus = iota
	WalkStop
	WalkSkipChildren
	WalkContinue
)

type XhtmlAbout

type XhtmlAbout struct {
	// contains filtered or unexported fields
}

XhtmlAbout represents a <xhtml:about> element.

func (*XhtmlAbout) Name

func (node *XhtmlAbout) Name() string

func (*XhtmlAbout) Nodes

func (node *XhtmlAbout) Nodes() []Node

func (*XhtmlAbout) Parent

func (node *XhtmlAbout) Parent() Node

type XhtmlContent

type XhtmlContent struct {
	// contains filtered or unexported fields
}

XhtmlContent represents a <xhtml:content> element.

func (*XhtmlContent) Name

func (node *XhtmlContent) Name() string

func (*XhtmlContent) Nodes

func (node *XhtmlContent) Nodes() []Node

func (*XhtmlContent) Parent

func (node *XhtmlContent) Parent() Node

type XhtmlDatatype

type XhtmlDatatype struct {
	// contains filtered or unexported fields
}

XhtmlDatatype represents a <xhtml:datatype> element.

func (*XhtmlDatatype) Name

func (node *XhtmlDatatype) Name() string

func (*XhtmlDatatype) Nodes

func (node *XhtmlDatatype) Nodes() []Node

func (*XhtmlDatatype) Parent

func (node *XhtmlDatatype) Parent() Node

type XhtmlProperty

type XhtmlProperty struct {
	// contains filtered or unexported fields
}

XhtmlProperty represents a <xhtml:property> element.

func (*XhtmlProperty) Name

func (node *XhtmlProperty) Name() string

func (*XhtmlProperty) Nodes

func (node *XhtmlProperty) Nodes() []Node

func (*XhtmlProperty) Parent

func (node *XhtmlProperty) Parent() Node

type XmlID

type XmlID struct {
	// contains filtered or unexported fields
}

XmlID represents a <xml:id> element.

func (*XmlID) Name

func (node *XmlID) Name() string

func (*XmlID) Nodes

func (node *XmlID) Nodes() []Node

func (*XmlID) Parent

func (node *XmlID) Parent() Node

type XmlnsCalcext

type XmlnsCalcext struct {
	// contains filtered or unexported fields
}

XmlnsCalcext represents a <xmlns:calcext> element.

func (*XmlnsCalcext) Name

func (node *XmlnsCalcext) Name() string

func (*XmlnsCalcext) Nodes

func (node *XmlnsCalcext) Nodes() []Node

func (*XmlnsCalcext) Parent

func (node *XmlnsCalcext) Parent() Node

type XmlnsChart

type XmlnsChart struct {
	// contains filtered or unexported fields
}

XmlnsChart represents a <xmlns:chart> element.

func (*XmlnsChart) Name

func (node *XmlnsChart) Name() string

func (*XmlnsChart) Nodes

func (node *XmlnsChart) Nodes() []Node

func (*XmlnsChart) Parent

func (node *XmlnsChart) Parent() Node

type XmlnsCss3t

type XmlnsCss3t struct {
	// contains filtered or unexported fields
}

XmlnsCss3t represents a <xmlns:css3t> element.

func (*XmlnsCss3t) Name

func (node *XmlnsCss3t) Name() string

func (*XmlnsCss3t) Nodes

func (node *XmlnsCss3t) Nodes() []Node

func (*XmlnsCss3t) Parent

func (node *XmlnsCss3t) Parent() Node

type XmlnsDc

type XmlnsDc struct {
	// contains filtered or unexported fields
}

XmlnsDc represents a <xmlns:dc> element.

func (*XmlnsDc) Name

func (node *XmlnsDc) Name() string

func (*XmlnsDc) Nodes

func (node *XmlnsDc) Nodes() []Node

func (*XmlnsDc) Parent

func (node *XmlnsDc) Parent() Node

type XmlnsDom

type XmlnsDom struct {
	// contains filtered or unexported fields
}

XmlnsDom represents a <xmlns:dom> element.

func (*XmlnsDom) Name

func (node *XmlnsDom) Name() string

func (*XmlnsDom) Nodes

func (node *XmlnsDom) Nodes() []Node

func (*XmlnsDom) Parent

func (node *XmlnsDom) Parent() Node

type XmlnsDr3d

type XmlnsDr3d struct {
	// contains filtered or unexported fields
}

XmlnsDr3d represents a <xmlns:dr3d> element.

func (*XmlnsDr3d) Name

func (node *XmlnsDr3d) Name() string

func (*XmlnsDr3d) Nodes

func (node *XmlnsDr3d) Nodes() []Node

func (*XmlnsDr3d) Parent

func (node *XmlnsDr3d) Parent() Node

type XmlnsDraw

type XmlnsDraw struct {
	// contains filtered or unexported fields
}

XmlnsDraw represents a <xmlns:draw> element.

func (*XmlnsDraw) Name

func (node *XmlnsDraw) Name() string

func (*XmlnsDraw) Nodes

func (node *XmlnsDraw) Nodes() []Node

func (*XmlnsDraw) Parent

func (node *XmlnsDraw) Parent() Node

type XmlnsDrawooo

type XmlnsDrawooo struct {
	// contains filtered or unexported fields
}

XmlnsDrawooo represents a <xmlns:drawooo> element.

func (*XmlnsDrawooo) Name

func (node *XmlnsDrawooo) Name() string

func (*XmlnsDrawooo) Nodes

func (node *XmlnsDrawooo) Nodes() []Node

func (*XmlnsDrawooo) Parent

func (node *XmlnsDrawooo) Parent() Node

type XmlnsField

type XmlnsField struct {
	// contains filtered or unexported fields
}

XmlnsField represents a <xmlns:field> element.

func (*XmlnsField) Name

func (node *XmlnsField) Name() string

func (*XmlnsField) Nodes

func (node *XmlnsField) Nodes() []Node

func (*XmlnsField) Parent

func (node *XmlnsField) Parent() Node

type XmlnsFo

type XmlnsFo struct {
	// contains filtered or unexported fields
}

XmlnsFo represents a <xmlns:fo> element.

func (*XmlnsFo) Name

func (node *XmlnsFo) Name() string

func (*XmlnsFo) Nodes

func (node *XmlnsFo) Nodes() []Node

func (*XmlnsFo) Parent

func (node *XmlnsFo) Parent() Node

type XmlnsForm

type XmlnsForm struct {
	// contains filtered or unexported fields
}

XmlnsForm represents a <xmlns:form> element.

func (*XmlnsForm) Name

func (node *XmlnsForm) Name() string

func (*XmlnsForm) Nodes

func (node *XmlnsForm) Nodes() []Node

func (*XmlnsForm) Parent

func (node *XmlnsForm) Parent() Node

type XmlnsFormx

type XmlnsFormx struct {
	// contains filtered or unexported fields
}

XmlnsFormx represents a <xmlns:formx> element.

func (*XmlnsFormx) Name

func (node *XmlnsFormx) Name() string

func (*XmlnsFormx) Nodes

func (node *XmlnsFormx) Nodes() []Node

func (*XmlnsFormx) Parent

func (node *XmlnsFormx) Parent() Node

type XmlnsGrddl

type XmlnsGrddl struct {
	// contains filtered or unexported fields
}

XmlnsGrddl represents a <xmlns:grddl> element.

func (*XmlnsGrddl) Name

func (node *XmlnsGrddl) Name() string

func (*XmlnsGrddl) Nodes

func (node *XmlnsGrddl) Nodes() []Node

func (*XmlnsGrddl) Parent

func (node *XmlnsGrddl) Parent() Node

type XmlnsLoext

type XmlnsLoext struct {
	// contains filtered or unexported fields
}

XmlnsLoext represents a <xmlns:loext> element.

func (*XmlnsLoext) Name

func (node *XmlnsLoext) Name() string

func (*XmlnsLoext) Nodes

func (node *XmlnsLoext) Nodes() []Node

func (*XmlnsLoext) Parent

func (node *XmlnsLoext) Parent() Node

type XmlnsMath

type XmlnsMath struct {
	// contains filtered or unexported fields
}

XmlnsMath represents a <xmlns:math> element.

func (*XmlnsMath) Name

func (node *XmlnsMath) Name() string

func (*XmlnsMath) Nodes

func (node *XmlnsMath) Nodes() []Node

func (*XmlnsMath) Parent

func (node *XmlnsMath) Parent() Node

type XmlnsMeta

type XmlnsMeta struct {
	// contains filtered or unexported fields
}

XmlnsMeta represents a <xmlns:meta> element.

func (*XmlnsMeta) Name

func (node *XmlnsMeta) Name() string

func (*XmlnsMeta) Nodes

func (node *XmlnsMeta) Nodes() []Node

func (*XmlnsMeta) Parent

func (node *XmlnsMeta) Parent() Node

type XmlnsNumber

type XmlnsNumber struct {
	// contains filtered or unexported fields
}

XmlnsNumber represents a <xmlns:number> element.

func (*XmlnsNumber) Name

func (node *XmlnsNumber) Name() string

func (*XmlnsNumber) Nodes

func (node *XmlnsNumber) Nodes() []Node

func (*XmlnsNumber) Parent

func (node *XmlnsNumber) Parent() Node

type XmlnsOf

type XmlnsOf struct {
	// contains filtered or unexported fields
}

XmlnsOf represents a <xmlns:of> element.

func (*XmlnsOf) Name

func (node *XmlnsOf) Name() string

func (*XmlnsOf) Nodes

func (node *XmlnsOf) Nodes() []Node

func (*XmlnsOf) Parent

func (node *XmlnsOf) Parent() Node

type XmlnsOffice

type XmlnsOffice struct {
	// contains filtered or unexported fields
}

XmlnsOffice represents a <xmlns:office> element.

func (*XmlnsOffice) Name

func (node *XmlnsOffice) Name() string

func (*XmlnsOffice) Nodes

func (node *XmlnsOffice) Nodes() []Node

func (*XmlnsOffice) Parent

func (node *XmlnsOffice) Parent() Node

type XmlnsOfficeooo

type XmlnsOfficeooo struct {
	// contains filtered or unexported fields
}

XmlnsOfficeooo represents a <xmlns:officeooo> element.

func (*XmlnsOfficeooo) Name

func (node *XmlnsOfficeooo) Name() string

func (*XmlnsOfficeooo) Nodes

func (node *XmlnsOfficeooo) Nodes() []Node

func (*XmlnsOfficeooo) Parent

func (node *XmlnsOfficeooo) Parent() Node

type XmlnsOoo

type XmlnsOoo struct {
	// contains filtered or unexported fields
}

XmlnsOoo represents a <xmlns:ooo> element.

func (*XmlnsOoo) Name

func (node *XmlnsOoo) Name() string

func (*XmlnsOoo) Nodes

func (node *XmlnsOoo) Nodes() []Node

func (*XmlnsOoo) Parent

func (node *XmlnsOoo) Parent() Node

type XmlnsOooc

type XmlnsOooc struct {
	// contains filtered or unexported fields
}

XmlnsOooc represents a <xmlns:oooc> element.

func (*XmlnsOooc) Name

func (node *XmlnsOooc) Name() string

func (*XmlnsOooc) Nodes

func (node *XmlnsOooc) Nodes() []Node

func (*XmlnsOooc) Parent

func (node *XmlnsOooc) Parent() Node

type XmlnsOoow

type XmlnsOoow struct {
	// contains filtered or unexported fields
}

XmlnsOoow represents a <xmlns:ooow> element.

func (*XmlnsOoow) Name

func (node *XmlnsOoow) Name() string

func (*XmlnsOoow) Nodes

func (node *XmlnsOoow) Nodes() []Node

func (*XmlnsOoow) Parent

func (node *XmlnsOoow) Parent() Node

type XmlnsRpt

type XmlnsRpt struct {
	// contains filtered or unexported fields
}

XmlnsRpt represents a <xmlns:rpt> element.

func (*XmlnsRpt) Name

func (node *XmlnsRpt) Name() string

func (*XmlnsRpt) Nodes

func (node *XmlnsRpt) Nodes() []Node

func (*XmlnsRpt) Parent

func (node *XmlnsRpt) Parent() Node

type XmlnsScript

type XmlnsScript struct {
	// contains filtered or unexported fields
}

XmlnsScript represents a <xmlns:script> element.

func (*XmlnsScript) Name

func (node *XmlnsScript) Name() string

func (*XmlnsScript) Nodes

func (node *XmlnsScript) Nodes() []Node

func (*XmlnsScript) Parent

func (node *XmlnsScript) Parent() Node

type XmlnsStyle

type XmlnsStyle struct {
	// contains filtered or unexported fields
}

XmlnsStyle represents a <xmlns:style> element.

func (*XmlnsStyle) Name

func (node *XmlnsStyle) Name() string

func (*XmlnsStyle) Nodes

func (node *XmlnsStyle) Nodes() []Node

func (*XmlnsStyle) Parent

func (node *XmlnsStyle) Parent() Node

type XmlnsSvg

type XmlnsSvg struct {
	// contains filtered or unexported fields
}

XmlnsSvg represents a <xmlns:svg> element.

func (*XmlnsSvg) Name

func (node *XmlnsSvg) Name() string

func (*XmlnsSvg) Nodes

func (node *XmlnsSvg) Nodes() []Node

func (*XmlnsSvg) Parent

func (node *XmlnsSvg) Parent() Node

type XmlnsTable

type XmlnsTable struct {
	// contains filtered or unexported fields
}

XmlnsTable represents a <xmlns:table> element.

func (*XmlnsTable) Name

func (node *XmlnsTable) Name() string

func (*XmlnsTable) Nodes

func (node *XmlnsTable) Nodes() []Node

func (*XmlnsTable) Parent

func (node *XmlnsTable) Parent() Node

type XmlnsTableooo

type XmlnsTableooo struct {
	// contains filtered or unexported fields
}

XmlnsTableooo represents a <xmlns:tableooo> element.

func (*XmlnsTableooo) Name

func (node *XmlnsTableooo) Name() string

func (*XmlnsTableooo) Nodes

func (node *XmlnsTableooo) Nodes() []Node

func (*XmlnsTableooo) Parent

func (node *XmlnsTableooo) Parent() Node

type XmlnsText

type XmlnsText struct {
	// contains filtered or unexported fields
}

XmlnsText represents a <xmlns:text> element.

func (*XmlnsText) Name

func (node *XmlnsText) Name() string

func (*XmlnsText) Nodes

func (node *XmlnsText) Nodes() []Node

func (*XmlnsText) Parent

func (node *XmlnsText) Parent() Node

type XmlnsXforms

type XmlnsXforms struct {
	// contains filtered or unexported fields
}

XmlnsXforms represents a <xmlns:xforms> element.

func (*XmlnsXforms) Name

func (node *XmlnsXforms) Name() string

func (*XmlnsXforms) Nodes

func (node *XmlnsXforms) Nodes() []Node

func (*XmlnsXforms) Parent

func (node *XmlnsXforms) Parent() Node

type XmlnsXhtml

type XmlnsXhtml struct {
	// contains filtered or unexported fields
}

XmlnsXhtml represents a <xmlns:xhtml> element.

func (*XmlnsXhtml) Name

func (node *XmlnsXhtml) Name() string

func (*XmlnsXhtml) Nodes

func (node *XmlnsXhtml) Nodes() []Node

func (*XmlnsXhtml) Parent

func (node *XmlnsXhtml) Parent() Node
type XmlnsXlink struct {
	// contains filtered or unexported fields
}

XmlnsXlink represents a <xmlns:xlink> element.

func (*XmlnsXlink) Name

func (node *XmlnsXlink) Name() string

func (*XmlnsXlink) Nodes

func (node *XmlnsXlink) Nodes() []Node

func (*XmlnsXlink) Parent

func (node *XmlnsXlink) Parent() Node

type XmlnsXsd

type XmlnsXsd struct {
	// contains filtered or unexported fields
}

XmlnsXsd represents a <xmlns:xsd> element.

func (*XmlnsXsd) Name

func (node *XmlnsXsd) Name() string

func (*XmlnsXsd) Nodes

func (node *XmlnsXsd) Nodes() []Node

func (*XmlnsXsd) Parent

func (node *XmlnsXsd) Parent() Node

type XmlnsXsi

type XmlnsXsi struct {
	// contains filtered or unexported fields
}

XmlnsXsi represents a <xmlns:xsi> element.

func (*XmlnsXsi) Name

func (node *XmlnsXsi) Name() string

func (*XmlnsXsi) Nodes

func (node *XmlnsXsi) Nodes() []Node

func (*XmlnsXsi) Parent

func (node *XmlnsXsi) Parent() Node

Directories

Path Synopsis
cmd
odt-dump
Command odt-dump prints the AST of an ODT document.
Command odt-dump prints the AST of an ODT document.
odt2md
Command odt2md converts an ODT document into a CommonMark one.
Command odt2md converts an ODT document into a CommonMark one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL