document

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	Items []interface{}
}

Body <w:body> Body.Items 文本内容格式

type Document

type Document struct {
	XMLName xml.Name `xml:"w:document"`
	XmlW    string   `xml:"xmlns:w,attr"`             // cannot be unmarshalled in
	XmlR    string   `xml:"xmlns:r,attr,omitempty"`   // cannot be unmarshalled in
	XmlWp   string   `xml:"xmlns:wp,attr,omitempty"`  // cannot be unmarshalled in
	XmlWps  string   `xml:"xmlns:wps,attr,omitempty"` // cannot be unmarshalled in
	XmlWpc  string   `xml:"xmlns:wpc,attr,omitempty"` // cannot be unmarshalled in
	XmlWpg  string   `xml:"xmlns:wpg,attr,omitempty"` // cannot be unmarshalled in

	Body Body `xml:"w:body"`
}

Document docx对象

type Relationship

type Relationship struct {
	ID         string `xml:"Id,attr"`
	Type       string `xml:"Type,attr"`
	Target     string `xml:"Target,attr"`
	TargetMode string `xml:"TargetMode,attr,omitempty"`
}

Relationship ...

type Relationships

type Relationships struct {
	Xmlns        string `xml:"xmlns,attr"`
	Relationship []Relationship
}

Relationships ...

Jump to

Keyboard shortcuts

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