HomeUniDoc
...

Package picture

Overview ▾

type CT_Picture

type CT_Picture struct {
    // Non-Visual Picture Properties
    NvPicPr *CT_PictureNonVisual
    // Picture Fill
    BlipFill *dml.CT_BlipFillProperties
    // Shape Properties
    SpPr *dml.CT_ShapeProperties
}

func NewCT_Picture

func NewCT_Picture() *CT_Picture

func (*CT_Picture) MarshalXML

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

func (*CT_Picture) UnmarshalXML

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

func (*CT_Picture) Validate

func (m *CT_Picture) Validate() error

Validate validates the CT_Picture and its children

func (*CT_Picture) ValidateWithPath

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

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

type CT_PictureNonVisual

type CT_PictureNonVisual struct {
    // Non-Visual Drawing Properties
    CNvPr *dml.CT_NonVisualDrawingProps
    // Non-Visual Picture Drawing Properties
    CNvPicPr *dml.CT_NonVisualPictureProperties
}

func NewCT_PictureNonVisual

func NewCT_PictureNonVisual() *CT_PictureNonVisual

func (*CT_PictureNonVisual) MarshalXML

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

func (*CT_PictureNonVisual) UnmarshalXML

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

func (*CT_PictureNonVisual) Validate

func (m *CT_PictureNonVisual) Validate() error

Validate validates the CT_PictureNonVisual and its children

func (*CT_PictureNonVisual) ValidateWithPath

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

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

type Pic

type Pic struct {
    CT_Picture
}

func NewPic

func NewPic() *Pic

func (*Pic) MarshalXML

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

func (*Pic) UnmarshalXML

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

func (*Pic) Validate

func (m *Pic) Validate() error

Validate validates the Pic and its children

func (*Pic) ValidateWithPath

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

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