powerpoint_struct

package
v0.0.0-...-ec58609 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentTypes

type ContentTypes struct {
	ContentTypesXml     ContentTypesXml
	ContentTypesXmlRels ContentTypesXmlRels
}

type ContentTypesXml

type ContentTypesXml struct {
	XMLName  string                    `xml:"Types"`
	Xmlns    string                    `xml:"xmlns,attr"`
	Default  []ContentTypesXmlDefault  `xml:"Default"`
	Override []ContentTypesXmlOverride `xml:"Override"`
}

[Content_types].xml

type ContentTypesXmlDefault

type ContentTypesXmlDefault struct {
	Extension   string `xml:"Extension,attr"`
	ContentType string `xml:"ContentType,attr"`
}

type ContentTypesXmlOverride

type ContentTypesXmlOverride struct {
	PartName    string `xml:"PartName,attr"`
	ContentType string `xml:"ContentType,attr"`
}

type ContentTypesXmlRels

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

_rels/.rels

type ContentTypesXmlRelsRelationship

type ContentTypesXmlRelsRelationship struct {
	Id     string `xml:"Id,attr"`
	Type   string `xml:"Type,attr"`
	Target string `xml:"Target,attr"`
}

type DocProps

type DocProps struct {
	App    DocPropsApp
	Core   DocPropsCore
	Custom DocPropsCustom
}

type DocPropsApp

type DocPropsApp struct {
	XMLName           string `xml:"Properties"`
	Xmlns             string `xml:"xmlns,attr"`
	XmlnsVt           string `xml:"xmlns:vt,attr"`
	Application       string `xml:"Application"`
	Slides            int    `xml:"Slides"`
	ScaleCrop         bool   `xml:"ScaleCrop"`
	HeadingPairs      DocPropsAppHeadingPairs
	TitlesOfParts     DocPropsAppTitlesOfParts
	Company           string `xml:"Company"`
	LinksUpToDate     bool   `xml:"LinksUpToDate"`
	SharedDoc         bool   `xml:"SharedDoc"`
	HyperlinksChanged bool   `xml:"HyperlinksChanged"`
	AppVersion        string `xml:"AppVersion"`
}

docProps/app.xml

type DocPropsAppHeadingPairs

type DocPropsAppHeadingPairs struct {
	Size      int                                `xml:"size,attr"`
	BaseType  string                             `xml:"baseType,attr"`
	VtVariant []DocPropsAppHeadingPairsVtVariant `xml:"vt:variant"`
}

type DocPropsAppHeadingPairsVtVariant

type DocPropsAppHeadingPairsVtVariant struct {
	VtLpstr string `xml:"vt:lpstr"`
	VtI4    int    `xml:"vt:i4"`
}

type DocPropsAppTitlesOfParts

type DocPropsAppTitlesOfParts struct {
	Size     int    `xml:"size,attr"`
	BaseType string `xml:"baseType,attr"`
	VtLpstr  string `xml:"vt:lpstr"`
}

type DocPropsCore

type DocPropsCore struct {
	XMLName       xml.Name `xml:"cp:coreProperties"`
	XmlnsCp       string   `xml:"xmlns cp,attr"`
	XmlnsDc       string   `xml:"xmlns dc,attr"`
	XmlnsDcterms  string   `xml:"xmlns dcterms,attr"`
	XmlnsDcmitype string   `xml:"xmlns dcmitype,attr"`
	XmlnsXsi      string   `xml:"xmlns xsi,attr"`

	DcCreator        xml.CharData                `xml:"dc:creator"`
	CpLastModifiedBy string                      `xml:"cp:lastModifiedBy"`
	DctermsCreated   DocPropsCoreDctermsCreated  `xml:"dcterms:created"`
	DctermsModified  DocPropsCoreDctermsModified `xml:"dcterms:modified"`
	DcTitle          string                      `xml:"dc:title"`
	DcDescription    string                      `xml:"dc:description"`
	DcSubject        string                      `xml:"dc:subject"`
	CpKeywords       string                      `xml:"cp:keywords"`
	CpCategory       string                      `xml:"cp:category"`
}

docProps/core.xml

type DocPropsCoreDctermsCreated

type DocPropsCoreDctermsCreated struct {
	XMLName        xml.Name `xml:"dcterms:created"`
	XsiType        string   `xml:"xsi:type,attr"`
	DctermsCreated string   `xml:",innerxml"`
}

type DocPropsCoreDctermsModified

type DocPropsCoreDctermsModified struct {
	XMLName        xml.Name `xml:"dcterms:modified"`
	XsiType        string   `xml:"xsi:type,attr"`
	DctermsCreated string   `xml:",innerxml"`
}

type DocPropsCustom

type DocPropsCustom struct {
	XMLName string `xml:"Properties"`
	Xmlns   string `xml:"xmlns,attr"`
	XmlnsVt string `xml:"xmlns:vt,attr"`
}

docProps/custom.xml

type FileContent

type FileContent struct {
	Name    string
	Content []byte
}

type PowerPoint

type PowerPoint struct {
	ContentTypes ContentTypes
	Ppts         Ppts
	DocProps     DocProps
	Files        []FileContent
}

type Ppts

type Ppts struct {
	Medias           []interface{}
	Slides           []interface{}
	Themes           []interface{}
	Masters          []interface{}
	Layouts          []interface{}
	Presentation     interface{}
	PresentationRels interface{}
	PresProps        interface{}
	TableStyles      interface{}
	ViewProps        interface{}
}

Jump to

Keyboard shortcuts

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