template

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppXmlStart         = `<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties">`
	AppTemplateStart    = `<Template>`
	AppTemplateEnd      = `</Template>`
	AppApplicationStart = `<Application>`
	AppApplicationEnd   = `</Application>`
	AppSecurityStart    = `<DocSecurity>`
	AppSecurityEnd      = `</DocSecurity>`
	AppXmlEnd           = `</Properties>`
)
View Source
const (
	ContentTypesStart = `<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">`
	ContentTypesEnd   = `</Types>`

	ContentTypesOverrideTag         = `Override`
	ContentTypesOverridePartName    = `PartName`
	ContentTypesOverrideContentType = `ContentType`
)
View Source
const (
	CoreXmlStart        = `` /* 242-byte string literal not displayed */
	CoreCreateTimeStart = `<dcterms:created xsi:type="dcterms:W3CDTF">`
	CoreCreateTimeEnd   = `</dcterms:created>`
	CoreCreateUserStart = `<dc:creator>`
	CoreCreateUserEnd   = `</dc:creator>`
	CoreModifyTimeStart = `<dcterms:modified xsi:type="dcterms:W3CDTF">`
	CoreModifyTimeEnd   = `</dcterms:modified>`
	CoreModifyUserStart = `<cp:lastModifiedBy>`
	CoreModifyUserEnd   = `</cp:lastModifiedBy>`
	CoreVersionStart    = `<cp:revision>`
	CoreVersionEnd      = `</cp:revision>`
	CoreXmlEnd          = `</cp:coreProperties>`
)
View Source
const (
	DocumentStart = `` /* 161-byte string literal not displayed */
	DocumentEnd   = `</w:document>`

	DocumentBodyStart = `<w:body>`
	DocumentBodyEnd   = `</w:body>`

	BackgroundTag        = `w:background`
	BackgroundColor      = `w:color`
	BackgroundThemeColor = `w:themeColor`
	BackgroundThemeShade = `w:themeShade`
	BackgroundThemeTint  = `w:themeTint`
)
View Source
const (
	FooterStart = `<w:ftr xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">`
	FooterEnd   = `</w:ftr>`
)
View Source
const (
	HeaderStart = `<w:hdr xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">`
	HeaderEnd   = `</w:hdr>`
)
View Source
const (
	ParagraphStart  = `<w:p>`
	ParagraphEnd    = `</w:p>`
	ParagraphSingle = `<w:p/>`

	ParagraphPPrStart = `<w:pPr>`
	ParagraphPPrEnd   = `</w:pPr>`

	ParagraphPPrStyleTag = `w:pStyle`
	ParagraphPPrStyleVal = `w:val`

	ParagraphPPrHorizontalAlignment = `<w:jc w:val="{{TYPE}}"/>`
	ParagraphPPrBorderStart         = `<w:pBdr>`
	ParagraphPPrBorderEnd           = `</w:pBdr>`
	ParagraphPPrBorderTop           = `w:top`
	ParagraphPPrBorderRight         = `w:right`
	ParagraphPPrBorderBottom        = `w:bottom`
	ParagraphPPrBorderLeft          = `w:left`
	ParagraphPPrBorderStyle         = `w:val`
	ParagraphPPrBorderSize          = `w:sz`
	ParagraphPPrBorderSpace         = `w:space`
	ParagraphPPrBorderColor         = `w:color`
	ParagraphPPrBorderShadow        = `w:shadow`
	ParagraphPPrKeepLines           = `<w:keeplines/>`
	ParagraphPPrKeepNext            = `<w:keepNext/>`

	ParagraphPPrIndentationTag       = `w:ind`
	ParagraphPPrIndentationLeft      = `w:left`
	ParagraphPPrIndentationStart     = `w:start`
	ParagraphPPrIndentationRight     = `w:right`
	ParagraphPPrIndentationEnd       = `w:end`
	ParagraphPPrIndentationHanging   = `w:hanging`
	ParagraphPPrIndentationFirstLine = `w:firstLine`

	ParagraphPPrBackgroundTag   = `w:shd`
	ParagraphPPrBackgroundFill  = `w:fill`
	ParagraphPPrBackgroundColor = `w:color`
	ParagraphPPrBackgroundVal   = `w:val`

	ParagraphPPrSpacingTag               = `w:spacing`
	ParagraphPPrSpacingAfter             = `w:after`
	ParagraphPPrSpacingBefore            = `w:before`
	ParagraphPPrSpacingLine              = `w:line`
	ParagraphPPrSpacingLineRule          = `w:lineRule`
	ParagraphPPrSpacingBeforeAutoSpacing = `w:beforeAutospacing`
	ParagraphPPrSpacingAfterAutoSpacing  = `w:afterAutospacing`
)
View Source
const (
	RelationshipXmlStart = `<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">`
	RelationshipXmlEnd   = `</Relationships>`

	RelationshipTag    = `Relationship`
	RelationshipId     = `Id`
	RelationshipType   = `Type`
	RelationshipTarget = `Target`
)
View Source
const (
	RunStart = `<w:r>`
	RunEnd   = `</w:r>`

	RunTextTag   = `w:t`
	RunTextSpace = `xml:space`

	BreakLine = `<w:br w:type="{{TYPE}}" w:clear="{{CLEAR}}"/>`

	RunRPrStart = `<w:rPr>`
	RunRPrEnd   = `</w:rPr>`

	RunRPrStyleTag = `w:rStyle`

	RunRPrVal             = `w:val`
	RunRPrBold            = `<w:b w:val="true"/>`
	RunRPrItalics         = `<w:i w:val="true"/>`
	RunRPrColorTag        = `w:color`
	RunRPrDStrike         = `<w:dstrike w:val="true"/>`
	RunRPrStrike          = `<w:strike w:val="true"/>`
	RunRPrEmboss          = `<w:emboss w:val="true"/>`
	RunRPrImprint         = `<w:imprint w:val="true"/>`
	RunRPrShadow          = `<w:shadow w:val="true"/>`
	RunRPrSizeTag         = `w:sz`
	RunRPrUnderlineTag    = `w:u`
	RunRPrUnderlineColor  = `w:color`
	RunRPrVanish          = `<vanish/>`
	RunPPrBackgroundTag   = `w:shd`
	RunPPrBackgroundFill  = `w:fill`
	RunPPrBackgroundColor = `w:color`
	RunRPrHighlightTag    = `w:highlight`
)
View Source
const (
	SectionStart = `<w:sectPr>`
	SectionEnd   = `</w:sectPr>`

	SectionColsTag        = `w:cols`
	SectionColsNum        = `w:num`
	SectionColsSpace      = `w:space`
	SectionColsEqualWidth = `w:equalWidth`
	SectionColsSep        = `w:sep`

	SectionColTag   = `w:col`
	SectionColWidth = `w:w`
	SectionColSpace = `w:space`

	SectionLineNumberTag      = `w:lnNumType`
	SectionLineNumberCountBy  = `w:countBy`
	SectionLineNumberStart    = `w:start`
	SectionLineNumberRestart  = `w:restart`
	SectionLineNumberDistance = `w:distance`

	SectionPageMarginTag    = `w:pgMar`
	SectionPageMarginHeader = `w:header`
	SectionPageMarginFooter = `w:footer`
	SectionPageMarginTop    = `w:top`
	SectionPageMarginBottom = `w:bottom`
	SectionPageMarginLeft   = `w:left`
	SectionPageMarginRight  = `w:right`
	SectionPageMarginGutter = `w:gutter`

	SectionPageBorderTag        = `w:pgBorders`
	SectionPageBorderOffsetFrom = `w:offsetFrom`
	SectionPageBorderDisplay    = `w:display`
	SectionPageBorderZOrder     = `w:zOrder`
	SectionPageBorderTop        = `w:top`
	SectionPageBorderRight      = `w:right`
	SectionPageBorderBottom     = `w:bottom`
	SectionPageBorderLeft       = `w:left`

	SectionPageNumberTag       = `w:pgNumType`
	SectionPageNumberFmt       = `w:fmt`
	SectionPageNumberStart     = `w:start`
	SectionPageNumberChapStyle = `w:chapStyle`
	SectionPageNumberChapSep   = `w:chapSep`

	SectionPageSizeTag    = `w:pgSz`
	SectionPageSizeWidth  = `w:w`
	SectionPageSizeHeight = `w:h`
	SectionPageSizeOrient = `w:orient`

	SectionHeaderTag  = `w:headerReference`
	SectionHeaderId   = `r:id`
	SectionHeaderType = `w:type`

	SectionFooterTag  = `w:footerReference`
	SectionFooterId   = `r:id`
	SectionFooterType = `w:type`
)
View Source
const (
	StyleXmlStart = `<w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">`

	StyleDocDefaultStart = `<w:docDefaults>`
	StyleDocDefaultEnd   = `</w:docDefaults>`

	StyleDefaultParagraphStart = `<w:pPrDefault>`
	StyleDefaultParagraphEnd   = `</w:pPrDefault>`

	StyleDefaultRunStart = `<w:rPrDefault>`
	StyleDefaultRunEnd   = `</w:rPrDefault>`

	StyleStyleTag     = `w:style`
	StyleStyleNameTag = `w:name`
	StyleStyleVal     = `w:val`
	StyleStyleType    = `w:type`
	StyleStyleStyleId = `w:styleId`

	StyleXmlEnd = `</w:styles>`
)
View Source
const (
	TableTagStart     = `<w:tbl>`
	TableTagEnd       = `</w:tbl>`
	TableGridTag      = `w:tblGrid`
	TableGridColTag   = `w:gridCol`
	TableGridColWidth = `w:w`

	TblPrStart                  = `<w:tblPr>`
	TblPrEnd                    = `</w:tblPr>`
	TblPrVal                    = `w:val`
	TblPrW                      = `w:w`
	TblPrType                   = `w:type`
	TblPrHorizontalAlignmentTag = `w:jc`
	TblPrStyleTag               = `w:tblStyle`
	TblPrBorderStart            = `<w:tblBorders>`
	TblPrBorderEnd              = `</w:tblBorders>`
	TblPrBorderTopTag           = `w:top`
	TblPrBorderLeftTag          = `w:left`
	TblPrBorderBottomTag        = `w:bottom`
	TblPrBorderRightTag         = `w:right`
	TblPrBorderInsideHTag       = `w:insideH`
	TblPrBorderInsideVTag       = `w:insideV`
	TblPrBorderStyle            = `w:val`
	TblPrBorderSize             = `w:sz`
	TblPrBorderSpace            = `w:space`
	TblPrBorderColor            = `w:color`
	TblPrBorderShadow           = `w:shadow`
	TblPrCaptionTag             = `w:tblCaption`
	TblPrIndentationTag         = `w:tblInd`
	TblPrBackgroundTag          = `w:shd`
	TblPrBackgroundFill         = `w:fill`
	TblPrBackgroundColor        = `w:color`
	TblPrWidthTag               = `w:tblW`
	TblPrCellMarginStart        = `<w:tblCellMar>`
	TblPrCellMarginTopTag       = `w:top`
	TblPrCellMarginLeftTag      = `w:left`
	TblPrCellMarginBottomTag    = `w:bottom`
	TblPrCellMarginRightTag     = `w:right`
	TblPrCellMarginEnd          = `</w:tblCellMar>`
	TblPrCellSpacingTag         = `w:tblCellSpacing`
	TblPrLayoutTag              = `w:tblLayout`

	TableRowTagStart                   = `<w:tr>`
	TableRowTagEnd                     = `</w:tr>`
	TableRowTrPrStart                  = `<w:trPr>`
	TableRowTrPrEnd                    = `</w:trPr>`
	TableRowTrPrVal                    = `w:val`
	TableRowTrPrType                   = `w:type`
	TableRowTrPrCantSplitTag           = `<w:cantSplit/>`
	TableRowTrPrHiddenTag              = `<w:hidden/>`
	TableRowTrPrHorizontalAlignmentTag = `w:jc`
	TableRowTrPrCellSpacingTag         = `w:tblCellSpacing`
	TableRowTrPrHeaderTag              = `<w:tblHeader/>`
	TableRowTrPrHeightTag              = `w:trHeight`
	TableRowTrPrHeightRule             = `w:hRule`

	TableCellTagStart                = `<w:tc>`
	TableCellTagEnd                  = `</w:tc>`
	TableCellTcPrStart               = `<w:tcPr>`
	TableCellTcPrEnd                 = `</w:tcPr>`
	TableCellTcPrVal                 = `w:val`
	TableCellTcPrW                   = `w:w`
	TableCellTcPrType                = `w:type`
	TableCellTcPrNoWrapTag           = `<noWrap/>`
	TableCellTcPrGridSpanTag         = `w:gridSpan`
	TableCellTcPrTcFitTextTag        = `w:tcFitText`
	TableCellTcPrVMergeTag           = `vMerge`
	TableCellTcPrBackgroundTag       = `w:shd`
	TableCellTcPrBackgroundFill      = `w:fill`
	TableCellTcPrBackgroundColor     = `w:color`
	TableCellTcPrBorderStart         = `<w:tcBorders>`
	TableCellTcPrBorderEnd           = `</w:tcBorders>`
	TableCellTcPrBorderTopTag        = `w:top`
	TableCellTcPrBorderLeftTag       = `w:left`
	TableCellTcPrBorderBottomTag     = `w:bottom`
	TableCellTcPrBorderRightTag      = `w:right`
	TableCellTcPrBorderInsideHTag    = `w:insideH`
	TableCellTcPrBorderInsideVTag    = `w:insideV`
	TableCellTcPrBorderStyle         = `w:val`
	TableCellTcPrBorderSize          = `w:sz`
	TableCellTcPrBorderSpace         = `w:space`
	TableCellTcPrBorderColor         = `w:color`
	TableCellTcPrBorderShadow        = `w:shadow`
	TableCellTcPrCellMarginStart     = `<w:tcMar>`
	TableCellTcPrCellMarginTopTag    = `w:top`
	TableCellTcPrCellMarginLeftTag   = `w:left`
	TableCellTcPrCellMarginBottomTag = `w:bottom`
	TableCellTcPrCellMarginRightTag  = `w:right`
	TableCellTcPrCellMarginEnd       = `</w:tcMar>`
	TableCellTcPrCellWidth           = `w:tcW`
)
View Source
const Rel = `` /* 589-byte string literal not displayed */
View Source
const Styles = `` /* 269-byte string literal not displayed */
View Source
const Xml = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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