mirror of
https://github.com/unidoc/unioffice.git
synced 2025-05-04 22:17:38 +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 (_d "encoding/xml";_b "fmt";_af "github.com/unidoc/unioffice";_e "github.com/unidoc/unioffice/common/logger";_aa "github.com/unidoc/unioffice/schema/soo/dml";_ac "strconv";);
|
|
|
|
// Validate validates the CT_ShapeNonVisual and its children
|
|
func (_beg *CT_ShapeNonVisual )Validate ()error {return _beg .ValidateWithPath ("\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056i\u0073\u0075\u0061\u006c");};type EG_ObjectChoicesChoice struct{Sp *CT_Shape ;GrpSp *CT_GroupShape ;GraphicFrame *CT_GraphicFrame ;CxnSp *CT_Connector ;Pic *CT_Picture ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShape and its children, prefixing error messages with path
|
|
func (_eabc *CT_GroupShape )ValidateWithPath (path string )error {if _cdf :=_eabc .NvGrpSpPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_cdf !=nil {return _cdf ;};if _ebb :=_eabc .GrpSpPr .ValidateWithPath (path +"\u002f\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_ebb !=nil {return _ebb ;};for _cfd ,_ggb :=range _eabc .Choice {if _bgg :=_ggb .ValidateWithPath (_b .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_cfd ));_bgg !=nil {return _bgg ;};};return nil ;};
|
|
|
|
// Validate validates the EG_ObjectChoicesChoice and its children
|
|
func (_dff *EG_ObjectChoicesChoice )Validate ()error {return _dff .ValidateWithPath ("\u0045\u0047\u005f\u004fbj\u0065\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073\u0043\u0068\u006f\u0069c\u0065");};
|
|
|
|
// ValidateWithPath validates the EG_Anchor and its children, prefixing error messages with path
|
|
func (_cgga *EG_Anchor )ValidateWithPath (path string )error {if _cgga .RelSizeAnchor !=nil {if _gfbc :=_cgga .RelSizeAnchor .ValidateWithPath (path +"\u002f\u0052\u0065\u006c\u0053\u0069\u007a\u0065\u0041n\u0063\u0068\u006f\u0072");_gfbc !=nil {return _gfbc ;};};if _cgga .AbsSizeAnchor !=nil {if _agdg :=_cgga .AbsSizeAnchor .ValidateWithPath (path +"\u002f\u0041\u0062\u0073\u0053\u0069\u007a\u0065\u0041n\u0063\u0068\u006f\u0072");_agdg !=nil {return _agdg ;};};return nil ;};func (_cca *CT_GroupShapeChoice )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cca .Sp !=nil {_ada :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0070"}};for _ ,_edd :=range _cca .Sp {e .EncodeElement (_edd ,_ada );};};if _cca .GrpSp !=nil {_agddc :=_d .StartElement {Name :_d .Name {Local :"\u0067\u0072\u0070S\u0070"}};for _ ,_agb :=range _cca .GrpSp {e .EncodeElement (_agb ,_agddc );};};if _cca .GraphicFrame !=nil {_gef :=_d .StartElement {Name :_d .Name {Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}};for _ ,_cacc :=range _cca .GraphicFrame {e .EncodeElement (_cacc ,_gef );};};if _cca .CxnSp !=nil {_ecd :=_d .StartElement {Name :_d .Name {Local :"\u0063\u0078\u006eS\u0070"}};for _ ,_bbc :=range _cca .CxnSp {e .EncodeElement (_bbc ,_ecd );};};if _cca .Pic !=nil {_cfb :=_d .StartElement {Name :_d .Name {Local :"\u0070\u0069\u0063"}};for _ ,_bdb :=range _cca .Pic {e .EncodeElement (_bdb ,_cfb );};};return nil ;};
|
|
|
|
// Validate validates the CT_GroupShapeNonVisual and its children
|
|
func (_ede *CT_GroupShapeNonVisual )Validate ()error {return _ede .ValidateWithPath ("\u0043\u0054\u005f\u0047ro\u0075\u0070\u0053\u0068\u0061\u0070\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075a\u006c");};type CT_Connector struct{MacroAttr *string ;FPublishedAttr *bool ;NvCxnSpPr *CT_ConnectorNonVisual ;SpPr *_aa .CT_ShapeProperties ;Style *_aa .CT_ShapeStyle ;};func (_eab *CT_Drawing )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_edb :for {_db ,_ecb :=d .Token ();if _ecb !=nil {return _ecb ;};switch _eda :=_db .(type ){case _d .StartElement :switch _eda .Name {case _d .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"}:_aec :=NewEG_Anchor ();_aec .RelSizeAnchor =NewCT_RelSizeAnchor ();if _bae :=d .DecodeElement (_aec .RelSizeAnchor ,&_eda );_bae !=nil {return _bae ;};_eab .EG_Anchor =append (_eab .EG_Anchor ,_aec );case _d .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"}:_cgd :=NewEG_Anchor ();_cgd .AbsSizeAnchor =NewCT_AbsSizeAnchor ();if _cf :=d .DecodeElement (_cgd .AbsSizeAnchor ,&_eda );_cf !=nil {return _cf ;};_eab .EG_Anchor =append (_eab .EG_Anchor ,_cgd );default:_e .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",_eda .Name );if _da :=d .Skip ();_da !=nil {return _da ;};};case _d .EndElement :break _edb ;case _d .CharData :};};return nil ;};func NewCT_ShapeNonVisual ()*CT_ShapeNonVisual {_acfa :=&CT_ShapeNonVisual {};_acfa .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_acfa .CNvSpPr =_aa .NewCT_NonVisualDrawingShapeProps ();return _acfa ;};func (_ecdc *CT_Marker )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ecdc .X =0.0;_ecdc .Y =0.0;_eacf :for {_cggc ,_afd :=d .Token ();if _afd !=nil {return _afd ;};switch _dbd :=_cggc .(type ){case _d .StartElement :switch _dbd .Name {case _d .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 _cag :=d .DecodeElement (&_ecdc .X ,&_dbd );_cag !=nil {return _cag ;};case _d .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 _edbd :=d .DecodeElement (&_ecdc .Y ,&_dbd );_edbd !=nil {return _edbd ;};default:_e .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",_dbd .Name );if _geeg :=d .Skip ();_geeg !=nil {return _geeg ;};};case _d .EndElement :break _eacf ;case _d .CharData :};};return nil ;};func NewEG_Anchor ()*EG_Anchor {_gfa :=&EG_Anchor {};return _gfa };type CT_GroupShapeChoice struct{Sp []*CT_Shape ;GrpSp []*CT_GroupShape ;GraphicFrame []*CT_GraphicFrame ;CxnSp []*CT_Connector ;Pic []*CT_Picture ;};type CT_Marker struct{X float64 ;Y float64 ;};func (_ccg *CT_RelSizeAnchor )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ccg .From =NewCT_Marker ();_ccg .To =NewCT_Marker ();_fgbad :for {_gdc ,_gfgf :=d .Token ();if _gfgf !=nil {return _gfgf ;};switch _gecd :=_gdc .(type ){case _d .StartElement :switch _gecd .Name {case _d .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 _gcb :=d .DecodeElement (_ccg .From ,&_gecd );_gcb !=nil {return _gcb ;};case _d .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 _bef :=d .DecodeElement (_ccg .To ,&_gecd );_bef !=nil {return _bef ;};case _d .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"}:_ccg .Choice =NewEG_ObjectChoicesChoice ();if _caec :=d .DecodeElement (&_ccg .Choice .Sp ,&_gecd );_caec !=nil {return _caec ;};case _d .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"}:_ccg .Choice =NewEG_ObjectChoicesChoice ();if _bgf :=d .DecodeElement (&_ccg .Choice .GrpSp ,&_gecd );_bgf !=nil {return _bgf ;};case _d .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"}:_ccg .Choice =NewEG_ObjectChoicesChoice ();if _fafg :=d .DecodeElement (&_ccg .Choice .GraphicFrame ,&_gecd );_fafg !=nil {return _fafg ;};case _d .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"}:_ccg .Choice =NewEG_ObjectChoicesChoice ();if _bee :=d .DecodeElement (&_ccg .Choice .CxnSp ,&_gecd );_bee !=nil {return _bee ;};case _d .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"}:_ccg .Choice =NewEG_ObjectChoicesChoice ();if _baad :=d .DecodeElement (&_ccg .Choice .Pic ,&_gecd );_baad !=nil {return _baad ;};default:_e .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",_gecd .Name );if _eded :=d .Skip ();_eded !=nil {return _eded ;};};case _d .EndElement :break _fgbad ;case _d .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_PictureNonVisual and its children, prefixing error messages with path
|
|
func (_egf *CT_PictureNonVisual )ValidateWithPath (path string )error {if _caef :=_egf .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_caef !=nil {return _caef ;};if _cggfc :=_egf .CNvPicPr .ValidateWithPath (path +"\u002fC\u004e\u0076\u0050\u0069\u0063\u0050r");_cggfc !=nil {return _cggfc ;};return nil ;};func (_dbb *CT_GroupShape )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_gbd :=_d .StartElement {Name :_d .Name {Local :"\u006ev\u0047\u0072\u0070\u0053\u0070\u0050r"}};e .EncodeElement (_dbb .NvGrpSpPr ,_gbd );_aef :=_d .StartElement {Name :_d .Name {Local :"\u0067r\u0070\u0053\u0070\u0050\u0072"}};e .EncodeElement (_dbb .GrpSpPr ,_aef );if _dbb .Choice !=nil {for _ ,_afc :=range _dbb .Choice {_afc .MarshalXML (e ,_d .StartElement {});};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_cbb *EG_ObjectChoices )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cbb .Choice !=nil {_cbb .Choice .MarshalXML (e ,_d .StartElement {});};return nil ;};type CT_GraphicFrameNonVisual struct{CNvPr *_aa .CT_NonVisualDrawingProps ;CNvGraphicFramePr *_aa .CT_NonVisualGraphicFrameProperties ;};func NewCT_GroupShapeChoice ()*CT_GroupShapeChoice {_ddb :=&CT_GroupShapeChoice {};return _ddb };func NewCT_PictureNonVisual ()*CT_PictureNonVisual {_ecbf :=&CT_PictureNonVisual {};_ecbf .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_ecbf .CNvPicPr =_aa .NewCT_NonVisualPictureProperties ();return _ecbf ;};func (_eae *CT_GraphicFrameNonVisual )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_eae .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_eae .CNvGraphicFramePr =_aa .NewCT_NonVisualGraphicFrameProperties ();_afa :for {_cac ,_fbd :=d .Token ();if _fbd !=nil {return _fbd ;};switch _bdd :=_cac .(type ){case _d .StartElement :switch _bdd .Name {case _d .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 _geea :=d .DecodeElement (_eae .CNvPr ,&_bdd );_geea !=nil {return _geea ;};case _d .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 _gde :=d .DecodeElement (_eae .CNvGraphicFramePr ,&_bdd );_gde !=nil {return _gde ;};default:_e .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",_bdd .Name );if _fafa :=d .Skip ();_fafa !=nil {return _fafa ;};};case _d .EndElement :break _afa ;case _d .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_Marker and its children, prefixing error messages with path
|
|
func (_ced *CT_Marker )ValidateWithPath (path string )error {if _ced .X < 0.0{return _b .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 ,_ced .X );};if _ced .X > 1.0{return _b .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 ,_ced .X );};if _ced .Y < 0.0{return _b .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 ,_ced .Y );};if _ced .Y > 1.0{return _b .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 ,_ced .Y );};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_Connector and its children, prefixing error messages with path
|
|
func (_fg *CT_Connector )ValidateWithPath (path string )error {if _gae :=_fg .NvCxnSpPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072");_gae !=nil {return _gae ;};if _gec :=_fg .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_gec !=nil {return _gec ;};if _fg .Style !=nil {if _fdc :=_fg .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_fdc !=nil {return _fdc ;};};return nil ;};
|
|
|
|
// ValidateWithPath validates the EG_ObjectChoicesChoice and its children, prefixing error messages with path
|
|
func (_dac *EG_ObjectChoicesChoice )ValidateWithPath (path string )error {if _dac .Sp !=nil {if _cgag :=_dac .Sp .ValidateWithPath (path +"\u002f\u0053\u0070");_cgag !=nil {return _cgag ;};};if _dac .GrpSp !=nil {if _bbdd :=_dac .GrpSp .ValidateWithPath (path +"\u002f\u0047\u0072\u0070\u0053\u0070");_bbdd !=nil {return _bbdd ;};};if _dac .GraphicFrame !=nil {if _gfd :=_dac .GraphicFrame .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065");_gfd !=nil {return _gfd ;};};if _dac .CxnSp !=nil {if _ebfdc :=_dac .CxnSp .ValidateWithPath (path +"\u002f\u0043\u0078\u006e\u0053\u0070");_ebfdc !=nil {return _ebfdc ;};};if _dac .Pic !=nil {if _ggdb :=_dac .Pic .ValidateWithPath (path +"\u002f\u0050\u0069\u0063");_ggdb !=nil {return _ggdb ;};};return nil ;};type CT_ConnectorNonVisual struct{CNvPr *_aa .CT_NonVisualDrawingProps ;CNvCxnSpPr *_aa .CT_NonVisualConnectorProperties ;};func NewCT_Marker ()*CT_Marker {_ceb :=&CT_Marker {};_ceb .X =0.0;_ceb .Y =0.0;return _ceb };type CT_Shape struct{MacroAttr *string ;TextlinkAttr *string ;FLocksTextAttr *bool ;FPublishedAttr *bool ;NvSpPr *CT_ShapeNonVisual ;SpPr *_aa .CT_ShapeProperties ;Style *_aa .CT_ShapeStyle ;TxBody *_aa .CT_TextBody ;};func (_ace *CT_PictureNonVisual )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ace .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_ace .CNvPicPr =_aa .NewCT_NonVisualPictureProperties ();_abeb :for {_eedg ,_fef :=d .Token ();if _fef !=nil {return _fef ;};switch _faeg :=_eedg .(type ){case _d .StartElement :switch _faeg .Name {case _d .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 _gbdc :=d .DecodeElement (_ace .CNvPr ,&_faeg );_gbdc !=nil {return _gbdc ;};case _d .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 _gega :=d .DecodeElement (_ace .CNvPicPr ,&_faeg );_gega !=nil {return _gega ;};default:_e .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",_faeg .Name );if _ddbd :=d .Skip ();_ddbd !=nil {return _ddbd ;};};case _d .EndElement :break _abeb ;case _d .CharData :};};return nil ;};func _aaega (_aff bool )uint8 {if _aff {return 1;};return 0;};
|
|
|
|
// Validate validates the CT_ConnectorNonVisual and its children
|
|
func (_gfb *CT_ConnectorNonVisual )Validate ()error {return _gfb .ValidateWithPath ("C\u0054\u005f\u0043\u006fnn\u0065c\u0074\u006f\u0072\u004e\u006fn\u0056\u0069\u0073\u0075\u0061\u006c");};func NewCT_GraphicFrame ()*CT_GraphicFrame {_df :=&CT_GraphicFrame {};_df .NvGraphicFramePr =NewCT_GraphicFrameNonVisual ();_df .Xfrm =_aa .NewCT_Transform2D ();_df .Graphic =_aa .NewGraphic ();return _df ;};type EG_Anchor struct{RelSizeAnchor *CT_RelSizeAnchor ;AbsSizeAnchor *CT_AbsSizeAnchor ;};
|
|
|
|
// ValidateWithPath validates the CT_Drawing and its children, prefixing error messages with path
|
|
func (_bab *CT_Drawing )ValidateWithPath (path string )error {for _afb ,_fc :=range _bab .EG_Anchor {if _bff :=_fc .ValidateWithPath (_b .Sprintf ("\u0025\u0073/\u0045\u0047\u005fA\u006e\u0063\u0068\u006f\u0072\u005b\u0025\u0064\u005d",path ,_afb ));_bff !=nil {return _bff ;};};return nil ;};func NewCT_Drawing ()*CT_Drawing {_ee :=&CT_Drawing {};return _ee };func NewCT_Picture ()*CT_Picture {_gcf :=&CT_Picture {};_gcf .NvPicPr =NewCT_PictureNonVisual ();_gcf .BlipFill =_aa .NewCT_BlipFillProperties ();_gcf .SpPr =_aa .NewCT_ShapeProperties ();return _gcf ;};
|
|
|
|
// ValidateWithPath validates the CT_RelSizeAnchor and its children, prefixing error messages with path
|
|
func (_acb *CT_RelSizeAnchor )ValidateWithPath (path string )error {if _ebg :=_acb .From .ValidateWithPath (path +"\u002f\u0046\u0072o\u006d");_ebg !=nil {return _ebg ;};if _gfbb :=_acb .To .ValidateWithPath (path +"\u002f\u0054\u006f");_gfbb !=nil {return _gfbb ;};if _acb .Choice !=nil {if _gabc :=_acb .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_gabc !=nil {return _gabc ;};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_ShapeNonVisual and its children, prefixing error messages with path
|
|
func (_acbd *CT_ShapeNonVisual )ValidateWithPath (path string )error {if _bbfb :=_acbd .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_bbfb !=nil {return _bbfb ;};if _fcf :=_acbd .CNvSpPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0053\u0070\u0050\u0072");_fcf !=nil {return _fcf ;};return nil ;};type CT_GroupShapeNonVisual struct{CNvPr *_aa .CT_NonVisualDrawingProps ;CNvGrpSpPr *_aa .CT_NonVisualGroupDrawingShapeProps ;};func (_bb *CT_Connector )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bb .NvCxnSpPr =NewCT_ConnectorNonVisual ();_bb .SpPr =_aa .NewCT_ShapeProperties ();for _ ,_agd :=range start .Attr {if _agd .Name .Local =="\u006d\u0061\u0063r\u006f"{_gga ,_ba :=_agd .Value ,error (nil );if _ba !=nil {return _ba ;};_bb .MacroAttr =&_gga ;continue ;};if _agd .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_dea ,_ad :=_ac .ParseBool (_agd .Value );if _ad !=nil {return _ad ;};_bb .FPublishedAttr =&_dea ;continue ;};};_gc :for {_bf ,_eca :=d .Token ();if _eca !=nil {return _eca ;};switch _ae :=_bf .(type ){case _d .StartElement :switch _ae .Name {case _d .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 _aag :=d .DecodeElement (_bb .NvCxnSpPr ,&_ae );_aag !=nil {return _aag ;};case _d .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 _gb :=d .DecodeElement (_bb .SpPr ,&_ae );_gb !=nil {return _gb ;};case _d .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"}:_bb .Style =_aa .NewCT_ShapeStyle ();if _dd :=d .DecodeElement (_bb .Style ,&_ae );_dd !=nil {return _dd ;};default:_e .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",_ae .Name );if _ca :=d .Skip ();_ca !=nil {return _ca ;};};case _d .EndElement :break _gc ;case _d .CharData :};};return nil ;};func NewCT_AbsSizeAnchor ()*CT_AbsSizeAnchor {_ea :=&CT_AbsSizeAnchor {};_ea .From =NewCT_Marker ();_ea .Ext =_aa .NewCT_PositiveSize2D ();return _ea ;};func (_ege *CT_GroupShape )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ege .NvGrpSpPr =NewCT_GroupShapeNonVisual ();_ege .GrpSpPr =_aa .NewCT_GroupShapeProperties ();_bg :for {_eea ,_bfb :=d .Token ();if _bfb !=nil {return _bfb ;};switch _gaed :=_eea .(type ){case _d .StartElement :switch _gaed .Name {case _d .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 _bbdg :=d .DecodeElement (_ege .NvGrpSpPr ,&_gaed );_bbdg !=nil {return _bbdg ;};case _d .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 _fae :=d .DecodeElement (_ege .GrpSpPr ,&_gaed );_fae !=nil {return _fae ;};case _d .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"}:_dec :=NewCT_GroupShapeChoice ();if _gba :=d .DecodeElement (&_dec .Sp ,&_gaed );_gba !=nil {return _gba ;};_ege .Choice =append (_ege .Choice ,_dec );case _d .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"}:_cgb :=NewCT_GroupShapeChoice ();if _fed :=d .DecodeElement (&_cgb .GrpSp ,&_gaed );_fed !=nil {return _fed ;};_ege .Choice =append (_ege .Choice ,_cgb );case _d .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"}:_bfd :=NewCT_GroupShapeChoice ();if _egb :=d .DecodeElement (&_bfd .GraphicFrame ,&_gaed );_egb !=nil {return _egb ;};_ege .Choice =append (_ege .Choice ,_bfd );case _d .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"}:_afcg :=NewCT_GroupShapeChoice ();if _bbg :=d .DecodeElement (&_afcg .CxnSp ,&_gaed );_bbg !=nil {return _bbg ;};_ege .Choice =append (_ege .Choice ,_afcg );case _d .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"}:_fcba :=NewCT_GroupShapeChoice ();if _beb :=d .DecodeElement (&_fcba .Pic ,&_gaed );_beb !=nil {return _beb ;};_ege .Choice =append (_ege .Choice ,_fcba );default:_e .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",_gaed .Name );if _bba :=d .Skip ();_bba !=nil {return _bba ;};};case _d .EndElement :break _bg ;case _d .CharData :};};return nil ;};func (_gbad *CT_PictureNonVisual )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_dc :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_gbad .CNvPr ,_dc );_bgdac :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076\u0050\u0069\u0063\u0050\u0072"}};e .EncodeElement (_gbad .CNvPicPr ,_bgdac );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the CT_GroupShape and its children
|
|
func (_bgd *CT_GroupShape )Validate ()error {return _bgd .ValidateWithPath ("\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070\u0053\u0068\u0061\u0070\u0065");};func (_edc *CT_GraphicFrameNonVisual )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_ff :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_edc .CNvPr ,_ff );_cgc :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072a\u006d\u0065\u0050\u0072"}};e .EncodeElement (_edc .CNvGraphicFramePr ,_cgc );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewEG_ObjectChoicesChoice ()*EG_ObjectChoicesChoice {_edede :=&EG_ObjectChoicesChoice {};return _edede ;};func (_gcgf *CT_ShapeNonVisual )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_adac :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_gcgf .CNvPr ,_adac );_adbc :=_d .StartElement {Name :_d .Name {Local :"\u0063N\u0076\u0053\u0070\u0050\u0072"}};e .EncodeElement (_gcgf .CNvSpPr ,_adbc );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the CT_Marker and its children
|
|
func (_fea *CT_Marker )Validate ()error {return _fea .ValidateWithPath ("\u0043T\u005f\u004d\u0061\u0072\u006b\u0065r");};type CT_PictureNonVisual struct{CNvPr *_aa .CT_NonVisualDrawingProps ;CNvPicPr *_aa .CT_NonVisualPictureProperties ;};func (_edab *CT_GroupShapeChoice )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fcd :for {_adc ,_cfe :=d .Token ();if _cfe !=nil {return _cfe ;};switch _ead :=_adc .(type ){case _d .StartElement :switch _ead .Name {case _d .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"}:_faff :=NewCT_Shape ();if _bbdf :=d .DecodeElement (_faff ,&_ead );_bbdf !=nil {return _bbdf ;};_edab .Sp =append (_edab .Sp ,_faff );case _d .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"}:_gadb :=NewCT_GroupShape ();if _eba :=d .DecodeElement (_gadb ,&_ead );_eba !=nil {return _eba ;};_edab .GrpSp =append (_edab .GrpSp ,_gadb );case _d .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"}:_cee :=NewCT_GraphicFrame ();if _ddbb :=d .DecodeElement (_cee ,&_ead );_ddbb !=nil {return _ddbb ;};_edab .GraphicFrame =append (_edab .GraphicFrame ,_cee );case _d .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"}:_bdbb :=NewCT_Connector ();if _cff :=d .DecodeElement (_bdbb ,&_ead );_cff !=nil {return _cff ;};_edab .CxnSp =append (_edab .CxnSp ,_bdbb );case _d .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"}:_bcb :=NewCT_Picture ();if _eed :=d .DecodeElement (_bcb ,&_ead );_eed !=nil {return _eed ;};_edab .Pic =append (_edab .Pic ,_bcb );default:_e .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",_ead .Name );if _baa :=d .Skip ();_baa !=nil {return _baa ;};};case _d .EndElement :break _fcd ;case _d .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GraphicFrameNonVisual and its children, prefixing error messages with path
|
|
func (_bbd *CT_GraphicFrameNonVisual )ValidateWithPath (path string )error {if _fbf :=_bbd .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_fbf !=nil {return _fbf ;};if _bbf :=_bbd .CNvGraphicFramePr .ValidateWithPath (path +"\u002fC\u004ev\u0047\u0072\u0061\u0070\u0068i\u0063\u0046r\u0061\u006d\u0065\u0050\u0072");_bbf !=nil {return _bbf ;};return nil ;};func (_eeg *CT_Picture )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eeg .MacroAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_b .Sprintf ("\u0025\u0076",*_eeg .MacroAttr )});};if _eeg .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_b .Sprintf ("\u0025\u0064",_aaega (*_eeg .FPublishedAttr ))});};e .EncodeToken (start );_eee :=_d .StartElement {Name :_d .Name {Local :"\u006ev\u0050\u0069\u0063\u0050\u0072"}};e .EncodeElement (_eeg .NvPicPr ,_eee );_ggae :=_d .StartElement {Name :_d .Name {Local :"\u0062\u006c\u0069\u0070\u0046\u0069\u006c\u006c"}};e .EncodeElement (_eeg .BlipFill ,_ggae );_bfca :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_eeg .SpPr ,_bfca );if _eeg .Style !=nil {_bgda :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_eeg .Style ,_bgda );};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_bce *CT_RelSizeAnchor )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_gab :=_d .StartElement {Name :_d .Name {Local :"\u0066\u0072\u006f\u006d"}};e .EncodeElement (_bce .From ,_gab );_gfg :=_d .StartElement {Name :_d .Name {Local :"\u0074\u006f"}};e .EncodeElement (_bce .To ,_gfg );if _bce .Choice !=nil {_bce .Choice .MarshalXML (e ,_d .StartElement {});};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type CT_GroupShape struct{NvGrpSpPr *CT_GroupShapeNonVisual ;GrpSpPr *_aa .CT_GroupShapeProperties ;Choice []*CT_GroupShapeChoice ;};func NewCT_GroupShape ()*CT_GroupShape {_cd :=&CT_GroupShape {};_cd .NvGrpSpPr =NewCT_GroupShapeNonVisual ();_cd .GrpSpPr =_aa .NewCT_GroupShapeProperties ();return _cd ;};
|
|
|
|
// Validate validates the CT_GroupShapeChoice and its children
|
|
func (_dfd *CT_GroupShapeChoice )Validate ()error {return _dfd .ValidateWithPath ("\u0043\u0054\u005f\u0047ro\u0075\u0070\u0053\u0068\u0061\u0070\u0065\u0043\u0068\u006f\u0069\u0063\u0065");};
|
|
|
|
// Validate validates the EG_ObjectChoices and its children
|
|
func (_aeca *EG_ObjectChoices )Validate ()error {return _aeca .ValidateWithPath ("\u0045\u0047_\u004f\u0062\u006ae\u0063\u0074\u0043\u0068\u006f\u0069\u0063\u0065\u0073");};func (_aaec *CT_AbsSizeAnchor )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_aaec .From =NewCT_Marker ();_aaec .Ext =_aa .NewCT_PositiveSize2D ();_aaa :for {_de ,_ga :=d .Token ();if _ga !=nil {return _ga ;};switch _gag :=_de .(type ){case _d .StartElement :switch _gag .Name {case _d .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 _f :=d .DecodeElement (_aaec .From ,&_gag );_f !=nil {return _f ;};case _d .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 _gg :=d .DecodeElement (_aaec .Ext ,&_gag );_gg !=nil {return _gg ;};case _d .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"}:_aaec .Choice =NewEG_ObjectChoicesChoice ();if _bd :=d .DecodeElement (&_aaec .Choice .Sp ,&_gag );_bd !=nil {return _bd ;};case _d .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"}:_aaec .Choice =NewEG_ObjectChoicesChoice ();if _gd :=d .DecodeElement (&_aaec .Choice .GrpSp ,&_gag );_gd !=nil {return _gd ;};case _d .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"}:_aaec .Choice =NewEG_ObjectChoicesChoice ();if _ge :=d .DecodeElement (&_aaec .Choice .GraphicFrame ,&_gag );_ge !=nil {return _ge ;};case _d .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"}:_aaec .Choice =NewEG_ObjectChoicesChoice ();if _c :=d .DecodeElement (&_aaec .Choice .CxnSp ,&_gag );_c !=nil {return _c ;};case _d .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"}:_aaec .Choice =NewEG_ObjectChoicesChoice ();if _cg :=d .DecodeElement (&_aaec .Choice .Pic ,&_gag );_cg !=nil {return _cg ;};default:_e .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",_gag .Name );if _fe :=d .Skip ();_fe !=nil {return _fe ;};};case _d .EndElement :break _aaa ;case _d .CharData :};};return nil ;};func (_eg *CT_AbsSizeAnchor )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_aae :=_d .StartElement {Name :_d .Name {Local :"\u0066\u0072\u006f\u006d"}};e .EncodeElement (_eg .From ,_aae );_g :=_d .StartElement {Name :_d .Name {Local :"\u0065\u0078\u0074"}};e .EncodeElement (_eg .Ext ,_g );if _eg .Choice !=nil {_eg .Choice .MarshalXML (e ,_d .StartElement {});};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type CT_AbsSizeAnchor struct{From *CT_Marker ;Ext *_aa .CT_PositiveSize2D ;Choice *EG_ObjectChoicesChoice ;};
|
|
|
|
// Validate validates the CT_Connector and its children
|
|
func (_bdc *CT_Connector )Validate ()error {return _bdc .ValidateWithPath ("\u0043\u0054\u005fC\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072");};func (_agbb *CT_Marker )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_cadd :=_d .StartElement {Name :_d .Name {Local :"\u0078"}};e .EncodeElement (_agbb .X ,_cadd );_gggf :=_d .StartElement {Name :_d .Name {Local :"\u0079"}};e .EncodeElement (_agbb .Y ,_gggf );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewCT_GroupShapeNonVisual ()*CT_GroupShapeNonVisual {_cadg :=&CT_GroupShapeNonVisual {};_cadg .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_cadg .CNvGrpSpPr =_aa .NewCT_NonVisualGroupDrawingShapeProps ();return _cadg ;};func (_gaf *EG_Anchor )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _gaf .RelSizeAnchor !=nil {_gcgg :=_d .StartElement {Name :_d .Name {Local :"\u0072\u0065\u006c\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}};e .EncodeElement (_gaf .RelSizeAnchor ,_gcgg );};if _gaf .AbsSizeAnchor !=nil {_fdca :=_d .StartElement {Name :_d .Name {Local :"\u0061\u0062\u0073\u0053\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072"}};e .EncodeElement (_gaf .AbsSizeAnchor ,_fdca );};return nil ;};
|
|
|
|
// Validate validates the CT_PictureNonVisual and its children
|
|
func (_fca *CT_PictureNonVisual )Validate ()error {return _fca .ValidateWithPath ("\u0043\u0054\u005f\u0050ic\u0074\u0075\u0072\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c");};func (_fcb *CT_GraphicFrame )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fcb .NvGraphicFramePr =NewCT_GraphicFrameNonVisual ();_fcb .Xfrm =_aa .NewCT_Transform2D ();_fcb .Graphic =_aa .NewGraphic ();for _ ,_gff :=range start .Attr {if _gff .Name .Local =="\u006d\u0061\u0063r\u006f"{_add ,_gage :=_gff .Value ,error (nil );if _gage !=nil {return _gage ;};_fcb .MacroAttr =&_add ;continue ;};if _gff .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_fec ,_acf :=_ac .ParseBool (_gff .Value );if _acf !=nil {return _acf ;};_fcb .FPublishedAttr =&_fec ;continue ;};};_addf :for {_gfe ,_facb :=d .Token ();if _facb !=nil {return _facb ;};switch _egc :=_gfe .(type ){case _d .StartElement :switch _egc .Name {case _d .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 _gee :=d .DecodeElement (_fcb .NvGraphicFramePr ,&_egc );_gee !=nil {return _gee ;};case _d .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 _aad :=d .DecodeElement (_fcb .Xfrm ,&_egc );_aad !=nil {return _aad ;};case _d .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"},_d .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 _ef :=d .DecodeElement (_fcb .Graphic ,&_egc );_ef !=nil {return _ef ;};default:_e .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",_egc .Name );if _cae :=d .Skip ();_cae !=nil {return _cae ;};};case _d .EndElement :break _addf ;case _d .CharData :};};return nil ;};func (_egcb *CT_Shape )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _egcb .MacroAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_b .Sprintf ("\u0025\u0076",*_egcb .MacroAttr )});};if _egcb .TextlinkAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0065\u0078\u0074\u006c\u0069\u006e\u006b"},Value :_b .Sprintf ("\u0025\u0076",*_egcb .TextlinkAttr )});};if _egcb .FLocksTextAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u004c\u006f\u0063\u006b\u0073\u0054\u0065\u0078\u0074"},Value :_b .Sprintf ("\u0025\u0064",_aaega (*_egcb .FLocksTextAttr ))});};if _egcb .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_b .Sprintf ("\u0025\u0064",_aaega (*_egcb .FPublishedAttr ))});};e .EncodeToken (start );_dfb :=_d .StartElement {Name :_d .Name {Local :"\u006e\u0076\u0053\u0070\u0050\u0072"}};e .EncodeElement (_egcb .NvSpPr ,_dfb );_cgab :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_egcb .SpPr ,_cgab );if _egcb .Style !=nil {_bfa :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_egcb .Style ,_bfa );};if _egcb .TxBody !=nil {_gbec :=_d .StartElement {Name :_d .Name {Local :"\u0074\u0078\u0042\u006f\u0064\u0079"}};e .EncodeElement (_egcb .TxBody ,_gbec );};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_bdg *CT_GroupShapeNonVisual )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bdg .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_bdg .CNvGrpSpPr =_aa .NewCT_NonVisualGroupDrawingShapeProps ();_abg :for {_efg ,_bfc :=d .Token ();if _bfc !=nil {return _bfc ;};switch _fdg :=_efg .(type ){case _d .StartElement :switch _fdg .Name {case _d .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 _afe :=d .DecodeElement (_bdg .CNvPr ,&_fdg );_afe !=nil {return _afe ;};case _d .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 _agc :=d .DecodeElement (_bdg .CNvGrpSpPr ,&_fdg );_agc !=nil {return _agc ;};default:_e .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",_fdg .Name );if _aaaa :=d .Skip ();_aaaa !=nil {return _aaaa ;};};case _d .EndElement :break _abg ;case _d .CharData :};};return nil ;};func (_gbe *CT_ConnectorNonVisual )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gbe .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_gbe .CNvCxnSpPr =_aa .NewCT_NonVisualConnectorProperties ();_cga :for {_geg ,_bcf :=d .Token ();if _bcf !=nil {return _bcf ;};switch _gda :=_geg .(type ){case _d .StartElement :switch _gda .Name {case _d .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 _ggg :=d .DecodeElement (_gbe .CNvPr ,&_gda );_ggg !=nil {return _ggg ;};case _d .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 _gf :=d .DecodeElement (_gbe .CNvCxnSpPr ,&_gda );_gf !=nil {return _gf ;};default:_e .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",_gda .Name );if _gdg :=d .Skip ();_gdg !=nil {return _gdg ;};};case _d .EndElement :break _cga ;case _d .CharData :};};return nil ;};func (_gfbg *EG_Anchor )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_efc :for {_bag ,_aeg :=d .Token ();if _aeg !=nil {return _aeg ;};switch _cgbc :=_bag .(type ){case _d .StartElement :switch _cgbc .Name {case _d .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"}:_gfbg .RelSizeAnchor =NewCT_RelSizeAnchor ();if _faa :=d .DecodeElement (_gfbg .RelSizeAnchor ,&_cgbc );_faa !=nil {return _faa ;};case _d .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"}:_gfbg .AbsSizeAnchor =NewCT_AbsSizeAnchor ();if _bbaa :=d .DecodeElement (_gfbg .AbsSizeAnchor ,&_cgbc );_bbaa !=nil {return _bbaa ;};default:_e .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",_cgbc .Name );if _babg :=d .Skip ();_babg !=nil {return _babg ;};};case _d .EndElement :break _efc ;case _d .CharData :};};return nil ;};func (_bfda *EG_ObjectChoicesChoice )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gbg :for {_fba ,_gce :=d .Token ();if _gce !=nil {return _gce ;};switch _fbff :=_fba .(type ){case _d .StartElement :switch _fbff .Name {case _d .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"}:_bfda .Sp =NewCT_Shape ();if _baf :=d .DecodeElement (_bfda .Sp ,&_fbff );_baf !=nil {return _baf ;};case _d .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"}:_bfda .GrpSp =NewCT_GroupShape ();if _bgge :=d .DecodeElement (_bfda .GrpSp ,&_fbff );_bgge !=nil {return _bgge ;};case _d .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"}:_bfda .GraphicFrame =NewCT_GraphicFrame ();if _ddd :=d .DecodeElement (_bfda .GraphicFrame ,&_fbff );_ddd !=nil {return _ddd ;};case _d .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"}:_bfda .CxnSp =NewCT_Connector ();if _bgfe :=d .DecodeElement (_bfda .CxnSp ,&_fbff );_bgfe !=nil {return _bgfe ;};case _d .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"}:_bfda .Pic =NewCT_Picture ();if _ecae :=d .DecodeElement (_bfda .Pic ,&_fbff );_ecae !=nil {return _ecae ;};default:_e .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",_fbff .Name );if _dcb :=d .Skip ();_dcb !=nil {return _dcb ;};};case _d .EndElement :break _gbg ;case _d .CharData :};};return nil ;};
|
|
|
|
// Validate validates the CT_GraphicFrameNonVisual and its children
|
|
func (_efd *CT_GraphicFrameNonVisual )Validate ()error {return _efd .ValidateWithPath ("\u0043T\u005f\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061m\u0065\u004e\u006f\u006e\u0056\u0069\u0073\u0075\u0061\u006c");};
|
|
|
|
// ValidateWithPath validates the EG_ObjectChoices and its children, prefixing error messages with path
|
|
func (_bggg *EG_ObjectChoices )ValidateWithPath (path string )error {if _bggg .Choice !=nil {if _ecbc :=_bggg .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_ecbc !=nil {return _ecbc ;};};return nil ;};
|
|
|
|
// Validate validates the CT_Shape and its children
|
|
func (_cefb *CT_Shape )Validate ()error {return _cefb .ValidateWithPath ("\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065");};
|
|
|
|
// ValidateWithPath validates the CT_Shape and its children, prefixing error messages with path
|
|
func (_aaca *CT_Shape )ValidateWithPath (path string )error {if _gegb :=_aaca .NvSpPr .ValidateWithPath (path +"\u002fN\u0076\u0053\u0070\u0050\u0072");_gegb !=nil {return _gegb ;};if _efge :=_aaca .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_efge !=nil {return _efge ;};if _aaca .Style !=nil {if _cbad :=_aaca .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_cbad !=nil {return _cbad ;};};if _aaca .TxBody !=nil {if _bgc :=_aaca .TxBody .ValidateWithPath (path +"\u002fT\u0078\u0042\u006f\u0064\u0079");_bgc !=nil {return _bgc ;};};return nil ;};func (_gad *CT_ConnectorNonVisual )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_ed :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_gad .CNvPr ,_ed );_ddc :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072"}};e .EncodeElement (_gad .CNvCxnSpPr ,_ddc );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewCT_GraphicFrameNonVisual ()*CT_GraphicFrameNonVisual {_ebf :=&CT_GraphicFrameNonVisual {};_ebf .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_ebf .CNvGraphicFramePr =_aa .NewCT_NonVisualGraphicFrameProperties ();return _ebf ;};func (_afba *CT_ShapeNonVisual )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_afba .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_afba .CNvSpPr =_aa .NewCT_NonVisualDrawingShapeProps ();_eeb :for {_gddc ,_ededf :=d .Token ();if _ededf !=nil {return _ededf ;};switch _addg :=_gddc .(type ){case _d .StartElement :switch _addg .Name {case _d .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 _ebc :=d .DecodeElement (_afba .CNvPr ,&_addg );_ebc !=nil {return _ebc ;};case _d .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 _bfe :=d .DecodeElement (_afba .CNvSpPr ,&_addg );_bfe !=nil {return _bfe ;};default:_e .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",_addg .Name );if _eag :=d .Skip ();_eag !=nil {return _eag ;};};case _d .EndElement :break _eeb ;case _d .CharData :};};return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShapeChoice and its children, prefixing error messages with path
|
|
func (_fcg *CT_GroupShapeChoice )ValidateWithPath (path string )error {for _bcfb ,_ebe :=range _fcg .Sp {if _gca :=_ebe .ValidateWithPath (_b .Sprintf ("\u0025s\u002f\u0053\u0070\u005b\u0025\u0064]",path ,_bcfb ));_gca !=nil {return _gca ;};};for _ebfd ,_abe :=range _fcg .GrpSp {if _ggc :=_abe .ValidateWithPath (_b .Sprintf ("\u0025\u0073\u002fG\u0072\u0070\u0053\u0070\u005b\u0025\u0064\u005d",path ,_ebfd ));_ggc !=nil {return _ggc ;};};for _fad ,_fde :=range _fcg .GraphicFrame {if _dag :=_fde .ValidateWithPath (_b .Sprintf ("\u0025\u0073\u002f\u0047ra\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u005b\u0025\u0064\u005d",path ,_fad ));_dag !=nil {return _dag ;};};for _dbe ,_feg :=range _fcg .CxnSp {if _gfea :=_feg .ValidateWithPath (_b .Sprintf ("\u0025\u0073\u002fC\u0078\u006e\u0053\u0070\u005b\u0025\u0064\u005d",path ,_dbe ));_gfea !=nil {return _gfea ;};};for _ecbe ,_bge :=range _fcg .Pic {if _bcbb :=_bge .ValidateWithPath (_b .Sprintf ("\u0025\u0073\u002f\u0050\u0069\u0063\u005b\u0025\u0064\u005d",path ,_ecbe ));_bcbb !=nil {return _bcbb ;};};return nil ;};func (_fbe *CT_Connector )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fbe .MacroAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_b .Sprintf ("\u0025\u0076",*_fbe .MacroAttr )});};if _fbe .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_b .Sprintf ("\u0025\u0064",_aaega (*_fbe .FPublishedAttr ))});};e .EncodeToken (start );_ag :=_d .StartElement {Name :_d .Name {Local :"\u006ev\u0043\u0078\u006e\u0053\u0070\u0050r"}};e .EncodeElement (_fbe .NvCxnSpPr ,_ag );_bc :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0070\u0050\u0072"}};e .EncodeElement (_fbe .SpPr ,_bc );if _fbe .Style !=nil {_fd :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"}};e .EncodeElement (_fbe .Style ,_fd );};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// ValidateWithPath validates the CT_Picture and its children, prefixing error messages with path
|
|
func (_fbeg *CT_Picture )ValidateWithPath (path string )error {if _gcg :=_fbeg .NvPicPr .ValidateWithPath (path +"\u002f\u004e\u0076\u0050\u0069\u0063\u0050\u0072");_gcg !=nil {return _gcg ;};if _acd :=_fbeg .BlipFill .ValidateWithPath (path +"\u002fB\u006c\u0069\u0070\u0046\u0069\u006cl");_acd !=nil {return _acd ;};if _adaf :=_fbeg .SpPr .ValidateWithPath (path +"\u002f\u0053\u0070P\u0072");_adaf !=nil {return _adaf ;};if _fbeg .Style !=nil {if _ceeb :=_fbeg .Style .ValidateWithPath (path +"\u002f\u0053\u0074\u0079\u006c\u0065");_ceeb !=nil {return _ceeb ;};};return nil ;};func (_eaed *EG_ObjectChoicesChoice )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eaed .Sp !=nil {_gbc :=_d .StartElement {Name :_d .Name {Local :"\u0073\u0070"}};e .EncodeElement (_eaed .Sp ,_gbc );};if _eaed .GrpSp !=nil {_aggd :=_d .StartElement {Name :_d .Name {Local :"\u0067\u0072\u0070S\u0070"}};e .EncodeElement (_eaed .GrpSp ,_aggd );};if _eaed .GraphicFrame !=nil {_cgf :=_d .StartElement {Name :_d .Name {Local :"\u0067\u0072\u0061p\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065"}};e .EncodeElement (_eaed .GraphicFrame ,_cgf );};if _eaed .CxnSp !=nil {_fce :=_d .StartElement {Name :_d .Name {Local :"\u0063\u0078\u006eS\u0070"}};e .EncodeElement (_eaed .CxnSp ,_fce );};if _eaed .Pic !=nil {_fcfe :=_d .StartElement {Name :_d .Name {Local :"\u0070\u0069\u0063"}};e .EncodeElement (_eaed .Pic ,_fcfe );};return nil ;};
|
|
|
|
// Validate validates the CT_RelSizeAnchor and its children
|
|
func (_beed *CT_RelSizeAnchor )Validate ()error {return _beed .ValidateWithPath ("\u0043\u0054_\u0052\u0065\u006cS\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072");};func NewCT_Shape ()*CT_Shape {_cbc :=&CT_Shape {};_cbc .NvSpPr =NewCT_ShapeNonVisual ();_cbc .SpPr =_aa .NewCT_ShapeProperties ();return _cbc ;};
|
|
|
|
// ValidateWithPath validates the CT_GraphicFrame and its children, prefixing error messages with path
|
|
func (_eacd *CT_GraphicFrame )ValidateWithPath (path string )error {if _ab :=_eacd .NvGraphicFramePr .ValidateWithPath (path +"\u002f\u004e\u0076\u0047\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072a\u006d\u0065\u0050\u0072");_ab !=nil {return _ab ;};if _cggf :=_eacd .Xfrm .ValidateWithPath (path +"\u002f\u0058\u0066r\u006d");_cggf !=nil {return _cggf ;};if _eabd :=_eacd .Graphic .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0070\u0068\u0069\u0063");_eabd !=nil {return _eabd ;};return nil ;};type CT_RelSizeAnchor struct{From *CT_Marker ;To *CT_Marker ;Choice *EG_ObjectChoicesChoice ;};func NewCT_RelSizeAnchor ()*CT_RelSizeAnchor {_daf :=&CT_RelSizeAnchor {};_daf .From =NewCT_Marker ();_daf .To =NewCT_Marker ();return _daf ;};
|
|
|
|
// ValidateWithPath validates the CT_GroupShapeNonVisual and its children, prefixing error messages with path
|
|
func (_babd *CT_GroupShapeNonVisual )ValidateWithPath (path string )error {if _adb :=_babd .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_adb !=nil {return _adb ;};if _cba :=_babd .CNvGrpSpPr .ValidateWithPath (path +"/\u0043\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072");_cba !=nil {return _cba ;};return nil ;};type CT_ShapeNonVisual struct{CNvPr *_aa .CT_NonVisualDrawingProps ;CNvSpPr *_aa .CT_NonVisualDrawingShapeProps ;};type CT_GraphicFrame struct{MacroAttr *string ;FPublishedAttr *bool ;NvGraphicFramePr *CT_GraphicFrameNonVisual ;Xfrm *_aa .CT_Transform2D ;Graphic *_aa .Graphic ;};type CT_Picture struct{MacroAttr *string ;FPublishedAttr *bool ;NvPicPr *CT_PictureNonVisual ;BlipFill *_aa .CT_BlipFillProperties ;SpPr *_aa .CT_ShapeProperties ;Style *_aa .CT_ShapeStyle ;};func NewCT_ConnectorNonVisual ()*CT_ConnectorNonVisual {_ceg :=&CT_ConnectorNonVisual {};_ceg .CNvPr =_aa .NewCT_NonVisualDrawingProps ();_ceg .CNvCxnSpPr =_aa .NewCT_NonVisualConnectorProperties ();return _ceg ;};
|
|
|
|
// Validate validates the CT_GraphicFrame and its children
|
|
func (_geab *CT_GraphicFrame )Validate ()error {return _geab .ValidateWithPath ("\u0043T\u005fG\u0072\u0061\u0070\u0068\u0069\u0063\u0046\u0072\u0061\u006d\u0065");};func NewEG_ObjectChoices ()*EG_ObjectChoices {_eef :=&EG_ObjectChoices {};return _eef };func (_cb *CT_GroupShapeNonVisual )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );_adcg :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076P\u0072"}};e .EncodeElement (_cb .CNvPr ,_adcg );_fgba :=_d .StartElement {Name :_d .Name {Local :"\u0063\u004e\u0076\u0047\u0072\u0070\u0053\u0070\u0050\u0072"}};e .EncodeElement (_cb .CNvGrpSpPr ,_fgba );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_eb *CT_GraphicFrame )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eb .MacroAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0063r\u006f"},Value :_b .Sprintf ("\u0025\u0076",*_eb .MacroAttr )});};if _eb .FPublishedAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"},Value :_b .Sprintf ("\u0025\u0064",_aaega (*_eb .FPublishedAttr ))});};e .EncodeToken (start );_agdd :=_d .StartElement {Name :_d .Name {Local :"\u006e\u0076G\u0072\u0061\u0070h\u0069\u0063\u0046\u0072\u0061\u006d\u0065\u0050\u0072"}};e .EncodeElement (_eb .NvGraphicFramePr ,_agdd );_fgb :=_d .StartElement {Name :_d .Name {Local :"\u0078\u0066\u0072\u006d"}};e .EncodeElement (_eb .Xfrm ,_fgb );_cad :=_d .StartElement {Name :_d .Name {Local :"\u0061:\u0067\u0072\u0061\u0070\u0068\u0069c"}};_cad .Attr =append (_cad .Attr ,_d .Attr {Name :_d .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 (_eb .Graphic ,_cad );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewCT_Connector ()*CT_Connector {_fb :=&CT_Connector {};_fb .NvCxnSpPr =NewCT_ConnectorNonVisual ();_fb .SpPr =_aa .NewCT_ShapeProperties ();return _fb ;};type EG_ObjectChoices struct{Choice *EG_ObjectChoicesChoice ;};
|
|
|
|
// ValidateWithPath validates the CT_AbsSizeAnchor and its children, prefixing error messages with path
|
|
func (_fa *CT_AbsSizeAnchor )ValidateWithPath (path string )error {if _ce :=_fa .From .ValidateWithPath (path +"\u002f\u0046\u0072o\u006d");_ce !=nil {return _ce ;};if _ggf :=_fa .Ext .ValidateWithPath (path +"\u002f\u0045\u0078\u0074");_ggf !=nil {return _ggf ;};if _fa .Choice !=nil {if _eac :=_fa .Choice .ValidateWithPath (path +"\u002fC\u0068\u006f\u0069\u0063\u0065");_eac !=nil {return _eac ;};};return nil ;};func (_dead *CT_Shape )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dead .NvSpPr =NewCT_ShapeNonVisual ();_dead .SpPr =_aa .NewCT_ShapeProperties ();for _ ,_ebbd :=range start .Attr {if _ebbd .Name .Local =="\u006d\u0061\u0063r\u006f"{_aaeg ,_ffd :=_ebbd .Value ,error (nil );if _ffd !=nil {return _ffd ;};_dead .MacroAttr =&_aaeg ;continue ;};if _ebbd .Name .Local =="\u0074\u0065\u0078\u0074\u006c\u0069\u006e\u006b"{_cdfe ,_bda :=_ebbd .Value ,error (nil );if _bda !=nil {return _bda ;};_dead .TextlinkAttr =&_cdfe ;continue ;};if _ebbd .Name .Local =="\u0066\u004c\u006f\u0063\u006b\u0073\u0054\u0065\u0078\u0074"{_aac ,_agg :=_ac .ParseBool (_ebbd .Value );if _agg !=nil {return _agg ;};_dead .FLocksTextAttr =&_aac ;continue ;};if _ebbd .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_bfbe ,_acc :=_ac .ParseBool (_ebbd .Value );if _acc !=nil {return _acc ;};_dead .FPublishedAttr =&_bfbe ;continue ;};};_cbfe :for {_ggdg ,_cedf :=d .Token ();if _cedf !=nil {return _cedf ;};switch _gbab :=_ggdg .(type ){case _d .StartElement :switch _gbab .Name {case _d .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 _cdb :=d .DecodeElement (_dead .NvSpPr ,&_gbab );_cdb !=nil {return _cdb ;};case _d .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 _fedc :=d .DecodeElement (_dead .SpPr ,&_gbab );_fedc !=nil {return _fedc ;};case _d .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"}:_dead .Style =_aa .NewCT_ShapeStyle ();if _dee :=d .DecodeElement (_dead .Style ,&_gbab );_dee !=nil {return _dee ;};case _d .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"}:_dead .TxBody =_aa .NewCT_TextBody ();if _deed :=d .DecodeElement (_dead .TxBody ,&_gbab );_deed !=nil {return _deed ;};default:_e .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",_gbab .Name );if _fgbf :=d .Skip ();_fgbf !=nil {return _fgbf ;};};case _d .EndElement :break _cbfe ;case _d .CharData :};};return nil ;};type CT_Drawing struct{EG_Anchor []*EG_Anchor ;};func (_dg *CT_Drawing )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Name .Local ="\u0043\u0054\u005f\u0044\u0072\u0061\u0077\u0069\u006e\u0067";e .EncodeToken (start );if _dg .EG_Anchor !=nil {for _ ,_fac :=range _dg .EG_Anchor {_fac .MarshalXML (e ,_d .StartElement {});};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
|
|
|
|
// Validate validates the CT_AbsSizeAnchor and its children
|
|
func (_be *CT_AbsSizeAnchor )Validate ()error {return _be .ValidateWithPath ("\u0043\u0054_\u0041\u0062\u0073S\u0069\u007a\u0065\u0041\u006e\u0063\u0068\u006f\u0072");};func (_bfg *EG_ObjectChoices )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gggff :for {_gecb ,_cge :=d .Token ();if _cge !=nil {return _cge ;};switch _fgg :=_gecb .(type ){case _d .StartElement :switch _fgg .Name {case _d .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"}:_bfg .Choice =NewEG_ObjectChoicesChoice ();if _babge :=d .DecodeElement (&_bfg .Choice .Sp ,&_fgg );_babge !=nil {return _babge ;};case _d .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"}:_bfg .Choice =NewEG_ObjectChoicesChoice ();if _bbfg :=d .DecodeElement (&_bfg .Choice .GrpSp ,&_fgg );_bbfg !=nil {return _bbfg ;};case _d .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"}:_bfg .Choice =NewEG_ObjectChoicesChoice ();if _cce :=d .DecodeElement (&_bfg .Choice .GraphicFrame ,&_fgg );_cce !=nil {return _cce ;};case _d .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"}:_bfg .Choice =NewEG_ObjectChoicesChoice ();if _abb :=d .DecodeElement (&_bfg .Choice .CxnSp ,&_fgg );_abb !=nil {return _abb ;};case _d .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"}:_bfg .Choice =NewEG_ObjectChoicesChoice ();if _dcg :=d .DecodeElement (&_bfg .Choice .Pic ,&_fgg );_dcg !=nil {return _dcg ;};default:_e .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",_fgg .Name );if _ade :=d .Skip ();_ade !=nil {return _ade ;};};case _d .EndElement :break _gggff ;case _d .CharData :};};return nil ;};
|
|
|
|
// Validate validates the CT_Picture and its children
|
|
func (_dda *CT_Picture )Validate ()error {return _dda .ValidateWithPath ("\u0043\u0054\u005f\u0050\u0069\u0063\u0074\u0075\u0072\u0065");};
|
|
|
|
// Validate validates the EG_Anchor and its children
|
|
func (_aaab *EG_Anchor )Validate ()error {return _aaab .ValidateWithPath ("\u0045G\u005f\u0041\u006e\u0063\u0068\u006fr");};
|
|
|
|
// Validate validates the CT_Drawing and its children
|
|
func (_faf *CT_Drawing )Validate ()error {return _faf .ValidateWithPath ("\u0043\u0054\u005f\u0044\u0072\u0061\u0077\u0069\u006e\u0067");};
|
|
|
|
// ValidateWithPath validates the CT_ConnectorNonVisual and its children, prefixing error messages with path
|
|
func (_cc *CT_ConnectorNonVisual )ValidateWithPath (path string )error {if _ggfc :=_cc .CNvPr .ValidateWithPath (path +"\u002f\u0043\u004e\u0076\u0050\u0072");_ggfc !=nil {return _ggfc ;};if _cgg :=_cc .CNvCxnSpPr .ValidateWithPath (path +"/\u0043\u004e\u0076\u0043\u0078\u006e\u0053\u0070\u0050\u0072");_cgg !=nil {return _cgg ;};return nil ;};func (_edea *CT_Picture )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_edea .NvPicPr =NewCT_PictureNonVisual ();_edea .BlipFill =_aa .NewCT_BlipFillProperties ();_edea .SpPr =_aa .NewCT_ShapeProperties ();for _ ,_afce :=range start .Attr {if _afce .Name .Local =="\u006d\u0061\u0063r\u006f"{_edbde ,_bcc :=_afce .Value ,error (nil );if _bcc !=nil {return _bcc ;};_edea .MacroAttr =&_edbde ;continue ;};if _afce .Name .Local =="\u0066\u0050\u0075\u0062\u006c\u0069\u0073\u0068\u0065\u0064"{_gdd ,_dga :=_ac .ParseBool (_afce .Value );if _dga !=nil {return _dga ;};_edea .FPublishedAttr =&_gdd ;continue ;};};_cfec :for {_edag ,_fdgf :=d .Token ();if _fdgf !=nil {return _fdgf ;};switch _cggg :=_edag .(type ){case _d .StartElement :switch _cggg .Name {case _d .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 _ggd :=d .DecodeElement (_edea .NvPicPr ,&_cggg );_ggd !=nil {return _ggd ;};case _d .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 _eeed :=d .DecodeElement (_edea .BlipFill ,&_cggg );_eeed !=nil {return _eeed ;};case _d .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 _gbef :=d .DecodeElement (_edea .SpPr ,&_cggg );_gbef !=nil {return _gbef ;};case _d .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"}:_edea .Style =_aa .NewCT_ShapeStyle ();if _edca :=d .DecodeElement (_edea .Style ,&_cggg );_edca !=nil {return _edca ;};default:_e .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",_cggg .Name );if _cbf :=d .Skip ();_cbf !=nil {return _cbf ;};};case _d .EndElement :break _cfec ;case _d .CharData :};};return nil ;};func init (){_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );_af .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 );}; |