...
Documentation
Documentation

# Package word

## Overview ▹

## Overview ▾

## Index ▹

## Index ▾

### Package files

Anchorlock.go Borderbottom.go Borderleft.go Borderright.go Bordertop.go CT_AnchorLock.go CT_Border.go CT_Wrap.go Wrap.go common.go

## type Anchorlock ¶

    type Anchorlock struct {
        CT_AnchorLock
    }

### func NewAnchorlock ¶

    func NewAnchorlock() *Anchorlock

### func (*Anchorlock) MarshalXML ¶

    func (m *Anchorlock) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Anchorlock) UnmarshalXML ¶

    func (m *Anchorlock) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Anchorlock) Validate ¶

    func (m *Anchorlock) Validate() error

Validate validates the Anchorlock and its children

### func (*Anchorlock) ValidateWithPath ¶

    func (m *Anchorlock) ValidateWithPath(path string) error

ValidateWithPath validates the Anchorlock and its children, prefixing error messages with path

## type Borderbottom ¶

    type Borderbottom struct {
        CT_Border
    }

### func NewBorderbottom ¶

    func NewBorderbottom() *Borderbottom

### func (*Borderbottom) MarshalXML ¶

    func (m *Borderbottom) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Borderbottom) UnmarshalXML ¶

    func (m *Borderbottom) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Borderbottom) Validate ¶

    func (m *Borderbottom) Validate() error

Validate validates the Borderbottom and its children

### func (*Borderbottom) ValidateWithPath ¶

    func (m *Borderbottom) ValidateWithPath(path string) error

ValidateWithPath validates the Borderbottom and its children, prefixing error messages with path

## type Borderleft ¶

    type Borderleft struct {
        CT_Border
    }

### func NewBorderleft ¶

    func NewBorderleft() *Borderleft

### func (*Borderleft) MarshalXML ¶

    func (m *Borderleft) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Borderleft) UnmarshalXML ¶

    func (m *Borderleft) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Borderleft) Validate ¶

    func (m *Borderleft) Validate() error

Validate validates the Borderleft and its children

### func (*Borderleft) ValidateWithPath ¶

    func (m *Borderleft) ValidateWithPath(path string) error

ValidateWithPath validates the Borderleft and its children, prefixing error messages with path

## type Borderright ¶

    type Borderright struct {
        CT_Border
    }

### func NewBorderright ¶

    func NewBorderright() *Borderright

### func (*Borderright) MarshalXML ¶

    func (m *Borderright) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Borderright) UnmarshalXML ¶

    func (m *Borderright) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Borderright) Validate ¶

    func (m *Borderright) Validate() error

Validate validates the Borderright and its children

### func (*Borderright) ValidateWithPath ¶

    func (m *Borderright) ValidateWithPath(path string) error

ValidateWithPath validates the Borderright and its children, prefixing error messages with path

## type Bordertop ¶

    type Bordertop struct {
        CT_Border
    }

### func NewBordertop ¶

    func NewBordertop() *Bordertop

### func (*Bordertop) MarshalXML ¶

    func (m *Bordertop) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Bordertop) UnmarshalXML ¶

    func (m *Bordertop) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Bordertop) Validate ¶

    func (m *Bordertop) Validate() error

Validate validates the Bordertop and its children

### func (*Bordertop) ValidateWithPath ¶

    func (m *Bordertop) ValidateWithPath(path string) error

ValidateWithPath validates the Bordertop and its children, prefixing error messages with path

## type CT_AnchorLock ¶

    type CT_AnchorLock struct {
    }

### func NewCT_AnchorLock ¶

    func NewCT_AnchorLock() *CT_AnchorLock

### func (*CT_AnchorLock) MarshalXML ¶

    func (m *CT_AnchorLock) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_AnchorLock) UnmarshalXML ¶

    func (m *CT_AnchorLock) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_AnchorLock) Validate ¶

    func (m *CT_AnchorLock) Validate() error

Validate validates the CT_AnchorLock and its children

### func (*CT_AnchorLock) ValidateWithPath ¶

    func (m *CT_AnchorLock) ValidateWithPath(path string) error

ValidateWithPath validates the CT_AnchorLock and its children, prefixing error messages with path

## type CT_Border ¶

    type CT_Border struct {
        // Border Style
        TypeAttr ST_BorderType
        // Border Width
        WidthAttr *uint32
        // Border shadow
        ShadowAttr ST_BorderShadow
    }

### func NewCT_Border ¶

    func NewCT_Border() *CT_Border

### func (*CT_Border) MarshalXML ¶

    func (m *CT_Border) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_Border) UnmarshalXML ¶

    func (m *CT_Border) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_Border) Validate ¶

    func (m *CT_Border) Validate() error

Validate validates the CT_Border and its children

### func (*CT_Border) ValidateWithPath ¶

    func (m *CT_Border) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Border and its children, prefixing error messages with path

## type CT_Wrap ¶

    type CT_Wrap struct {
        // Wrapping type
        TypeAttr ST_WrapType
        // Wrapping side
        SideAttr ST_WrapSide
        // Horizontal Positioning Base
        AnchorxAttr ST_HorizontalAnchor
        // Vertical Positioning Base
        AnchoryAttr ST_VerticalAnchor
    }

### func NewCT_Wrap ¶

    func NewCT_Wrap() *CT_Wrap

### func (*CT_Wrap) MarshalXML ¶

    func (m *CT_Wrap) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_Wrap) UnmarshalXML ¶

    func (m *CT_Wrap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_Wrap) Validate ¶

    func (m *CT_Wrap) Validate() error

Validate validates the CT_Wrap and its children

### func (*CT_Wrap) ValidateWithPath ¶

    func (m *CT_Wrap) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Wrap and its children, prefixing error messages with path

## type ST_BorderShadow ¶

    type ST_BorderShadow byte

    const (
        ST_BorderShadowUnset ST_BorderShadow = 0
        ST_BorderShadowT     ST_BorderShadow = 1
        ST_BorderShadowTrue  ST_BorderShadow = 2
        ST_BorderShadowF     ST_BorderShadow = 3
        ST_BorderShadowFalse ST_BorderShadow = 4
    )

### func (ST_BorderShadow) MarshalXML ¶

    func (m ST_BorderShadow) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_BorderShadow) MarshalXMLAttr ¶

    func (e ST_BorderShadow) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_BorderShadow) String ¶

    func (m ST_BorderShadow) String() string

### func (*ST_BorderShadow) UnmarshalXML ¶

    func (m *ST_BorderShadow) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_BorderShadow) UnmarshalXMLAttr ¶

    func (e *ST_BorderShadow) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_BorderShadow) Validate ¶

    func (m ST_BorderShadow) Validate() error

### func (ST_BorderShadow) ValidateWithPath ¶

    func (m ST_BorderShadow) ValidateWithPath(path string) error

## type ST_BorderType ¶

    type ST_BorderType byte

    const (
        ST_BorderTypeUnset                 ST_BorderType = 0
        ST_BorderTypeNone                  ST_BorderType = 1
        ST_BorderTypeSingle                ST_BorderType = 2
        ST_BorderTypeThick                 ST_BorderType = 3
        ST_BorderTypeDouble                ST_BorderType = 4
        ST_BorderTypeHairline              ST_BorderType = 5
        ST_BorderTypeDot                   ST_BorderType = 6
        ST_BorderTypeDash                  ST_BorderType = 7
        ST_BorderTypeDotDash               ST_BorderType = 8
        ST_BorderTypeDashDotDot            ST_BorderType = 9
        ST_BorderTypeTriple                ST_BorderType = 10
        ST_BorderTypeThinThickSmall        ST_BorderType = 11
        ST_BorderTypeThickThinSmall        ST_BorderType = 12
        ST_BorderTypeThickBetweenThinSmall ST_BorderType = 13
        ST_BorderTypeThinThick             ST_BorderType = 14
        ST_BorderTypeThickThin             ST_BorderType = 15
        ST_BorderTypeThickBetweenThin      ST_BorderType = 16
        ST_BorderTypeThinThickLarge        ST_BorderType = 17
        ST_BorderTypeThickThinLarge        ST_BorderType = 18
        ST_BorderTypeThickBetweenThinLarge ST_BorderType = 19
        ST_BorderTypeWave                  ST_BorderType = 20
        ST_BorderTypeDoubleWave            ST_BorderType = 21
        ST_BorderTypeDashedSmall           ST_BorderType = 22
        ST_BorderTypeDashDotStroked        ST_BorderType = 23
        ST_BorderTypeThreeDEmboss          ST_BorderType = 24
        ST_BorderTypeThreeDEngrave         ST_BorderType = 25
        ST_BorderTypeHTMLOutset            ST_BorderType = 26
        ST_BorderTypeHTMLInset             ST_BorderType = 27
    )

### func (ST_BorderType) MarshalXML ¶

    func (m ST_BorderType) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_BorderType) MarshalXMLAttr ¶

    func (e ST_BorderType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_BorderType) String ¶

    func (m ST_BorderType) String() string

### func (*ST_BorderType) UnmarshalXML ¶

    func (m *ST_BorderType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_BorderType) UnmarshalXMLAttr ¶

    func (e *ST_BorderType) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_BorderType) Validate ¶

    func (m ST_BorderType) Validate() error

### func (ST_BorderType) ValidateWithPath ¶

    func (m ST_BorderType) ValidateWithPath(path string) error

## type ST_HorizontalAnchor ¶

    type ST_HorizontalAnchor byte

    const (
        ST_HorizontalAnchorUnset  ST_HorizontalAnchor = 0
        ST_HorizontalAnchorMargin ST_HorizontalAnchor = 1
        ST_HorizontalAnchorPage   ST_HorizontalAnchor = 2
        ST_HorizontalAnchorText   ST_HorizontalAnchor = 3
        ST_HorizontalAnchorChar   ST_HorizontalAnchor = 4
    )

### func (ST_HorizontalAnchor) MarshalXML ¶

    func (m ST_HorizontalAnchor) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_HorizontalAnchor) MarshalXMLAttr ¶

    func (e ST_HorizontalAnchor) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_HorizontalAnchor) String ¶

    func (m ST_HorizontalAnchor) String() string

### func (*ST_HorizontalAnchor) UnmarshalXML ¶

    func (m *ST_HorizontalAnchor) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_HorizontalAnchor) UnmarshalXMLAttr ¶

    func (e *ST_HorizontalAnchor) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_HorizontalAnchor) Validate ¶

    func (m ST_HorizontalAnchor) Validate() error

### func (ST_HorizontalAnchor) ValidateWithPath ¶

    func (m ST_HorizontalAnchor) ValidateWithPath(path string) error

## type ST_VerticalAnchor ¶

    type ST_VerticalAnchor byte

    const (
        ST_VerticalAnchorUnset  ST_VerticalAnchor = 0
        ST_VerticalAnchorMargin ST_VerticalAnchor = 1
        ST_VerticalAnchorPage   ST_VerticalAnchor = 2
        ST_VerticalAnchorText   ST_VerticalAnchor = 3
        ST_VerticalAnchorLine   ST_VerticalAnchor = 4
    )

### func (ST_VerticalAnchor) MarshalXML ¶

    func (m ST_VerticalAnchor) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_VerticalAnchor) MarshalXMLAttr ¶

    func (e ST_VerticalAnchor) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_VerticalAnchor) String ¶

    func (m ST_VerticalAnchor) String() string

### func (*ST_VerticalAnchor) UnmarshalXML ¶

    func (m *ST_VerticalAnchor) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_VerticalAnchor) UnmarshalXMLAttr ¶

    func (e *ST_VerticalAnchor) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_VerticalAnchor) Validate ¶

    func (m ST_VerticalAnchor) Validate() error

### func (ST_VerticalAnchor) ValidateWithPath ¶

    func (m ST_VerticalAnchor) ValidateWithPath(path string) error

## type ST_WrapSide ¶

    type ST_WrapSide byte

    const (
        ST_WrapSideUnset   ST_WrapSide = 0
        ST_WrapSideBoth    ST_WrapSide = 1
        ST_WrapSideLeft    ST_WrapSide = 2
        ST_WrapSideRight   ST_WrapSide = 3
        ST_WrapSideLargest ST_WrapSide = 4
    )

### func (ST_WrapSide) MarshalXML ¶

    func (m ST_WrapSide) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_WrapSide) MarshalXMLAttr ¶

    func (e ST_WrapSide) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_WrapSide) String ¶

    func (m ST_WrapSide) String() string

### func (*ST_WrapSide) UnmarshalXML ¶

    func (m *ST_WrapSide) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_WrapSide) UnmarshalXMLAttr ¶

    func (e *ST_WrapSide) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_WrapSide) Validate ¶

    func (m ST_WrapSide) Validate() error

### func (ST_WrapSide) ValidateWithPath ¶

    func (m ST_WrapSide) ValidateWithPath(path string) error

## type ST_WrapType ¶

    type ST_WrapType byte

    const (
        ST_WrapTypeUnset        ST_WrapType = 0
        ST_WrapTypeTopAndBottom ST_WrapType = 1
        ST_WrapTypeSquare       ST_WrapType = 2
        ST_WrapTypeNone         ST_WrapType = 3
        ST_WrapTypeTight        ST_WrapType = 4
        ST_WrapTypeThrough      ST_WrapType = 5
    )

### func (ST_WrapType) MarshalXML ¶

    func (m ST_WrapType) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_WrapType) MarshalXMLAttr ¶

    func (e ST_WrapType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_WrapType) String ¶

    func (m ST_WrapType) String() string

### func (*ST_WrapType) UnmarshalXML ¶

    func (m *ST_WrapType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_WrapType) UnmarshalXMLAttr ¶

    func (e *ST_WrapType) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_WrapType) Validate ¶

    func (m ST_WrapType) Validate() error

### func (ST_WrapType) ValidateWithPath ¶

    func (m ST_WrapType) ValidateWithPath(path string) error

## type Wrap ¶

    type Wrap struct {
        CT_Wrap
    }

### func NewWrap ¶

    func NewWrap() *Wrap

### func (*Wrap) MarshalXML ¶

    func (m *Wrap) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Wrap) UnmarshalXML ¶

    func (m *Wrap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Wrap) Validate ¶

    func (m *Wrap) Validate() error

Validate validates the Wrap and its children

### func (*Wrap) ValidateWithPath ¶

    func (m *Wrap) ValidateWithPath(path string) error

ValidateWithPath validates the Wrap and its children, prefixing error messages with path