mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00
120 lines
88 KiB
Go
120 lines
88 KiB
Go
//
|
|
// Copyright 2020 FoxyUtils ehf. All rights reserved.
|
|
//
|
|
// This is a commercial product and requires a license to operate.
|
|
// A trial license can be obtained at https://unidoc.io
|
|
//
|
|
// DO NOT EDIT: generated by unitwist Go source code obfuscator.
|
|
//
|
|
// Use of this source code is governed by the UniDoc End User License Agreement
|
|
// terms that can be accessed at https://unidoc.io/eula/
|
|
|
|
package chartDrawing ;import (_e "encoding/xml";_a "fmt";_ae "github.com/unidoc/unioffice";_c "github.com/unidoc/unioffice/common/logger";_gf "github.com/unidoc/unioffice/schema/soo/dml";_b "strconv";);
|
|
|
|
// ValidateWithPath validates the CT_ShapeNonVisual and its children, prefixing error messages with path
|
|
func (_aaff *CT_ShapeNonVisual )ValidateWithPath (path string )error {if _abbg :=_aaff .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_abbg !=nil {return _abbg ;};if _efec :=_aaff .CNvSpPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0053\u0070\u0050\u0072");_efec !=nil {return _efec ;};return nil ;};type CT_ShapeNonVisual struct{CNvPr *_gf .CT_NonVisualDrawingProps ;CNvSpPr *_gf .CT_NonVisualDrawingShapeProps ;};func NewCT_PictureNonVisual ()*CT_PictureNonVisual {_eged :=&CT_PictureNonVisual {};_eged .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_eged .CNvPicPr =_gf .NewCT_NonVisualPictureProperties ();return _eged ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShape and its children, prefixing error messages with path
|
|
func (_cff *CT_GroupShape )ValidateWithPath (path string )error {if _dcb :=_cff .NvGrpSpPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_dcb !=nil {return _dcb ;};if _cdea :=_cff .GrpSpPr .ValidateWithPath (path +"\u002f\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_cdea !=nil {return _cdea ;};for _agfa ,_aefg :=range _cff .Choice {if _gdd :=_aefg .ValidateWithPath (_a .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_agfa ));_gdd !=nil {return _gdd ;};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GraphicFrameNonVisual and its children, prefixing error messages with path
|
|
func (_ec *CT_GraphicFrameNonVisual )ValidateWithPath (path string )error {if _ff :=_ec .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_ff !=nil {return _ff ;};if _ggf :=_ec .CNvGraphicFramePr .ValidateWithPath (path +"\u002fC\u004ev\u0047\u0072\u0061\u0070\u0068i\u0063\u0046r\u0061\u006d\u0065\u0050\u0072");_ggf !=nil {return _ggf ;};return nil ;};func NewEG_ObjectChoices ()*EG_ObjectChoices {_bafg :=&EG_ObjectChoices {};return _bafg };func (_dd *CT_Connector )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _dd .MacroAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_a .Sprintf ("\u0025\u0076",*_dd .MacroAttr )});};if _dd .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_a .Sprintf ("\u0025\u0064",_edcg (*_dd .FPublishedAttr ))});};e .EncodeToken (start );_bbd :=_e .StartElement {Name :_e .Name {Local :"\u006ev\u0043\u0078\u006e\u0053\u0070\u0050r"}};e .EncodeElement (_dd .NvCxnSpPr ,_bbd );_dba :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_dd .SpPr ,_dba );if _dd .Style !=nil {_bcc :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_dd .Style ,_bcc );};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_Connector and its children, prefixing error messages with path
|
|
func (_eb *CT_Connector )ValidateWithPath (path string )error {if _cec :=_eb .NvCxnSpPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072");_cec !=nil {return _cec ;};if _gde :=_eb .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_gde !=nil {return _gde ;};if _eb .Style !=nil {if _fg :=_eb .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_fg !=nil {return _fg ;};};return nil ;};type CT_ConnectorNonVisual struct{CNvPr *_gf .CT_NonVisualDrawingProps ;CNvCxnSpPr *_gf .CT_NonVisualConnectorProperties ;};func (_gcaf *CT_Drawing )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {start .Name .Local ="\u0043\u0054\u005f\u0044\u0072\u0061\u0077\u0069\u006e\u0067";e .EncodeToken (start );if _gcaf .EG_Anchor !=nil {for _ ,_ga :=range _gcaf .EG_Anchor {_ga .MarshalXML (e ,_e .StartElement {});};};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};func (_ecbf *EG_ObjectChoices )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _ecbf .Choice !=nil {_ecbf .Choice .MarshalXML (e ,_e .StartElement {});};return nil ;};
|
|
|
|
// Validate validates the EG_Anchor and its children
|
|
func (_aec *EG_Anchor )Validate ()error {return _aec .ValidateWithPath ("\u0045G\u005f\u0041\u006e\u0063\u0068\u006fr");};
|
|
|
|
// ValidateWithPath validates the CT_Shape and its children, prefixing error messages with path
|
|
func (_ddec *CT_Shape )ValidateWithPath (path string )error {if _cfed :=_ddec .NvSpPr .ValidateWithPath (path +"\u002fN\u0076\u0053\u0070\u0050\u0072");_cfed !=nil {return _cfed ;};if _aab :=_ddec .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_aab !=nil {return _aab ;};if _ddec .Style !=nil {if _fdf :=_ddec .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_fdf !=nil {return _fdf ;};};if _ddec .TxBody !=nil {if _cabe :=_ddec .TxBody .ValidateWithPath (path +"\u002fT\u0078\u0042\u006f\u0064\u0079");_cabe !=nil {return _cabe ;};};return nil ;};
|
|
|
|
// Validate validates the CT_GroupShapeChoice and its children
|
|
func (_dfb *CT_GroupShapeChoice )Validate ()error {return _dfb .ValidateWithPath ("\u0043\u0054\u005f\u0047ro\u0075\u0070\u0053\u0068\u0061\u0070\u0065\u0043\u0068\u006f\u0069\u0063\u0065");};func NewCT_ConnectorNonVisual ()*CT_ConnectorNonVisual {_gg :=&CT_ConnectorNonVisual {};_gg .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_gg .CNvCxnSpPr =_gf .NewCT_NonVisualConnectorProperties ();return _gg ;};
|
|
|
|
// ValidateWithPath validates the CT_ConnectorNonVisual and its children, prefixing error messages with path
|
|
func (_cf *CT_ConnectorNonVisual )ValidateWithPath (path string )error {if _ceg :=_cf .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_ceg !=nil {return _ceg ;};if _bac :=_cf .CNvCxnSpPr .ValidateWithPath (path +"/\u0043\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072");_bac !=nil {return _bac ;};return nil ;};type CT_GraphicFrame struct{MacroAttr *string ;FPublishedAttr *bool ;NvGraphicFramePr *CT_GraphicFrameNonVisual ;Xfrm *_gf .CT_Transform2D ;Graphic *_gf .Graphic ;};func NewCT_Drawing ()*CT_Drawing {_gbg :=&CT_Drawing {};return _gbg };func (_ab *CT_AbsSizeAnchor )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_f :=_e .StartElement {Name :_e .Name {Local :"\u0066\u0072\u006f\u006d"}};e .EncodeElement (_ab .From ,_f );_d :=_e .StartElement {Name :_e .Name {Local :"\u0065\u0078\u0074"}};e .EncodeElement (_ab .Ext ,_d );if _ab .Choice !=nil {_ab .Choice .MarshalXML (e ,_e .StartElement {});};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};type EG_Anchor struct{RelSizeAnchor *CT_RelSizeAnchor ;AbsSizeAnchor *CT_AbsSizeAnchor ;};type CT_GroupShapeNonVisual struct{CNvPr *_gf .CT_NonVisualDrawingProps ;CNvGrpSpPr *_gf .CT_NonVisualGroupDrawingShapeProps ;};type CT_Picture struct{MacroAttr *string ;FPublishedAttr *bool ;NvPicPr *CT_PictureNonVisual ;BlipFill *_gf .CT_BlipFillProperties ;SpPr *_gf .CT_ShapeProperties ;Style *_gf .CT_ShapeStyle ;};func NewCT_GroupShape ()*CT_GroupShape {_fdae :=&CT_GroupShape {};_fdae .NvGrpSpPr =NewCT_GroupShapeNonVisual ();_fdae .GrpSpPr =_gf .NewCT_GroupShapeProperties ();return _fdae ;};func NewEG_Anchor ()*EG_Anchor {_cca :=&EG_Anchor {};return _cca };func (_gcf *CT_GraphicFrame )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_gcf .NvGraphicFramePr =NewCT_GraphicFrameNonVisual ();_gcf .Xfrm =_gf .NewCT_Transform2D ();_gcf .Graphic =_gf .NewGraphic ();for _ ,_fda :=range start .Attr {if _fda .Name .Local =="\u006d\u0061\u0063r\u006f"{_cbd ,_cgc :=_fda .Value ,error (nil );if _cgc !=nil {return _cgc ;};_gcf .MacroAttr =&_cbd ;continue ;};if _fda .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_cfb ,_ade :=_b .ParseBool (_fda .Value );if _ade !=nil {return _ade ;};_gcf .FPublishedAttr =&_cfb ;continue ;};};_dde :for {_cag ,_fcc :=d .Token ();if _fcc !=nil {return _fcc ;};switch _bdg :=_cag .(type ){case _e .StartElement :switch _bdg .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u006e\u0076G\u0072\u0061\u0070h\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u0050\u0072"}:if _gac :=d .DecodeElement (_gcf .NvGraphicFramePr ,&_bdg );_gac !=nil {return _gac ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0078\u0066\u0072\u006d"}:if _ddd :=d .DecodeElement (_gcf .Xfrm ,&_bdg );_ddd !=nil {return _ddd ;};case _e .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065m\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078m\u006cf\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u0064\u0072\u0061\u0077\u0069\u006e\u0067m\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u006d\u0061\u0069\u006e",Local :"\u0067r\u0061\u0070\u0068\u0069\u0063"},_e .Name {Space :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063\u006c\u0063\u002e\u006f\u0072g\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u0064\u0072\u0061\u0077\u0069\u006e\u0067\u006d\u006c\u002f\u006d\u0061\u0069\u006e",Local :"\u0067r\u0061\u0070\u0068\u0069\u0063"}:if _bca :=d .DecodeElement (_gcf .Graphic ,&_bdg );_bca !=nil {return _bca ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074e\u0064\u0020\u0065\u006c\u0065\u006d\u0065n\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0047\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u0020\u0025\u0076",_bdg .Name );if _cbdf :=d .Skip ();_cbdf !=nil {return _cbdf ;};};case _e .EndElement :break _dde ;case _e .CharData :};};return nil ;};
|
|
|
|
// Validate validates the EG_ObjectChoices and its children
|
|
func (_egeb *EG_ObjectChoices )Validate ()error {return _egeb .ValidateWithPath ("\u0045\u0047_\u004f\u0062\u006ae\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073");};func (_dfd *CT_GraphicFrame )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _dfd .MacroAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_a .Sprintf ("\u0025\u0076",*_dfd .MacroAttr )});};if _dfd .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_a .Sprintf ("\u0025\u0064",_edcg (*_dfd .FPublishedAttr ))});};e .EncodeToken (start );_ace :=_e .StartElement {Name :_e .Name {Local :"\u006e\u0076G\u0072\u0061\u0070h\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u0050\u0072"}};e .EncodeElement (_dfd .NvGraphicFramePr ,_ace );_cafb :=_e .StartElement {Name :_e .Name {Local :"\u0078\u0066\u0072\u006d"}};e .EncodeElement (_dfd .Xfrm ,_cafb );_ceb :=_e .StartElement {Name :_e .Name {Local :"\u0061:\u0067\u0072\u0061\u0070\u0068\u0069c"}};_ceb .Attr =append (_ceb .Attr ,_e .Attr {Name :_e .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0061"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065m\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078m\u006cf\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u0064\u0072\u0061\u0077\u0069\u006e\u0067m\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u006d\u0061\u0069\u006e"});e .EncodeElement (_dfd .Graphic ,_ceb );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the CT_GroupShapeNonVisual and its children
|
|
func (_baf *CT_GroupShapeNonVisual )Validate ()error {return _baf .ValidateWithPath ("\u0043\u0054\u005f\u0047ro\u0075\u0070\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075a\u006c");};
|
|
|
|
// Validate validates the CT_Marker and its children
|
|
func (_def *CT_Marker )Validate ()error {return _def .ValidateWithPath ("\u0043T\u005f\u004d\u0061\u0072\u006b\u0065r");};func NewCT_Connector ()*CT_Connector {_bd :=&CT_Connector {};_bd .NvCxnSpPr =NewCT_ConnectorNonVisual ();_bd .SpPr =_gf .NewCT_ShapeProperties ();return _bd ;};func NewCT_AbsSizeAnchor ()*CT_AbsSizeAnchor {_gd :=&CT_AbsSizeAnchor {};_gd .From =NewCT_Marker ();_gd .Ext =_gf .NewCT_PositiveSize2D ();return _gd ;};func (_fb *CT_Connector )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_fb .NvCxnSpPr =NewCT_ConnectorNonVisual ();_fb .SpPr =_gf .NewCT_ShapeProperties ();for _ ,_ac :=range start .Attr {if _ac .Name .Local =="\u006d\u0061\u0063r\u006f"{_bda ,_de :=_ac .Value ,error (nil );if _de !=nil {return _de ;};_fb .MacroAttr =&_bda ;continue ;};if _ac .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_ge ,_fc :=_b .ParseBool (_ac .Value );if _fc !=nil {return _fc ;};_fb .FPublishedAttr =&_ge ;continue ;};};_gdg :for {_df ,_abfb :=d .Token ();if _abfb !=nil {return _abfb ;};switch _bbb :=_df .(type ){case _e .StartElement :switch _bbb .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u006ev\u0043\u0078\u006e\u0053\u0070\u0050r"}:if _be :=d .DecodeElement (_fb .NvCxnSpPr ,&_bbb );_be !=nil {return _be ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070\u0050\u0072"}:if _gbc :=d .DecodeElement (_fb .SpPr ,&_bbb );_gbc !=nil {return _gbc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0074\u0079l\u0065"}:_fb .Style =_gf .NewCT_ShapeStyle ();if _ed :=d .DecodeElement (_fb .Style ,&_bbb );_ed !=nil {return _ed ;};default:_c .Log .Debug ("s\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075n\u0073\u0075\u0070\u0070\u006f\u0072\u0074ed\u0020\u0065\u006c\u0065m\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054_C\u006f\u006en\u0065\u0063\u0074\u006f\u0072\u0020\u0025\u0076",_bbb .Name );if _cga :=d .Skip ();_cga !=nil {return _cga ;};};case _e .EndElement :break _gdg ;case _e .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShapeChoice and its children, prefixing error messages with path
|
|
func (_dded *CT_GroupShapeChoice )ValidateWithPath (path string )error {for _cc ,_ggfc :=range _dded .Sp {if _beb :=_ggfc .ValidateWithPath (_a .Sprintf ("\u0025s\u002f\u0053\u0070\u005b\u0025\u0064]",path ,_cc ));_beb !=nil {return _beb ;};};for _fge ,_bdaf :=range _dded .GrpSp {if _gaf :=_bdaf .ValidateWithPath (_a .Sprintf ("\u0025\u0073\u002fG\u0072\u0070\u0053\u0070\u005b\u0025\u0064\u005d",path ,_fge ));_gaf !=nil {return _gaf ;};};for _edd ,_ggca :=range _dded .GraphicFrame {if _eee :=_ggca .ValidateWithPath (_a .Sprintf ("\u0025\u0073\u002f\u0047ra\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u005b\u0025\u0064\u005d",path ,_edd ));_eee !=nil {return _eee ;};};for _cab ,_bbc :=range _dded .CxnSp {if _afed :=_bbc .ValidateWithPath (_a .Sprintf ("\u0025\u0073\u002fC\u0078\u006e\u0053\u0070\u005b\u0025\u0064\u005d",path ,_cab ));_afed !=nil {return _afed ;};};for _gcb ,_fga :=range _dded .Pic {if _ced :=_fga .ValidateWithPath (_a .Sprintf ("\u0025\u0073\u002f\u0050\u0069\u0063\u005b\u0025\u0064\u005d",path ,_gcb ));_ced !=nil {return _ced ;};};return nil ;};func (_cdag *CT_Shape )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _cdag .MacroAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_a .Sprintf ("\u0025\u0076",*_cdag .MacroAttr )});};if _cdag .TextlinkAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0074\u0065\u0078\u0074\u006c\u0069\u006e\u006b"},Value :_a .Sprintf ("\u0025\u0076",*_cdag .TextlinkAttr )});};if _cdag .FLocksTextAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0066\u004c\u006f\u0063\u006b\u0073\u0054\u0065\u0078\u0074"},Value :_a .Sprintf ("\u0025\u0064",_edcg (*_cdag .FLocksTextAttr ))});};if _cdag .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_a .Sprintf ("\u0025\u0064",_edcg (*_cdag .FPublishedAttr ))});};e .EncodeToken (start );_faaf :=_e .StartElement {Name :_e .Name {Local :"\u006e\u0076\u0053\u0070\u0050\u0072"}};e .EncodeElement (_cdag .NvSpPr ,_faaf );_bff :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_cdag .SpPr ,_bff );if _cdag .Style !=nil {_gga :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_cdag .Style ,_gga );};if _cdag .TxBody !=nil {_gcda :=_e .StartElement {Name :_e .Name {Local :"\u0074\u0078\u0042\u006f\u0064\u0079"}};e .EncodeElement (_cdag .TxBody ,_gcda );};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};type CT_RelSizeAnchor struct{From *CT_Marker ;To *CT_Marker ;Choice *EG_ObjectChoicesChoice ;};
|
|
|
|
// Validate validates the CT_Shape and its children
|
|
func (_aebb *CT_Shape )Validate ()error {return _aebb .ValidateWithPath ("\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065");};func (_fcg *CT_GroupShapeChoice )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_aac :for {_fae ,_dgf :=d .Token ();if _dgf !=nil {return _dgf ;};switch _aebc :=_fae .(type ){case _e .StartElement :switch _aebc .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_gdde :=NewCT_Shape ();if _aga :=d .DecodeElement (_gdde ,&_aebc );_aga !=nil {return _aga ;};_fcg .Sp =append (_fcg .Sp ,_gdde );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_dgg :=NewCT_GroupShape ();if _dcbd :=d .DecodeElement (_dgg ,&_aebc );_dcbd !=nil {return _dcbd ;};_fcg .GrpSp =append (_fcg .GrpSp ,_dgg );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_adf :=NewCT_GraphicFrame ();if _fdd :=d .DecodeElement (_adf ,&_aebc );_fdd !=nil {return _fdd ;};_fcg .GraphicFrame =append (_fcg .GraphicFrame ,_adf );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_fba :=NewCT_Connector ();if _abfd :=d .DecodeElement (_fba ,&_aebc );_abfd !=nil {return _abfd ;};_fcg .CxnSp =append (_fcg .CxnSp ,_fba );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_fbc :=NewCT_Picture ();if _bef :=d .DecodeElement (_fbc ,&_aebc );_bef !=nil {return _bef ;};_fcg .Pic =append (_fcg .Pic ,_fbc );default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070o\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020o\u006e\u0020\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070\u0053\u0068ap\u0065\u0043\u0068\u006f\u0069\u0063\u0065\u0020\u0025\u0076",_aebc .Name );if _add :=d .Skip ();_add !=nil {return _add ;};};case _e .EndElement :break _aac ;case _e .CharData :};};return nil ;};func NewCT_Marker ()*CT_Marker {_agc :=&CT_Marker {};_agc .X =0.0;_agc .Y =0.0;return _agc };func _edcg (_cefd bool )uint8 {if _cefd {return 1;};return 0;};type EG_ObjectChoicesChoice struct{Sp *CT_Shape ;GrpSp *CT_GroupShape ;GraphicFrame *CT_GraphicFrame ;CxnSp *CT_Connector ;Pic *CT_Picture ;};func (_egfg *CT_PictureNonVisual )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_egfg .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_egfg .CNvPicPr =_gf .NewCT_NonVisualPictureProperties ();_aceg :for {_cafbd ,_cegd :=d .Token ();if _cegd !=nil {return _cegd ;};switch _agac :=_cafbd .(type ){case _e .StartElement :switch _agac .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076P\u0072"}:if _deg :=d .DecodeElement (_egfg .CNvPr ,&_agac );_deg !=nil {return _deg ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076\u0050\u0069\u0063\u0050\u0072"}:if _gfb :=d .DecodeElement (_egfg .CNvPicPr ,&_agac );_gfb !=nil {return _gfb ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070o\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020o\u006e\u0020\u0043\u0054\u005f\u0050\u0069\u0063\u0074\u0075\u0072\u0065No\u006e\u0056\u0069\u0073\u0075\u0061\u006c\u0020\u0025\u0076",_agac .Name );if _acg :=d .Skip ();_acg !=nil {return _acg ;};};case _e .EndElement :break _aceg ;case _e .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the EG_ObjectChoices and its children, prefixing error messages with path
|
|
func (_aae *EG_ObjectChoices )ValidateWithPath (path string )error {if _aae .Choice !=nil {if _dbga :=_aae .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_dbga !=nil {return _dbga ;};};return nil ;};func NewCT_GraphicFrame ()*CT_GraphicFrame {_bad :=&CT_GraphicFrame {};_bad .NvGraphicFramePr =NewCT_GraphicFrameNonVisual ();_bad .Xfrm =_gf .NewCT_Transform2D ();_bad .Graphic =_gf .NewGraphic ();return _bad ;};func NewCT_ShapeNonVisual ()*CT_ShapeNonVisual {_ddcb :=&CT_ShapeNonVisual {};_ddcb .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_ddcb .CNvSpPr =_gf .NewCT_NonVisualDrawingShapeProps ();return _ddcb ;};func (_gab *CT_ShapeNonVisual )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_gab .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_gab .CNvSpPr =_gf .NewCT_NonVisualDrawingShapeProps ();_cce :for {_bfe ,_ggfd :=d .Token ();if _ggfd !=nil {return _ggfd ;};switch _bdea :=_bfe .(type ){case _e .StartElement :switch _bdea .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076P\u0072"}:if _efad :=d .DecodeElement (_gab .CNvPr ,&_bdea );_efad !=nil {return _efad ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063N\u0076\u0053\u0070\u0050\u0072"}:if _eca :=d .DecodeElement (_gab .CNvSpPr ,&_bdea );_eca !=nil {return _eca ;};default:_c .Log .Debug ("\u0073\u006bi\u0070\u0070\u0069\u006e\u0067 \u0075\u006e\u0073\u0075\u0070p\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c\u0020\u0025\u0076",_bdea .Name );if _gag :=d .Skip ();_gag !=nil {return _gag ;};};case _e .EndElement :break _cce ;case _e .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_PictureNonVisual and its children, prefixing error messages with path
|
|
func (_gcfe *CT_PictureNonVisual )ValidateWithPath (path string )error {if _defg :=_gcfe .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_defg !=nil {return _defg ;};if _bba :=_gcfe .CNvPicPr .ValidateWithPath (path +"\u002fC\u004e\u0076\u0050\u0069\u0063\u0050r");_bba !=nil {return _bba ;};return nil ;};type CT_GraphicFrameNonVisual struct{CNvPr *_gf .CT_NonVisualDrawingProps ;CNvGraphicFramePr *_gf .CT_NonVisualGraphicFrameProperties ;};func NewCT_GroupShapeNonVisual ()*CT_GroupShapeNonVisual {_fcea :=&CT_GroupShapeNonVisual {};_fcea .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_fcea .CNvGrpSpPr =_gf .NewCT_NonVisualGroupDrawingShapeProps ();return _fcea ;};
|
|
|
|
// Validate validates the CT_GraphicFrame and its children
|
|
func (_aag *CT_GraphicFrame )Validate ()error {return _aag .ValidateWithPath ("\u0043T\u005fG\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065");};func (_fbdf *CT_PictureNonVisual )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_fgee :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_fbdf .CNvPr ,_fgee );_feg :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076\u0050\u0069\u0063\u0050\u0072"}};e .EncodeElement (_fbdf .CNvPicPr ,_feg );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};func (_dbg *CT_Marker )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_ffee :=_e .StartElement {Name :_e .Name {Local :"\u0078"}};e .EncodeElement (_dbg .X ,_ffee );_gcbb :=_e .StartElement {Name :_e .Name {Local :"\u0079"}};e .EncodeElement (_dbg .Y ,_gcbb );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// ValidateWithPath validates the EG_Anchor and its children, prefixing error messages with path
|
|
func (_gedf *EG_Anchor )ValidateWithPath (path string )error {if _gedf .RelSizeAnchor !=nil {if _bgf :=_gedf .RelSizeAnchor .ValidateWithPath (path +"\u002f\u0052\u0065\u006c\u0053\u0069\u007a\u0065\u0041n\u0063\u0068\u006f\u0072");_bgf !=nil {return _bgf ;};};if _gedf .AbsSizeAnchor !=nil {if _fef :=_gedf .AbsSizeAnchor .ValidateWithPath (path +"\u002f\u0041\u0062\u0073\u0053\u0069\u007a\u0065\u0041n\u0063\u0068\u006f\u0072");_fef !=nil {return _fef ;};};return nil ;};func (_fbd *CT_GraphicFrameNonVisual )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_ddg :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_fbd .CNvPr ,_ddg );_dca :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072a\u006d\u0065\u0050\u0072"}};e .EncodeElement (_fbd .CNvGraphicFramePr ,_dca );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};func (_dgfb *CT_GroupShapeNonVisual )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_dae :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_dgfb .CNvPr ,_dae );_bbf :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072"}};e .EncodeElement (_dgfb .CNvGrpSpPr ,_bbf );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// ValidateWithPath validates the EG_ObjectChoicesChoice and its children, prefixing error messages with path
|
|
func (_abad *EG_ObjectChoicesChoice )ValidateWithPath (path string )error {if _abad .Sp !=nil {if _bea :=_abad .Sp .ValidateWithPath (path +"\u002f\u0053\u0070");_bea !=nil {return _bea ;};};if _abad .GrpSp !=nil {if _gff :=_abad .GrpSp .ValidateWithPath (path +"\u002f\u0047\u0072\u0070\u0053\u0070");_gff !=nil {return _gff ;};};if _abad .GraphicFrame !=nil {if _abfe :=_abad .GraphicFrame .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065");_abfe !=nil {return _abfe ;};};if _abad .CxnSp !=nil {if _bcde :=_abad .CxnSp .ValidateWithPath (path +"\u002f\u0043\u0078\u006e\u0053\u0070");_bcde !=nil {return _bcde ;};};if _abad .Pic !=nil {if _gcdf :=_abad .Pic .ValidateWithPath (path +"\u002f\u0050\u0069\u0063");_gcdf !=nil {return _gcdf ;};};return nil ;};
|
|
|
|
// Validate validates the CT_RelSizeAnchor and its children
|
|
func (_cagg *CT_RelSizeAnchor )Validate ()error {return _cagg .ValidateWithPath ("\u0043\u0054_\u0052\u0065\u006cS\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072");};func (_cfd *CT_GroupShape )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_cae :=_e .StartElement {Name :_e .Name {Local :"\u006ev\u0047\u0072\u0070\u0053\u0070\u0050r"}};e .EncodeElement (_cfd .NvGrpSpPr ,_cae );_bfc :=_e .StartElement {Name :_e .Name {Local :"\u0067r\u0070\u0053\u0070\u0050\u0072"}};e .EncodeElement (_cfd .GrpSpPr ,_bfc );if _cfd .Choice !=nil {for _ ,_cdd :=range _cfd .Choice {_cdd .MarshalXML (e ,_e .StartElement {});};};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the CT_PictureNonVisual and its children
|
|
func (_eab *CT_PictureNonVisual )Validate ()error {return _eab .ValidateWithPath ("\u0043\u0054\u005f\u0050ic\u0074\u0075\u0072\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c");};type CT_AbsSizeAnchor struct{From *CT_Marker ;Ext *_gf .CT_PositiveSize2D ;Choice *EG_ObjectChoicesChoice ;};func NewCT_RelSizeAnchor ()*CT_RelSizeAnchor {_bga :=&CT_RelSizeAnchor {};_bga .From =NewCT_Marker ();_bga .To =NewCT_Marker ();return _bga ;};func (_bbde *CT_RelSizeAnchor )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_bbde .From =NewCT_Marker ();_bbde .To =NewCT_Marker ();_cfe :for {_aeg ,_ddee :=d .Token ();if _ddee !=nil {return _ddee ;};switch _agb :=_aeg .(type ){case _e .StartElement :switch _agb .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0066\u0072\u006f\u006d"}:if _dggd :=d .DecodeElement (_bbde .From ,&_agb );_dggd !=nil {return _dggd ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0074\u006f"}:if _ffdfc :=d .DecodeElement (_bbde .To ,&_agb );_ffdfc !=nil {return _ffdfc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_bbde .Choice =NewEG_ObjectChoicesChoice ();if _faf :=d .DecodeElement (&_bbde .Choice .Sp ,&_agb );_faf !=nil {return _faf ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_bbde .Choice =NewEG_ObjectChoicesChoice ();if _bbaa :=d .DecodeElement (&_bbde .Choice .GrpSp ,&_agb );_bbaa !=nil {return _bbaa ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_bbde .Choice =NewEG_ObjectChoicesChoice ();if _gcd :=d .DecodeElement (&_bbde .Choice .GraphicFrame ,&_agb );_gcd !=nil {return _gcd ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_bbde .Choice =NewEG_ObjectChoicesChoice ();if _bccb :=d .DecodeElement (&_bbde .Choice .CxnSp ,&_agb );_bccb !=nil {return _bccb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_bbde .Choice =NewEG_ObjectChoicesChoice ();if _eag :=d .DecodeElement (&_bbde .Choice .Pic ,&_agb );_eag !=nil {return _eag ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070i\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065d\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0052\u0065\u006c\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072\u0020\u0025v",_agb .Name );if _cad :=d .Skip ();_cad !=nil {return _cad ;};};case _e .EndElement :break _cfe ;case _e .CharData :};};return nil ;};func (_abae *CT_RelSizeAnchor )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_fag :=_e .StartElement {Name :_e .Name {Local :"\u0066\u0072\u006f\u006d"}};e .EncodeElement (_abae .From ,_fag );_fcec :=_e .StartElement {Name :_e .Name {Local :"\u0074\u006f"}};e .EncodeElement (_abae .To ,_fcec );if _abae .Choice !=nil {_abae .Choice .MarshalXML (e ,_e .StartElement {});};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};type CT_GroupShape struct{NvGrpSpPr *CT_GroupShapeNonVisual ;GrpSpPr *_gf .CT_GroupShapeProperties ;Choice []*CT_GroupShapeChoice ;};
|
|
|
|
// Validate validates the CT_Drawing and its children
|
|
func (_ebde *CT_Drawing )Validate ()error {return _ebde .ValidateWithPath ("\u0043\u0054\u005f\u0044\u0072\u0061\u0077\u0069\u006e\u0067");};func (_aaeg *EG_ObjectChoicesChoice )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_bgeb :for {_ggad ,_aggg :=d .Token ();if _aggg !=nil {return _aggg ;};switch _eff :=_ggad .(type ){case _e .StartElement :switch _eff .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_aaeg .Sp =NewCT_Shape ();if _cagea :=d .DecodeElement (_aaeg .Sp ,&_eff );_cagea !=nil {return _cagea ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_aaeg .GrpSp =NewCT_GroupShape ();if _bfdb :=d .DecodeElement (_aaeg .GrpSp ,&_eff );_bfdb !=nil {return _bfdb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_aaeg .GraphicFrame =NewCT_GraphicFrame ();if _dea :=d .DecodeElement (_aaeg .GraphicFrame ,&_eff );_dea !=nil {return _dea ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_aaeg .CxnSp =NewCT_Connector ();if _eagd :=d .DecodeElement (_aaeg .CxnSp ,&_eff );_eagd !=nil {return _eagd ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_aaeg .Pic =NewCT_Picture ();if _ccd :=d .DecodeElement (_aaeg .Pic ,&_eff );_ccd !=nil {return _ccd ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070p\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070p\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0045G\u005f\u004f\u0062\u006a\u0065c\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073\u0043\u0068\u006f\u0069\u0063\u0065\u0020\u0025\u0076",_eff .Name );if _cfc :=d .Skip ();_cfc !=nil {return _cfc ;};};case _e .EndElement :break _bgeb ;case _e .CharData :};};return nil ;};func NewCT_GraphicFrameNonVisual ()*CT_GraphicFrameNonVisual {_dfdg :=&CT_GraphicFrameNonVisual {};_dfdg .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_dfdg .CNvGraphicFramePr =_gf .NewCT_NonVisualGraphicFrameProperties ();return _dfdg ;};func (_abb *CT_GroupShapeChoice )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _abb .Sp !=nil {_edc :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0070"}};for _ ,_daf :=range _abb .Sp {e .EncodeElement (_daf ,_edc );};};if _abb .GrpSp !=nil {_agg :=_e .StartElement {Name :_e .Name {Local :"\u0067\u0072\u0070S\u0070"}};for _ ,_afd :=range _abb .GrpSp {e .EncodeElement (_afd ,_agg );};};if _abb .GraphicFrame !=nil {_cgca :=_e .StartElement {Name :_e .Name {Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}};for _ ,_dcg :=range _abb .GraphicFrame {e .EncodeElement (_dcg ,_cgca );};};if _abb .CxnSp !=nil {_aeb :=_e .StartElement {Name :_e .Name {Local :"\u0063\u0078\u006eS\u0070"}};for _ ,_afe :=range _abb .CxnSp {e .EncodeElement (_afe ,_aeb );};};if _abb .Pic !=nil {_bcd :=_e .StartElement {Name :_e .Name {Local :"\u0070\u0069\u0063"}};for _ ,_cda :=range _abb .Pic {e .EncodeElement (_cda ,_bcd );};};return nil ;};
|
|
|
|
// Validate validates the CT_GroupShape and its children
|
|
func (_eeb *CT_GroupShape )Validate ()error {return _eeb .ValidateWithPath ("\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070\u0053\u0068\u0061\u0070\u0065");};func (_fcb *EG_ObjectChoicesChoice )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _fcb .Sp !=nil {_fbe :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0070"}};e .EncodeElement (_fcb .Sp ,_fbe );};if _fcb .GrpSp !=nil {_ggec :=_e .StartElement {Name :_e .Name {Local :"\u0067\u0072\u0070S\u0070"}};e .EncodeElement (_fcb .GrpSp ,_ggec );};if _fcb .GraphicFrame !=nil {_cege :=_e .StartElement {Name :_e .Name {Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}};e .EncodeElement (_fcb .GraphicFrame ,_cege );};if _fcb .CxnSp !=nil {_bbbd :=_e .StartElement {Name :_e .Name {Local :"\u0063\u0078\u006eS\u0070"}};e .EncodeElement (_fcb .CxnSp ,_bbbd );};if _fcb .Pic !=nil {_ffa :=_e .StartElement {Name :_e .Name {Local :"\u0070\u0069\u0063"}};e .EncodeElement (_fcb .Pic ,_ffa );};return nil ;};
|
|
|
|
// Validate validates the CT_ShapeNonVisual and its children
|
|
func (_cefa *CT_ShapeNonVisual )Validate ()error {return _cefa .ValidateWithPath ("\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056i\u0073\u0075\u0061\u006c");};func (_fd *CT_Drawing )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_gdb :for {_fe ,_caf :=d .Token ();if _caf !=nil {return _caf ;};switch _cef :=_fe .(type ){case _e .StartElement :switch _cef .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0072\u0065\u006c\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}:_ggc :=NewEG_Anchor ();_ggc .RelSizeAnchor =NewCT_RelSizeAnchor ();if _bfa :=d .DecodeElement (_ggc .RelSizeAnchor ,&_cef );_bfa !=nil {return _bfa ;};_fd .EG_Anchor =append (_fd .EG_Anchor ,_ggc );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0061\u0062\u0073\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}:_aef :=NewEG_Anchor ();_aef .AbsSizeAnchor =NewCT_AbsSizeAnchor ();if _dc :=d .DecodeElement (_aef .AbsSizeAnchor ,&_cef );_dc !=nil {return _dc ;};_fd .EG_Anchor =append (_fd .EG_Anchor ,_aef );default:_c .Log .Debug ("\u0073k\u0069\u0070p\u0069\u006e\u0067 \u0075\u006e\u0073\u0075\u0070\u0070\u006fr\u0074\u0065\u0064\u0020\u0065\u006ce\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005fD\u0072\u0061\u0077\u0069\u006e\u0067\u0020\u0025\u0076",_cef .Name );if _bde :=d .Skip ();_bde !=nil {return _bde ;};};case _e .EndElement :break _gdb ;case _e .CharData :};};return nil ;};func (_eda *CT_Shape )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_eda .NvSpPr =NewCT_ShapeNonVisual ();_eda .SpPr =_gf .NewCT_ShapeProperties ();for _ ,_efa :=range start .Attr {if _efa .Name .Local =="\u006d\u0061\u0063r\u006f"{_afde ,_daeb :=_efa .Value ,error (nil );if _daeb !=nil {return _daeb ;};_eda .MacroAttr =&_afde ;continue ;};if _efa .Name .Local =="\u0074\u0065\u0078\u0074\u006c\u0069\u006e\u006b"{_fbgb ,_gded :=_efa .Value ,error (nil );if _gded !=nil {return _gded ;};_eda .TextlinkAttr =&_fbgb ;continue ;};if _efa .Name .Local =="\u0066\u004c\u006f\u0063\u006b\u0073\u0054\u0065\u0078\u0074"{_dgd ,_bada :=_b .ParseBool (_efa .Value );if _bada !=nil {return _bada ;};_eda .FLocksTextAttr =&_dgd ;continue ;};if _efa .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_abc ,_gge :=_b .ParseBool (_efa .Value );if _gge !=nil {return _gge ;};_eda .FPublishedAttr =&_abc ;continue ;};};_efcg :for {_cddf ,_fgf :=d .Token ();if _fgf !=nil {return _fgf ;};switch _dee :=_cddf .(type ){case _e .StartElement :switch _dee .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u006e\u0076\u0053\u0070\u0050\u0072"}:if _cdc :=d .DecodeElement (_eda .NvSpPr ,&_dee );_cdc !=nil {return _cdc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070\u0050\u0072"}:if _gbgb :=d .DecodeElement (_eda .SpPr ,&_dee );_gbgb !=nil {return _gbgb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0074\u0079l\u0065"}:_eda .Style =_gf .NewCT_ShapeStyle ();if _ecb :=d .DecodeElement (_eda .Style ,&_dee );_ecb !=nil {return _ecb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0074\u0078\u0042\u006f\u0064\u0079"}:_eda .TxBody =_gf .NewCT_TextBody ();if _afeg :=d .DecodeElement (_eda .TxBody ,&_dee );_afeg !=nil {return _afeg ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006eg\u0020\u0075\u006es\u0075\u0070\u0070\u006fr\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u0020\u0025\u0076",_dee .Name );if _eef :=d .Skip ();_eef !=nil {return _eef ;};};case _e .EndElement :break _efcg ;case _e .CharData :};};return nil ;};type CT_GroupShapeChoice struct{Sp []*CT_Shape ;GrpSp []*CT_GroupShape ;GraphicFrame []*CT_GraphicFrame ;CxnSp []*CT_Connector ;Pic []*CT_Picture ;};type CT_PictureNonVisual struct{CNvPr *_gf .CT_NonVisualDrawingProps ;CNvPicPr *_gf .CT_NonVisualPictureProperties ;};
|
|
|
|
// ValidateWithPath validates the CT_RelSizeAnchor and its children, prefixing error messages with path
|
|
func (_agcb *CT_RelSizeAnchor )ValidateWithPath (path string )error {if _ecga :=_agcb .From .ValidateWithPath (path +"\u002f\u0046\u0072o\u006d");_ecga !=nil {return _ecga ;};if _ecd :=_agcb .To .ValidateWithPath (path +"\u002f\u0054\u006f");_ecd !=nil {return _ecd ;};if _agcb .Choice !=nil {if _gacd :=_agcb .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_gacd !=nil {return _gacd ;};};return nil ;};func (_abcf *EG_Anchor )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _abcf .RelSizeAnchor !=nil {_ged :=_e .StartElement {Name :_e .Name {Local :"\u0072\u0065\u006c\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}};e .EncodeElement (_abcf .RelSizeAnchor ,_ged );};if _abcf .AbsSizeAnchor !=nil {_adb :=_e .StartElement {Name :_e .Name {Local :"\u0061\u0062\u0073\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}};e .EncodeElement (_abcf .AbsSizeAnchor ,_adb );};return nil ;};type CT_Drawing struct{EG_Anchor []*EG_Anchor ;};func (_ea *CT_Picture )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {if _ea .MacroAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_a .Sprintf ("\u0025\u0076",*_ea .MacroAttr )});};if _ea .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_a .Sprintf ("\u0025\u0064",_edcg (*_ea .FPublishedAttr ))});};e .EncodeToken (start );_cba :=_e .StartElement {Name :_e .Name {Local :"\u006ev\u0050\u0069\u0063\u0050\u0072"}};e .EncodeElement (_ea .NvPicPr ,_cba );_dec :=_e .StartElement {Name :_e .Name {Local :"\u0062\u006c\u0069\u0070\u0046\u0069\u006c\u006c"}};e .EncodeElement (_ea .BlipFill ,_dec );_ege :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_ea .SpPr ,_ege );if _ea .Style !=nil {_dddb :=_e .StartElement {Name :_e .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_ea .Style ,_dddb );};e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_AbsSizeAnchor and its children, prefixing error messages with path
|
|
func (_abfc *CT_AbsSizeAnchor )ValidateWithPath (path string )error {if _bf :=_abfc .From .ValidateWithPath (path +"\u002f\u0046\u0072o\u006d");_bf !=nil {return _bf ;};if _ee :=_abfc .Ext .ValidateWithPath (path +"\u002f\u0045\u0078\u0074");_ee !=nil {return _ee ;};if _abfc .Choice !=nil {if _ba :=_abfc .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_ba !=nil {return _ba ;};};return nil ;};
|
|
|
|
// Validate validates the CT_ConnectorNonVisual and its children
|
|
func (_bec *CT_ConnectorNonVisual )Validate ()error {return _bec .ValidateWithPath ("C\u0054\u005f\u0043\u006fnn\u0065c\u0074\u006f\u0072\u004e\u006fn\u0056\u0069\u0073\u0075\u0061\u006c");};func (_cg *CT_AbsSizeAnchor )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_cg .From =NewCT_Marker ();_cg .Ext =_gf .NewCT_PositiveSize2D ();_aed :for {_db ,_cb :=d .Token ();if _cb !=nil {return _cb ;};switch _bb :=_db .(type ){case _e .StartElement :switch _bb .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0066\u0072\u006f\u006d"}:if _ag :=d .DecodeElement (_cg .From ,&_bb );_ag !=nil {return _ag ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0065\u0078\u0074"}:if _ce :=d .DecodeElement (_cg .Ext ,&_bb );_ce !=nil {return _ce ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_cg .Choice =NewEG_ObjectChoicesChoice ();if _bc :=d .DecodeElement (&_cg .Choice .Sp ,&_bb );_bc !=nil {return _bc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_cg .Choice =NewEG_ObjectChoicesChoice ();if _bcb :=d .DecodeElement (&_cg .Choice .GrpSp ,&_bb );_bcb !=nil {return _bcb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_cg .Choice =NewEG_ObjectChoicesChoice ();if _dbe :=d .DecodeElement (&_cg .Choice .GraphicFrame ,&_bb );_dbe !=nil {return _dbe ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_cg .Choice =NewEG_ObjectChoicesChoice ();if _gdc :=d .DecodeElement (&_cg .Choice .CxnSp ,&_bb );_gdc !=nil {return _gdc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_cg .Choice =NewEG_ObjectChoicesChoice ();if _gb :=d .DecodeElement (&_cg .Choice .Pic ,&_bb );_gb !=nil {return _gb ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070i\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065d\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0041\u0062\u0073\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072\u0020\u0025v",_bb .Name );if _aa :=d .Skip ();_aa !=nil {return _aa ;};};case _e .EndElement :break _aed ;case _e .CharData :};};return nil ;};func NewCT_Picture ()*CT_Picture {_fgef :=&CT_Picture {};_fgef .NvPicPr =NewCT_PictureNonVisual ();_fgef .BlipFill =_gf .NewCT_BlipFillProperties ();_fgef .SpPr =_gf .NewCT_ShapeProperties ();return _fgef ;};type EG_ObjectChoices struct{Choice *EG_ObjectChoicesChoice ;};type CT_Marker struct{X float64 ;Y float64 ;};
|
|
|
|
// ValidateWithPath validates the CT_Drawing and its children, prefixing error messages with path
|
|
func (_gfc *CT_Drawing )ValidateWithPath (path string )error {for _ad ,_cde :=range _gfc .EG_Anchor {if _gef :=_cde .ValidateWithPath (_a .Sprintf ("\u0025\u0073/\u0045\u0047\u005fA\u006e\u0063\u0068\u006f\u0072\u005b\u0025\u0064\u005d",path ,_ad ));_gef !=nil {return _gef ;};};return nil ;};
|
|
|
|
// Validate validates the CT_Connector and its children
|
|
func (_aaa *CT_Connector )Validate ()error {return _aaa .ValidateWithPath ("\u0043\u0054\u005fC\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072");};type CT_Shape struct{MacroAttr *string ;TextlinkAttr *string ;FLocksTextAttr *bool ;FPublishedAttr *bool ;NvSpPr *CT_ShapeNonVisual ;SpPr *_gf .CT_ShapeProperties ;Style *_gf .CT_ShapeStyle ;TxBody *_gf .CT_TextBody ;};
|
|
|
|
// ValidateWithPath validates the CT_Picture and its children, prefixing error messages with path
|
|
func (_aaf *CT_Picture )ValidateWithPath (path string )error {if _gcbd :=_aaf .NvPicPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0050\u0069\u0063\u0050\u0072");_gcbd !=nil {return _gcbd ;};if _ffdf :=_aaf .BlipFill .ValidateWithPath (path +"\u002fB\u006c\u0069\u0070\u0046\u0069\u006cl");_ffdf !=nil {return _ffdf ;};if _ebe :=_aaf .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_ebe !=nil {return _ebe ;};if _aaf .Style !=nil {if _ffc :=_aaf .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_ffc !=nil {return _ffc ;};};return nil ;};func (_badc *CT_GraphicFrameNonVisual )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_badc .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_badc .CNvGraphicFramePr =_gf .NewCT_NonVisualGraphicFrameProperties ();_gfca :for {_cge ,_ddag :=d .Token ();if _ddag !=nil {return _ddag ;};switch _ede :=_cge .(type ){case _e .StartElement :switch _ede .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076P\u0072"}:if _cdg :=d .DecodeElement (_badc .CNvPr ,&_ede );_cdg !=nil {return _cdg ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072a\u006d\u0065\u0050\u0072"}:if _dg :=d .DecodeElement (_badc .CNvGraphicFramePr ,&_ede );_dg !=nil {return _dg ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064 \u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u004e\u006f\u006e\u0056i\u0073\u0075\u0061\u006c\u0020%\u0076",_ede .Name );if _ddc :=d .Skip ();_ddc !=nil {return _ddc ;};};case _e .EndElement :break _gfca ;case _e .CharData :};};return nil ;};
|
|
|
|
// Validate validates the CT_GraphicFrameNonVisual and its children
|
|
func (_aee *CT_GraphicFrameNonVisual )Validate ()error {return _aee .ValidateWithPath ("\u0043T\u005f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061m\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c");};func NewCT_GroupShapeChoice ()*CT_GroupShapeChoice {_ggb :=&CT_GroupShapeChoice {};return _ggb };func (_cd *CT_ConnectorNonVisual )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_cd .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_cd .CNvCxnSpPr =_gf .NewCT_NonVisualConnectorProperties ();_gc :for {_beg ,_gca :=d .Token ();if _gca !=nil {return _gca ;};switch _eg :=_beg .(type ){case _e .StartElement :switch _eg .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076P\u0072"}:if _af :=d .DecodeElement (_cd .CNvPr ,&_eg );_af !=nil {return _af ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072"}:if _ef :=d .DecodeElement (_cd .CNvCxnSpPr ,&_eg );_ef !=nil {return _ef ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069n\u0067\u0020\u0075n\u0073\u0075\u0070p\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006de\u006e\u0074\u0020\u006f\u006e C\u0054\u005f\u0043\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c\u0020\u0025\u0076",_eg .Name );if _agf :=d .Skip ();_agf !=nil {return _agf ;};};case _e .EndElement :break _gc ;case _e .CharData :};};return nil ;};func NewCT_Shape ()*CT_Shape {_fdcb :=&CT_Shape {};_fdcb .NvSpPr =NewCT_ShapeNonVisual ();_fdcb .SpPr =_gf .NewCT_ShapeProperties ();return _fdcb ;};
|
|
|
|
// ValidateWithPath validates the CT_Marker and its children, prefixing error messages with path
|
|
func (_bed *CT_Marker )ValidateWithPath (path string )error {if _bed .X < 0.0{return _a .Errorf ("\u0025\u0073\u002fm\u002e\u0058\u0020\u006du\u0073\u0074\u0020\u0062\u0065\u0020\u003e=\u0020\u0030\u002e\u0030\u0020\u0028\u0068\u0061\u0076\u0065\u0020\u0025\u0076\u0029",path ,_bed .X );};if _bed .X > 1.0{return _a .Errorf ("\u0025\u0073\u002fm\u002e\u0058\u0020\u006du\u0073\u0074\u0020\u0062\u0065\u0020\u003c=\u0020\u0031\u002e\u0030\u0020\u0028\u0068\u0061\u0076\u0065\u0020\u0025\u0076\u0029",path ,_bed .X );};if _bed .Y < 0.0{return _a .Errorf ("\u0025\u0073\u002fm\u002e\u0059\u0020\u006du\u0073\u0074\u0020\u0062\u0065\u0020\u003e=\u0020\u0030\u002e\u0030\u0020\u0028\u0068\u0061\u0076\u0065\u0020\u0025\u0076\u0029",path ,_bed .Y );};if _bed .Y > 1.0{return _a .Errorf ("\u0025\u0073\u002fm\u002e\u0059\u0020\u006du\u0073\u0074\u0020\u0062\u0065\u0020\u003c=\u0020\u0031\u002e\u0030\u0020\u0028\u0068\u0061\u0076\u0065\u0020\u0025\u0076\u0029",path ,_bed .Y );};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GraphicFrame and its children, prefixing error messages with path
|
|
func (_bdag *CT_GraphicFrame )ValidateWithPath (path string )error {if _gea :=_bdag .NvGraphicFramePr .ValidateWithPath (path +"\u002f\u004e\u0076\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072a\u006d\u0065\u0050\u0072");_gea !=nil {return _gea ;};if _fgc :=_bdag .Xfrm .ValidateWithPath (path +"\u002f\u0058\u0066r\u006d");_fgc !=nil {return _fgc ;};if _dcd :=_bdag .Graphic .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0070\u0068\u0069\u0063");_dcd !=nil {return _dcd ;};return nil ;};func (_fad *CT_Marker )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_fad .X =0.0;_fad .Y =0.0;_gfg :for {_agce ,_ecg :=d .Token ();if _ecg !=nil {return _ecg ;};switch _faa :=_agce .(type ){case _e .StartElement :switch _faa .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0078"}:if _edg :=d .DecodeElement (&_fad .X ,&_faa );_edg !=nil {return _edg ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0079"}:if _aebg :=d .DecodeElement (&_fad .Y ,&_faa );_aebg !=nil {return _aebg ;};default:_c .Log .Debug ("\u0073k\u0069\u0070p\u0069\u006e\u0067\u0020u\u006e\u0073\u0075p\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006cem\u0065\u006e\u0074 \u006f\u006e \u0043\u0054\u005f\u004d\u0061\u0072k\u0065\u0072 \u0025\u0076",_faa .Name );if _bge :=d .Skip ();_bge !=nil {return _bge ;};};case _e .EndElement :break _gfg ;case _e .CharData :};};return nil ;};func (_ece *EG_ObjectChoices )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_agd :for {_gbd ,_agbf :=d .Token ();if _agbf !=nil {return _agbf ;};switch _dfde :=_gbd .(type ){case _e .StartElement :switch _dfde .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_ece .Choice =NewEG_ObjectChoicesChoice ();if _gabg :=d .DecodeElement (&_ece .Choice .Sp ,&_dfde );_gabg !=nil {return _gabg ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_ece .Choice =NewEG_ObjectChoicesChoice ();if _cegb :=d .DecodeElement (&_ece .Choice .GrpSp ,&_dfde );_cegb !=nil {return _cegb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_ece .Choice =NewEG_ObjectChoicesChoice ();if _abbga :=d .DecodeElement (&_ece .Choice .GraphicFrame ,&_dfde );_abbga !=nil {return _abbga ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_ece .Choice =NewEG_ObjectChoicesChoice ();if _ccb :=d .DecodeElement (&_ece .Choice .CxnSp ,&_dfde );_ccb !=nil {return _ccb ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_ece .Choice =NewEG_ObjectChoicesChoice ();if _bgfd :=d .DecodeElement (&_ece .Choice .Pic ,&_dfde );_bgfd !=nil {return _bgfd ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070i\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065d\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0045\u0047\u005f\u004f\u0062\u006a\u0065\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073\u0020\u0025v",_dfde .Name );if _cefg :=d .Skip ();_cefg !=nil {return _cefg ;};};case _e .EndElement :break _agd ;case _e .CharData :};};return nil ;};func (_aba *CT_GroupShape )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_aba .NvGrpSpPr =NewCT_GroupShapeNonVisual ();_aba .GrpSpPr =_gf .NewCT_GroupShapeProperties ();_caa :for {_egc ,_egce :=d .Token ();if _egce !=nil {return _egce ;};switch _fdc :=_egc .(type ){case _e .StartElement :switch _fdc .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u006ev\u0047\u0072\u0070\u0053\u0070\u0050r"}:if _cdec :=d .DecodeElement (_aba .NvGrpSpPr ,&_fdc );_cdec !=nil {return _cdec ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067r\u0070\u0053\u0070\u0050\u0072"}:if _fbf :=d .DecodeElement (_aba .GrpSpPr ,&_fdc );_fbf !=nil {return _fbf ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070"}:_ffe :=NewCT_GroupShapeChoice ();if _ffg :=d .DecodeElement (&_ffe .Sp ,&_fdc );_ffg !=nil {return _ffg ;};_aba .Choice =append (_aba .Choice ,_ffe );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0070S\u0070"}:_efe :=NewCT_GroupShapeChoice ();if _dbc :=d .DecodeElement (&_efe .GrpSp ,&_fdc );_dbc !=nil {return _dbc ;};_aba .Choice =append (_aba .Choice ,_efe );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}:_ebb :=NewCT_GroupShapeChoice ();if _gead :=d .DecodeElement (&_ebb .GraphicFrame ,&_fdc );_gead !=nil {return _gead ;};_aba .Choice =append (_aba .Choice ,_ebb );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u0078\u006eS\u0070"}:_aced :=NewCT_GroupShapeChoice ();if _egf :=d .DecodeElement (&_aced .CxnSp ,&_fdc );_egf !=nil {return _egf ;};_aba .Choice =append (_aba .Choice ,_aced );case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0070\u0069\u0063"}:_fbg :=NewCT_GroupShapeChoice ();if _caea :=d .DecodeElement (&_fbg .Pic ,&_fdc );_caea !=nil {return _caea ;};_aba .Choice =append (_aba .Choice ,_fbg );default:_c .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067 \u0075\u006e\u0073up\u0070\u006f\u0072\u0074\u0065\u0064 \u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0047r\u006f\u0075\u0070\u0053\u0068\u0061\u0070\u0065 \u0025\u0076",_fdc .Name );if _fceb :=d .Skip ();_fceb !=nil {return _fceb ;};};case _e .EndElement :break _caa ;case _e .CharData :};};return nil ;};
|
|
|
|
// Validate validates the CT_AbsSizeAnchor and its children
|
|
func (_abf *CT_AbsSizeAnchor )Validate ()error {return _abf .ValidateWithPath ("\u0043\u0054_\u0041\u0062\u0073S\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072");};func NewEG_ObjectChoicesChoice ()*EG_ObjectChoicesChoice {_aebe :=&EG_ObjectChoicesChoice {};return _aebe ;};type CT_Connector struct{MacroAttr *string ;FPublishedAttr *bool ;NvCxnSpPr *CT_ConnectorNonVisual ;SpPr *_gf .CT_ShapeProperties ;Style *_gf .CT_ShapeStyle ;};func (_bab *CT_ShapeNonVisual )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_cegf :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_bab .CNvPr ,_cegf );_dfg :=_e .StartElement {Name :_e .Name {Local :"\u0063N\u0076\u0053\u0070\u0050\u0072"}};e .EncodeElement (_bab .CNvSpPr ,_dfg );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};func (_afa *CT_GroupShapeNonVisual )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_afa .CNvPr =_gf .NewCT_NonVisualDrawingProps ();_afa .CNvGrpSpPr =_gf .NewCT_NonVisualGroupDrawingShapeProps ();_bcbd :for {_gee ,_bfd :=d .Token ();if _bfd !=nil {return _bfd ;};switch _gad :=_gee .(type ){case _e .StartElement :switch _gad .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076P\u0072"}:if _fac :=d .DecodeElement (_afa .CNvPr ,&_gad );_fac !=nil {return _fac ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0063\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072"}:if _ebc :=d .DecodeElement (_afa .CNvGrpSpPr ,&_gad );_ebc !=nil {return _ebc ;};default:_c .Log .Debug ("\u0073\u006b\u0069\u0070p\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070p\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043T\u005f\u0047\u0072\u006f\u0075p\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c\u0020\u0025\u0076",_gad .Name );if _bbe :=d .Skip ();_bbe !=nil {return _bbe ;};};case _e .EndElement :break _bcbd ;case _e .CharData :};};return nil ;};func (_cfg *CT_Picture )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_cfg .NvPicPr =NewCT_PictureNonVisual ();_cfg .BlipFill =_gf .NewCT_BlipFillProperties ();_cfg .SpPr =_gf .NewCT_ShapeProperties ();for _ ,_cdb :=range start .Attr {if _cdb .Name .Local =="\u006d\u0061\u0063r\u006f"{_afb ,_fca :=_cdb .Value ,error (nil );if _fca !=nil {return _fca ;};_cfg .MacroAttr =&_afb ;continue ;};if _cdb .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_gafa ,_efd :=_b .ParseBool (_cdb .Value );if _efd !=nil {return _efd ;};_cfg .FPublishedAttr =&_gafa ;continue ;};};_dbea :for {_becd ,_cbf :=d .Token ();if _cbf !=nil {return _cbf ;};switch _beda :=_becd .(type ){case _e .StartElement :switch _beda .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u006ev\u0050\u0069\u0063\u0050\u0072"}:if _ccg :=d .DecodeElement (_cfg .NvPicPr ,&_beda );_ccg !=nil {return _ccg ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0062\u006c\u0069\u0070\u0046\u0069\u006c\u006c"}:if _bdgc :=d .DecodeElement (_cfg .BlipFill ,&_beda );_bdgc !=nil {return _bdgc ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0070\u0050\u0072"}:if _ded :=d .DecodeElement (_cfg .SpPr ,&_beda );_ded !=nil {return _ded ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0073\u0074\u0079l\u0065"}:_cfg .Style =_gf .NewCT_ShapeStyle ();if _afae :=d .DecodeElement (_cfg .Style ,&_beda );_afae !=nil {return _afae ;};default:_c .Log .Debug ("\u0073k\u0069\u0070p\u0069\u006e\u0067 \u0075\u006e\u0073\u0075\u0070\u0070\u006fr\u0074\u0065\u0064\u0020\u0065\u006ce\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005fP\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0025\u0076",_beda .Name );if _caae :=d .Skip ();_caae !=nil {return _caae ;};};case _e .EndElement :break _dbea ;case _e .CharData :};};return nil ;};func (_fce *CT_ConnectorNonVisual )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_ca :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_fce .CNvPr ,_ca );_ebd :=_e .StartElement {Name :_e .Name {Local :"\u0063\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072"}};e .EncodeElement (_fce .CNvCxnSpPr ,_ebd );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the EG_ObjectChoicesChoice and its children
|
|
func (_fgb *EG_ObjectChoicesChoice )Validate ()error {return _fgb .ValidateWithPath ("\u0045\u0047\u005f\u004fbj\u0065\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073\u0043\u0068\u006f\u0069c\u0065");};func (_efag *EG_Anchor )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_bedb :for {_egfd ,_abcb :=d .Token ();if _abcb !=nil {return _abcb ;};switch _gbe :=_egfd .(type ){case _e .StartElement :switch _gbe .Name {case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0072\u0065\u006c\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}:_efag .RelSizeAnchor =NewCT_RelSizeAnchor ();if _cgf :=d .DecodeElement (_efag .RelSizeAnchor ,&_gbe );_cgf !=nil {return _cgf ;};case _e .Name {Space :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067",Local :"\u0061\u0062\u0073\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}:_efag .AbsSizeAnchor =NewCT_AbsSizeAnchor ();if _fab :=d .DecodeElement (_efag .AbsSizeAnchor ,&_gbe );_fab !=nil {return _fab ;};default:_c .Log .Debug ("\u0073k\u0069\u0070p\u0069\u006e\u0067\u0020u\u006e\u0073\u0075p\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006cem\u0065\u006e\u0074 \u006f\u006e \u0045\u0047\u005f\u0041\u006e\u0063h\u006f\u0072 \u0025\u0076",_gbe .Name );if _bbfa :=d .Skip ();_bbfa !=nil {return _bbfa ;};};case _e .EndElement :break _bedb ;case _e .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShapeNonVisual and its children, prefixing error messages with path
|
|
func (_adef *CT_GroupShapeNonVisual )ValidateWithPath (path string )error {if _dge :=_adef .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_dge !=nil {return _dge ;};if _ffd :=_adef .CNvGrpSpPr .ValidateWithPath (path +"/\u0043\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_ffd !=nil {return _ffd ;};return nil ;};
|
|
|
|
// Validate validates the CT_Picture and its children
|
|
func (_gba *CT_Picture )Validate ()error {return _gba .ValidateWithPath ("\u0043\u0054\u005f\u0050\u0069\u0063\u0074\u0075\u0072\u0065");};func init (){_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056i\u0073\u0075\u0061\u006c",NewCT_ShapeNonVisual );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065",NewCT_Shape );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","C\u0054\u005f\u0043\u006fnn\u0065c\u0074\u006f\u0072\u004e\u006fn\u0056\u0069\u0073\u0075\u0061\u006c",NewCT_ConnectorNonVisual );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005fC\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072",NewCT_Connector );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0050ic\u0074\u0075\u0072\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c",NewCT_PictureNonVisual );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0050\u0069\u0063\u0074\u0075\u0072\u0065",NewCT_Picture );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043T\u005f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061m\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c",NewCT_GraphicFrameNonVisual );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043T\u005fG\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065",NewCT_GraphicFrame );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0047ro\u0075\u0070\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075a\u006c",NewCT_GroupShapeNonVisual );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070\u0053\u0068\u0061\u0070\u0065",NewCT_GroupShape );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043T\u005f\u004d\u0061\u0072\u006b\u0065r",NewCT_Marker );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054_\u0052\u0065\u006cS\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072",NewCT_RelSizeAnchor );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054_\u0041\u0062\u0073S\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072",NewCT_AbsSizeAnchor );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0043\u0054\u005f\u0044\u0072\u0061\u0077\u0069\u006e\u0067",NewCT_Drawing );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0045\u0047_\u004f\u0062\u006ae\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073",NewEG_ObjectChoices );_ae .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074\u0044\u0072\u0061\u0077\u0069\u006e\u0067","\u0045G\u005f\u0041\u006e\u0063\u0068\u006fr",NewEG_Anchor );}; |