642 lines
1.5 MiB
Go
Raw Normal View History

2020-08-23 14:15:53 +00:00
//
// 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/
2020-10-12 13:59:12 +00:00
package vml ;import (_d "encoding/xml";_c "fmt";_a "github.com/unidoc/unioffice";_ec "github.com/unidoc/unioffice/schema/soo/ofc/sharedTypes";_gc "github.com/unidoc/unioffice/schema/soo/wml";_df "github.com/unidoc/unioffice/schema/urn/schemas_microsoft_com/office/excel";_dg "github.com/unidoc/unioffice/schema/urn/schemas_microsoft_com/office/powerpoint";_cd "github.com/unidoc/unioffice/schema/urn/schemas_microsoft_com/office/word";_g "strconv";);
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Background and its children, prefixing error messages with path
func (_dfaeg *CT_Background )ValidateWithPath (path string )error {if _eaag :=_dfaeg .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_eaag !=nil {return _eaag ;};if _fedf :=_dfaeg .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_fedf !=nil {return _fedf ;};if _eabef :=_dfaeg .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_eabef !=nil {return _eabef ;};if _bdcg :=_dfaeg .TargetscreensizeAttr .ValidateWithPath (path +"/\u0054\u0061\u0072\u0067et\u0073c\u0072\u0065\u0065\u006e\u0073i\u007a\u0065\u0041\u0074\u0074\u0072");_bdcg !=nil {return _bdcg ;};if _dfaeg .Fill !=nil {if _gfdb :=_dfaeg .Fill .ValidateWithPath (path +"\u002f\u0046\u0069l\u006c");_gfdb !=nil {return _gfdb ;};};if _afdeb :=_dfaeg .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_afdeb !=nil {return _afdeb ;};return nil ;};func NewGroup ()*Group {_ddffe :=&Group {};_ddffe .CT_Group =*NewCT_Group ();return _ddffe };const (ST_FillMethodUnset ST_FillMethod =0;ST_FillMethodNone ST_FillMethod =1;ST_FillMethodLinear ST_FillMethod =2;ST_FillMethodSigma ST_FillMethod =3;ST_FillMethodAny ST_FillMethod =4;ST_FillMethodLinearSigma ST_FillMethod =5;);
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcShapelayout and its children
func (_cagd *OfcShapelayout )Validate ()error {return _cagd .ValidateWithPath ("\u004f\u0066\u0063\u0053\u0068\u0061\u0070\u0065\u006ca\u0079\u006f\u0075\u0074");};func NewCT_PolyLine ()*CT_PolyLine {_cabgd :=&CT_PolyLine {};return _cabgd };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Ink and its children, prefixing error messages with path
func (_afcde *OfcCT_Ink )ValidateWithPath (path string )error {if _cgdff :=_afcde .AnnotationAttr .ValidateWithPath (path +"\u002fA\u006en\u006f\u0074\u0061\u0074\u0069\u006f\u006e\u0041\u0074\u0074\u0072");_cgdff !=nil {return _cgdff ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Rect and its children, prefixing error messages with path
func (_aabad *Rect )ValidateWithPath (path string )error {if _dgffa :=_aabad .CT_Rect .ValidateWithPath (path );_dgffa !=nil {return _dgffa ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_AllShapeAttributes and its children, prefixing error messages with path
func (_cde *AG_AllShapeAttributes )ValidateWithPath (path string )error {if _cag :=_cde .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_cag !=nil {return _cag ;};if _gad :=_cde .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_gad !=nil {return _gad ;};if _aecb :=_cde .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_aecb !=nil {return _aecb ;};if _faf :=_cde .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_faf !=nil {return _faf ;};if _fcff :=_cde .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_fcff !=nil {return _fcff ;};if _deg :=_cde .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_deg !=nil {return _deg ;};if _bfg :=_cde .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_bfg !=nil {return _bfg ;};if _edge :=_cde .ForcedashAttr .ValidateWithPath (path +"\u002f\u0046\u006f\u0072\u0063\u0065\u0064\u0061\u0073h\u0041\u0074\u0074\u0072");_edge !=nil {return _edge ;};if _efcc :=_cde .OleiconAttr .ValidateWithPath (path +"\u002f\u004f\u006ce\u0069\u0063\u006f\u006e\u0041\u0074\u0074\u0072");_efcc !=nil {return _efcc ;};if _fafa :=_cde .OleAttr .ValidateWithPath (path +"\u002f\u004f\u006c\u0065\u0041\u0074\u0074\u0072");_fafa !=nil {return _fafa ;};if _fdg :=_cde .PreferrelativeAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0065fe\u0072\u0072\u0065\u006c\u0061\u0074\u0069\u0076\u0065\u0041\u0074\u0074\u0072");_fdg !=nil {return _fdg ;};if _fed :=_cde .CliptowrapAttr .ValidateWithPath (path +"\u002fC\u006ci\u0070\u0074\u006f\u0077\u0072\u0061\u0070\u0041\u0074\u0074\u0072");_fed !=nil {return _fed ;};if _bb :=_cde .ClipAttr .ValidateWithPath (path +"\u002fC\u006c\u0069\u0070\u0041\u0074\u0074r");_bb !=nil {return _bb ;};return nil ;};type OfcCT_RelationTable struct{Rel []*OfcCT_Relation ;ExtAttr ST_Ext ;};func (_dfbf *CT_PolyLine )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_bafgf :=range start .Attr {if _bafgf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bafgf .Name .Local =="\u0075s\u0065\u0072\u0064\u0072\u0061\u0077n"{_dfbf .UserdrawnAttr .UnmarshalXMLAttr (_bafgf );continue ;};if _bafgf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bafgf .Name .Local =="\u0063\u006c\u0069\u0070"{_dfbf .ClipAttr .UnmarshalXMLAttr (_bafgf );continue ;};if _bafgf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bafgf .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_dfbf .UserhiddenAttr .UnmarshalXMLAttr (_bafgf );continue ;};if _bafgf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bafgf .Name .Local =="\u0069n\u0073\u0065\u0074\u006d\u006f\u0064e"{_dfbf .InsetmodeAttr .UnmarshalXMLAttr (_bafgf );continue ;};if _bafgf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bafgf .Name .Local =="\u0062\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Handles and its children
func (_efec *Handles )Validate ()error {return _efec .ValidateWithPath ("\u0048a\u006e\u0064\u006c\u0065\u0073");};func (_bcaca *CT_ImageData )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_beaeg :=range start .Attr {if _beaeg .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"&&_beaeg .Name .Local =="\u0070\u0069\u0063\u0074"||_beaeg .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f\u002fp\u0075\u0072\u006c.\u006f\u0063\u006cc\u002e\u006fr\u0067\u002f\u006f\u006f\u0078\u006dl\u002fof\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0072\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073\u0068\u0069\u0070\u0073"&&_beaeg .Name .Local =="\u0070\u0069\u0063\u0074"{_abfd ,_baaa :=_beaeg .Value ,error (nil );if _baaa !=nil {return _baaa ;};_bcaca .PictAttr =&_abfd ;continue ;};if _beaeg .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"&&_beaeg .Name .Local =="\u0068\u0072\u0065\u0066"||_beaeg .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f\u002fp\u0075\u0072\u006c.\u006f\u0063\u006cc\u002e\u006fr\u0067\u002f\u006f\u006f\u0078\u006dl\u002fof\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0072\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073\u0068\u0069\u0070\u0073"&&_beaeg .Name .Local =="\u0068\u0072\u0065\u0066"{_adade ,_aaee :=_beaeg .Value ,error (nil );if _aaee !=nil {return _aaee ;};_bcaca .RHrefAttr =&_adade ;continue ;};if _beaeg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_beaeg .Name .Local =="\u0068\u0072\u0065\u0066"{_bacda ,_dfgg :=_beaeg .Value ,error (nil );if _dfgg !=nil {return _dfgg ;};_bcaca .HrefAttr =&_bacda ;continue ;};if _beaeg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_beaeg .Name .Local =="\u0061l\u0074\u0068\u0072\u0065\u0066"{_aegac ,_faeaf :=_beaeg .Value ,error (nil );if _faeaf !=nil {return _faeaf ;};_bcaca .AlthrefAttr =&_aegac ;continue ;};if _beaeg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_beaeg .Name .Local =="\u0074\u0069\u0074l\u0065"{_bgbd ,_gddb :=_beaeg .Value ,error (nil );if _gddb !=nil {return _gddb ;};_bcaca .TitleAttr =&_bgbd ;continue ;};if _beaeg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_beaeg .Name .Local =="\u006f\u006c\u0065i\u0064"{_agdgg ,_bgdba :=_g .ParseFloat (_beaeg .Value ,64);if _bgdba !=nil {return _bgdba ;};_bfcdd :=float32 (_agdgg );_bcaca .OleidAttr =&_bfcdd ;continue ;};if _beaeg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_beaeg .Name .Local =="\u0064\u0065t\u006
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcClippath and its children
func (_gfcfgd *OfcClippath )Validate ()error {return _gfcfgd .ValidateWithPath ("O\u0066\u0063\u0043\u006c\u0069\u0070\u0070\u0061\u0074\u0068");};type OfcCT_Diagram struct{DgmstyleAttr *int64 ;AutoformatAttr _ec .ST_TrueFalse ;ReverseAttr _ec .ST_TrueFalse ;AutolayoutAttr _ec .ST_TrueFalse ;DgmscalexAttr *int64 ;DgmscaleyAttr *int64 ;DgmfontsizeAttr *int64 ;ConstrainboundsAttr *string ;DgmbasetextscaleAttr *int64 ;Relationtable *OfcCT_RelationTable ;ExtAttr ST_Ext ;};const (OfcST_ColorModeUnset OfcST_ColorMode =0;OfcST_ColorModeAuto OfcST_ColorMode =1;OfcST_ColorModeCustom OfcST_ColorMode =2;);func NewOfcExtrusion ()*OfcExtrusion {_aaed :=&OfcExtrusion {};_aaed .OfcCT_Extrusion =*NewOfcCT_Extrusion ();return _aaed ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_ImageData and its children, prefixing error messages with path
func (_adcd *CT_ImageData )ValidateWithPath (path string )error {if _cgeg :=_adcd .DetectmouseclickAttr .ValidateWithPath (path +"/\u0044\u0065\u0074\u0065ct\u006do\u0075\u0073\u0065\u0063\u006ci\u0063\u006b\u0041\u0074\u0074\u0072");_cgeg !=nil {return _cgeg ;};if _dbed :=_adcd .GrayscaleAttr .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0079\u0073\u0063\u0061\u006ce\u0041\u0074\u0074\u0072");_dbed !=nil {return _dbed ;};if _gfaf :=_adcd .BilevelAttr .ValidateWithPath (path +"\u002f\u0042\u0069l\u0065\u0076\u0065\u006c\u0041\u0074\u0074\u0072");_gfaf !=nil {return _gfaf ;};return nil ;};func NewOfcCT_Skew ()*OfcCT_Skew {_gbbgf :=&OfcCT_Skew {};return _gbbgf };func NewAG_Id ()*AG_Id {_ead :=&AG_Id {};return _ead };type CT_Fill struct{TypeAttr ST_FillType ;OnAttr _ec .ST_TrueFalse ;ColorAttr *string ;OpacityAttr *string ;Color2Attr *string ;SrcAttr *string ;HrefAttr *string ;AlthrefAttr *string ;SizeAttr *string ;OriginAttr *string ;PositionAttr *string ;AspectAttr ST_ImageAspect ;ColorsAttr *string ;AngleAttr *float64 ;AlignshapeAttr _ec .ST_TrueFalse ;FocusAttr *string ;FocussizeAttr *string ;FocuspositionAttr *string ;MethodAttr ST_FillMethod ;DetectmouseclickAttr _ec .ST_TrueFalse ;TitleAttr *string ;Opacity2Attr *string ;RecolorAttr _ec .ST_TrueFalse ;RotateAttr _ec .ST_TrueFalse ;IdAttr *string ;RelidAttr *string ;Fill *OfcFill ;SIdAttr *string ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcClippath and its children, prefixing error messages with path
func (_cdcba *OfcClippath )ValidateWithPath (path string )error {if _dbaac :=_cdcba .OfcCT_ClipPath .ValidateWithPath (path );_dbaac !=nil {return _dbaac ;};return nil ;};func (_ddcde OfcST_ExtrusionPlane )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_gebaa :=_d .Attr {};_gebaa .Name =name ;switch _ddcde {case OfcST_ExtrusionPlaneUnset :_gebaa .Value ="";case OfcST_ExtrusionPlaneXY :_gebaa .Value ="\u0058\u0059";case OfcST_ExtrusionPlaneZX :_gebaa .Value ="\u005a\u0058";case OfcST_ExtrusionPlaneYZ :_gebaa .Value ="\u0059\u005a";};return _gebaa ,nil ;};func (_babdeg *OfcCT_Callout )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dddeb :=range start .Attr {if _dddeb .Name .Local =="\u006ce\u006eg\u0074\u0068\u0073\u0070\u0065\u0063\u0069\u0066\u0069\u0065\u0064"{_babdeg .LengthspecifiedAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u006f\u006e"{_babdeg .OnAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u0067\u0061\u0070"{_bcbbf ,_fcefa :=_dddeb .Value ,error (nil );if _fcefa !=nil {return _fcefa ;};_babdeg .GapAttr =&_bcbbf ;continue ;};if _dddeb .Name .Local =="\u0061\u006e\u0067l\u0065"{_babdeg .AngleAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u0064\u0072\u006f\u0070\u0061\u0075\u0074\u006f"{_babdeg .DropautoAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u0064\u0072\u006f\u0070"{_fegba ,_cfbfe :=_dddeb .Value ,error (nil );if _cfbfe !=nil {return _cfbfe ;};_babdeg .DropAttr =&_fegba ;continue ;};if _dddeb .Name .Local =="\u0064\u0069\u0073\u0074\u0061\u006e\u0063\u0065"{_fdcbg ,_ebeff :=_dddeb .Value ,error (nil );if _ebeff !=nil {return _ebeff ;};_babdeg .DistanceAttr =&_fdcbg ;continue ;};if _dddeb .Name .Local =="\u0074\u0079\u0070\u0065"{_caac ,_cbcdf :=_dddeb .Value ,error (nil );if _cbcdf !=nil {return _cbcdf ;};_babdeg .TypeAttr =&_caac ;continue ;};if _dddeb .Name .Local =="\u006c\u0065\u006e\u0067\u0074\u0068"{_fcgcg ,_cddcc :=_dddeb .Value ,error (nil );if _cddcc !=nil {return _cddcc ;};_babdeg .LengthAttr =&_fcgcg ;continue ;};if _dddeb .Name .Local =="\u0061c\u0063\u0065\u006e\u0074\u0062\u0061r"{_babdeg .AccentbarAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u0074\u0065\u0078\u0074\u0062\u006f\u0072\u0064\u0065\u0072"{_babdeg .TextborderAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u006d\u0069\u006e\u0075\u0073\u0078"{_babdeg .MinusxAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u006d\u0069\u006e\u0075\u0073\u0079"{_babdeg .MinusyAttr .UnmarshalXMLAttr (_dddeb );continue ;};if _dddeb .Name .Local =="\u0065\u0078\u0074"{_babdeg .ExtAttr .UnmarshalXMLAttr (_dddeb );continue ;};};for {_dcbg ,_bfeg :=d .Token ();if _bfeg !=nil {return _c .Errorf ("\u0070a\u0072\u0073\u0069\u006eg\u0020\u004f\u0066\u0063\u0043T\u005fC\u0061l\u006c\u006f\u0075\u0074\u003a\u0020\u0025s",_bfeg );};if _dcac ,_dageg :=_dcbg .(_d .EndElement );_dageg &&_dcac .Name ==start .Name {break ;};};return nil ;};func (_cacgb ST_StrokeJoinStyle )Validate ()error {return _cacgb .ValidateWithPath ("")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Extrusion and its children
func (_edcbc *OfcCT_Extrusion )Validate ()error {return _edcbc .ValidateWithPath ("\u004ff\u0063C\u0054\u005f\u0045\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Fill and its children, prefixing error messages with path
func (_gcca *OfcCT_Fill )ValidateWithPath (path string )error {if _fcdca :=_gcca .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_fcdca !=nil {return _fcdca ;};if _edfbe :=_gcca .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_edfbe !=nil {return _edfbe ;};return nil ;};func (_bdaa *OfcST_ConnectorType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gdabf ,_dgeg :=d .Token ();if _dgeg !=nil {return _dgeg ;};if _adbbf ,_cdagc :=_gdabf .(_d .EndElement );_cdagc &&_adbbf .Name ==start .Name {*_bdaa =1;return nil ;};if _dbfec ,_egaec :=_gdabf .(_d .CharData );!_egaec {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_gdabf );}else {switch string (_dbfec ){case "":*_bdaa =0;case "\u006e\u006f\u006e\u0065":*_bdaa =1;case "\u0073\u0074\u0072\u0061\u0069\u0067\u0068\u0074":*_bdaa =2;case "\u0065\u006c\u0062o\u0077":*_bdaa =3;case "\u0063\u0075\u0072\u0076\u0065\u0064":*_bdaa =4;};};_gdabf ,_dgeg =d .Token ();if _dgeg !=nil {return _dgeg ;};if _aeaag ,_eeabe :=_gdabf .(_d .EndElement );_eeabe &&_aeaag .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_gdabf );};func (_eecfa *Roundrect )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _eecfa .CT_RoundRect .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Background and its children
func (_gfeaa *CT_Background )Validate ()error {return _gfeaa .ValidateWithPath ("\u0043\u0054\u005f\u0042\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064");};func (_ggecb OfcST_ConnectorType )ValidateWithPath (path string )error {switch _ggecb {case 0,1,2,3,4:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_ggecb ));};return nil ;};func (_ggaead ST_FillMethod )ValidateWithPath (path string )error {switch _ggaead {case 0,1,2,3,4,5:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_ggaead ));};return nil ;};func (_gbce *CT_RoundRect )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_acbda :=range start .Attr {if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0075s\u0065\u0072\u0064\u0072\u0061\u0077n"{_gbce .UserdrawnAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_gdaf ,_dgfdgg :=_acbda .Value ,error (nil );if _dgfdgg !=nil {return _dgfdgg ;};_gbce .BordertopcolorAttr =&_gdaf ;continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_gbce .UserhiddenAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_gbce .BulletAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_gbce .CliptowrapAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0068\u0072"{_gbce .HrAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u006f\u006c\u0065"{_gbce .OleAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acbda .Name .Local =="\u0068\u0072\u0073t\u0064"{_gbce .HrstdAttr .UnmarshalXMLAttr (_acbda );continue ;};if _acbda .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u00
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_ShapeAttributes and its children
func (_afd *AG_ShapeAttributes )Validate ()error {return _afd .ValidateWithPath ("\u0041G\u005fS\u0068\u0061\u0070\u0065\u0041t\u0074\u0072i\u0062\u0075\u0074\u0065\u0073");};func NewBackground ()*Background {_defeb :=&Background {};_defeb .CT_Background =*NewCT_Background ();return _defeb ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_ShapeLayout and its children
func (_cfeae *OfcCT_ShapeLayout )Validate ()error {return _cfeae .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004ca\u0079\u006f\u0075\u0074");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_ClipPath and its children, prefixing error messages with path
func (_gggce *OfcCT_ClipPath )ValidateWithPath (path string )error {return nil };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Style and its children
func (_ggb *AG_Style )Validate ()error {return _ggb .ValidateWithPath ("\u0041\u0047\u005f\u0053\u0074\u0079\u006c\u0065");};func NewAG_Adj ()*AG_Adj {_ecd :=&AG_Adj {};return _ecd };func (_ggcgg *OfcSkew )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _ggcgg .OfcCT_Skew .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// Validate validates the AG_ImageAttributes and its children
2020-10-12 13:59:12 +00:00
func (_fedd *AG_ImageAttributes )Validate ()error {return _fedd .ValidateWithPath ("\u0041G\u005fI\u006d\u0061\u0067\u0065\u0041t\u0074\u0072i\u0062\u0075\u0074\u0065\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_SignatureLine and its children
func (_acag *OfcCT_SignatureLine )Validate ()error {return _acag .ValidateWithPath ("\u004f\u0066\u0063\u0043T_\u0053\u0069\u0067\u006e\u0061\u0074\u0075\u0072\u0065\u004c\u0069\u006e\u0065");};func (_fbebba OfcST_ExtrusionRender )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_fbebba .String (),start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Proxy and its children, prefixing error messages with path
func (_ddgfe *OfcCT_Proxy )ValidateWithPath (path string )error {if _gcccf :=_ddgfe .StartAttr .ValidateWithPath (path +"\u002f\u0053\u0074\u0061\u0072\u0074\u0041\u0074\u0074\u0072");_gcccf !=nil {return _gcccf ;};if _ceaab :=_ddgfe .EndAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064\u0041\u0074\u0074\u0072");_ceaab !=nil {return _ceaab ;};return nil ;};type ST_StrokeArrowLength byte ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Oval and its children
func (_efadgc *Oval )Validate ()error {return _efadgc .ValidateWithPath ("\u004f\u0076\u0061\u006c")};func NewCT_Formulas ()*CT_Formulas {_fafae :=&CT_Formulas {};return _fafae };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Ink and its children
func (_cbeadc *OfcCT_Ink )Validate ()error {return _cbeadc .ValidateWithPath ("\u004ff\u0063\u0043\u0054\u005f\u0049\u006ek");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcLeft and its children
func (_gdcea *OfcLeft )Validate ()error {return _gdcea .ValidateWithPath ("\u004ff\u0063\u004c\u0065\u0066\u0074");};func NewOfcCT_Extrusion ()*OfcCT_Extrusion {_gbbcb :=&OfcCT_Extrusion {};return _gbbcb };func (_gfaag ST_StrokeArrowLength )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gfaag .String (),start );};func (_bgfb ST_EditAs )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_dgbec :=_d .Attr {};_dgbec .Name =name ;switch _bgfb {case ST_EditAsUnset :_dgbec .Value ="";case ST_EditAsCanvas :_dgbec .Value ="\u0063\u0061\u006e\u0076\u0061\u0073";case ST_EditAsOrgchart :_dgbec .Value ="\u006f\u0072\u0067\u0063\u0068\u0061\u0072\u0074";case ST_EditAsRadial :_dgbec .Value ="\u0072\u0061\u0064\u0069\u0061\u006c";case ST_EditAsCycle :_dgbec .Value ="\u0063\u0079\u0063l\u0065";case ST_EditAsStacked :_dgbec .Value ="\u0073t\u0061\u0063\u006b\u0065\u0064";case ST_EditAsVenn :_dgbec .Value ="\u0076\u0065\u006e\u006e";case ST_EditAsBullseye :_dgbec .Value ="\u0062\u0075\u006c\u006c\u0073\u0065\u0079\u0065";};return _dgbec ,nil ;};func (_gffc *OfcShapelayout )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gffc .OfcCT_ShapeLayout =*NewOfcCT_ShapeLayout ();for _ ,_gebg :=range start .Attr {if _gebg .Name .Local =="\u0065\u0078\u0074"{_gffc .ExtAttr .UnmarshalXMLAttr (_gebg );continue ;};};_fdeag :for {_caefc ,_ceeac :=d .Token ();if _ceeac !=nil {return _ceeac ;};switch _fcded :=_caefc .(type ){case _d .StartElement :switch _fcded .Name {case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0069\u0064\u006da\u0070"}:_gffc .Idmap =NewOfcCT_IdMap ();if _bdfec :=d .DecodeElement (_gffc .Idmap ,&_fcded );_bdfec !=nil {return _bdfec ;};case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0072\u0065\u0067r\u006f\u0075\u0070\u0074\u0061\u0062\u006c\u0065"}:_gffc .Regrouptable =NewOfcCT_RegroupTable ();if _fbdag :=d .DecodeElement (_gffc .Regrouptable ,&_fcded );_fbdag !=nil {return _fbdag ;};case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0072\u0075\u006ce\u0073"}:_gffc .Rules =NewOfcCT_Rules ();if _aadfad :=d .DecodeElement (_gffc .Rules ,&_fcded );_aadfad !=nil {return _aadfad ;};default:_a .Log ("\u0073\u006b\u0069\u0070\u0070\u0069n\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006et\u0020\u006f\u006e\u0020\u004f\u0066\u0063\u0053\u0068\u0061\u0070\u0065\u006c\u0061y\u006fu\u0074\u0020\u0025\u0076",_fcded .Name );if _egbaa :=d .Skip ();_egbaa !=nil {return _egbaa ;};};case _d .EndElement :break _fdeag ;case _d .CharData :};};return nil ;};func (_ebbfad *OfcST_ExtrusionRender )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gcfef ,_aaeeb :=d .Token ();if _aaeeb !=nil {return _aaeeb ;};if _cbffb ,_bfggc :=_gcfef .(_d .EndElement );_bfggc &&_cbffb .Name ==start .Name {*_ebbfad =1;return nil ;};if _acedg ,_ggcbd :=_gcfef .(_d .CharData );!_ggcbd {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_gcfef );}else {switch string (_acedg ){case "":*_ebbfad =0;case "\u0073\u006f\u006ci\u0064":*_ebbfad =1;case "\u0077i\u0072\u0065\u0046\u0072\u0061\u006de":*_ebbfad =2;case "\u0062\u006f\u0075n\u0064\u0069\u006e\u0067\u0043\u0075\u0062\u0065":*_ebbfad =3;};};_gcfef ,_aaeeb =d .Token ();if _aaeeb !=nil {return _aaeeb ;};if _fgeace ,_fbbcg :=_gcfef .(_d .EndElement );_fbbcg &&_fgeace .Name ==start .
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_PolyLine and its children
func (_abfbe *CT_PolyLine )Validate ()error {return _abfbe .ValidateWithPath ("C\u0054\u005f\u0050\u006f\u006c\u0079\u004c\u0069\u006e\u0065");};type OfcCT_ColorMenu struct{StrokecolorAttr *string ;FillcolorAttr *string ;ShadowcolorAttr *string ;ExtrusioncolorAttr *string ;ExtAttr ST_Ext ;};type OfcCT_Ink struct{IAttr *string ;AnnotationAttr _ec .ST_TrueFalse ;ContentTypeAttr *string ;};func (_efbeb OfcST_InsetMode )ValidateWithPath (path string )error {switch _efbeb {case 0,1,2:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_efbeb ));};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Diagram and its children, prefixing error messages with path
func (_feface *OfcCT_Diagram )ValidateWithPath (path string )error {if _fbdb :=_feface .AutoformatAttr .ValidateWithPath (path +"\u002fA\u0075t\u006f\u0066\u006f\u0072\u006d\u0061\u0074\u0041\u0074\u0074\u0072");_fbdb !=nil {return _fbdb ;};if _gbecf :=_feface .ReverseAttr .ValidateWithPath (path +"\u002f\u0052\u0065v\u0065\u0072\u0073\u0065\u0041\u0074\u0074\u0072");_gbecf !=nil {return _gbecf ;};if _ccfgc :=_feface .AutolayoutAttr .ValidateWithPath (path +"\u002fA\u0075t\u006f\u006c\u0061\u0079\u006f\u0075\u0074\u0041\u0074\u0074\u0072");_ccfgc !=nil {return _ccfgc ;};if _feface .Relationtable !=nil {if _fcgfa :=_feface .Relationtable .ValidateWithPath (path +"\u002f\u0052\u0065\u006c\u0061\u0074\u0069\u006f\u006et\u0061\u0062\u006c\u0065");_fcgfa !=nil {return _fcgfa ;};};if _gfaeg :=_feface .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_gfaeg !=nil {return _gfaeg ;};return nil ;};func (_fcfccg *OfcST_InsetMode )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cdab ,_agedf :=d .Token ();if _agedf !=nil {return _agedf ;};if _cffdec ,_degfa :=_cdab .(_d .EndElement );_degfa &&_cffdec .Name ==start .Name {*_fcfccg =1;return nil ;};if _dfdgfd ,_dcedg :=_cdab .(_d .CharData );!_dcedg {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_cdab );}else {switch string (_dfdgfd ){case "":*_fcfccg =0;case "\u0061\u0075\u0074\u006f":*_fcfccg =1;case "\u0063\u0075\u0073\u0074\u006f\u006d":*_fcfccg =2;};};_cdab ,_agedf =d .Token ();if _agedf !=nil {return _agedf ;};if _dbdfdc ,_cgbdae :=_cdab .(_d .EndElement );_cgbdae &&_dbdfdc .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_cdab );};type OfcCT_Entry struct{NewAttr *int32 ;OldAttr *int32 ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Ext and its children, prefixing error messages with path
func (_fbf *AG_Ext )ValidateWithPath (path string )error {if _fbf .ExtAttr ==ST_ExtUnset {return _c .Errorf ("\u0025\u0073\u002fE\u0078\u0074\u0041\u0074t\u0072\u0020\u0069\u0073\u0020\u0061\u0020m\u0061\u006e\u0064\u0061\u0074\u006f\u0072\u0079\u0020\u0066\u0069\u0065\u006c\u0064",path );};if _gcbb :=_fbf .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_gcbb !=nil {return _gcbb ;};return nil ;};func (_eaeag *CT_RoundRect )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eaeag .ArcsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061r\u0063\u0073\u0069\u007a\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .ArcsizeAttr )});};if _eaeag .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .HrefAttr )});};if _eaeag .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .TargetAttr )});};if _eaeag .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .ClassAttr )});};if _eaeag .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .TitleAttr )});};if _eaeag .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .AltAttr )});};if _eaeag .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .CoordsizeAttr )});};if _eaeag .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .CoordoriginAttr )});};if _eaeag .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .WrapcoordsAttr )});};if _eaeag .PrintAttr !=_ec .ST_TrueFalseUnset {_aagdb ,_feeefe :=_eaeag .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _feeefe !=nil {return _feeefe ;};start .Attr =append (start .Attr ,_aagdb );};if _eaeag .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .IdAttr )});};if _eaeag .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .StyleAttr )});};if _eaeag .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .SpidAttr )});};if _eaeag .OnedAttr !=_ec .ST_TrueFalseUnset {_dfec ,_ebfbf :=_eaeag .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _ebfbf !=nil {return _ebfbf ;};start .Attr =append (start .Attr ,_dfec );};if _eaeag .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u0072\u006f\u0075\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_eaeag .RegroupidAttr )});};if _eaeag .DoubleclicknotifyAttr !=_ec .ST_TrueFalseUnset {_cffb ,_efeb :=_eaeag .DoubleclicknotifyAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"});if _efeb !=nil {return _efeb ;};start .Attr =append (start .Attr ,_cffb );};if _eaeag .ButtonAttr !=_ec .ST_TrueFalseUnset {_bagd ,_gabeb :=_eaeag .ButtonAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u0074\u0074\u006f\u006e"});if _gabeb !=nil {return _gabeb ;};start .Attr =append (start .Attr ,_bagd );};if _eaeag
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcTop and its children
func (_bbag *OfcTop )Validate ()error {return _bbag .ValidateWithPath ("\u004f\u0066\u0063\u0054\u006f\u0070");};func (_gcdg *AG_StrokeAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _gcdg .OnAttr !=_ec .ST_TrueFalseUnset {_cef ,_ccae :=_gcdg .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _ccae !=nil {return _ccae ;};start .Attr =append (start .Attr ,_cef );};if _gcdg .WeightAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0065\u0069\u0067\u0068\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .WeightAttr )});};if _gcdg .ColorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006co\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .ColorAttr )});};if _gcdg .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .OpacityAttr )});};if _gcdg .LinestyleAttr !=ST_StrokeLineStyleUnset {_agd ,_bfab :=_gcdg .LinestyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"});if _bfab !=nil {return _bfab ;};start .Attr =append (start .Attr ,_agd );};if _gcdg .MiterlimitAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0069\u0074\u0065\u0072\u006c\u0069\u006d\u0069\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .MiterlimitAttr )});};if _gcdg .JoinstyleAttr !=ST_StrokeJoinStyleUnset {_dcge ,_dacd :=_gcdg .JoinstyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"});if _dacd !=nil {return _dacd ;};start .Attr =append (start .Attr ,_dcge );};if _gcdg .EndcapAttr !=ST_StrokeEndCapUnset {_affd ,_cfga :=_gcdg .EndcapAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u006e\u0064\u0063\u0061\u0070"});if _cfga !=nil {return _cfga ;};start .Attr =append (start .Attr ,_affd );};if _gcdg .DashstyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .DashstyleAttr )});};if _gcdg .FilltypeAttr !=ST_FillTypeUnset {_dgceg ,_abbg :=_gcdg .FilltypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c\u0074\u0079\u0070\u0065"});if _abbg !=nil {return _abbg ;};start .Attr =append (start .Attr ,_dgceg );};if _gcdg .SrcAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0072\u0063"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .SrcAttr )});};if _gcdg .ImageaspectAttr !=ST_ImageAspectUnset {_fbec ,_gded :=_gcdg .ImageaspectAttr .MarshalXMLAttr (_d .Name {Local :"i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"});if _gded !=nil {return _gded ;};start .Attr =append (start .Attr ,_fbec );};if _gcdg .ImagesizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069m\u0061\u0067\u0065\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .ImagesizeAttr )});};if _gcdg .ImagealignshapeAttr !=_ec .ST_TrueFalseUnset {_cedg ,_aef :=_gcdg .ImagealignshapeAttr .MarshalXMLAttr (_d .Name {Local :"\u0069m\u0061g\u0065\u0061\u006c\u0069\u0067\u006e\u0073\u0068\u0061\u0070\u0065"});if _aef !=nil {return _aef ;};start .Attr =append (start .Attr ,_cedg );};if _gcdg .Color2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_gcdg .Color2Attr )});};if _gcdg .StartarrowAttr !=ST_StrokeArrowTypeUnset {_ddga ,_bdeb :=_gcdg .StartarrowAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"});if _bdeb !=nil {return _bdeb ;};start .Attr =append (start .Attr ,_ddga );};if _gcdg .StartarrowwidthAttr !=ST_StrokeArrowWidthUnset {_bfe ,_afde :=_gcdg .StartarrowwidthAttr .MarshalXMLAttr (_d .Name {Local :"\u0073t\u0061r\u0074\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"});if _afde !=nil {return _afde ;};start .Attr =append (start .Attr ,_bfe );};if _gcdg .StartarrowlengthAttr !=S
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_ColorMenu and its children, prefixing error messages with path
func (_adabb *OfcCT_ColorMenu )ValidateWithPath (path string )error {if _cdgcf :=_adabb .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_cdgcf !=nil {return _cdgcf ;};return nil ;};func (_cbeb *Background )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006c\u006e\u0073\u003a\u0075\u0072"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068e\u006d\u0061\u0073-\u006d\u0069\u0063\u0072o\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u0070\u006f\u0077\u0065\u0072\u0070\u006f\u0069\u006e\u0074"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0075\u0072n"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068e\u006d\u0061s\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006ff\u0074\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065:\u0077\u006f\u0072\u0064"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0077"},Value :"ht\u0074\u0070:\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073.\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u0077\u006f\u0072\u0064\u0070\u0072\u006f\u0063\u0065s\u0073i\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u00306\u002fm\u0061\u0069n"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006fm\u003a\u006f\u0066\u0066\u0069c\u0065\u003ae\u0078\u0063\u0065\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u0076\u003a\u0062a\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064";return _cbeb .CT_Background .MarshalXML (e ,start );};func (_fafc *CT_PolyLine )MarshalXML
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the EG_ShapeElements and its children
func (_cfede *EG_ShapeElements )Validate ()error {return _cfede .ValidateWithPath ("\u0045\u0047_\u0053\u0068\u0061p\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073");};const (OfcST_HrAlignUnset OfcST_HrAlign =0;OfcST_HrAlignLeft OfcST_HrAlign =1;OfcST_HrAlignRight OfcST_HrAlign =2;OfcST_HrAlignCenter OfcST_HrAlign =3;);func (_ccafd *OfcCT_RegroupTable )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ccafd .ExtAttr !=ST_ExtUnset {_cagfc ,_gaeff :=_ccafd .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _gaeff !=nil {return _gaeff ;};start .Attr =append (start .Attr ,_cagfc );};e .EncodeToken (start );if _ccafd .Entry !=nil {_aafcf :=_d .StartElement {Name :_d .Name {Local :"\u006f:\u0065\u006e\u0074\u0072\u0079"}};for _ ,_afaga :=range _ccafd .Entry {e .EncodeElement (_afaga ,_aafcf );};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_fgbgg *EG_ShapeElements )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fgbgg .Path !=nil {_dcfce :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0070\u0061\u0074\u0068"}};e .EncodeElement (_fgbgg .Path ,_dcfce );};if _fgbgg .Formulas !=nil {_gfaa :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0066\u006f\u0072\u006d\u0075\u006c\u0061\u0073"}};e .EncodeElement (_fgbgg .Formulas ,_gfaa );};if _fgbgg .Handles !=nil {_afcaa :=_d .StartElement {Name :_d .Name {Local :"\u0076:\u0068\u0061\u006e\u0064\u006c\u0065s"}};e .EncodeElement (_fgbgg .Handles ,_afcaa );};if _fgbgg .Fill !=nil {_bcdd :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0066\u0069\u006c\u006c"}};e .EncodeElement (_fgbgg .Fill ,_bcdd );};if _fgbgg .Stroke !=nil {_edgac :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0073\u0074\u0072\u006f\u006b\u0065"}};e .EncodeElement (_fgbgg .Stroke ,_edgac );};if _fgbgg .Shadow !=nil {_fbcad :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0073\u0068\u0061\u0064\u006f\u0077"}};e .EncodeElement (_fgbgg .Shadow ,_fbcad );};if _fgbgg .Textbox !=nil {_bdfdg :=_d .StartElement {Name :_d .Name {Local :"\u0076:\u0074\u0065\u0078\u0074\u0062\u006fx"}};e .EncodeElement (_fgbgg .Textbox ,_bdfdg );};if _fgbgg .Textpath !=nil {_ecgdc :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0074\u0065\u0078\u0074\u0070\u0061\u0074\u0068"}};e .EncodeElement (_fgbgg .Textpath ,_ecgdc );};if _fgbgg .Imagedata !=nil {_fefed :=_d .StartElement {Name :_d .Name {Local :"v\u003a\u0069\u006d\u0061\u0067\u0065\u0064\u0061\u0074\u0061"}};e .EncodeElement (_fgbgg .Imagedata ,_fefed );};if _fgbgg .Skew !=nil {_gdeae :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0073\u006b\u0065\u0077"}};e .EncodeElement (_fgbgg .Skew ,_gdeae );};if _fgbgg .Extrusion !=nil {_cgbda :=_d .StartElement {Name :_d .Name {Local :"o\u003a\u0065\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e"}};e .EncodeElement (_fgbgg .Extrusion ,_cgbda );};if _fgbgg .Callout !=nil {_edae :=_d .StartElement {Name :_d .Name {Local :"\u006f:\u0063\u0061\u006c\u006c\u006f\u0075t"}};e .EncodeElement (_fgbgg .Callout ,_edae );};if _fgbgg .Lock !=nil {_cegc :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u006c\u006f\u0063\u006b"}};e .EncodeElement (_fgbgg .Lock ,_cegc );};if _fgbgg .Clippath !=nil {_bcdfg :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0063\u006c\u0069\u0070\u0070\u0061\u0074\u0068"}};e .EncodeElement (_fgbgg .Clippath ,_bcdfg );};if _fgbgg .Signatureline !=nil {_dfacfd :=_d .StartElement {Name :_d .Name {Local :"\u006f:\u0073i\u0067\u006e\u0061\u0074\u0075\u0072\u0065\u006c\u0069\u006e\u0065"}};e .EncodeElement (_fgbgg .Signatureline ,_dfacfd );};if _fgbgg .Wrap !=nil {_bgefg :=_d .StartElement {Name :_d .Name {Local :"\u0075\u0072\u006e\u003a\u0077\u0072\u0061\u0070"}};e .EncodeElement (_fgbgg .Wrap ,_bgefg );};if _fgbgg .Anchorlock !=nil {_gfdbc :=_d .StartElement {Name :_d .Name {Local :"\u0075\u0072\u006e\u003a\u0061\u006e\u0063\u0068\u006fr\u006c\u006f\u0063\u006b"}};e .EncodeElement (_fgbgg .Anchorlock ,_gfdbc );};if _fgbgg .Bordertop !=nil {_adeed :=_d .StartElement {Name :_d .
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Background and its children
func (_fecag *Background )Validate ()error {return _fecag .ValidateWithPath ("\u0042\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Group and its children, prefixing error messages with path
func (_abgfe *Group )ValidateWithPath (path string )error {if _ecff :=_abgfe .CT_Group .ValidateWithPath (path );_ecff !=nil {return _ecff ;};return nil ;};func (_cebae OfcST_CalloutPlacement )String ()string {switch _cebae {case 0:return "";case 1:return "\u0074\u006f\u0070";case 2:return "\u0063\u0065\u006e\u0074\u0065\u0072";case 3:return "\u0062\u006f\u0074\u0074\u006f\u006d";case 4:return "\u0075\u0073\u0065\u0072";};return "";};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcFill and its children
func (_ffefe *OfcFill )Validate ()error {return _ffefe .ValidateWithPath ("\u004ff\u0063\u0046\u0069\u006c\u006c");};func (_bggdc *OfcCT_StrokeChild )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _bggdc .OnAttr !=_ec .ST_TrueFalseUnset {_fecge ,_gabab :=_bggdc .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _gabab !=nil {return _gabab ;};start .Attr =append (start .Attr ,_fecge );};if _bggdc .WeightAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0065\u0069\u0067\u0068\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .WeightAttr )});};if _bggdc .ColorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006co\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .ColorAttr )});};if _bggdc .Color2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .Color2Attr )});};if _bggdc .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .OpacityAttr )});};if _bggdc .LinestyleAttr !=ST_StrokeLineStyleUnset {_cecaab ,_fdgfbd :=_bggdc .LinestyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"});if _fdgfbd !=nil {return _fdgfbd ;};start .Attr =append (start .Attr ,_cecaab );};if _bggdc .MiterlimitAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0069\u0074\u0065\u0072\u006c\u0069\u006d\u0069\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .MiterlimitAttr )});};if _bggdc .JoinstyleAttr !=ST_StrokeJoinStyleUnset {_gbcbdd ,_accdg :=_bggdc .JoinstyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"});if _accdg !=nil {return _accdg ;};start .Attr =append (start .Attr ,_gbcbdd );};if _bggdc .EndcapAttr !=ST_StrokeEndCapUnset {_dbdgf ,_geabda :=_bggdc .EndcapAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u006e\u0064\u0063\u0061\u0070"});if _geabda !=nil {return _geabda ;};start .Attr =append (start .Attr ,_dbdgf );};if _bggdc .DashstyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .DashstyleAttr )});};if _bggdc .InsetpenAttr !=_ec .ST_TrueFalseUnset {_fbggf ,_ecabca :=_bggdc .InsetpenAttr .MarshalXMLAttr (_d .Name {Local :"\u0069\u006e\u0073\u0065\u0074\u0070\u0065\u006e"});if _ecabca !=nil {return _ecabca ;};start .Attr =append (start .Attr ,_fbggf );};if _bggdc .FilltypeAttr !=ST_FillTypeUnset {_ggdff ,_fadda :=_bggdc .FilltypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c\u0074\u0079\u0070\u0065"});if _fadda !=nil {return _fadda ;};start .Attr =append (start .Attr ,_ggdff );};if _bggdc .SrcAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0072\u0063"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .SrcAttr )});};if _bggdc .ImageaspectAttr !=ST_ImageAspectUnset {_bcab ,_ccadb :=_bggdc .ImageaspectAttr .MarshalXMLAttr (_d .Name {Local :"i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"});if _ccadb !=nil {return _ccadb ;};start .Attr =append (start .Attr ,_bcab );};if _bggdc .ImagesizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069m\u0061\u0067\u0065\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_bggdc .ImagesizeAttr )});};if _bggdc .ImagealignshapeAttr !=_ec .ST_TrueFalseUnset {_dgfce ,_eegb :=_bggdc .ImagealignshapeAttr .MarshalXMLAttr (_d .Name {Local :"\u0069m\u0061g\u0065\u0061\u006c\u0069\u0067\u006e\u0073\u0068\u0061\u0070\u0065"});if _eegb !=nil {return _eegb ;};start .Attr =append (start .Attr ,_dgfce );};if _bggdc .StartarrowAttr !=ST_StrokeArrowTypeUnset {_bgfcb ,_eecca :=_bggdc .StartarrowAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"});if _eecca !=nil {return _eecca ;};start .Attr =append (start .At
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Curve and its children, prefixing error messages with path
func (_cbbdc *Curve )ValidateWithPath (path string )error {if _eabgc :=_cbbdc .CT_Curve .ValidateWithPath (path );_eabgc !=nil {return _eabgc ;};return nil ;};func (_dbfe *CT_Shape )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_fece :=range start .Attr {if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0072e\u0067\u0072\u006f\u0075\u0070\u0069d"{_fdac ,_ddba :=_g .ParseInt (_fece .Value ,10,64);if _ddba !=nil {return _ddba ;};_dbfe .RegroupidAttr =&_fdac ;continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"{_dbfe .DoubleclicknotifyAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0063\u006c\u0069\u0070"{_dbfe .ClipAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0062\u0075\u0074\u0074\u006f\u006e"{_dbfe .ButtonAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_dbfe .UserhiddenAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_dbfe .BulletAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0067f\u0078\u0064\u0061\u0074\u0061"{_begee ,_dfeea :=_fece .Value ,error (nil );if _dfeea !=nil {return _dfeea ;};_dbfe .GfxdataAttr =&_begee ;continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u0068\u0072"{_dbfe .HrAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="\u006f\u006c\u0065"{_dbfe .OleAttr .UnmarshalXMLAttr (_fece );continue ;};if _fece .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fece .Name .Local =="a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"{_dbfe .AllowincellAttr .UnmarshalXM
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Extrusion and its children, prefixing error messages with path
func (_ebafa *OfcCT_Extrusion )ValidateWithPath (path string )error {if _ggbac :=_ebafa .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_ggbac !=nil {return _ggbac ;};if _cddda :=_ebafa .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_cddda !=nil {return _cddda ;};if _fdccbf :=_ebafa .RenderAttr .ValidateWithPath (path +"/\u0052\u0065\u006e\u0064\u0065\u0072\u0041\u0074\u0074\u0072");_fdccbf !=nil {return _fdccbf ;};if _daafce :=_ebafa .PlaneAttr .ValidateWithPath (path +"\u002f\u0050\u006c\u0061\u006e\u0065\u0041\u0074\u0074\u0072");_daafce !=nil {return _daafce ;};if _abbfe :=_ebafa .LockrotationcenterAttr .ValidateWithPath (path +"\u002f\u004c\u006fck\u0072\u006f\u0074\u0061\u0074\u0069\u006f\u006e\u0063\u0065\u006e\u0074\u0065\u0072\u0041\u0074\u0074\u0072");_abbfe !=nil {return _abbfe ;};if _bcaga :=_ebafa .AutorotationcenterAttr .ValidateWithPath (path +"\u002f\u0041\u0075to\u0072\u006f\u0074\u0061\u0074\u0069\u006f\u006e\u0063\u0065\u006e\u0074\u0065\u0072\u0041\u0074\u0074\u0072");_bcaga !=nil {return _bcaga ;};if _bdcdb :=_ebafa .ColormodeAttr .ValidateWithPath (path +"\u002f\u0043\u006f\u006c\u006f\u0072\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_bdcdb !=nil {return _bdcdb ;};if _feaf :=_ebafa .MetalAttr .ValidateWithPath (path +"\u002f\u004d\u0065\u0074\u0061\u006c\u0041\u0074\u0074\u0072");_feaf !=nil {return _feaf ;};if _gcedg :=_ebafa .LightfaceAttr .ValidateWithPath (path +"\u002f\u004c\u0069\u0067\u0068\u0074\u0066\u0061\u0063e\u0041\u0074\u0074\u0072");_gcedg !=nil {return _gcedg ;};if _fbgec :=_ebafa .LightharshAttr .ValidateWithPath (path +"\u002fL\u0069g\u0068\u0074\u0068\u0061\u0072\u0073\u0068\u0041\u0074\u0074\u0072");_fbgec !=nil {return _fbgec ;};if _gfbcde :=_ebafa .Lightharsh2Attr .ValidateWithPath (path +"\u002f\u004ci\u0067\u0068\u0074h\u0061\u0072\u0073\u0068\u0032\u0041\u0074\u0074\u0072");_gfbcde !=nil {return _gfbcde ;};if _bdffb :=_ebafa .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_bdffb !=nil {return _bdffb ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Adj and its children
func (_ea *AG_Adj )Validate ()error {return _ea .ValidateWithPath ("\u0041\u0047\u005f\u0041\u0064\u006a");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Handles and its children, prefixing error messages with path
func (_gdabe *Handles )ValidateWithPath (path string )error {if _dbebd :=_gdabe .CT_Handles .ValidateWithPath (path );_dbebd !=nil {return _dbebd ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Shadow and its children, prefixing error messages with path
func (_gacfc *Shadow )ValidateWithPath (path string )error {if _ecbbab :=_gacfc .CT_Shadow .ValidateWithPath (path );_ecbbab !=nil {return _ecbbab ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Group and its children
func (_ggbb *Group )Validate ()error {return _ggbb .ValidateWithPath ("\u0047\u0072\u006fu\u0070")};func (_ddegb *OfcTop )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u0074o\u0070";return _ddegb .OfcCT_StrokeChild .MarshalXML (e ,start );};type Stroke struct{CT_Stroke };type AG_OfficeShapeAttributes struct{SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_ClipPath and its children
func (_cfba *OfcCT_ClipPath )Validate ()error {return _cfba .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0043\u006c\u0069p\u0050\u0061\u0074\u0068");};func NewOfcCT_EquationXml ()*OfcCT_EquationXml {_adeg :=&OfcCT_EquationXml {};return _adeg };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Shape and its children
func (_aegd *CT_Shape )Validate ()error {return _aegd .ValidateWithPath ("\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065");};func (_gfaga *OfcCT_Diagram )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _gfaga .DgmstyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064\u0067\u006d\u0073\u0074\u0079\u006c\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .DgmstyleAttr )});};if _gfaga .AutoformatAttr !=_ec .ST_TrueFalseUnset {_dcabe ,_fdfb :=_gfaga .AutoformatAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u0075\u0074\u006f\u0066\u006f\u0072\u006d\u0061\u0074"});if _fdfb !=nil {return _fdfb ;};start .Attr =append (start .Attr ,_dcabe );};if _gfaga .ReverseAttr !=_ec .ST_TrueFalseUnset {_eaafd ,_abbbd :=_gfaga .ReverseAttr .MarshalXMLAttr (_d .Name {Local :"\u0072e\u0076\u0065\u0072\u0073\u0065"});if _abbbd !=nil {return _abbbd ;};start .Attr =append (start .Attr ,_eaafd );};if _gfaga .AutolayoutAttr !=_ec .ST_TrueFalseUnset {_eddadd ,_ggabc :=_gfaga .AutolayoutAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u0075\u0074\u006f\u006c\u0061\u0079\u006f\u0075\u0074"});if _ggabc !=nil {return _ggabc ;};start .Attr =append (start .Attr ,_eddadd );};if _gfaga .DgmscalexAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064g\u006d\u0073\u0063\u0061\u006c\u0065x"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .DgmscalexAttr )});};if _gfaga .DgmscaleyAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064g\u006d\u0073\u0063\u0061\u006c\u0065y"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .DgmscaleyAttr )});};if _gfaga .DgmfontsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"d\u0067\u006d\u0066\u006f\u006e\u0074\u0073\u0069\u007a\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .DgmfontsizeAttr )});};if _gfaga .ConstrainboundsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006es\u0074\u0072\u0061\u0069\u006e\u0062\u006f\u0075\u006e\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .ConstrainboundsAttr )});};if _gfaga .DgmbasetextscaleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064\u0067m\u0062\u0061\u0073e\u0074\u0065\u0078\u0074\u0073\u0063\u0061\u006c\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_gfaga .DgmbasetextscaleAttr )});};if _gfaga .ExtAttr !=ST_ExtUnset {_ccab ,_bbgea :=_gfaga .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _bbgea !=nil {return _bbgea ;};start .Attr =append (start .Attr ,_ccab );};e .EncodeToken (start );if _gfaga .Relationtable !=nil {_eefaa :=_d .StartElement {Name :_d .Name {Local :"\u006f:\u0072e\u006c\u0061\u0074\u0069\u006f\u006e\u0074\u0061\u0062\u006c\u0065"}};e .EncodeElement (_gfaga .Relationtable ,_eefaa );};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type AG_OfficeCoreAttributes struct{SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcInk and its children, prefixing error messages with path
func (_ebcaa *OfcInk )ValidateWithPath (path string )error {if _febgf :=_ebcaa .OfcCT_Ink .ValidateWithPath (path );_febgf !=nil {return _febgf ;};return nil ;};type OfcShapedefaults struct{OfcCT_ShapeDefaults };type CT_H struct{PositionAttr *string ;PolarAttr *string ;MapAttr *string ;InvxAttr _ec .ST_TrueFalse ;InvyAttr _ec .ST_TrueFalse ;SwitchAttr _ec .ST_TrueFalseBlank ;XrangeAttr *string ;YrangeAttr *string ;RadiusrangeAttr *string ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcSignatureline and its children
func (_fgfgc *OfcSignatureline )Validate ()error {return _fgfgc .ValidateWithPath ("\u004f\u0066c\u0053\u0069\u0067n\u0061\u0074\u0075\u0072\u0065\u006c\u0069\u006e\u0065");};type CT_Shapetype struct{MasterAttr *string ;EG_ShapeElements []*EG_ShapeElements ;Complex *OfcComplex ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;AdjAttr *string ;PathAttr *string ;};func (_egdg *CT_Arc )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _egdg .StartAngleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0061\u0072\u0074\u0041\u006e\u0067\u006c\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .StartAngleAttr )});};if _egdg .EndAngleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0065\u006e\u0064\u0041\u006e\u0067\u006c\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .EndAngleAttr )});};if _egdg .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .HrefAttr )});};if _egdg .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .TargetAttr )});};if _egdg .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .ClassAttr )});};if _egdg .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .TitleAttr )});};if _egdg .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .AltAttr )});};if _egdg .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .CoordsizeAttr )});};if _egdg .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .CoordoriginAttr )});};if _egdg .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_egdg .WrapcoordsAttr )});};if _egdg .PrintAttr !=_ec .ST_TrueFalseUnset {_acac ,_fgeg :=_egdg .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _fgeg !=nil {return _fgeg ;};start .Attr =append (start .Attr ,_acac );};if _egdg .
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_ShapeAttributes and its children, prefixing error messages with path
func (_faea *AG_ShapeAttributes )ValidateWithPath (path string )error {if _ffce :=_faea .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_ffce !=nil {return _ffce ;};if _eaa :=_faea .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_eaa !=nil {return _eaa ;};if _efg :=_faea .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_efg !=nil {return _efg ;};return nil ;};func (_fefggc *OfcComplex )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fefggc .OfcCT_Complex =*NewOfcCT_Complex ();for _ ,_accfce :=range start .Attr {if _accfce .Name .Local =="\u0065\u0078\u0074"{_fefggc .ExtAttr .UnmarshalXMLAttr (_accfce );continue ;};};for {_gcfbdd ,_dcdbf :=d .Token ();if _dcdbf !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u004f\u0066\u0063\u0043\u006f\u006d\u0070\u006c\u0065\u0078\u003a\u0020%\u0073",_dcdbf );};if _bbff ,_ecfed :=_gcfbdd .(_d .EndElement );_ecfed &&_bbff .Name ==start .Name {break ;};};return nil ;};func (_dacfb *OfcColumn )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dacfb .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();for _ ,_debfb :=range start .Attr {if _debfb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_debfb .Name .Local =="\u0068\u0072\u0065\u0066"{_afcaf ,_defca :=_debfb .Value ,error (nil );if _defca !=nil {return _defca ;};_dacfb .HrefAttr =&_afcaf ;continue ;};if _debfb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_debfb .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_dacfb .ForcedashAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_debfb .Name .Local =="\u0074\u0069\u0074l\u0065"{_gbgdg ,_effdb :=_debfb .Value ,error (nil );if _effdb !=nil {return _effdb ;};_dacfb .TitleAttr =&_gbgdg ;continue ;};if _debfb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_debfb .Name .Local =="\u0061l\u0074\u0068\u0072\u0065\u0066"{_abgaf ,_gaff :=_debfb .Value ,error (nil );if _gaff !=nil {return _gaff ;};_dacfb .AlthrefAttr =&_abgaf ;continue ;};if _debfb .Name .Local =="i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"{_dacfb .ImageaspectAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"{_dacfb .StartarrowAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"{_dacfb .LinestyleAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u0073t\u0061r\u0074\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_dacfb .StartarrowwidthAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"{_dacfb .JoinstyleAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u0073\u0074a\u0072\u0074\u0061r\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068"{_dacfb .StartarrowlengthAttr .UnmarshalXMLAttr (_debfb );continue ;};if _debfb .Name .Local =="\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"{_fcec ,_eceabb :=_debfb .Value ,error (nil );if _eceabb !=nil {return _eceabb ;};_dacfb .DashstyleAttr =&_fcec ;continue ;};if _debfb .Name .Local
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Image and its children
func (_eadfb *Image )Validate ()error {return _eadfb .ValidateWithPath ("\u0049\u006d\u0061g\u0065")};func NewCT_Rect ()*CT_Rect {_dbfag :=&CT_Rect {};return _dbfag };func (_gcebb ST_StrokeArrowType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gcebb .String (),start );};type OfcEquationxml struct{OfcCT_EquationXml };func (_ccged *OfcCT_Relation )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ccged .IdsrcAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064\u0073r\u0063"},Value :_c .Sprintf ("\u0025\u0076",*_ccged .IdsrcAttr )});};if _ccged .IddestAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064\u0064\u0065\u0073\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_ccged .IddestAttr )});};if _ccged .IdcntrAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064\u0063\u006e\u0074\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_ccged .IdcntrAttr )});};if _ccged .ExtAttr !=ST_ExtUnset {_ggbeb ,_fdaecf :=_ccged .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _fdaecf !=nil {return _fdaecf ;};start .Attr =append (start .Attr ,_ggbeb );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_gcfcd OfcST_OLEUpdateMode )ValidateWithPath (path string )error {switch _gcfcd {case 0,1,2:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_gcfcd ));};return nil ;};func (_gececg *OfcShapedefaults )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gececg .OfcCT_ShapeDefaults =*NewOfcCT_ShapeDefaults ();for _ ,_acdbf :=range start .Attr {if _acdbf .Name .Local =="\u0073p\u0069\u0064\u006d\u0061\u0078"{_bebcd ,_effbcb :=_g .ParseInt (_acdbf .Value ,10,64);if _effbcb !=nil {return _effbcb ;};_gececg .SpidmaxAttr =&_bebcd ;continue ;};if _acdbf .Name .Local =="a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"{_gececg .AllowincellAttr .UnmarshalXMLAttr (_acdbf );continue ;};if _acdbf .Name .Local =="s\u0074\u0072\u006f\u006b\u0065\u0063\u006f\u006c\u006f\u0072"{_abbaa ,_cccfb :=_acdbf .Value ,error (nil );if _cccfb !=nil {return _cccfb ;};_gececg .StrokecolorAttr =&_abbaa ;continue ;};if _acdbf .Name .Local =="\u0073\u0074\u0072\u006f\u006b\u0065"{_gececg .StrokeAttr .UnmarshalXMLAttr (_acdbf );continue ;};if _acdbf .Name .Local =="\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"{_afded ,_fecga :=_acdbf .Value ,error (nil );if _fecga !=nil {return _fecga ;};_gececg .FillcolorAttr =&_afded ;continue ;};if _acdbf .Name .Local =="\u0066\u0069\u006c\u006c"{_gececg .FillAttr .UnmarshalXMLAttr (_acdbf );continue ;};if _acdbf .Name .Local =="\u0073\u0074\u0079l\u0065"{_bfefe ,_cfcaf :=_acdbf .Value ,error (nil );if _cfcaf !=nil {return _cfcaf ;};_gececg .StyleAttr =&_bfefe ;continue ;};if _acdbf .Name .Local =="\u0065\u0078\u0074"{_gececg .ExtAttr .UnmarshalXMLAttr (_acdbf );continue ;};};_efgef :for {_ggdcd ,_agfce :=d .Token ();if _agfce !=nil {return _agfce ;};switch _edgbc :=_ggdcd .(type ){case _d .StartElement :switch _edgbc .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066\u0069\u006c\u006c"}:_gececg .Fill =NewFill ();if _cddad :=d .DecodeElement (_gececg .Fill ,&_edgbc );_cddad !=nil {return _cddad ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0073\u0074\u0072\u006f\u006b\u0065"}:_gececg .Stroke =NewStroke ();if _gfggg :=d .DecodeElement (_gececg .Stroke ,&_edgbc );_gfggg !=nil {return _gfggg ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Curve and its children
func (_eagdg *CT_Curve )Validate ()error {return _eagdg .ValidateWithPath ("\u0043\u0054\u005f\u0043\u0075\u0072\u0076\u0065");};func (_bbaac *ST_StrokeArrowWidth )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_bbaac =0;case "\u006e\u0061\u0072\u0072\u006f\u0077":*_bbaac =1;case "\u006d\u0065\u0064\u0069\u0075\u006d":*_bbaac =2;case "\u0077\u0069\u0064\u0065":*_bbaac =3;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_OLEObject and its children
func (_fcbbf *OfcCT_OLEObject )Validate ()error {return _fcbbf .ValidateWithPath ("\u004ff\u0063C\u0054\u005f\u004f\u004c\u0045\u004f\u0062\u006a\u0065\u0063\u0074");};type ST_FillType byte ;func (_cccad *CT_Shadow )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cccad .OnAttr !=_ec .ST_TrueFalseUnset {_gfbee ,_agce :=_cccad .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _agce !=nil {return _agce ;};start .Attr =append (start .Attr ,_gfbee );};if _cccad .TypeAttr !=ST_ShadowTypeUnset {_ccbd ,_cgfbb :=_cccad .TypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0079\u0070\u0065"});if _cgfbb !=nil {return _cgfbb ;};start .Attr =append (start .Attr ,_ccbd );};if _cccad .ObscuredAttr !=_ec .ST_TrueFalseUnset {_gdgcc ,_gggfb :=_cccad .ObscuredAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u0062\u0073\u0063\u0075\u0072\u0065\u0064"});if _gggfb !=nil {return _gggfb ;};start .Attr =append (start .Attr ,_gdgcc );};if _cccad .ColorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006co\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .ColorAttr )});};if _cccad .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .OpacityAttr )});};if _cccad .OffsetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u0066\u0066\u0073\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .OffsetAttr )});};if _cccad .Color2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .Color2Attr )});};if _cccad .Offset2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006ff\u0066\u0073\u0065\u0074\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .Offset2Attr )});};if _cccad .OriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .OriginAttr )});};if _cccad .MatrixAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0074\u0072\u0069\u0078"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .MatrixAttr )});};if _cccad .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_cccad .IdAttr )});};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type AG_Fill struct{FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Line and its children
func (_adcaf *CT_Line )Validate ()error {return _adcaf .ValidateWithPath ("\u0043T\u005f\u004c\u0069\u006e\u0065");};func (_cecef *OfcST_BWMode )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_edbgf ,_gegdgb :=d .Token ();if _gegdgb !=nil {return _gegdgb ;};if _fcdacb ,_fggcef :=_edbgf .(_d .EndElement );_fggcef &&_fcdacb .Name ==start .Name {*_cecef =1;return nil ;};if _cdaag ,_ffdac :=_edbgf .(_d .CharData );!_ffdac {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_edbgf );}else {switch string (_cdaag ){case "":*_cecef =0;case "\u0063\u006f\u006co\u0072":*_cecef =1;case "\u0061\u0075\u0074\u006f":*_cecef =2;case "\u0067r\u0061\u0079\u0053\u0063\u0061\u006ce":*_cecef =3;case "\u006c\u0069\u0067\u0068\u0074\u0047\u0072\u0061\u0079s\u0063\u0061\u006c\u0065":*_cecef =4;case "i\u006e\u0076\u0065\u0072\u0073\u0065\u0047\u0072\u0061\u0079":*_cecef =5;case "g\u0072\u0061\u0079\u004f\u0075\u0074\u006c\u0069\u006e\u0065":*_cecef =6;case "\u0068\u0069\u0067h\u0043\u006f\u006e\u0074\u0072\u0061\u0073\u0074":*_cecef =7;case "\u0062\u006c\u0061c\u006b":*_cecef =8;case "\u0077\u0068\u0069t\u0065":*_cecef =9;case "\u0068\u0069\u0064\u0065":*_cecef =10;case "\u0075n\u0064\u0072\u0061\u0077\u006e":*_cecef =11;case "\u0062\u006c\u0061\u0063\u006b\u0054\u0065\u0078\u0074\u0041\u006e\u0064L\u0069\u006e\u0065\u0073":*_cecef =12;};};_edbgf ,_gegdgb =d .Token ();if _gegdgb !=nil {return _gegdgb ;};if _ffbba ,_ceabd :=_edbgf .(_d .EndElement );_ceabd &&_ffbba .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_edbgf );};func (_baede *CT_Shapetype )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _baede .MasterAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u006d\u0061\u0073\u0074\u0065\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_baede .MasterAttr )});};if _baede .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_baede .HrefAttr )});};if _baede .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_baede .TargetAttr )});};if _baede .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_baede .ClassAttr )});};if _baede .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_baede .TitleAttr )});};if _baede .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_baede .AltAttr )});};if _baede .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_baede .CoordsizeAttr )});};if _baede .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_baede .CoordoriginAttr )});};if _baede .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_baede .WrapcoordsAttr )});};if _baede .PrintAttr !=_ec .ST_TrueFalseUnset {_ecaff ,_aafdb :=_baede .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _aafdb !=nil {return _aafdb ;};start .Attr =append (start .Attr ,_ecaff );};if _baede .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_baede .IdAttr )});};if _bae
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Callout and its children
func (_cdgce *OfcCT_Callout )Validate ()error {return _cdgce .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0043\u0061\u006c\u006c\u006f\u0075\u0074");};func NewRect ()*Rect {_beafc :=&Rect {};_beafc .CT_Rect =*NewCT_Rect ();return _beafc };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Line and its children
func (_acfdf *Line )Validate ()error {return _acfdf .ValidateWithPath ("\u004c\u0069\u006e\u0065")};func (_efgf *OfcCT_R )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_cfecd :=range start .Attr {if _cfecd .Name .Local =="\u0069\u0064"{_bgge ,_bgcbg :=_cfecd .Value ,error (nil );if _bgcbg !=nil {return _bgcbg ;};_efgf .IdAttr =_bgge ;continue ;};if _cfecd .Name .Local =="\u0074\u0079\u0070\u0065"{_efgf .TypeAttr .UnmarshalXMLAttr (_cfecd );continue ;};if _cfecd .Name .Local =="\u0068\u006f\u0077"{_efgf .HowAttr .UnmarshalXMLAttr (_cfecd );continue ;};if _cfecd .Name .Local =="\u0069\u0064\u0072e\u0066"{_bgfg ,_cbaae :=_cfecd .Value ,error (nil );if _cbaae !=nil {return _cbaae ;};_efgf .IdrefAttr =&_bgfg ;continue ;};};_dgdd :for {_befea ,_dcacc :=d .Token ();if _dcacc !=nil {return _dcacc ;};switch _gbfab :=_befea .(type ){case _d .StartElement :switch _gbfab .Name {case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0070\u0072\u006fx\u0079"}:_dffbg :=NewOfcCT_Proxy ();if _cfaed :=d .DecodeElement (_dffbg ,&_gbfab );_cfaed !=nil {return _cfaed ;};_efgf .Proxy =append (_efgf .Proxy ,_dffbg );default:_a .Log ("\u0073\u006b\u0069p\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u004ff\u0063\u0043\u0054\u005f\u0052\u0020\u0025\u0076",_gbfab .Name );if _afgdgc :=d .Skip ();_afgdgc !=nil {return _afgdgc ;};};case _d .EndElement :break _dgdd ;case _d .CharData :};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_H and its children
func (_cgfbe *CT_H )Validate ()error {return _cgfbe .ValidateWithPath ("\u0043\u0054\u005f\u0048")};func (_cbbgge *OfcCT_Relation )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dacf :=range start .Attr {if _dacf .Name .Local =="\u0069\u0064\u0073r\u0063"{_ccdda ,_eacfe :=_dacf .Value ,error (nil );if _eacfe !=nil {return _eacfe ;};_cbbgge .IdsrcAttr =&_ccdda ;continue ;};if _dacf .Name .Local =="\u0069\u0064\u0064\u0065\u0073\u0074"{_acgcbc ,_cecfg :=_dacf .Value ,error (nil );if _cecfg !=nil {return _cecfg ;};_cbbgge .IddestAttr =&_acgcbc ;continue ;};if _dacf .Name .Local =="\u0069\u0064\u0063\u006e\u0074\u0072"{_ececb ,_abcbd :=_dacf .Value ,error (nil );if _abcbd !=nil {return _abcbd ;};_cbbgge .IdcntrAttr =&_ececb ;continue ;};if _dacf .Name .Local =="\u0065\u0078\u0074"{_cbbgge .ExtAttr .UnmarshalXMLAttr (_dacf );continue ;};};for {_bagdgb ,_edbdc :=d .Token ();if _edbdc !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u004f\u0066\u0063C\u0054\u005f\u0052\u0065\u006c\u0061\u0074\u0069\u006f\u006e:\u0020\u0025\u0073",_edbdc );};if _dfgbg ,_dgfccc :=_bagdgb .(_d .EndElement );_dgfccc &&_dfgbg .Name ==start .Name {break ;};};return nil ;};func (_bfgdf *OfcSignatureline )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bfgdf .OfcCT_SignatureLine =*NewOfcCT_SignatureLine ();for _ ,_ddgfd :=range start .Attr {if _ddgfd .Name .Local =="\u0073u\u0067g\u0065\u0073\u0074\u0065\u0064\u0073\u0069\u0067\u006e\u0065\u0072"{_gccf ,_egdcd :=_ddgfd .Value ,error (nil );if _egdcd !=nil {return _egdcd ;};_bfgdf .SuggestedsignerAttr =&_gccf ;continue ;};if _ddgfd .Name .Local =="\u0069\u0064"{_affe ,_bbced :=_ddgfd .Value ,error (nil );if _bbced !=nil {return _bbced ;};_bfgdf .IdAttr =&_affe ;continue ;};if _ddgfd .Name .Local =="\u0070\u0072\u006f\u0076\u0069\u0064"{_aacba ,_cbfac :=_ddgfd .Value ,error (nil );if _cbfac !=nil {return _cbfac ;};_bfgdf .ProvidAttr =&_aacba ;continue ;};if _ddgfd .Name .Local =="\u0073\u0069\u0067\u006ein\u0067\u0069\u006e\u0073\u0074\u0072\u0075\u0063\u0074\u0069\u006f\u006e\u0073\u0073e\u0074"{_bfgdf .SigninginstructionssetAttr .UnmarshalXMLAttr (_ddgfd );continue ;};if _ddgfd .Name .Local =="\u0061\u006c\u006c\u006f\u0077\u0063\u006f\u006d\u006d\u0065\u006e\u0074\u0073"{_bfgdf .AllowcommentsAttr .UnmarshalXMLAttr (_ddgfd );continue ;};if _ddgfd .Name .Local =="\u0073\u0068\u006fw\u0073\u0069\u0067\u006e\u0064\u0061\u0074\u0065"{_bfgdf .ShowsigndateAttr .UnmarshalXMLAttr (_ddgfd );continue ;};if _ddgfd .Name .Local =="\u0069s\u0073i\u0067\u006e\u0061\u0074\u0075\u0072\u0065\u006c\u0069\u006e\u0065"{_bfgdf .IssignaturelineAttr .UnmarshalXMLAttr (_ddgfd );continue ;};if _ddgfd .Name .Local =="\u0073\u0075g\u0067\u0065\u0073t\u0065\u0064\u0073\u0069\u0067\u006e\u0065\u0072\u0032"{_bfdfg ,_abad :=_ddgfd .Value ,error (nil );if _abad !=nil {return _abad ;};_bfgdf .Suggestedsigner2Attr =&_bfdfg ;continue ;};if _ddgfd .Name .Local =="s\u0075g\u0067\u0065\u0073\u0074\u0065\u0064\u0073\u0069g\u006e\u0065\u0072\u0065ma\u0069\u006c"{_gdgfe ,_ccfa :=_ddgfd .Value ,error (nil );if _ccfa !=nil {return _ccfa ;};_bfgdf .SuggestedsigneremailAttr =&_gdgfe ;continue ;};if _ddgfd .Name .Local =="\u0073\u0069\u0067\u006ein\u0067\u0069\u006e\u0073\u0074\u0072\u0075\u0063\u0074\u0069\u006f\u006e\u0073"{_babf ,_adfef :=_ddgfd .Value ,error (nil );if _adfef !=nil {return _adfef ;};_bfgdf .SigninginstructionsAttr =&_babf ;continue ;};if _ddgfd .Name .Local =="\u0061d\u0064\u006c\u0078\u006d\u006c"{_dadg ,_egbbc :=_ddgfd .Value ,error (nil );if _egbbc !=nil {return _egbbc ;};_bfgdf .AddlxmlAttr =&_dadg ;continue ;};if _ddgfd .Name .Local =="\u0073\u0069\u0067\u0070\u0072\u006f\u0076\u0075\u0072\u006c"{_fbdbc ,_fdfee :=_ddgfd .Value ,error (nil );if _fdfee !=nil {return _fdfee ;};_bfgdf .SigprovurlAttr =&_fbdbc ;continue ;};if _ddgfd .Name .Local =="\u0065\u0078\u0074"{_bfgdf .ExtAttr .UnmarshalXMLAttr (_ddgfd );continue ;};};for {_egebfe ,_cggdb :=d .Token ();if _cggdb !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073i\u006e\u0067\u0020\u004f\u0066\u0063\u0053\u0
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Chromakey and its children, prefixing error messages with path
func (_gda *AG_Chromakey )ValidateWithPath (path string )error {return nil };func (_aagg *CT_H )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _aagg .PositionAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .PositionAttr )});};if _aagg .PolarAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0070\u006f\u006ca\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .PolarAttr )});};if _aagg .MapAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0070"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .MapAttr )});};if _aagg .InvxAttr !=_ec .ST_TrueFalseUnset {_dbcbb ,_ebdg :=_aagg .InvxAttr .MarshalXMLAttr (_d .Name {Local :"\u0069\u006e\u0076\u0078"});if _ebdg !=nil {return _ebdg ;};start .Attr =append (start .Attr ,_dbcbb );};if _aagg .InvyAttr !=_ec .ST_TrueFalseUnset {_agfa ,_bcbfg :=_aagg .InvyAttr .MarshalXMLAttr (_d .Name {Local :"\u0069\u006e\u0076\u0079"});if _bcbfg !=nil {return _bcbfg ;};start .Attr =append (start .Attr ,_agfa );};if _aagg .SwitchAttr !=_ec .ST_TrueFalseBlankUnset {_cdgd ,_ebde :=_aagg .SwitchAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0077\u0069\u0074\u0063\u0068"});if _ebde !=nil {return _ebde ;};start .Attr =append (start .Attr ,_cdgd );};if _aagg .XrangeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u0072\u0061\u006e\u0067\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .XrangeAttr )});};if _aagg .YrangeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0079\u0072\u0061\u006e\u0067\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .YrangeAttr )});};if _aagg .RadiusrangeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"r\u0061\u0064\u0069\u0075\u0073\u0072\u0061\u006e\u0067\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_aagg .RadiusrangeAttr )});};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type Arc struct{CT_Arc };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcShapelayout and its children, prefixing error messages with path
func (_gcebf *OfcShapelayout )ValidateWithPath (path string )error {if _agagf :=_gcebf .OfcCT_ShapeLayout .ValidateWithPath (path );_agagf !=nil {return _agagf ;};return nil ;};func (_fdda *CT_Group )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fdda .EditasAttr !=ST_EditAsUnset {_cgfa ,_feccd :=_fdda .EditasAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0064\u0069\u0074\u0061\u0073"});if _feccd !=nil {return _feccd ;};start .Attr =append (start .Attr ,_cgfa );};if _fdda .TablepropertiesAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0074\u0061\u0062\u006c\u0065\u0070\u0072\u006f\u0070\u0065r\u0074\u0069\u0065\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .TablepropertiesAttr )});};if _fdda .TablelimitsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0074\u0061\u0062\u006c\u0065\u006c\u0069\u006d\u0069\u0074\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .TablelimitsAttr )});};if _fdda .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .HrefAttr )});};if _fdda .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .TargetAttr )});};if _fdda .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .ClassAttr )});};if _fdda .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .TitleAttr )});};if _fdda .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .AltAttr )});};if _fdda .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .CoordsizeAttr )});};if _fdda .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .CoordoriginAttr )});};if _fdda .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .WrapcoordsAttr )});};if _fdda .PrintAttr !=_ec .ST_TrueFalseUnset {_cdee ,_bcbfe :=_fdda .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _bcbfe !=nil {return _bcbfe ;};start .Attr =append (start .Attr ,_cdee );};if _fdda .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .IdAttr )});};if _fdda .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .StyleAttr )});};if _fdda .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .SpidAttr )});};if _fdda .OnedAttr !=_ec .ST_TrueFalseUnset {_badd ,_bgad :=_fdda .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _bgad !=nil {return _bgad ;};start .Attr =append (start .Attr ,_badd );};if _fdda .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u0072\u006f\u0075\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_fdda .RegroupidAttr )});};if _fdda .DoubleclicknotifyAttr !=_ec .ST_TrueFalseUnset {_gabcd ,_gfed :=_fdda .DoubleclicknotifyAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"});if _gfed !=nil {return _gfed ;};start .Attr =append (start .Attr ,_gabcd );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Lock and its children
func (_deecgc *OfcCT_Lock )Validate ()error {return _deecgc .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u004c\u006f\u0063\u006b");};func (_baba *Fill )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _baba .CT_Fill .MarshalXML (e ,start );};type CT_Shape struct{GfxdataAttr *string ;EquationxmlAttr *string ;Ink []*OfcInk ;Iscomment []*_dg .Iscomment ;Equationxml []*OfcEquationxml ;EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;TypeAttr *string ;AdjAttr *string ;PathAttr *string ;};func NewOfcCallout ()*OfcCallout {_gcgfd :=&OfcCallout {};_gcgfd .OfcCT_Callout =*NewOfcCT_Callout ();return _gcgfd ;};type CT_RoundRect struct{ArcsizeAttr *string ;EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;};func (_baa *AG_Chromakey )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _baa .ChromakeyAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063h\u0072\u006f\u006d\u0061\u006b\u0065y"},Value :_c .Sprintf ("\u0025\u0076",*_baa .ChromakeyAttr )});};return nil ;};func (_ebefc OfcST_ScreenSize )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_ebefc .String (),start );};func (_efccf *Shape
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Textbox and its children, prefixing error messages with path
func (_eaddf *Textbox )ValidateWithPath (path string )error {if _fcebe :=_eaddf .CT_Textbox .ValidateWithPath (path );_fcebe !=nil {return _fcebe ;};return nil ;};func (_beb *AG_OfficeCoreAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _beb .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_beb .SpidAttr )});};if _beb .OnedAttr !=_ec .ST_TrueFalseUnset {_ebe ,_fee :=_beb .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _fee !=nil {return _fee ;};start .Attr =append (start .Attr ,_ebe );};if _beb .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u0072\u006f\u0075\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_beb .RegroupidAttr )});};if _beb .DoubleclicknotifyAttr !=_ec .ST_TrueFalseUnset {_gcga ,_acgc :=_beb .DoubleclicknotifyAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"});if _acgc !=nil {return _acgc ;};start .Attr =append (start .Attr ,_gcga );};if _beb .ButtonAttr !=_ec .ST_TrueFalseUnset {_ceac ,_fcd :=_beb .ButtonAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u0074\u0074\u006f\u006e"});if _fcd !=nil {return _fcd ;};start .Attr =append (start .Attr ,_ceac );};if _beb .UserhiddenAttr !=_ec .ST_TrueFalseUnset {_bbg ,_gff :=_beb .UserhiddenAttr .MarshalXMLAttr (_d .Name {Local :"\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"});if _gff !=nil {return _gff ;};start .Attr =append (start .Attr ,_bbg );};if _beb .BulletAttr !=_ec .ST_TrueFalseUnset {_cac ,_bdgc :=_beb .BulletAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u006c\u006c\u0065\u0074"});if _bdgc !=nil {return _bdgc ;};start .Attr =append (start .Attr ,_cac );};if _beb .HrAttr !=_ec .ST_TrueFalseUnset {_gce ,_gdfc :=_beb .HrAttr .MarshalXMLAttr (_d .Name {Local :"\u0068\u0072"});if _gdfc !=nil {return _gdfc ;};start .Attr =append (start .Attr ,_gce );};if _beb .HrstdAttr !=_ec .ST_TrueFalseUnset {_gfbb ,_gdcd :=_beb .HrstdAttr .MarshalXMLAttr (_d .Name {Local :"\u0068\u0072\u0073t\u0064"});if _gdcd !=nil {return _gdcd ;};start .Attr =append (start .Attr ,_gfbb );};if _beb .HrnoshadeAttr !=_ec .ST_TrueFalseUnset {_aabf ,_cade :=_beb .HrnoshadeAttr .MarshalXMLAttr (_d .Name {Local :"\u0068r\u006e\u006f\u0073\u0068\u0061\u0064e"});if _cade !=nil {return _cade ;};start .Attr =append (start .Attr ,_aabf );};if _beb .HrpctAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f:\u0068\u0072\u0070\u0063\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_beb .HrpctAttr )});};if _beb .HralignAttr !=OfcST_HrAlignUnset {_eacg ,_eadf :=_beb .HralignAttr .MarshalXMLAttr (_d .Name {Local :"\u0068r\u0061\u006c\u0069\u0067\u006e"});if _eadf !=nil {return _eadf ;};start .Attr =append (start .Attr ,_eacg );};if _beb .AllowincellAttr !=_ec .ST_TrueFalseUnset {_dbf ,_faee :=_beb .AllowincellAttr .MarshalXMLAttr (_d .Name {Local :"a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"});if _faee !=nil {return _faee ;};start .Attr =append (start .Attr ,_dbf );};if _beb .AllowoverlapAttr !=_ec .ST_TrueFalseUnset {_daea ,_gfg :=_beb .AllowoverlapAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u006c\u006co\u0077\u006f\u0076\u0065\u0072\u006c\u0061\u0070"});if _gfg !=nil {return _gfg ;};start .Attr =append (start .Attr ,_daea );};if _beb .UserdrawnAttr !=_ec .ST_TrueFalseUnset {_deaee ,_ceag :=_beb .UserdrawnAttr .MarshalXMLAttr (_d .Name {Local :"\u0075s\u0065\u0072\u0064\u0072\u0061\u0077n"});if _ceag !=nil {return _ceag ;};start .Attr =append (start .Attr ,_deaee );};if _beb .BordertopcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003ab\u006f\u0072\u0064e\u0072\u0074\u006f\u0070\u0063\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_beb .BordertopcolorAttr )});};if _beb .BorderleftcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name
// Validate validates the OfcCT_EquationXml and its children
func (_caba *OfcCT_EquationXml )Validate ()error {return _caba .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0045\u0071\u0075\u0061\u0074\u0069o\u006e\u0058\u006d\u006c");};func (_aebf *CT_Formulas )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cdda :for {_baeb ,_eabcf :=d .Token ();if _eabcf !=nil {return _eabcf ;};switch _abgf :=_baeb .(type ){case _d .StartElement :switch _abgf .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066"}:_cede :=NewCT_F ();if _cbga :=d .DecodeElement (_cede ,&_abgf );_cbga !=nil {return _cbga ;};_aebf .F =append (_aebf .F ,_cede );default:_a .Log ("\u0073\u006bi\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0046\u006f\u0072\u006d\u0075\u006c\u0061\u0073\u0020\u0025\u0076",_abgf .Name );if _daagab :=d .Skip ();_daagab !=nil {return _daagab ;};};case _d .EndElement :break _cdda ;case _d .CharData :};};return nil ;};func (_geda *CT_TextPath )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _geda .OnAttr !=_ec .ST_TrueFalseUnset {_dedd ,_aabcf :=_geda .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _aabcf !=nil {return _aabcf ;};start .Attr =append (start .Attr ,_dedd );};if _geda .FitshapeAttr !=_ec .ST_TrueFalseUnset {_dbbef ,_cgcee :=_geda .FitshapeAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u0074\u0073\u0068\u0061\u0070\u0065"});if _cgcee !=nil {return _cgcee ;};start .Attr =append (start .Attr ,_dbbef );};if _geda .FitpathAttr !=_ec .ST_TrueFalseUnset {_bbfag ,_dfaa :=_geda .FitpathAttr .MarshalXMLAttr (_d .Name {Local :"\u0066i\u0074\u0070\u0061\u0074\u0068"});if _dfaa !=nil {return _dfaa ;};start .Attr =append (start .Attr ,_bbfag );};if _geda .TrimAttr !=_ec .ST_TrueFalseUnset {_aaff ,_aeebe :=_geda .TrimAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0072\u0069\u006d"});if _aeebe !=nil {return _aeebe ;};start .Attr =append (start .Attr ,_aaff );};if _geda .XscaleAttr !=_ec .ST_TrueFalseUnset {_ggda ,_cbbg :=_geda .XscaleAttr .MarshalXMLAttr (_d .Name {Local :"\u0078\u0073\u0063\u0061\u006c\u0065"});if _cbbg !=nil {return _cbbg ;};start .Attr =append (start .Attr ,_ggda );};if _geda .StringAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0072\u0069\u006e\u0067"},Value :_c .Sprintf ("\u0025\u0076",*_geda .StringAttr )});};if _geda .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_geda .IdAttr )});};if _geda .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_geda .StyleAttr )});};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewRoundrect ()*Roundrect {_abdff :=&Roundrect {};_abdff .CT_RoundRect =*NewCT_RoundRect ();return _abdff ;};func (_gfffbg *OfcCT_ColorMru )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _gfffbg .ColorsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_gfffbg .ColorsAttr )});};if _gfffbg .ExtAttr !=ST_ExtUnset {_caadf ,_acdgd :=_gfffbg .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _acdgd !=nil {return _acdgd ;};start .Attr =append (start .Attr ,_caadf );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the Polyline and its children, prefixing error messages with path
func (_ffcbc *Polyline )ValidateWithPath (path string )error {if _febga :=_ffcbc .CT_PolyLine .ValidateWithPath (path );_febga !=nil {return _febga ;};return nil ;};func (_cbff *CT_Fill )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cbff .TypeAttr !=ST_FillTypeUnset {_daagdg ,_cgfb :=_cbff .TypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0079\u0070\u0065"});if _cgfb !=nil {return _cgfb ;};start .Attr =append (start .Attr ,_daagdg );};if _cbff .OnAttr !=_ec .ST_TrueFalseUnset {_gbaa ,_bcecc :=_cbff .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _bcecc !=nil {return _bcecc ;};start .Attr =append (start .Attr ,_gbaa );};if _cbff .ColorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006co\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .ColorAttr )});};if _cbff .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .OpacityAttr )});};if _cbff .Color2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .Color2Attr )});};if _cbff .SrcAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0072\u0063"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .SrcAttr )});};if _cbff .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .HrefAttr )});};if _cbff .AlthrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f:\u0061\u006c\u0074\u0068\u0072\u0065f"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .AlthrefAttr )});};if _cbff .SizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0069\u007a\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .SizeAttr )});};if _cbff .OriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .OriginAttr )});};if _cbff .PositionAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .PositionAttr )});};if _cbff .AspectAttr !=ST_ImageAspectUnset {_gcgdc ,_ffgd :=_cbff .AspectAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u0073\u0070\u0065\u0063\u0074"});if _ffgd !=nil {return _ffgd ;};start .Attr =append (start .Attr ,_gcgdc );};if _cbff .ColorsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006c\u006f\u0072\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .ColorsAttr )});};if _cbff .AngleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006e\u0067l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .AngleAttr )});};if _cbff .AlignshapeAttr !=_ec .ST_TrueFalseUnset {_fbeg ,_bdaf :=_cbff .AlignshapeAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u006c\u0069\u0067\u006e\u0073\u0068\u0061\u0070\u0065"});if _bdaf !=nil {return _bdaf ;};start .Attr =append (start .Attr ,_fbeg );};if _cbff .FocusAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u006f\u0063u\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .FocusAttr )});};if _cbff .FocussizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066o\u0063\u0075\u0073\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .FocussizeAttr )});};if _cbff .FocuspositionAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u006f\u0063\u0075\u0073\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_cbff .FocuspositionAttr )});};if _cbff .MethodAttr !=ST_FillMethodUnset {_dagc ,_eacd :=_cbff .MethodAttr .MarshalXMLAttr (_d .Name {Local :"\u006d\u0065\u0074\u0068\u006f\u0064"});if _eacd !=nil {return _eacd ;};start .Attr
// Validate validates the OfcCT_ColorMru and its children
func (_cbbab *OfcCT_ColorMru )Validate ()error {return _cbbab .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0043\u006f\u006co\u0072\u004d\u0072\u0075");};type OfcCT_StrokeChild struct{OnAttr _ec .ST_TrueFalse ;WeightAttr *string ;ColorAttr *string ;Color2Attr *string ;OpacityAttr *string ;LinestyleAttr ST_StrokeLineStyle ;MiterlimitAttr *float64 ;JoinstyleAttr ST_StrokeJoinStyle ;EndcapAttr ST_StrokeEndCap ;DashstyleAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;FilltypeAttr ST_FillType ;SrcAttr *string ;ImageaspectAttr ST_ImageAspect ;ImagesizeAttr *string ;ImagealignshapeAttr _ec .ST_TrueFalse ;StartarrowAttr ST_StrokeArrowType ;StartarrowwidthAttr ST_StrokeArrowWidth ;StartarrowlengthAttr ST_StrokeArrowLength ;EndarrowAttr ST_StrokeArrowType ;EndarrowwidthAttr ST_StrokeArrowWidth ;EndarrowlengthAttr ST_StrokeArrowLength ;HrefAttr *string ;AlthrefAttr *string ;TitleAttr *string ;ForcedashAttr _ec .ST_TrueFalse ;ExtAttr ST_Ext ;};
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// ValidateWithPath validates the OfcColumn and its children, prefixing error messages with path
2020-10-12 13:59:12 +00:00
func (_egbcg *OfcColumn )ValidateWithPath (path string )error {if _aecdd :=_egbcg .OfcCT_StrokeChild .ValidateWithPath (path );_aecdd !=nil {return _aecdd ;};return nil ;};func (_gbgdf OfcST_ConnectType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gbgdf .String (),start );};func NewPolyline ()*Polyline {_baggc :=&Polyline {};_baggc .CT_PolyLine =*NewCT_PolyLine ();return _baggc ;};func NewCT_Curve ()*CT_Curve {_dccg :=&CT_Curve {};return _dccg };func (_beec *OfcBottom )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_beec .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();for _ ,_dbageg :=range start .Attr {if _dbageg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_dbageg .Name .Local =="\u0068\u0072\u0065\u0066"{_bfaef ,_eccda :=_dbageg .Value ,error (nil );if _eccda !=nil {return _eccda ;};_beec .HrefAttr =&_bfaef ;continue ;};if _dbageg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_dbageg .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_beec .ForcedashAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_dbageg .Name .Local =="\u0074\u0069\u0074l\u0065"{_bfgfg ,_ebfgf :=_dbageg .Value ,error (nil );if _ebfgf !=nil {return _ebfgf ;};_beec .TitleAttr =&_bfgfg ;continue ;};if _dbageg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_dbageg .Name .Local =="\u0061l\u0074\u0068\u0072\u0065\u0066"{_fgegf ,_ddbb :=_dbageg .Value ,error (nil );if _ddbb !=nil {return _ddbb ;};_beec .AlthrefAttr =&_fgegf ;continue ;};if _dbageg .Name .Local =="i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"{_beec .ImageaspectAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"{_beec .StartarrowAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"{_beec .LinestyleAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0073t\u0061r\u0074\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_beec .StartarrowwidthAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"{_beec .JoinstyleAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0073\u0074a\u0072\u0074\u0061r\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068"{_beec .StartarrowlengthAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"{_adbgb ,_ffdef :=_dbageg .Value ,error (nil );if _ffdef !=nil {return _ffdef ;};_beec .DashstyleAttr =&_adbgb ;continue ;};if _dbageg .Name .Local =="\u0065\u006e\u0064\u0061\u0072\u0072\u006f\u0077"{_beec .EndarrowAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0066\u0069\u006c\u006c\u0074\u0079\u0070\u0065"{_beec .FilltypeAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u0065\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_beec .EndarrowwidthAttr .UnmarshalXMLAttr (_dbageg );continue ;};if _dbageg .Name .Local =="\u006fp\u0061\u0063\u0069\u0074\u0079"{_bacab ,_fbae :=_dbageg .Value ,error (nil );if _fbae !=nil {return _fbae ;};_beec .OpacityAttr =&_bacab ;continue ;};if _dbageg .Name .L
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Fill and its children, prefixing error messages with path
func (_bfa *AG_Fill )ValidateWithPath (path string )error {if _fgb :=_bfa .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_fgb !=nil {return _fgb ;};return nil ;};func NewOfcEquationxml ()*OfcEquationxml {_badba :=&OfcEquationxml {};_badba .OfcCT_EquationXml =*NewOfcCT_EquationXml ();return _badba ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Textbox and its children
func (_gaee *CT_Textbox )Validate ()error {return _gaee .ValidateWithPath ("\u0043\u0054\u005f\u0054\u0065\u0078\u0074\u0062\u006f\u0078");};func (_gaada OfcST_HrAlign )ValidateWithPath (path string )error {switch _gaada {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_gaada ));};return nil ;};func (_dfeab OfcST_ScreenSize )String ()string {switch _dfeab {case 0:return "";case 1:return "\u00354\u0034\u002c\u0033\u0037\u0036";case 2:return "\u00364\u0030\u002c\u0034\u0038\u0030";case 3:return "\u00372\u0030\u002c\u0035\u0031\u0032";case 4:return "\u00380\u0030\u002c\u0036\u0030\u0030";case 5:return "\u0031\u0030\u0032\u0034\u002c\u0037\u0036\u0038";case 6:return "\u0031\u0031\u0035\u0032\u002c\u0038\u0036\u0032";};return "";};func (_abgga *ST_StrokeEndCap )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_abgga =0;case "\u0066\u006c\u0061\u0074":*_abgga =1;case "\u0073\u0071\u0075\u0061\u0072\u0065":*_abgga =2;case "\u0072\u006f\u0075n\u0064":*_abgga =3;};return nil ;};func (_ddec *AG_Ext )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ddec .ExtAttr =ST_Ext (1);for _ ,_dgc :=range start .Attr {if _dgc .Name .Local =="\u0065\u0078\u0074"{_ddec .ExtAttr .UnmarshalXMLAttr (_dgc );continue ;};};for {_caf ,_gfcb :=d .Token ();if _gfcb !=nil {return _c .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0041G\u005f\u0045x\u0074\u003a\u0020\u0025\u0073",_gfcb );};if _bbae ,_fcb :=_caf .(_d .EndElement );_fcb &&_bbae .Name ==start .Name {break ;};};return nil ;};func (_cgefgc *OfcComplex )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f:\u0063\u006f\u006d\u0070\u006c\u0065x";return _cgefgc .OfcCT_Complex .MarshalXML (e ,start );};func (_bbdgb OfcST_ConnectType )String ()st
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Polyline and its children
func (_bdffd *Polyline )Validate ()error {return _bdffd .ValidateWithPath ("\u0050\u006f\u006c\u0079\u006c\u0069\u006e\u0065");};const (ST_ShadowTypeUnset ST_ShadowType =0;ST_ShadowTypeSingle ST_ShadowType =1;ST_ShadowTypeDouble ST_ShadowType =2;ST_ShadowTypeEmboss ST_ShadowType =3;ST_ShadowTypePerspective ST_ShadowType =4;);const (OfcST_OLEUpdateModeUnset OfcST_OLEUpdateMode =0;OfcST_OLEUpdateModeAlways OfcST_OLEUpdateMode =1;OfcST_OLEUpdateModeOnCall OfcST_OLEUpdateMode =2;);func (_cgebc OfcST_FillType )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_gebdcf :=_d .Attr {};_gebdcf .Name =name ;switch _cgebc {case OfcST_FillTypeUnset :_gebdcf .Value ="";case OfcST_FillTypeGradientCenter :_gebdcf .Value ="\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0043e\u006e\u0074\u0065\u0072";case OfcST_FillTypeSolid :_gebdcf .Value ="\u0073\u006f\u006ci\u0064";case OfcST_FillTypePattern :_gebdcf .Value ="\u0070a\u0074\u0074\u0065\u0072\u006e";case OfcST_FillTypeTile :_gebdcf .Value ="\u0074\u0069\u006c\u0065";case OfcST_FillTypeFrame :_gebdcf .Value ="\u0066\u0072\u0061m\u0065";case OfcST_FillTypeGradientUnscaled :_gebdcf .Value ="\u0067\u0072a\u0064\u0069\u0065n\u0074\u0055\u006e\u0073\u0063\u0061\u006c\u0065\u0064";case OfcST_FillTypeGradientRadial :_gebdcf .Value ="\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0052a\u0064\u0069\u0061\u006c";case OfcST_FillTypeGradient :_gebdcf .Value ="\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074";case OfcST_FillTypeBackground :_gebdcf .Value ="\u0062\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064";};return _gebdcf ,nil ;};const (OfcST_RTypeUnset OfcST_RType =0;OfcST_RTypeArc OfcST_RType =1;OfcST_RTypeCallout OfcST_RType =2;OfcST_RTypeConnector OfcST_RType =3;OfcST_RTypeAlign OfcST_RType =4;);func (_cfafa *CT_Stroke )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cfafa .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .IdAttr )});};if _cfafa .OnAttr !=_ec .ST_TrueFalseUnset {_dafdg ,_efacc :=_cfafa .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _efacc !=nil {return _efacc ;};start .Attr =append (start .Attr ,_dafdg );};if _cfafa .WeightAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0065\u0069\u0067\u0068\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .WeightAttr )});};if _cfafa .ColorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006co\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .ColorAttr )});};if _cfafa .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .OpacityAttr )});};if _cfafa .LinestyleAttr !=ST_StrokeLineStyleUnset {_fdccb ,_cdbca :=_cfafa .LinestyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"});if _cdbca !=nil {return _cdbca ;};start .Attr =append (start .Attr ,_fdccb );};if _cfafa .MiterlimitAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0069\u0074\u0065\u0072\u006c\u0069\u006d\u0069\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .MiterlimitAttr )});};if _cfafa .JoinstyleAttr !=ST_StrokeJoinStyleUnset {_egeec ,_aaaa :=_cfafa .JoinstyleAttr .MarshalXMLAttr (_d .Name {Local :"\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"});if _aaaa !=nil {return _aaaa ;};start .Attr =append (start .Attr ,_egeec );};if _cfafa .EndcapAttr !=ST_StrokeEndCapUnset {_dgage ,_eafc :=_cfafa .EndcapAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u006e\u0064\u0063\u0061\u0070"});if _eafc !=nil {return _eafc ;};start .Attr =append (start .Attr ,_dgage );};if _cfafa .DashstyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"},Value :_c .Sprintf ("\u0025\u0076",*_cfafa .DashstyleAttr )});};if _cfafa .FilltypeAttr !=ST_FillTypeUnset {_beafe ,_ecebe :=_cfafa .FilltypeAttr .MarshalXMLAttr (_d .Name {Local
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Fill and its children, prefixing error messages with path
func (_edadb *Fill )ValidateWithPath (path string )error {if _egeac :=_edadb .CT_Fill .ValidateWithPath (path );_egeac !=nil {return _egeac ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Group and its children
func (_ebgbe *CT_Group )Validate ()error {return _ebgbe .ValidateWithPath ("\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070");};func (_acgfe *OfcCT_Skew )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _acgfe .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_acgfe .IdAttr )});};if _acgfe .OnAttr !=_ec .ST_TrueFalseUnset {_baacc ,_aabdg :=_acgfe .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _aabdg !=nil {return _aabdg ;};start .Attr =append (start .Attr ,_baacc );};if _acgfe .OffsetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u0066\u0066\u0073\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_acgfe .OffsetAttr )});};if _acgfe .OriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_acgfe .OriginAttr )});};if _acgfe .MatrixAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006d\u0061\u0074\u0072\u0069\u0078"},Value :_c .Sprintf ("\u0025\u0076",*_acgfe .MatrixAttr )});};if _acgfe .ExtAttr !=ST_ExtUnset {_abcfd ,_bdgcb :=_acgfe .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _bdgcb !=nil {return _bdgcb ;};start .Attr =append (start .Attr ,_abcfd );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type OfcCT_OLEObject struct{TypeAttr OfcST_OLEType ;ProgIDAttr *string ;ShapeIDAttr *string ;DrawAspectAttr OfcST_OLEDrawAspect ;ObjectIDAttr *string ;IdAttr *string ;UpdateModeAttr OfcST_OLEUpdateMode ;LinkType *string ;LockedField _ec .ST_TrueFalseBlank ;FieldCodes *string ;};func (_bfecg OfcST_ExtrusionType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_bfecg .String (),start );};func (_adfcb *OfcCT_IdMap )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _adfcb .DataAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064\u0061\u0074\u0061"},Value :_c .Sprintf ("\u0025\u0076",*_adfcb .DataAttr )});};if _adfcb .ExtAttr !=ST_ExtUnset {_gcgaf ,_eggf :=_adfcb .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _eggf !=nil {return _eggf ;};start .Attr =append (start .Attr ,_gcgaf );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_cfgcb *OfcCT_Rules )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cfgcb .ExtAttr !=ST_ExtUnset {_acfaff ,_adgbd :=_cfgcb .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _adgbd !=nil {return _adgbd ;};start .Attr =append (start .Attr ,_acfaff );};e .EncodeToken (start );if _cfgcb .R !=nil {_dgcdfg :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0072"}};for _ ,_afgac :=range _cfgcb .R {e .EncodeElement (_afgac ,_dgcdfg );};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewOfcComplex ()*OfcComplex {_abcef :=&OfcComplex {};_abcef .OfcCT_Complex =*NewOfcCT_Complex ();return _abcef ;};func (_begfb *Oval )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_begfb .CT_Oval =*NewCT_Oval ();for _ ,_deaag :=range start .Attr {if _deaag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_deaag .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_abbdb ,_gfeed :=_deaag .Value ,error (nil );if _gfeed !=nil {return _gfeed ;};_begfb .BordertopcolorAttr =&_abbdb ;continue ;};if _deaag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_deaag .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_begfb .BulletAttr .UnmarshalXMLAttr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_RoundRect and its children
func (_face *CT_RoundRect )Validate ()error {return _face .ValidateWithPath ("\u0043\u0054\u005fR\u006f\u0075\u006e\u0064\u0052\u0065\u0063\u0074");};func (_eebac OfcST_ColorMode )ValidateWithPath (path string )error {switch _eebac {case 0,1,2:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_eebac ));};return nil ;};func (_bfdecg *ST_Ext )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dggcf ,_ecbcf :=d .Token ();if _ecbcf !=nil {return _ecbcf ;};if _cdfffeb ,_ddgbdb :=_dggcf .(_d .EndElement );_ddgbdb &&_cdfffeb .Name ==start .Name {*_bfdecg =1;return nil ;};if _dgedf ,_eggef :=_dggcf .(_d .CharData );!_eggef {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_dggcf );}else {switch string (_dgedf ){case "":*_bfdecg =0;case "\u0076\u0069\u0065\u0077":*_bfdecg =1;case "\u0065\u0064\u0069\u0074":*_bfdecg =2;case "\u0062a\u0063k\u0077\u0061\u0072\u0064\u0043o\u006d\u0070a\u0074\u0069\u0062\u006c\u0065":*_bfdecg =3;};};_dggcf ,_ecbcf =d .Token ();if _ecbcf !=nil {return _ecbcf ;};if _gfcdc ,_fefbd :=_dggcf .(_d .EndElement );_fefbd &&_gfcdc .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_dggcf );};type CT_Handles struct{H []*CT_H ;};type CT_Background struct{BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;TargetscreensizeAttr OfcST_ScreenSize ;Fill *Fill ;IdAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Group and its children, prefixing error messages with path
func (_bedb *CT_Group )ValidateWithPath (path string )error {if _dfed :=_bedb .EditasAttr .ValidateWithPath (path +"/\u0045\u0064\u0069\u0074\u0061\u0073\u0041\u0074\u0074\u0072");_dfed !=nil {return _dfed ;};for _cgaae ,_bafe :=range _bedb .Group {if _cecd :=_bafe .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fG\u0072\u006f\u0075\u0070\u005b\u0025\u0064\u005d",path ,_cgaae ));_cecd !=nil {return _cecd ;};};for _cbebb ,_eefa :=range _bedb .Shape {if _cfca :=_eefa .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fS\u0068\u0061\u0070\u0065\u005b\u0025\u0064\u005d",path ,_cbebb ));_cfca !=nil {return _cfca ;};};for _gagd ,_daae :=range _bedb .Shapetype {if _deea :=_daae .ValidateWithPath (_c .Sprintf ("\u0025\u0073/\u0053\u0068\u0061p\u0065\u0074\u0079\u0070\u0065\u005b\u0025\u0064\u005d",path ,_gagd ));_deea !=nil {return _deea ;};};for _becda ,_fcfe :=range _bedb .Arc {if _cadg :=_fcfe .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0041\u0072\u0063\u005b\u0025\u0064\u005d",path ,_becda ));_cadg !=nil {return _cadg ;};};for _cdc ,_gcbfa :=range _bedb .Curve {if _eegfc :=_gcbfa .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fC\u0075\u0072\u0076\u0065\u005b\u0025\u0064\u005d",path ,_cdc ));_eegfc !=nil {return _eegfc ;};};for _dbac ,_eafg :=range _bedb .Image {if _cebe :=_eafg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fI\u006d\u0061\u0067\u0065\u005b\u0025\u0064\u005d",path ,_dbac ));_cebe !=nil {return _cebe ;};};for _acgce ,_dbea :=range _bedb .Line {if _degf :=_dbea .ValidateWithPath (_c .Sprintf ("%\u0073\u002f\u004c\u0069\u006e\u0065\u005b\u0025\u0064\u005d",path ,_acgce ));_degf !=nil {return _degf ;};};for _cfcg ,_efgc :=range _bedb .Oval {if _aaebb :=_efgc .ValidateWithPath (_c .Sprintf ("%\u0073\u002f\u004f\u0076\u0061\u006c\u005b\u0025\u0064\u005d",path ,_cfcg ));_aaebb !=nil {return _aaebb ;};};for _gbaaa ,_fgccb :=range _bedb .Polyline {if _gdeg :=_fgccb .ValidateWithPath (_c .Sprintf ("\u0025s\u002fP\u006f\u006c\u0079\u006c\u0069\u006e\u0065\u005b\u0025\u0064\u005d",path ,_gbaaa ));_gdeg !=nil {return _gdeg ;};};for _bfade ,_cfaag :=range _bedb .Rect {if _ccafe :=_cfaag .ValidateWithPath (_c .Sprintf ("%\u0073\u002f\u0052\u0065\u0063\u0074\u005b\u0025\u0064\u005d",path ,_bfade ));_ccafe !=nil {return _ccafe ;};};for _gfffc ,_baaeb :=range _bedb .Roundrect {if _gade :=_baaeb .ValidateWithPath (_c .Sprintf ("\u0025\u0073/\u0052\u006f\u0075n\u0064\u0072\u0065\u0063\u0074\u005b\u0025\u0064\u005d",path ,_gfffc ));_gade !=nil {return _gade ;};};for _ebdc ,_ggfg :=range _bedb .Diagram {if _eaad :=_ggfg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0044\u0069\u0061\u0067\u0072\u0061m\u005b\u0025\u0064\u005d",path ,_ebdc ));_eaad !=nil {return _eaad ;};};for _bfcd ,_cfgg :=range _bedb .EG_ShapeElements {if _bdge :=_cfgg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_bfcd ));_bdge !=nil {return _bdge ;};};if _aeag :=_bedb .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_aeag !=nil {return _aeag ;};if _deeac :=_bedb .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_deeac !=nil {return _deeac ;};if _abga :=_bedb .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_abga !=nil {return _abga ;};if _bbac :=_bedb .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_bbac !=nil {return _bbac ;};if _acbfg :=_bedb .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_acbfg !=nil {return _acbfg ;};if _efcd :=_bedb .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_efcd !=nil {return _efcd ;};if _ccgg :=_bedb .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_ccgg !=nil {return _ccgg ;};if _
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_StrokeAttributes and its children, prefixing error messages with path
func (_eba *AG_StrokeAttributes )ValidateWithPath (path string )error {if _adce :=_eba .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_adce !=nil {return _adce ;};if _acfb :=_eba .LinestyleAttr .ValidateWithPath (path +"\u002f\u004c\u0069\u006e\u0065\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_acfb !=nil {return _acfb ;};if _dca :=_eba .JoinstyleAttr .ValidateWithPath (path +"\u002f\u004a\u006f\u0069\u006e\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_dca !=nil {return _dca ;};if _ddge :=_eba .EndcapAttr .ValidateWithPath (path +"/\u0045\u006e\u0064\u0063\u0061\u0070\u0041\u0074\u0074\u0072");_ddge !=nil {return _ddge ;};if _adab :=_eba .FilltypeAttr .ValidateWithPath (path +"\u002f\u0046\u0069\u006c\u006c\u0074\u0079\u0070\u0065\u0041\u0074\u0074\u0072");_adab !=nil {return _adab ;};if _fgfb :=_eba .ImageaspectAttr .ValidateWithPath (path +"\u002f\u0049m\u0061\u0067\u0065a\u0073\u0070\u0065\u0063\u0074\u0041\u0074\u0074\u0072");_fgfb !=nil {return _fgfb ;};if _gfbcd :=_eba .ImagealignshapeAttr .ValidateWithPath (path +"/\u0049m\u0061\u0067\u0065\u0061\u006c\u0069\u0067\u006es\u0068\u0061\u0070\u0065At\u0074\u0072");_gfbcd !=nil {return _gfbcd ;};if _gca :=_eba .StartarrowAttr .ValidateWithPath (path +"\u002fS\u0074a\u0072\u0074\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_gca !=nil {return _gca ;};if _fgge :=_eba .StartarrowwidthAttr .ValidateWithPath (path +"/\u0053t\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077w\u0069\u0064\u0074\u0068At\u0074\u0072");_fgge !=nil {return _fgge ;};if _fede :=_eba .StartarrowlengthAttr .ValidateWithPath (path +"/\u0053\u0074\u0061\u0072ta\u0072r\u006f\u0077\u006c\u0065\u006eg\u0074\u0068\u0041\u0074\u0074\u0072");_fede !=nil {return _fede ;};if _cfbc :=_eba .EndarrowAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_cfbc !=nil {return _cfbc ;};if _dgbf :=_eba .EndarrowwidthAttr .ValidateWithPath (path +"\u002fE\u006ed\u0061\u0072\u0072\u006f\u0077w\u0069\u0064t\u0068\u0041\u0074\u0074\u0072");_dgbf !=nil {return _dgbf ;};if _bbf :=_eba .EndarrowlengthAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064ar\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068\u0041\u0074\u0074\u0072");_bbf !=nil {return _bbf ;};if _eaggaa :=_eba .ForcedashAttr .ValidateWithPath (path +"\u002f\u0046\u006f\u0072\u0063\u0065\u0064\u0061\u0073h\u0041\u0074\u0074\u0072");_eaggaa !=nil {return _eaggaa ;};if _dabb :=_eba .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_dabb !=nil {return _dabb ;};return nil ;};func (_aaaba ST_Ext )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_afddg :=_d .Attr {};_afddg .Name =name ;switch _aaaba {case ST_ExtUnset :_afddg .Value ="";case ST_ExtView :_afddg .Value ="\u0076\u0069\u0065\u0077";case ST_ExtEdit :_afddg .Value ="\u0065\u0064\u0069\u0074";case ST_ExtBackwardCompatible :_afddg .Value ="\u0062a\u0063k\u0077\u0061\u0072\u0064\u0043o\u006d\u0070a\u0074\u0069\u0062\u006c\u0065";};return _afddg ,nil ;};func (_bagdb ST_Ext )ValidateWithPath (path string )error {switch _bagdb {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_bagdb ));};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcColumn and its children
func (_cafff *OfcColumn )Validate ()error {return _cafff .ValidateWithPath ("\u004ff\u0063\u0043\u006f\u006c\u0075\u006dn");};func (_fbbc *Group )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _fbbc .CT_Group .MarshalXML (e ,start );};func (_ceebd *Shape )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ceebd .CT_Shape =*NewCT_Shape ();for _ ,_aedec :=range start .Attr {if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0072e\u0067\u0072\u006f\u0075\u0070\u0069d"{_ceeeb ,_eggbd :=_g .ParseInt (_aedec .Value ,10,64);if _eggbd !=nil {return _eggbd ;};_ceebd .RegroupidAttr =&_ceeeb ;continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"{_ceebd .DoubleclicknotifyAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0063\u006c\u0069\u0070"{_ceebd .ClipAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0062\u0075\u0074\u0074\u006f\u006e"{_ceebd .ButtonAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_ceebd .UserhiddenAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_ceebd .BulletAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0067f\u0078\u0064\u0061\u0074\u0061"{_ggffe ,_gagea :=_aedec .Value ,error (nil );if _gagea !=nil {return _gagea ;};_ceebd .GfxdataAttr =&_ggffe ;continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u0068\u0072"{_ceebd .HrAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aedec .Name .Local =="\u006f\u006c\u0065"{_ceebd .OleAttr .UnmarshalXMLAttr (_aedec );continue ;};if _aedec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Image and its children, prefixing error messages with path
func (_cfab *CT_Image )ValidateWithPath (path string )error {for _eefb ,_bedgc :=range _cfab .EG_ShapeElements {if _geefa :=_bedgc .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_eefb ));_geefa !=nil {return _geefa ;};};if _fafeg :=_cfab .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_fafeg !=nil {return _fafeg ;};if _edaa :=_cfab .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_edaa !=nil {return _edaa ;};if _bfccc :=_cfab .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_bfccc !=nil {return _bfccc ;};if _eegd :=_cfab .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_eegd !=nil {return _eegd ;};if _cebc :=_cfab .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_cebc !=nil {return _cebc ;};if _gbde :=_cfab .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_gbde !=nil {return _gbde ;};if _bbed :=_cfab .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_bbed !=nil {return _bbed ;};if _agbed :=_cfab .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_agbed !=nil {return _agbed ;};if _bbaad :=_cfab .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_bbaad !=nil {return _bbaad ;};if _geacab :=_cfab .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_geacab !=nil {return _geacab ;};if _dbccd :=_cfab .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_dbccd !=nil {return _dbccd ;};if _ageaa :=_cfab .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_ageaa !=nil {return _ageaa ;};if _fcda :=_cfab .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_fcda !=nil {return _fcda ;};if _bgdb :=_cfab .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_bgdb !=nil {return _bgdb ;};if _dgfca :=_cfab .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_dgfca !=nil {return _dgfca ;};if _badfd :=_cfab .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_badfd !=nil {return _badfd ;};if _aggf :=_cfab .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_aggf !=nil {return _aggf ;};if _afged :=_cfab .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_afged !=nil {return _afged ;};if _eeeb :=_cfab .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_eeeb !=nil {return _eeeb ;};if _aafb :=_cfab .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_aafb !=nil {return _aafb ;};if _affag :=_cfab .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_affag !=nil {return _affag ;};if _cafeg :=_cfab .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_cafeg !=nil {return _cafeg ;};if _egbfe :=_cfab .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_egbfe !=nil {r
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Image and its children, prefixing error messages with path
func (_gdgb *Image )ValidateWithPath (path string )error {if _gcfafgg :=_gdgb .CT_Image .ValidateWithPath (path );_gcfafgg !=nil {return _gcfafgg ;};return nil ;};func (_baafb *CT_Rect )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_gabcg :=range start .Attr {if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_ddeab ,_degaf :=_gabcg .Value ,error (nil );if _degaf !=nil {return _degaf ;};_baafb .BordertopcolorAttr =&_ddeab ;continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_baafb .BulletAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0068\u0072"{_baafb .HrAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_baafb .CliptowrapAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0068\u0072\u0073t\u0064"{_baafb .HrstdAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u006f\u006c\u0065"{_baafb .OleAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0068r\u006e\u006f\u0073\u0068\u0061\u0064e"{_baafb .HrnoshadeAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u006f\u006e\u0065\u0064"{_baafb .OnedAttr .UnmarshalXMLAttr (_gabcg );continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u0068\u0072\u0070c\u0074"{_fbaad ,_afeea :=_g .ParseFloat (_gabcg .Value ,64);if _afeea !=nil {return _afeea ;};_ffgf :=float32 (_fbaad );_baafb .HrpctAttr =&_ffgf ;continue ;};if _gabcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gabcg .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_baafb .OleiconAttr .UnmarshalXMLA
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_CoreAttributes and its children
func (_adc *AG_CoreAttributes )Validate ()error {return _adc .ValidateWithPath ("\u0041\u0047\u005f\u0043\u006f\u0072\u0065\u0041\u0074\u0074\u0072\u0069b\u0075\u0074\u0065\u0073");};func NewOfcCT_ShapeLayout ()*OfcCT_ShapeLayout {_babae :=&OfcCT_ShapeLayout {};return _babae };type OfcCT_IdMap struct{DataAttr *string ;ExtAttr ST_Ext ;};func (_eggde OfcST_ExtrusionPlane )ValidateWithPath (path string )error {switch _eggde {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_eggde ));};return nil ;};func (_eabb *OfcST_DiagramLayout )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_eabb =0;case "\u0030":*_eabb =1;case "\u0031":*_eabb =2;case "\u0032":*_eabb =3;case "\u0033":*_eabb =4;};return nil ;};type OfcLock struct{OfcCT_Lock };const (OfcST_FillTypeUnset OfcST_FillType =0;OfcST_FillTypeGradientCenter OfcST_FillType =1;OfcST_FillTypeSolid OfcST_FillType =2;OfcST_FillTypePattern OfcST_FillType =3;OfcST_FillTypeTile OfcST_FillType =4;OfcST_FillTypeFrame OfcST_FillType =5;OfcST_FillTypeGradientUnscaled OfcST_FillType =6;OfcST_FillTypeGradientRadial OfcST_FillType =7;OfcST_FillTypeGradient OfcST_FillType =8;OfcST_FillTypeBackground OfcST_FillType =9;);func (_dadba *OfcCT_ColorMru )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_ebagf :=range start .Attr {if _ebagf .Name .Local =="\u0063\u006f\u006c\u006f\u0072\u0073"{_ebddb ,_dfcgb :=_ebagf .Value ,error (nil );if _dfcgb !=nil {return _dfcgb ;};_dadba .ColorsAttr =&_ebddb ;continue ;};if _ebagf .Name .Local =="\u0065\u0078\u0074"{_dadba .ExtAttr .UnmarshalXMLAttr (_ebagf );continue ;};};for {_bgggfg ,_fgegb :=d .Token ();if _fgegb !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u004f\u0066\u0063C\u0054\u005f\u0043\u006f\u006c\u006f\u0072\u004d\u0072\u0075:\u0020\u0025\u0073",_fgegb );};if _bafdd ,_gcfbb :=_bgggfg .(_d .EndElement );_gcfbb &&_bafdd .Name ==start .Name {break ;};};return nil ;};func (_bcgfg *CT_Shadow )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_aecd :=range start .Attr {if _aecd .Name .Local =="\u006f\u006e"{_bcgfg .OnAttr .UnmarshalXMLAttr (_aecd );continue ;};if _aecd .Name .Local =="\u0074\u0079\u0070\u0065"{_bcgfg .TypeAttr .UnmarshalXMLAttr (_aecd );continue ;};if _aecd .Name .Local =="\u006f\u0062\u0073\u0063\u0075\u0072\u0065\u0064"{_bcgfg .ObscuredAttr .UnmarshalXMLAttr (_aecd );continue ;};if _aecd .Name .Local =="\u0063\u006f\u006co\u0072"{_egcbc ,_ebega :=_aecd .Value ,error (nil );if _ebega !=nil {return _ebega ;};_bcgfg .ColorAttr =&_egcbc ;continue ;};if _aecd .Name .Local =="\u006fp\u0061\u0063\u0069\u0074\u0079"{_bgacga ,_fgdefc :=_aecd .Value ,error (nil );if _fgdefc !=nil {return _fgdefc ;};_bcgfg .OpacityAttr =&_bgacga ;continue ;};if _aecd .Name .Local =="\u006f\u0066\u0066\u0073\u0065\u0074"{_gbeda ,_efaea :=_aecd .Value ,error (nil );if _efaea !=nil {return _efaea ;};_bcgfg .OffsetAttr =&_gbeda ;continue ;};if _aecd .Name .Local =="\u0063\u006f\u006c\u006f\u0072\u0032"{_eecf ,_eddga :=_aecd .Value ,error (nil );if _eddga !=nil {return _eddga ;};_bcgfg .Color2Attr =&_eecf ;continue ;};if _aecd .Name .Local =="\u006ff\u0066\u0073\u0065\u0074\u0032"{_ebbac ,_edac :=_aecd .Value ,error (nil );if _edac !=nil {return _edac ;};_bcgfg .Offset2Attr =&_ebbac ;continue ;};if _aecd .Name .Local =="\u006f\u0072\u0069\u0067\u0069\u006e"{_dddba ,_bdebf :=_aecd .Value ,error (nil );if _bdebf !=nil {return _bdebf ;};_bcgfg .OriginAttr =&_dddba ;continue ;};if _aecd .Name .Local =="\u006d\u0061\u0074\u0072\u0069\u0078"{_gegc ,_bgbbf :=_aecd .Value ,error (nil );if _bgbbf !=nil {return _bgbbf ;};_bcgfg .MatrixAttr =&_gegc ;continue ;};if _aecd .Name .Local =="\u0069\u0064"{_fbee ,_degfg :=_aecd .Value ,error (nil );if _degfg !=nil {return _degfg ;};_bcgfg .IdAttr =&_fbee ;continue ;};};for {_fgegg ,_fbfbb :=d .Token ();if _fbfbb !=nil {return _c .Errorf ("p\u0061\u0072\u0073\u0069ng\u0020C\u0054\u005f\u0053\u0068\u0061d\u006f\u0077\u003a\u00
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Rules and its children, prefixing error messages with path
func (_acdgg *OfcCT_Rules )ValidateWithPath (path string )error {for _bdcaf ,_bgbdg :=range _acdgg .R {if _effea :=_bgbdg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0052\u005b\u0025\u0064\u005d",path ,_bdcaf ));_effea !=nil {return _effea ;};};if _dgedc :=_acdgg .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_dgedc !=nil {return _dgedc ;};return nil ;};func (_cgfeed *ST_EditAs )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_cgfeed =0;case "\u0063\u0061\u006e\u0076\u0061\u0073":*_cgfeed =1;case "\u006f\u0072\u0067\u0063\u0068\u0061\u0072\u0074":*_cgfeed =2;case "\u0072\u0061\u0064\u0069\u0061\u006c":*_cgfeed =3;case "\u0063\u0079\u0063l\u0065":*_cgfeed =4;case "\u0073t\u0061\u0063\u006b\u0065\u0064":*_cgfeed =5;case "\u0076\u0065\u006e\u006e":*_cgfeed =6;case "\u0062\u0075\u006c\u006c\u0073\u0065\u0079\u0065":*_cgfeed =7;};return nil ;};type Shadow struct{CT_Shadow };func (_eddeb *OfcCT_Entry )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eddeb .NewAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006e\u0065\u0077"},Value :_c .Sprintf ("\u0025\u0076",*_eddeb .NewAttr )});};if _eddeb .OldAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u006c\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_eddeb .OldAttr )});};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_fdab *CT_Path )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fdab .VAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0076"},Value :_c .Sprintf ("\u0025\u0076",*_fdab .VAttr )});};if _fdab .LimoAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006c\u0069\u006d\u006f"},Value :_c .Sprintf ("\u0025\u0076",*_fdab .LimoAttr )});};if _fdab .TextboxrectAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"t\u0065\u0078\u0074\u0062\u006f\u0078\u0072\u0065\u0063\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fdab .TextboxrectAttr )});};if _fdab .FillokAttr !=_ec .ST_TrueFalseUnset {_aaaf ,_gcgg :=_fdab .FillokAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c\u006f\u006b"});if _gcgg !=nil {return _gcgg ;};start .Attr =append (start .Attr ,_aaaf );};if _fdab .StrokeokAttr !=_ec .ST_TrueFalseUnset {_fgfa ,_efcgg :=_fdab .StrokeokAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0074\u0072\u006f\u006b\u0065\u006f\u006b"});if _efcgg !=nil {return _efcgg ;};start .Attr =append (start .Attr ,_fgfa );};if _fdab .ShadowokAttr !=_ec .ST_TrueFalseUnset {_fcdc ,_bedbb :=_fdab .ShadowokAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0068\u0061\u0064\u006f\u0077\u006f\u006b"});if _bedbb !=nil {return _bedbb ;};start .Attr =append (start .Attr ,_fcdc );};if _fdab .ArrowokAttr !=_ec .ST_TrueFalseUnset {_eedcg ,_agadg :=_fdab .ArrowokAttr .MarshalXMLAttr (_d .Name {Local :"\u0061r\u0072\u006f\u0077\u006f\u006b"});if _agadg !=nil {return _agadg ;};start .Attr =append (start .Attr ,_eedcg );};if _fdab .GradientshapeokAttr !=_ec .ST_TrueFalseUnset {_dded ,_ffdge :=_fdab .GradientshapeokAttr .MarshalXMLAttr (_d .Name {Local :"\u0067r\u0061d\u0069\u0065\u006e\u0074\u0073\u0068\u0061\u0070\u0065\u006f\u006b"});if _ffdge !=nil {return _ffdge ;};start .Attr =append (start .Attr ,_dded );};if _fdab .TextpathokAttr !=_ec .ST_TrueFalseUnset {_gfbf ,_eace :=_fdab .TextpathokAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0065\u0078\u0074\u0070\u0061\u0074\u0068\u006f\u006b"});if _eace !=nil {return _eace ;};start .Attr =append (start .Attr ,_gfbf );};if _fdab .InsetpenokAttr !=_ec .ST_TrueFalseUnset {_dged ,_aeefg :=_fdab .InsetpenokAttr .MarshalXMLAttr (_d .Name {Local :"\u0069\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u006f\u006b"});if _aeefg !=nil {return _aeefg ;};start .Attr =append (start .Attr ,_dged );};if _fdab .ConnecttypeAttr !=OfcST_ConnectTypeUnset {_agedd ,_dbeae :=_fdab .ConnecttypeAttr .MarshalXMLAttr (_d .Name {Local :"c\u006f\u006e\u006e\u0065\u0063\u0074\u0074\u0079\u007
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// Validate validates the AG_Type and its children
2020-10-12 13:59:12 +00:00
func (_faec *AG_Type )Validate ()error {return _faec .ValidateWithPath ("\u0041G\u005f\u0054\u0079\u0070\u0065");};func (_egb *AG_Id )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dgac :=range start .Attr {if _dgac .Name .Local =="\u0069\u0064"{_ecca ,_ffb :=_dgac .Value ,error (nil );if _ffb !=nil {return _ffb ;};_egb .IdAttr =&_ecca ;continue ;};};for {_fba ,_bbe :=d .Token ();if _bbe !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u0041\u0047\u005f\u0049d\u003a\u0020\u0025\u0073",_bbe );};if _fgce ,_edb :=_fba .(_d .EndElement );_edb &&_fgce .Name ==start .Name {break ;};};return nil ;};func (_fgbfeg *ST_StrokeArrowType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_fgbfeg =0;case "\u006e\u006f\u006e\u0065":*_fgbfeg =1;case "\u0062\u006c\u006fc\u006b":*_fgbfeg =2;case "\u0063l\u0061\u0073\u0073\u0069\u0063":*_fgbfeg =3;case "\u006f\u0076\u0061\u006c":*_fgbfeg =4;case "\u0064i\u0061\u006d\u006f\u006e\u0064":*_fgbfeg =5;case "\u006f\u0070\u0065\u006e":*_fgbfeg =6;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Shape and its children, prefixing error messages with path
func (_bfebb *Shape )ValidateWithPath (path string )error {if _fcbgf :=_bfebb .CT_Shape .ValidateWithPath (path );_fcbgf !=nil {return _fcbgf ;};return nil ;};func (_fccc *CT_Path )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_bgcg :=range start .Attr {if _bgcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgcg .Name .Local =="c\u006f\u006e\u006e\u0065\u0063\u0074\u0074\u0079\u0070\u0065"{_fccc .ConnecttypeAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgcg .Name .Local =="e\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e\u006f\u006b"{_fccc .ExtrusionokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgcg .Name .Local =="\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u0061\u006e\u0067\u006c\u0065\u0073"{_fdcf ,_cggg :=_bgcg .Value ,error (nil );if _cggg !=nil {return _cggg ;};_fccc .ConnectanglesAttr =&_fdcf ;continue ;};if _bgcg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgcg .Name .Local =="c\u006f\u006e\u006e\u0065\u0063\u0074\u006c\u006f\u0063\u0073"{_aagec ,_ecbae :=_bgcg .Value ,error (nil );if _ecbae !=nil {return _ecbae ;};_fccc .ConnectlocsAttr =&_aagec ;continue ;};if _bgcg .Name .Local =="\u0067r\u0061d\u0069\u0065\u006e\u0074\u0073\u0068\u0061\u0070\u0065\u006f\u006b"{_fccc .GradientshapeokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0073\u0068\u0061\u0064\u006f\u0077\u006f\u006b"{_fccc .ShadowokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0061r\u0072\u006f\u0077\u006f\u006b"{_fccc .ArrowokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0076"{_efbe ,_adbd :=_bgcg .Value ,error (nil );if _adbd !=nil {return _adbd ;};_fccc .VAttr =&_efbe ;continue ;};if _bgcg .Name .Local =="\u0074\u0065\u0078\u0074\u0070\u0061\u0074\u0068\u006f\u006b"{_fccc .TextpathokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0069\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u006f\u006b"{_fccc .InsetpenokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0073\u0074\u0072\u006f\u006b\u0065\u006f\u006b"{_fccc .StrokeokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="\u0066\u0069\u006c\u006c\u006f\u006b"{_fccc .FillokAttr .UnmarshalXMLAttr (_bgcg );continue ;};if _bgcg .Name .Local =="t\u0065\u0078\u0074\u0062\u006f\u0078\u0072\u0065\u0063\u0074"{_aaae ,_cebfd :=_bgcg .Value ,error (nil );if _cebfd !=nil {return _cebfd ;};_fccc .TextboxrectAttr =&_aaae ;continue ;};if _bgcg .Name .Local =="\u006c\u0069\u006d\u006f"{_cecaf ,_bgbf :=_bgcg .Value ,error (nil );if _bgbf !=nil {return _bgbf ;};_fccc .LimoAttr =&_cecaf ;continue ;};if _bgcg .Name .Local =="\u0069\u0064"{_deade ,_gbcg :=_bgcg .Value ,error (nil );if _gbcg !=nil {return _gbcg ;};_fccc .IdAttr =&_deade ;continue ;};};for {_gggb ,_cdae :=d .Token ();if _cdae !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0043\u0054\u005f\u0050\u0061\u0074\u0068\u003a\u0020\u0025\u0073",_cdae );};if _bfdb ,_efcf :=_gggb .(_d .EndElement );_efcf &&_bfdb .Name ==start .Name {break ;};};return nil ;};type OfcClippath struct{OfcCT_ClipPath };type OfcST_OLEType byte ;func (_deggea *OfcST_ExtrusionPlane )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_de
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Image and its children
func (_cccda *CT_Image )Validate ()error {return _cccda .ValidateWithPath ("\u0043\u0054\u005f\u0049\u006d\u0061\u0067\u0065");};func NewOfcCT_R ()*OfcCT_R {_agef :=&OfcCT_R {};return _agef };func (_efba OfcST_DiagramLayout )ValidateWithPath (path string )error {switch _efba {case 0,1,2,3,4:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_efba ));};return nil ;};func NewOfcCT_StrokeChild ()*OfcCT_StrokeChild {_afbcc :=&OfcCT_StrokeChild {};return _afbcc };func NewAG_OfficeShapeAttributes ()*AG_OfficeShapeAttributes {_ccd :=&AG_OfficeShapeAttributes {};return _ccd ;};func (_ceec ST_StrokeLineStyle )ValidateWithPath (path string )error {switch _ceec {case 0,1,2,3,4,5:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_ceec ));};return nil ;};func (_aaadf OfcST_OLEUpdateMode )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_bdcad :=_d .Attr {};_bdcad .Name =name ;switch _aaadf {case OfcST_OLEUpdateModeUnset :_bdcad .Value ="";case OfcST_OLEUpdateModeAlways :_bdcad .Value ="\u0041\u006c\u0077\u0061\u0079\u0073";case OfcST_OLEUpdateModeOnCall :_bdcad .Value ="\u004f\u006e\u0043\u0061\u006c\u006c";};return _bdcad ,nil ;};func (_feff *AG_AllShapeAttributes )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_acf :=range start .Attr {if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072\u0074\u0079\u0070\u0065"{_feff .ConnectortypeAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u0062\u0077\u0070\u0075\u0072\u0065"{_feff .BwpureAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_feff .CliptowrapAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u0065"{_feff .PreferrelativeAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u006f\u006c\u0065"{_feff .OleAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_feff .OleiconAttr .UnmarshalXMLAttr (_acf );continue ;};if _acf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_acf .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_feff .ForcedashAtt
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the EG_ShapeElements and its children, prefixing error messages with path
func (_fcddd *EG_ShapeElements )ValidateWithPath (path string )error {if _fcddd .Path !=nil {if _daade :=_fcddd .Path .ValidateWithPath (path +"\u002f\u0050\u0061t\u0068");_daade !=nil {return _daade ;};};if _fcddd .Formulas !=nil {if _cfbfb :=_fcddd .Formulas .ValidateWithPath (path +"\u002fF\u006f\u0072\u006d\u0075\u006c\u0061s");_cfbfb !=nil {return _cfbfb ;};};if _fcddd .Handles !=nil {if _dfgbb :=_fcddd .Handles .ValidateWithPath (path +"\u002f\u0048\u0061\u006e\u0064\u006c\u0065\u0073");_dfgbb !=nil {return _dfgbb ;};};if _fcddd .Fill !=nil {if _gcfdc :=_fcddd .Fill .ValidateWithPath (path +"\u002f\u0046\u0069l\u006c");_gcfdc !=nil {return _gcfdc ;};};if _fcddd .Stroke !=nil {if _gbcbe :=_fcddd .Stroke .ValidateWithPath (path +"\u002fS\u0074\u0072\u006f\u006b\u0065");_gbcbe !=nil {return _gbcbe ;};};if _fcddd .Shadow !=nil {if _dbagec :=_fcddd .Shadow .ValidateWithPath (path +"\u002fS\u0068\u0061\u0064\u006f\u0077");_dbagec !=nil {return _dbagec ;};};if _fcddd .Textbox !=nil {if _dgbfb :=_fcddd .Textbox .ValidateWithPath (path +"\u002f\u0054\u0065\u0078\u0074\u0062\u006f\u0078");_dgbfb !=nil {return _dgbfb ;};};if _fcddd .Textpath !=nil {if _cccfg :=_fcddd .Textpath .ValidateWithPath (path +"\u002fT\u0065\u0078\u0074\u0070\u0061\u0074h");_cccfg !=nil {return _cccfg ;};};if _fcddd .Imagedata !=nil {if _gfggf :=_fcddd .Imagedata .ValidateWithPath (path +"\u002f\u0049\u006d\u0061\u0067\u0065\u0064\u0061\u0074\u0061");_gfggf !=nil {return _gfggf ;};};if _fcddd .Skew !=nil {if _ffbe :=_fcddd .Skew .ValidateWithPath (path +"\u002f\u0053\u006be\u0077");_ffbe !=nil {return _ffbe ;};};if _fcddd .Extrusion !=nil {if _ebdce :=_fcddd .Extrusion .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e");_ebdce !=nil {return _ebdce ;};};if _fcddd .Callout !=nil {if _aegba :=_fcddd .Callout .ValidateWithPath (path +"\u002f\u0043\u0061\u006c\u006c\u006f\u0075\u0074");_aegba !=nil {return _aegba ;};};if _fcddd .Lock !=nil {if _cfafe :=_fcddd .Lock .ValidateWithPath (path +"\u002f\u004c\u006fc\u006b");_cfafe !=nil {return _cfafe ;};};if _fcddd .Clippath !=nil {if _cdgda :=_fcddd .Clippath .ValidateWithPath (path +"\u002fC\u006c\u0069\u0070\u0070\u0061\u0074h");_cdgda !=nil {return _cdgda ;};};if _fcddd .Signatureline !=nil {if _gddfe :=_fcddd .Signatureline .ValidateWithPath (path +"\u002f\u0053\u0069\u0067\u006e\u0061\u0074\u0075\u0072e\u006c\u0069\u006e\u0065");_gddfe !=nil {return _gddfe ;};};if _fcddd .Wrap !=nil {if _cegf :=_fcddd .Wrap .ValidateWithPath (path +"\u002f\u0057\u0072a\u0070");_cegf !=nil {return _cegf ;};};if _fcddd .Anchorlock !=nil {if _fdgbc :=_fcddd .Anchorlock .ValidateWithPath (path +"/\u0041\u006e\u0063\u0068\u006f\u0072\u006c\u006f\u0063\u006b");_fdgbc !=nil {return _fdgbc ;};};if _fcddd .Bordertop !=nil {if _dbdee :=_fcddd .Bordertop .ValidateWithPath (path +"\u002f\u0042\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070");_dbdee !=nil {return _dbdee ;};};if _fcddd .Borderbottom !=nil {if _fgagdg :=_fcddd .Borderbottom .ValidateWithPath (path +"\u002f\u0042\u006f\u0072\u0064\u0065\u0072\u0062\u006f\u0074\u0074\u006f\u006d");_fgagdg !=nil {return _fgagdg ;};};if _fcddd .Borderleft !=nil {if _acaeb :=_fcddd .Borderleft .ValidateWithPath (path +"/\u0042\u006f\u0072\u0064\u0065\u0072\u006c\u0065\u0066\u0074");_acaeb !=nil {return _acaeb ;};};if _fcddd .Borderright !=nil {if _adbc :=_fcddd .Borderright .ValidateWithPath (path +"\u002f\u0042\u006fr\u0064\u0065\u0072\u0072\u0069\u0067\u0068\u0074");_adbc !=nil {return _adbc ;};};if _fcddd .ClientData !=nil {if _cbfe :=_fcddd .ClientData .ValidateWithPath (path +"/\u0043\u006c\u0069\u0065\u006e\u0074\u0044\u0061\u0074\u0061");_cbfe !=nil {return _cbfe ;};};if _fcddd .Textdata !=nil {if _begg :=_fcddd .Textdata .ValidateWithPath (path +"\u002fT\u0065\u0078\u0074\u0064\u0061\u0074a");_begg !=nil {return _begg ;};};return nil ;};func (_dfgga ST_Ext )Validate ()error {return _dfgga .ValidateWithPath ("")};type CT_Shadow struct{OnAttr _ec .ST_TrueFalse ;TypeAttr ST_ShadowType ;ObscuredAttr _ec .ST_TrueFalse ;ColorAttr *string ;OpacityAttr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Diagram and its children
func (_beegf *OfcCT_Diagram )Validate ()error {return _beegf .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0044\u0069\u0061\u0067\u0072\u0061\u006d");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Shadow and its children, prefixing error messages with path
func (_fdde *CT_Shadow )ValidateWithPath (path string )error {if _bcegb :=_fdde .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_bcegb !=nil {return _bcegb ;};if _afab :=_fdde .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_afab !=nil {return _afab ;};if _gedfc :=_fdde .ObscuredAttr .ValidateWithPath (path +"\u002f\u004f\u0062\u0073\u0063\u0075\u0072\u0065\u0064\u0041\u0074\u0074\u0072");_gedfc !=nil {return _gedfc ;};return nil ;};func (_eacfg *CT_Handles )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );if _eacfg .H !=nil {_dgaf :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0068"}};for _ ,_bgaca :=range _eacfg .H {e .EncodeElement (_bgaca ,_dgaf );};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_dbccc *CT_Shapetype )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_fceec :=range start .Attr {if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_edca ,_fcba :=_fceec .Value ,error (nil );if _fcba !=nil {return _fcba ;};_dbccc .BordertopcolorAttr =&_edca ;continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u006d\u0061\u0073\u0074\u0065\u0072"{_baebbf ,_fbfcb :=_fceec .Value ,error (nil );if _fbfcb !=nil {return _fbfcb ;};_dbccc .MasterAttr =&_baebbf ;continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0062o\u0072d\u0065\u0072\u006c\u0065\u0066\u0074\u0063\u006f\u006c\u006f\u0072"{_gfagda ,_bdaffd :=_fceec .Value ,error (nil );if _bdaffd !=nil {return _bdaffd ;};_dbccc .BorderleftcolorAttr =&_gfagda ;continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_dbccc .BulletAttr .UnmarshalXMLAttr (_fceec );continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0068\u0072"{_dbccc .HrAttr .UnmarshalXMLAttr (_fceec );continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0063\u006c\u0069\u0070"{_dbccc .ClipAttr .UnmarshalXMLAttr (_fceec );continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0068\u0072\u0073t\u0064"{_dbccc .HrstdAttr .UnmarshalXMLAttr (_fceec );continue ;};if _fceec .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_fceec .Name .Local =="\u0073\u0070\u0069\u0064"{_fbgae ,_ddccg :=_fceec .V
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_ShapeDefaults and its children, prefixing error messages with path
func (_beddfb *OfcCT_ShapeDefaults )ValidateWithPath (path string )error {if _gfagf :=_beddfb .FillAttr .ValidateWithPath (path +"\u002fF\u0069\u006c\u006c\u0041\u0074\u0074r");_gfagf !=nil {return _gfagf ;};if _bbgbd :=_beddfb .StrokeAttr .ValidateWithPath (path +"/\u0053\u0074\u0072\u006f\u006b\u0065\u0041\u0074\u0074\u0072");_bbgbd !=nil {return _bbgbd ;};if _addbc :=_beddfb .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_addbc !=nil {return _addbc ;};if _beddfb .Fill !=nil {if _ceggg :=_beddfb .Fill .ValidateWithPath (path +"\u002f\u0046\u0069l\u006c");_ceggg !=nil {return _ceggg ;};};if _beddfb .Stroke !=nil {if _cefdg :=_beddfb .Stroke .ValidateWithPath (path +"\u002fS\u0074\u0072\u006f\u006b\u0065");_cefdg !=nil {return _cefdg ;};};if _beddfb .Textbox !=nil {if _dgbdfc :=_beddfb .Textbox .ValidateWithPath (path +"\u002f\u0054\u0065\u0078\u0074\u0062\u006f\u0078");_dgbdfc !=nil {return _dgbdfc ;};};if _beddfb .Shadow !=nil {if _aede :=_beddfb .Shadow .ValidateWithPath (path +"\u002fS\u0068\u0061\u0064\u006f\u0077");_aede !=nil {return _aede ;};};if _beddfb .Skew !=nil {if _ggdbad :=_beddfb .Skew .ValidateWithPath (path +"\u002f\u0053\u006be\u0077");_ggdbad !=nil {return _ggdbad ;};};if _beddfb .Extrusion !=nil {if _dbbdfb :=_beddfb .Extrusion .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e");_dbbdfb !=nil {return _dbbdfb ;};};if _beddfb .Callout !=nil {if _gdafe :=_beddfb .Callout .ValidateWithPath (path +"\u002f\u0043\u0061\u006c\u006c\u006f\u0075\u0074");_gdafe !=nil {return _gdafe ;};};if _beddfb .Lock !=nil {if _dbacg :=_beddfb .Lock .ValidateWithPath (path +"\u002f\u004c\u006fc\u006b");_dbacg !=nil {return _dbacg ;};};if _beddfb .Colormru !=nil {if _bacga :=_beddfb .Colormru .ValidateWithPath (path +"\u002fC\u006f\u006c\u006f\u0072\u006d\u0072u");_bacga !=nil {return _bacga ;};};if _beddfb .Colormenu !=nil {if _afbab :=_beddfb .Colormenu .ValidateWithPath (path +"\u002f\u0043\u006f\u006c\u006f\u0072\u006d\u0065\u006e\u0075");_afbab !=nil {return _afbab ;};};if _afbcf :=_beddfb .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_afbcf !=nil {return _afbcf ;};return nil ;};func NewCT_Fill ()*CT_Fill {_adgg :=&CT_Fill {};return _adgg };func (_cfbge *OfcBottom )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Callout and its children, prefixing error messages with path
func (_ccfbd *OfcCT_Callout )ValidateWithPath (path string )error {if _bfgef :=_ccfbd .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_bfgef !=nil {return _bfgef ;};if _bfefd :=_ccfbd .AngleAttr .ValidateWithPath (path +"\u002f\u0041\u006e\u0067\u006c\u0065\u0041\u0074\u0074\u0072");_bfefd !=nil {return _bfefd ;};if _fcefg :=_ccfbd .DropautoAttr .ValidateWithPath (path +"\u002f\u0044\u0072\u006f\u0070\u0061\u0075\u0074\u006f\u0041\u0074\u0074\u0072");_fcefg !=nil {return _fcefg ;};if _fecee :=_ccfbd .LengthspecifiedAttr .ValidateWithPath (path +"/\u004ce\u006e\u0067\u0074\u0068\u0073\u0070\u0065\u0063i\u0066\u0069\u0065\u0064At\u0074\u0072");_fecee !=nil {return _fecee ;};if _fffdc :=_ccfbd .AccentbarAttr .ValidateWithPath (path +"\u002f\u0041\u0063\u0063\u0065\u006e\u0074\u0062\u0061r\u0041\u0074\u0074\u0072");_fffdc !=nil {return _fffdc ;};if _aaggg :=_ccfbd .TextborderAttr .ValidateWithPath (path +"\u002fT\u0065x\u0074\u0062\u006f\u0072\u0064\u0065\u0072\u0041\u0074\u0074\u0072");_aaggg !=nil {return _aaggg ;};if _agfc :=_ccfbd .MinusxAttr .ValidateWithPath (path +"/\u004d\u0069\u006e\u0075\u0073\u0078\u0041\u0074\u0074\u0072");_agfc !=nil {return _agfc ;};if _geagc :=_ccfbd .MinusyAttr .ValidateWithPath (path +"/\u004d\u0069\u006e\u0075\u0073\u0079\u0041\u0074\u0074\u0072");_geagc !=nil {return _geagc ;};if _dagdf :=_ccfbd .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_dagdf !=nil {return _dagdf ;};return nil ;};func (_afgea *OfcClippath )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u0063\u006c\u0069\u0070\u0070\u0061\u0074\u0068";return _afgea .OfcCT_ClipPath .MarshalXML (e ,start );};func (_eacf *CT_Group )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_gfdbf :=range start .Attr {if _gfdbf .Name .Space =="\u0075\u0072\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Oval and its children
func (_beaee *CT_Oval )Validate ()error {return _beaee .ValidateWithPath ("\u0043T\u005f\u004f\u0076\u0061\u006c");};func (_ebafaf *OfcST_How )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_ebafaf =0;case "\u0074\u006f\u0070":*_ebafaf =1;case "\u006d\u0069\u0064\u0064\u006c\u0065":*_ebafaf =2;case "\u0062\u006f\u0074\u0074\u006f\u006d":*_ebafaf =3;case "\u006c\u0065\u0066\u0074":*_ebafaf =4;case "\u0063\u0065\u006e\u0074\u0065\u0072":*_ebafaf =5;case "\u0072\u0069\u0067h\u0074":*_ebafaf =6;};return nil ;};func (_caece *OfcCT_Diagram )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_egdfd :=range start .Attr {if _egdfd .Name .Local =="\u0064\u0067\u006d\u0073\u0074\u0079\u006c\u0065"{_adbegb ,_dcdb :=_g .ParseInt (_egdfd .Value ,10,64);if _dcdb !=nil {return _dcdb ;};_caece .DgmstyleAttr =&_adbegb ;continue ;};if _egdfd .Name .Local =="\u0061\u0075\u0074\u006f\u0066\u006f\u0072\u006d\u0061\u0074"{_caece .AutoformatAttr .UnmarshalXMLAttr (_egdfd );continue ;};if _egdfd .Name .Local =="\u0072e\u0076\u0065\u0072\u0073\u0065"{_caece .ReverseAttr .UnmarshalXMLAttr (_egdfd );continue ;};if _egdfd .Name .Local =="\u0061\u0075\u0074\u006f\u006c\u0061\u0079\u006f\u0075\u0074"{_caece .AutolayoutAttr .UnmarshalXMLAttr (_egdfd );continue ;};if _egdfd .Name .Local =="\u0064g\u006d\u0073\u0063\u0061\u006c\u0065x"{_edcb ,_bdgcf :=_g .ParseInt (_egdfd .Value ,10,64);if _bdgcf !=nil {return _bdgcf ;};_caece .DgmscalexAttr =&_edcb ;continue ;};if _egdfd .Name .Local =="\u0064g\u006d\u0073\u0063\u0061\u006c\u0065y"{_dgbfd ,_adgabe :=_g .ParseInt (_egdfd .Value ,10,64);if _adgabe !=nil {return _adgabe ;};_caece .DgmscaleyAttr =&_dgbfd ;continue ;};if _egdfd .Name .Local =="d\u0067\u006d\u0066\u006f\u006e\u0074\u0073\u0069\u007a\u0065"{_bcecce ,_dffgaa :=_g .ParseInt (_egdfd .Value ,10,64);if _dffgaa !=nil {return _dffgaa ;};_caece .DgmfontsizeAttr =&_bcecce ;continue ;};if _egdfd .Name .Local =="\u0063o\u006es\u0074\u0072\u0061\u0069\u006e\u0062\u006f\u0075\u006e\u0064\u0073"{_adac ,_dedba :=_egdfd .Value ,error (nil );if _dedba !=nil {return _dedba ;};_caece .ConstrainboundsAttr =&_adac ;continue ;};if _egdfd .Name .Local =="\u0064\u0067m\u0062\u0061\u0073e\u0074\u0065\u0078\u0074\u0073\u0063\u0061\u006c\u0065"{_aeabf ,_agbda :=_g .ParseInt (_egdfd .Value ,10,64);if _agbda !=nil {return _agbda ;};_caece .DgmbasetextscaleAttr =&_aeabf ;continue ;};if _egdfd .Name .Local =="\u0065\u0078\u0074"{_caece .ExtAttr .UnmarshalXMLAttr (_egdfd );continue ;};};_ffefc :for {_bfbde ,_eecfcd :=d .Token ();if _eecfcd !=nil {return _eecfcd ;};switch _caffa :=_bfbde .(type ){case _d .StartElement :switch _caffa .Name {case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0072\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0074\u0061\u0062\u006c\u0065"}:_caece .Relationtable =NewOfcCT_RelationTable ();if _gdbg :=d .DecodeElement (_caece .Relationtable ,&_caffa );_gdbg !=nil {return _gdbg ;};default:_a .Log ("\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\u004f\u0066\u0063\u0043T\u005f\u0044\u0069\u0061\u0067\u0072\u0061\u006d \u0025\u0076",_caffa .Name );if _bbfeb :=d .Skip ();_bbfeb !=nil {return _bbfeb ;};};case _d .EndElement :break _ffefc ;case _d .CharData :};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_OfficeCoreAttributes and its children
func (_eabg *AG_OfficeCoreAttributes )Validate ()error {return _eabg .ValidateWithPath ("\u0041\u0047\u005fOf\u0066\u0069\u0063\u0065\u0043\u006f\u0072\u0065\u0041\u0074\u0074\u0072\u0069\u0062\u0075\u0074\u0065\u0073");};func (_gbecbf *OfcST_OLEType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fdgae ,_fccag :=d .Token ();if _fccag !=nil {return _fccag ;};if _gdfe ,_adedc :=_fdgae .(_d .EndElement );_adedc &&_gdfe .Name ==start .Name {*_gbecbf =1;return nil ;};if _fdgaeg ,_dbbebd :=_fdgae .(_d .CharData );!_dbbebd {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_fdgae );}else {switch string (_fdgaeg ){case "":*_gbecbf =0;case "\u0045\u006d\u0062e\u0064":*_gbecbf =1;case "\u004c\u0069\u006e\u006b":*_gbecbf =2;};};_fdgae ,_fccag =d .Token ();if _fccag !=nil {return _fccag ;};if _bcfbg ,_dgccdb :=_fdgae .(_d .EndElement );_dgccdb &&_bcfbg .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_fdgae );};type OfcCT_Skew struct{IdAttr *string ;OnAttr _ec .ST_TrueFalse ;OffsetAttr *string ;OriginAttr *string ;MatrixAttr *string ;ExtAttr ST_Ext ;};func NewCT_Handles ()*CT_Handles {_gdce :=&CT_Handles {};return _gdce };func (_affgd ST_StrokeEndCap )String ()string {switch _affgd {case 0:return "";case 1:return "\u0066\u006c\u0061\u0074";case 2:return "\u0073\u0071\u0075\u0061\u0072\u0065";case 3:return "\u0072\u006f\u0075n\u0064";};return "";};func (_cdecgf *ST_FillMethod )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_cdecgf =0;case "\u006e\u006f\u006e\u0065":*_cdecgf =1;case "\u006c\u0069\u006e\u0065\u0061\u0072":*_cdecgf =2;case "\u0073\u0069\u0067m\u0061":*_cdecgf =3;case "\u0061\u006e\u0079":*_cdecgf =4;case "\u006c\u0069\u006ee\u0061\u0072\u0020\u0073\u0069\u0067\u006d\u0061":*_cdecgf =5;};return nil ;};type OfcCT_Callout struct{OnAttr _ec .ST_TrueFalse ;TypeAttr *string ;GapAttr *string ;AngleAttr OfcST_Angle ;DropautoAttr _ec .ST_TrueFalse ;DropAttr *string ;DistanceAttr *string ;LengthspecifiedAttr _ec .ST_TrueFalse ;LengthAttr *string ;AccentbarAttr _ec .ST_TrueFalse ;TextborderAttr _ec .ST_TrueFalse ;MinusxAttr _ec .ST_TrueFalse ;MinusyAttr _ec .ST_TrueFalse ;ExtAttr ST_Ext ;};func NewOfcColumn ()*OfcColumn {_dedece :=&OfcColumn {};_dedece .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();return _dedece ;};func (_cbbcd *OfcST_ScreenSize )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_cbbcd =0;case "\u00354\u0034\u002c\u0033\u0037\u0036":*_cbbcd =1;case "\u00364\u0030\u002c\u0034\u0038\u0030":*_cbbcd =2;case "\u00372\u0030\u002c\u0035\u0031\u0032":*_cbbcd =3;case "\u00380\u0030\u002c\u0036\u0030\u0030":*_cbbcd =4;case "\u0031\u0030\u0032\u0034\u002c\u0037\u0036\u0038":*_cbbcd =5;case "\u0031\u0031\u0035\u0032\u002c\u0038\u0036\u0032":*_cbbcd =6;};return nil ;};const (OfcST_BWModeUnset OfcST_BWMode =0;OfcST_BWModeColor OfcST_BWMode =1;OfcST_BWModeAuto OfcST_BWMode =2;OfcST_BWModeGrayScale OfcST_BWMode =3;OfcST_BWModeLightGrayscale OfcST_BWMode =4;OfcST_BWModeInverseGray OfcST_BWMode =5;OfcST_BWModeGrayOutline OfcST_BWMode =6;OfcST_BWModeHighContrast OfcST_BWMode =7;OfcST_BWModeBlack OfcST_BWMode =8;OfcST_BWModeWhite OfcST_BWMode =9;OfcST_BWModeHide OfcST_BWMode =10;OfcST_BWModeUndrawn OfcST_BWMode =11;OfcST_BWModeBlackTextAndLines OfcST_BWMode =12;);func (_adgaa *OfcCT_Extrusion )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _adgaa .OnAttr !=_ec .ST_TrueFalseUnset {_gggfff ,_ecbgd :=_adgaa .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _ecbgd !=nil {return _ecbgd ;};start .Attr =append (start .Attr ,_gggfff );};if _adgaa .TypeAttr !=OfcST_ExtrusionTypeUnset {_egbae ,_egdfg :=_adgaa .TypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0079\u0070\u0065"});if _egdfg !=nil {return _egdfg ;};start .Attr =append (start .Attr ,_egbae );};if _adgaa .RenderAttr !=OfcST_Extr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Arc and its children, prefixing error messages with path
func (_dcga *Arc )ValidateWithPath (path string )error {if _eadb :=_dcga .CT_Arc .ValidateWithPath (path );_eadb !=nil {return _eadb ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_CoreAttributes and its children, prefixing error messages with path
func (_aaf *AG_CoreAttributes )ValidateWithPath (path string )error {if _gabf :=_aaf .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_gabf !=nil {return _gabf ;};return nil ;};func (_ceefd ST_EditAs )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_ceefd .String (),start );};func NewArc ()*Arc {_afda :=&Arc {};_afda .CT_Arc =*NewCT_Arc ();return _afda };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Chromakey and its children
func (_cbb *AG_Chromakey )Validate ()error {return _cbb .ValidateWithPath ("\u0041\u0047\u005fC\u0068\u0072\u006f\u006d\u0061\u006b\u0065\u0079");};func NewCurve ()*Curve {_efee :=&Curve {};_efee .CT_Curve =*NewCT_Curve ();return _efee };func (_cbcfcb ST_StrokeArrowWidth )Validate ()error {return _cbcfcb .ValidateWithPath ("")};type Fill struct{CT_Fill };func NewCT_Shapetype ()*CT_Shapetype {_bgaeb :=&CT_Shapetype {};return _bgaeb };type OfcCT_SignatureLine struct{IssignaturelineAttr _ec .ST_TrueFalse ;IdAttr *string ;ProvidAttr *string ;SigninginstructionssetAttr _ec .ST_TrueFalse ;AllowcommentsAttr _ec .ST_TrueFalse ;ShowsigndateAttr _ec .ST_TrueFalse ;SuggestedsignerAttr *string ;Suggestedsigner2Attr *string ;SuggestedsigneremailAttr *string ;SigninginstructionsAttr *string ;AddlxmlAttr *string ;SigprovurlAttr *string ;ExtAttr ST_Ext ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_OLEObject and its children, prefixing error messages with path
func (_eceab *OfcCT_OLEObject )ValidateWithPath (path string )error {if _ecfeb :=_eceab .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_ecfeb !=nil {return _ecfeb ;};if _edce :=_eceab .DrawAspectAttr .ValidateWithPath (path +"\u002fD\u0072a\u0077\u0041\u0073\u0070\u0065\u0063\u0074\u0041\u0074\u0074\u0072");_edce !=nil {return _edce ;};if _dedacb :=_eceab .UpdateModeAttr .ValidateWithPath (path +"\u002fU\u0070d\u0061\u0074\u0065\u004d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_dedacb !=nil {return _dedacb ;};if _bedce :=_eceab .LockedField .ValidateWithPath (path +"\u002f\u004c\u006fc\u006b\u0065\u0064\u0046\u0069\u0065\u006c\u0064");_bedce !=nil {return _bedce ;};return nil ;};func (_cbedb OfcST_ExtrusionPlane )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_cbedb .String (),start );};func (_adgfgc *Shadow )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _adgfgc .CT_Shadow .MarshalXML (e ,start );};func (_bedbe *Formulas )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bedbe .CT_Formulas =*NewCT_Formulas ();_cbddd :for {_efge ,_ceead :=d .Token ();if _ceead !=nil {return _ceead ;};switch _ccbaa :=_efge .(type ){case _d .StartElement :switch _ccbaa .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066"}:_egdaf :=NewCT_F ();if _effbb :=d .DecodeElement (_egdaf ,&_ccbaa );_effbb !=nil {return _effbb ;};_bedbe .F =append (_bedbe .F ,_egdaf );default:_a .Log ("\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\u0046\u006f\u0072\u006d\u0075\u006c\u0061\u0073\u0020\u0025\u0076",_ccbaa .Name );if _dbfg :=d .Skip ();_dbfg !=nil {return _dbfg ;};};case _d .EndElement :break _cbddd ;case _d .CharData :};};return nil ;};func (_cgcbg ST_StrokeLineStyle )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_dgcgg :=_d .Attr {};_dgcgg .Name =name ;switch _cgcbg {case ST_StrokeLineStyleUnset :_dgcgg .Value ="";case ST_StrokeLineStyleSingle :_dgcgg .Value ="\u0073\u0069\u006e\u0067\u006c\u0065";case ST_StrokeLineStyleThinThin :_dgcgg .Value ="\u0074\u0068\u0069\u006e\u0054\u0068\u0069\u006e";case ST_StrokeLineStyleThinThick :_dgcgg .Value ="\u0074h\u0069\u006e\u0054\u0068\u0069\u0063k";case ST_StrokeLineStyleThickThin :_dgcgg .Value ="\u0074h\u0069\u0063\u006b\u0054\u0068\u0069n";case ST_StrokeLineStyleThickBetweenThin :_dgcgg .Value ="\u0074\u0068i\u0063\u006b\u0042e\u0074\u0077\u0065\u0065\u006e\u0054\u0068\u0069\u006e";};return _dgcgg ,nil ;};func (_gbbfd *OfcShapelayout )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcSkew and its children, prefixing error messages with path
func (_bfaddd *OfcSkew )ValidateWithPath (path string )error {if _ffbaga :=_bfaddd .OfcCT_Skew .ValidateWithPath (path );_ffbaga !=nil {return _ffbaga ;};return nil ;};func NewAG_Type ()*AG_Type {_fdgb :=&AG_Type {};return _fdgb };func (_afeeb *Handles )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _afeeb .CT_Handles .MarshalXML (e ,start );};type OfcST_ConnectorType byte ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Shape and its children
func (_gcbd *Shape )Validate ()error {return _gcbd .ValidateWithPath ("\u0053\u0068\u0061p\u0065")};func NewImagedata ()*Imagedata {_gdedef :=&Imagedata {};_gdedef .CT_ImageData =*NewCT_ImageData ();return _gdedef ;};type AG_Adj struct{AdjAttr *string ;};type CT_Image struct{EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;SrcAttr *string ;CropleftAttr *string ;CroptopAttr *string ;CroprightAttr *string ;CropbottomAttr *string ;GainAttr *string ;BlacklevelAttr *string ;GammaAttr *string ;GrayscaleAttr _ec .ST_TrueFalse ;BilevelAttr _ec .ST_TrueFalse ;};func (_ggebe *Line )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _ggebe .CT_Line .MarshalXML (e ,start );};func (_cadfe *OfcST_HrAlign )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_cadfe =0;case "\u006c\u0065\u0066\u0074":*_cadfe =1;case "\u0072\u0069\u0067h\u0074":*_cadfe =2;case "\u0063\u0065\u006e\u0074\u0065\u0072":*_cadfe =3;};return nil ;};func (_fefab OfcST_OLEDrawAspect )String ()string {switch _fefab {case 0:return "";case 1:return "\u0043o\u006e\u0074\u0065\u006e\u0074";case 2:return "\u0049\u0063\u006f\u006e";};return "";};func NewShadow ()*Shadow {_fadca :=&Shadow {};_fadca .CT_Shadow =*NewCT_Shadow ();return _fadca };func (_fceeg OfcST_DiagramLayout )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_fceeg .String (),start );};func (_ecabe OfcST_ExtrusionType )ValidateWithPath (path string )error {switch _ecabe {case 0,1,2:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_ecabe ));};return nil ;};func (_cccea ST_StrokeEndCap )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_acbdf :=_d .Attr {};_acbdf .Name =name ;switch _cccea {case ST_StrokeEndCapUnset :_acbdf .Value ="";case ST_StrokeEndCapFlat :_acbdf .Value ="\u0066\u006c\u0061\u0074";case ST_StrokeEndCapSquare :_acbdf .Value ="\u0073\u0071\u0075\u0061\u0072\u0065";case ST_StrokeEndCapRound :_acbdf .Value ="\u0072\u006f\u0075n\u0064";};return _acbdf ,nil ;};func (_dbcac *OfcST_RType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_faeca ,_afbea :=d .Token ();if _afbea !=nil {return _afbea ;};if _faadb ,_dbbbb :=_faeca .(_d .EndElement );_dbbbb &&_faadb .Name ==start .Name {*_dbcac =1;return nil ;};if _bebbab ,_defcac :=_faeca .(_d .CharData );!_defcac {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_faeca );}else {switch string (_bebbab ){case "":*_dbcac =0;case "
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Fill and its children
func (_bbdec *CT_Fill )Validate ()error {return _bbdec .ValidateWithPath ("\u0043T\u005f\u0046\u0069\u006c\u006c");};func (_fggfc *OfcRight )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fggfc .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();for _ ,_egfe :=range start .Attr {if _egfe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egfe .Name .Local =="\u0068\u0072\u0065\u0066"{_gaccc ,_cfdad :=_egfe .Value ,error (nil );if _cfdad !=nil {return _cfdad ;};_fggfc .HrefAttr =&_gaccc ;continue ;};if _egfe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egfe .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_fggfc .ForcedashAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egfe .Name .Local =="\u0074\u0069\u0074l\u0065"{_abecb ,_faffg :=_egfe .Value ,error (nil );if _faffg !=nil {return _faffg ;};_fggfc .TitleAttr =&_abecb ;continue ;};if _egfe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egfe .Name .Local =="\u0061l\u0074\u0068\u0072\u0065\u0066"{_baafde ,_baefd :=_egfe .Value ,error (nil );if _baefd !=nil {return _baefd ;};_fggfc .AlthrefAttr =&_baafde ;continue ;};if _egfe .Name .Local =="i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"{_fggfc .ImageaspectAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"{_fggfc .StartarrowAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"{_fggfc .LinestyleAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0073t\u0061r\u0074\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_fggfc .StartarrowwidthAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u006ao\u0069\u006e\u0073\u0074\u0079\u006ce"{_fggfc .JoinstyleAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0073\u0074a\u0072\u0074\u0061r\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068"{_fggfc .StartarrowlengthAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0064a\u0073\u0068\u0073\u0074\u0079\u006ce"{_cgbgg ,_cfdba :=_egfe .Value ,error (nil );if _cfdba !=nil {return _cfdba ;};_fggfc .DashstyleAttr =&_cgbgg ;continue ;};if _egfe .Name .Local =="\u0065\u006e\u0064\u0061\u0072\u0072\u006f\u0077"{_fggfc .EndarrowAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0066\u0069\u006c\u006c\u0074\u0079\u0070\u0065"{_fggfc .FilltypeAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0065\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_fggfc .EndarrowwidthAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u006fp\u0061\u0063\u0069\u0074\u0079"{_bcdgf ,_fecb :=_egfe .Value ,error (nil );if _fecb !=nil {return _fecb ;};_fggfc .OpacityAttr =&_bcdgf ;continue ;};if _egfe .Name .Local =="\u0063\u006f\u006co\u0072"{_fbaec ,_bdfdb :=_egfe .Value ,error (nil );if _bdfdb !=nil {return _bdfdb ;};_fggfc .ColorAttr =&_fbaec ;continue ;};if _egfe .Name .Local =="\u0069\u006e\u0073\u0065\u0074\u0070\u0065\u006e"{_fggfc .InsetpenAttr .UnmarshalXMLAttr (_egfe );continue ;};if _egfe .Name .Local =="\u0065\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u006ce\u006e\u0067\u0074\u0068"{_fggfc .EndarrowlengthAttr .Unm
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcLock and its children
func (_acefg *OfcLock )Validate ()error {return _acefg .ValidateWithPath ("\u004ff\u0063\u004c\u006f\u0063\u006b");};type OfcCT_Rules struct{R []*OfcCT_R ;ExtAttr ST_Ext ;};func (_cdag *Polyline )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _cdag .CT_PolyLine .MarshalXML (e ,start );};func (_cbbfa *OfcLock )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _cbbfa .OfcCT_Lock .MarshalXML (e ,start );};func NewTextbox ()*Textbox {_edfgb :=&Textbox {};_edfgb .CT_Textbox =*NewCT_Textbox ();return _edfgb };func (_fafaa *CT_Curve )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fafaa .FromAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066\u0072\u006f\u006d"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .FromAttr )});};if _fafaa .Control1Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006e\u0074\u0072\u006f\u006c\u0031"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .Control1Attr )});};if _fafaa .Control2Attr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006e\u0074\u0072\u006f\u006c\u0032"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .Control2Attr )});};if _fafaa .ToAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u006f"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .ToAttr )});};if _fafaa .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .HrefAttr )});};if _fafaa .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .TargetAttr )});};if _fafaa .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .ClassAttr )});};if _fafaa .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .TitleAttr )});};if _fafaa .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .AltAttr )});};if _fafaa .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .CoordsizeAttr )});};if _fafaa .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .CoordoriginAttr )});};if _fafaa .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .WrapcoordsAttr )});};if _fafaa .PrintAttr !=_ec .ST_TrueFalseUnset {_gedf ,_bdbf :=_fafaa .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _bdbf !=nil {return _bdbf ;};start .Attr =append (start .Attr ,_gedf );};if _fafaa .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .IdAttr )});};if _fafaa .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .StyleAttr )});};if _fafaa .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_fafaa .SpidAttr )});};if _fafaa .OnedAttr !=_ec .ST_TrueFalseUnset {_cdbe ,_fac :=_fafaa .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _fac !=nil {return _fac ;};start .Attr =append (start .Attr ,_cdbe );};if _fafaa .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u00
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcEquationxml and its children
func (_dcbeda *OfcEquationxml )Validate ()error {return _dcbeda .ValidateWithPath ("\u004f\u0066\u0063\u0045\u0071\u0075\u0061\u0074\u0069o\u006e\u0078\u006d\u006c");};type OfcCT_ColorMru struct{ColorsAttr *string ;ExtAttr ST_Ext ;};func (_begcd *ST_StrokeLineStyle )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_aebge ,_abfgae :=d .Token ();if _abfgae !=nil {return _abfgae ;};if _decfe ,_ffgcbg :=_aebge .(_d .EndElement );_ffgcbg &&_decfe .Name ==start .Name {*_begcd =1;return nil ;};if _aegbcc ,_efabd :=_aebge .(_d .CharData );!_efabd {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_aebge );}else {switch string (_aegbcc ){case "":*_begcd =0;case "\u0073\u0069\u006e\u0067\u006c\u0065":*_begcd =1;case "\u0074\u0068\u0069\u006e\u0054\u0068\u0069\u006e":*_begcd =2;case "\u0074h\u0069\u006e\u0054\u0068\u0069\u0063k":*_begcd =3;case "\u0074h\u0069\u0063\u006b\u0054\u0068\u0069n":*_begcd =4;case "\u0074\u0068i\u0063\u006b\u0042e\u0074\u0077\u0065\u0065\u006e\u0054\u0068\u0069\u006e":*_begcd =5;};};_aebge ,_abfgae =d .Token ();if _abfgae !=nil {return _abfgae ;};if _fcbae ,_ecbef :=_aebge .(_d .EndElement );_ecbef &&_fcbae .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_aebge );};func (_dafbc ST_ShadowType )ValidateWithPath (path string )error {switch _dafbc {case 0,1,2,3,4:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_dafbc ));};return nil ;};func (_deeaa *OfcST_InsetMode )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_deeaa =0;case "\u0061\u0075\u0074\u006f":*_deeaa =1;case "\u0063\u0075\u0073\u0074\u006f\u006d":*_deeaa =2;};return nil ;};func (_bcbfgf OfcST_ColorMode )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_bcbfgf .String (),start );};func (_defac OfcST_OLEDrawAspect )ValidateWithPath (path string )error {switch _defac {case 0,1,2:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_defac ));};return nil ;};func (_bcbd *CT_Background )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _bcbd .BwmodeAttr !=OfcST_BWModeUnset {_dbfc ,_gcac :=_bcbd .BwmodeAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006d\u006f\u0064\u0065"});if _gcac !=nil {return _gcac ;};start .Attr =append (start .Attr ,_dbfc );};if _bcbd .BwpureAttr !=OfcST_BWModeUnset {_ecdc ,_gafe :=_bcbd .BwpureAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u0070\u0075\u0072\u0065"});if _gafe !=nil {return _gafe ;};start .Attr =append (start .Attr ,_ecdc );};if _bcbd .BwnormalAttr !=OfcST_BWModeUnset {_bgaa ,_acea :=_bcbd .BwnormalAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"});if _acea !=nil {return _acea ;};start .Attr =append (start .Attr ,_bgaa );};if _bcbd .TargetscreensizeAttr !=OfcST_ScreenSizeUnset {_ggef ,_dcee :=_bcbd .TargetscreensizeAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0061r\u0067\u0065\u0074s\u0063\u0072\u0065\u0065\u006e\u0073\u0069\u007a\u0065"});if _dcee !=nil {return _dcee ;};start .Attr =append (start .Attr ,_ggef );};if _bcbd .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_bcbd .IdAttr )});};if _bcbd .FilledAttr !=_ec .ST_TrueFalseUnset {_eecad ,_afdd :=_bcbd .FilledAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c\u0065\u0064"});if _afdd !=nil {return _afdd ;};start .Attr =append (start .Attr ,_eecad );};if _bcbd .FillcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"},Value :_c .Sprintf ("\u0025\u0076",*_bcbd .Fillcol
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_ImageData and its children
func (_agec *CT_ImageData )Validate ()error {return _agec .ValidateWithPath ("\u0043\u0054\u005fI\u006d\u0061\u0067\u0065\u0044\u0061\u0074\u0061");};func NewAG_ImageAttributes ()*AG_ImageAttributes {_acg :=&AG_ImageAttributes {};return _acg };func (_fafedg *OfcCT_ColorMenu )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fafedg .StrokecolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"s\u0074\u0072\u006f\u006b\u0065\u0063\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_fafedg .StrokecolorAttr )});};if _fafedg .FillcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"},Value :_c .Sprintf ("\u0025\u0076",*_fafedg .FillcolorAttr )});};if _fafedg .ShadowcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"s\u0068\u0061\u0064\u006f\u0077\u0063\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_fafedg .ShadowcolorAttr )});};if _fafedg .ExtrusioncolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0065\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006ec\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_fafedg .ExtrusioncolorAttr )});};if _fafedg .ExtAttr !=ST_ExtUnset {_caddc ,_cdfaa :=_fafedg .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _cdfaa !=nil {return _cdfaa ;};start .Attr =append (start .Attr ,_caddc );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};type CT_ImageData struct{EmbosscolorAttr *string ;RecolortargetAttr *string ;HrefAttr *string ;AlthrefAttr *string ;TitleAttr *string ;OleidAttr *float32 ;DetectmouseclickAttr _ec .ST_TrueFalse ;MovieAttr *float32 ;RelidAttr *string ;IdAttr *string ;PictAttr *string ;RHrefAttr *string ;SIdAttr *string ;SrcAttr *string ;CropleftAttr *string ;CroptopAttr *string ;CroprightAttr *string ;CropbottomAttr *string ;GainAttr *string ;BlacklevelAttr *string ;GammaAttr *string ;GrayscaleAttr _ec .ST_TrueFalse ;BilevelAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;};func (_effee *ST_FillType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_eaca ,_cdaed :=d .Token ();if _cdaed !=nil {return _cdaed ;};if _gecbc ,_efdaf :=_eaca .(_d .EndElement );_efdaf &&_gecbc .Name ==start .Name {*_effee =1;return nil ;};if _eggafc ,_eccbf :=_eaca .(_d .CharData );!_eccbf {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_eaca );}else {switch string (_eggafc ){case "":*_effee =0;case "\u0073\u006f\u006ci\u0064":*_effee =1;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074":*_effee =2;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0052a\u0064\u0069\u0061\u006c":*_effee =3;case "\u0074\u0069\u006c\u0065":*_effee =4;case "\u0070a\u0074\u0074\u0065\u0072\u006e":*_effee =5;case "\u0066\u0072\u0061m\u0065":*_effee =6;};};_eaca ,_cdaed =d .Token ();if _cdaed !=nil {return _cdaed ;};if _bfeec ,_egbd :=_eaca .(_d .EndElement );_egbd &&_bfeec .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_eaca );};func (_gaeab OfcST_OLEType )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_bdefe :=_d .Attr {};_bdefe .Name =name ;switch _gaeab {case OfcST_OLETypeUnset :_bdefe .Value ="";case OfcST_OLETypeEmbed :_bdefe .Value ="\u0045\u006d\u0062e\u0064";case OfcST_OLETypeLink :_bdefe .Value ="\u004c\u0069\u006e\u006b";};return _bdefe ,nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_AllShapeAttributes and its children
func (_dda *AG_AllShapeAttributes )Validate ()error {return _dda .ValidateWithPath ("A\u0047\u005f\u0041\u006clS\u0068a\u0070\u0065\u0041\u0074\u0074r\u0069\u0062\u0075\u0074\u0065\u0073");};func (_fddf *AG_Ext )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {_cad ,_dac :=_fddf .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _dac !=nil {return _dac ;};start .Attr =append (start .Attr ,_cad );start .Name .Local ="\u0076\u003a\u0041\u0047\u005f\u0045\u0078\u0074";return nil ;};func (_ccfcbg ST_StrokeArrowType )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_gcebc :=_d .Attr {};_gcebc .Name =name ;switch _ccfcbg {case ST_StrokeArrowTypeUnset :_gcebc .Value ="";case ST_StrokeArrowTypeNone :_gcebc .Value ="\u006e\u006f\u006e\u0065";case ST_StrokeArrowTypeBlock :_gcebc .Value ="\u0062\u006c\u006fc\u006b";case ST_StrokeArrowTypeClassic :_gcebc .Value ="\u0063l\u0061\u0073\u0073\u0069\u0063";case ST_StrokeArrowTypeOval :_gcebc .Value ="\u006f\u0076\u0061\u006c";case ST_StrokeArrowTypeDiamond :_gcebc .Value ="\u0064i\u0061\u006d\u006f\u006e\u0064";case ST_StrokeArrowTypeOpen :_gcebc .Value ="\u006f\u0070\u0065\u006e";};return _gcebc ,nil ;};func (_cafef *Stroke )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _cafef .CT_Stroke .MarshalXML (e ,start );};func (_aecc *Imagedata )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _aecc .CT_ImageData .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcRight and its children
func (_eedag *OfcRight )Validate ()error {return _eedag .ValidateWithPath ("\u004f\u0066\u0063\u0052\u0069\u0067\u0068\u0074");};type AG_StrokeAttributes struct{OnAttr _ec .ST_TrueFalse ;WeightAttr *string ;ColorAttr *string ;OpacityAttr *string ;LinestyleAttr ST_StrokeLineStyle ;MiterlimitAttr *float64 ;JoinstyleAttr ST_StrokeJoinStyle ;EndcapAttr ST_StrokeEndCap ;DashstyleAttr *string ;FilltypeAttr ST_FillType ;SrcAttr *string ;ImageaspectAttr ST_ImageAspect ;ImagesizeAttr *string ;ImagealignshapeAttr _ec .ST_TrueFalse ;Color2Attr *string ;StartarrowAttr ST_StrokeArrowType ;StartarrowwidthAttr ST_StrokeArrowWidth ;StartarrowlengthAttr ST_StrokeArrowLength ;EndarrowAttr ST_StrokeArrowType ;EndarrowwidthAttr ST_StrokeArrowWidth ;EndarrowlengthAttr ST_StrokeArrowLength ;HrefAttr *string ;AlthrefAttr *string ;TitleAttr *string ;ForcedashAttr _ec .ST_TrueFalse ;IdAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;RelidAttr *string ;};
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// ValidateWithPath validates the CT_Fill and its children, prefixing error messages with path
2020-10-12 13:59:12 +00:00
func (_dfdc *CT_Fill )ValidateWithPath (path string )error {if _eedc :=_dfdc .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_eedc !=nil {return _eedc ;};if _fdgg :=_dfdc .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_fdgg !=nil {return _fdgg ;};if _fadc :=_dfdc .AspectAttr .ValidateWithPath (path +"/\u0041\u0073\u0070\u0065\u0063\u0074\u0041\u0074\u0074\u0072");_fadc !=nil {return _fadc ;};if _ecge :=_dfdc .AlignshapeAttr .ValidateWithPath (path +"\u002fA\u006ci\u0067\u006e\u0073\u0068\u0061\u0070\u0065\u0041\u0074\u0074\u0072");_ecge !=nil {return _ecge ;};if _eecd :=_dfdc .MethodAttr .ValidateWithPath (path +"/\u004d\u0065\u0074\u0068\u006f\u0064\u0041\u0074\u0074\u0072");_eecd !=nil {return _eecd ;};if _degd :=_dfdc .DetectmouseclickAttr .ValidateWithPath (path +"/\u0044\u0065\u0074\u0065ct\u006do\u0075\u0073\u0065\u0063\u006ci\u0063\u006b\u0041\u0074\u0074\u0072");_degd !=nil {return _degd ;};if _ebfd :=_dfdc .RecolorAttr .ValidateWithPath (path +"\u002f\u0052\u0065c\u006f\u006c\u006f\u0072\u0041\u0074\u0074\u0072");_ebfd !=nil {return _ebfd ;};if _dcece :=_dfdc .RotateAttr .ValidateWithPath (path +"/\u0052\u006f\u0074\u0061\u0074\u0065\u0041\u0074\u0074\u0072");_dcece !=nil {return _dcece ;};if _dfdc .Fill !=nil {if _beae :=_dfdc .Fill .ValidateWithPath (path +"\u002f\u0046\u0069l\u006c");_beae !=nil {return _beae ;};};return nil ;};func NewCT_RoundRect ()*CT_RoundRect {_fcgcc :=&CT_RoundRect {};return _fcgcc };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Textpath and its children
func (_edaacd *Textpath )Validate ()error {return _edaacd .ValidateWithPath ("\u0054\u0065\u0078\u0074\u0070\u0061\u0074\u0068");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcDiagram and its children, prefixing error messages with path
func (_cfadd *OfcDiagram )ValidateWithPath (path string )error {if _bfefb :=_cfadd .OfcCT_Diagram .ValidateWithPath (path );_bfefb !=nil {return _bfefb ;};return nil ;};func NewCT_Group ()*CT_Group {_cbbd :=&CT_Group {};return _cbbd };func (_ed *AG_Adj )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ed .AdjAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u0064\u006a"},Value :_c .Sprintf ("\u0025\u0076",*_ed .AdjAttr )});};return nil ;};func (_babdf *OfcST_ExtrusionType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_aabdff ,_fedccc :=d .Token ();if _fedccc !=nil {return _fedccc ;};if _ggfdf ,_gbcef :=_aabdff .(_d .EndElement );_gbcef &&_ggfdf .Name ==start .Name {*_babdf =1;return nil ;};if _baedb ,_ddddb :=_aabdff .(_d .CharData );!_ddddb {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_aabdff );}else {switch string (_baedb ){case "":*_babdf =0;case "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065":*_babdf =1;case "\u0070\u0061\u0072\u0061\u006c\u006c\u0065\u006c":*_babdf =2;};};_aabdff ,_fedccc =d .Token ();if _fedccc !=nil {return _fedccc ;};if _gcdcb ,_bbfeda :=_aabdff .(_d .EndElement );_bbfeda &&_gcdcb .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_aabdff );};func (_ddbac *OfcEquationxml )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ddbac .OfcCT_EquationXml =*NewOfcCT_EquationXml ();for _ ,_gadb :=range start .Attr {if _gadb .Name .Local =="c\u006f\u006e\u0074\u0065\u006e\u0074\u0054\u0079\u0070\u0065"{_caeceg ,_gffgb :=_gadb .Value ,error (nil );if _gffgb !=nil {return _gffgb ;};_ddbac .ContentTypeAttr =&_caeceg ;continue ;};};_cdeg :for {_fbeag ,_gaega :=d .Token ();if _gaega !=nil {return _gaega ;};switch _bgegf :=_fbeag .(type ){case _d .StartElement :switch _bgegf .Name {default:if _eccbb ,_deeba :=_a .CreateElement (_bgegf );_deeba !=nil {return _deeba ;}else {if _gffb :=d .DecodeElement (_eccbb ,&_bgegf );_gffb !=nil {return _gffb ;};_ddbac .Any =_eccbb ;};};case _d .EndElement :break _cdeg ;case _d .CharData :};};return nil ;};func (_cdgca *Shapetype )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cdgca .CT_Shapetype =*NewCT_Shapetype ();for _ ,_aafeb :=range start .Attr {if _aafeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aafeb .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_afcga ,_accbc :=_aafeb .Value ,error (nil );if _accbc !=nil {return _accbc ;};_cdgca .BordertopcolorAttr =&_afcga ;continue ;};if _aafeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aafeb .Name .Local =="\u006d\u0061\u0073\u0074\u0065\u0072"{_aegfc ,_dcdbc :=_aafeb .Value ,error (nil );if _dcdbc !=nil {return _dcdbc ;};_cdgca .MasterAttr =&_aegfc ;continue ;};if _aafeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aafeb .Name .Local =="\u0062o\u0072d\u0065\u0072\u006c\u0065\u0066\u0074\u0063\u006f\u006c\u006f\u0072"{_agege ,_dacea :=_aafeb .Value ,error (nil );if _dacea !=nil {return _dacea ;};_cdgca .BorderleftcolorAttr =&_agege ;continue ;};if _aafeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_PolyLine and its children, prefixing error messages with path
func (_ebbg *CT_PolyLine )ValidateWithPath (path string )error {for _fgdd ,_dabbd :=range _ebbg .Ink {if _deac :=_dabbd .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0049\u006e\u006b\u005b\u0025\u0064\u005d",path ,_fgdd ));_deac !=nil {return _deac ;};};for _gfcfb ,_ggaf :=range _ebbg .EG_ShapeElements {if _dceg :=_ggaf .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_gfcfb ));_dceg !=nil {return _dceg ;};};if _bbfgg :=_ebbg .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_bbfgg !=nil {return _bbfgg ;};if _bafcf :=_ebbg .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_bafcf !=nil {return _bafcf ;};if _gdead :=_ebbg .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_gdead !=nil {return _gdead ;};if _fgeee :=_ebbg .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_fgeee !=nil {return _fgeee ;};if _dcffg :=_ebbg .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_dcffg !=nil {return _dcffg ;};if _cbdggf :=_ebbg .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_cbdggf !=nil {return _cbdggf ;};if _abgc :=_ebbg .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_abgc !=nil {return _abgc ;};if _egcad :=_ebbg .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_egcad !=nil {return _egcad ;};if _bcgcd :=_ebbg .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_bcgcd !=nil {return _bcgcd ;};if _bbfb :=_ebbg .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_bbfb !=nil {return _bbfb ;};if _gecdd :=_ebbg .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_gecdd !=nil {return _gecdd ;};if _ebdbc :=_ebbg .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_ebdbc !=nil {return _ebdbc ;};if _aeefa :=_ebbg .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_aeefa !=nil {return _aeefa ;};if _adfd :=_ebbg .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_adfd !=nil {return _adfd ;};if _gfdff :=_ebbg .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_gfdff !=nil {return _gfdff ;};if _ffeeaa :=_ebbg .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_ffeeaa !=nil {return _ffeeaa ;};if _dfdcfc :=_ebbg .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_dfdcfc !=nil {return _dfdcfc ;};if _eedd :=_ebbg .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_eedd !=nil {return _eedd ;};if _gcfge :=_ebbg .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_gcfge !=nil {return _gcfge ;};if _fbffc :=_ebbg .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_fbffc !=nil {return _fbffc ;};if _bbbaa :=_ebbg .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_bbbaa !=nil {return _bbbaa ;};if _gfbfb :=_ebbg .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_EquationXml and its children, prefixing error messages with path
func (_ffdcac *OfcCT_EquationXml )ValidateWithPath (path string )error {return nil };func (_ffbd OfcST_DiagramLayout )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_acee :=_d .Attr {};_acee .Name =name ;switch _ffbd {case OfcST_DiagramLayoutUnset :_acee .Value ="";case OfcST_DiagramLayout0 :_acee .Value ="\u0030";case OfcST_DiagramLayout1 :_acee .Value ="\u0031";case OfcST_DiagramLayout2 :_acee .Value ="\u0032";case OfcST_DiagramLayout3 :_acee .Value ="\u0033";};return _acee ,nil ;};func (_acdgc *OfcST_ConnectType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_acdgc =0;case "\u006e\u006f\u006e\u0065":*_acdgc =1;case "\u0072\u0065\u0063\u0074":*_acdgc =2;case "\u0073\u0065\u0067\u006d\u0065\u006e\u0074\u0073":*_acdgc =3;case "\u0063\u0075\u0073\u0074\u006f\u006d":*_acdgc =4;};return nil ;};func NewAG_Ext ()*AG_Ext {_agaa :=&AG_Ext {};_agaa .ExtAttr =ST_Ext (1);return _agaa };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcEquationxml and its children, prefixing error messages with path
func (_agcaga *OfcEquationxml )ValidateWithPath (path string )error {if _gdadf :=_agcaga .OfcCT_EquationXml .ValidateWithPath (path );_gdadf !=nil {return _gdadf ;};return nil ;};func (_cfdac OfcST_FillType )ValidateWithPath (path string )error {switch _cfdac {case 0,1,2,3,4,5,6,7,8,9:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_cfdac ));};return nil ;};func (_ddcdeg OfcST_HrAlign )Validate ()error {return _ddcdeg .ValidateWithPath ("")};func NewOfcRight ()*OfcRight {_bgcfd :=&OfcRight {};_bgcfd .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();return _bgcfd ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_OfficeShapeAttributes and its children, prefixing error messages with path
func (_cdfc *AG_OfficeShapeAttributes )ValidateWithPath (path string )error {if _dddf :=_cdfc .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_dddf !=nil {return _dddf ;};if _cdb :=_cdfc .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_cdb !=nil {return _cdb ;};if _bbb :=_cdfc .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_bbb !=nil {return _bbb ;};if _ebef :=_cdfc .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_ebef !=nil {return _ebef ;};if _fcfg :=_cdfc .ForcedashAttr .ValidateWithPath (path +"\u002f\u0046\u006f\u0072\u0063\u0065\u0064\u0061\u0073h\u0041\u0074\u0074\u0072");_fcfg !=nil {return _fcfg ;};if _ddda :=_cdfc .OleiconAttr .ValidateWithPath (path +"\u002f\u004f\u006ce\u0069\u0063\u006f\u006e\u0041\u0074\u0074\u0072");_ddda !=nil {return _ddda ;};if _gdae :=_cdfc .OleAttr .ValidateWithPath (path +"\u002f\u004f\u006c\u0065\u0041\u0074\u0074\u0072");_gdae !=nil {return _gdae ;};if _bbc :=_cdfc .PreferrelativeAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0065fe\u0072\u0072\u0065\u006c\u0061\u0074\u0069\u0076\u0065\u0041\u0074\u0074\u0072");_bbc !=nil {return _bbc ;};if _bgc :=_cdfc .CliptowrapAttr .ValidateWithPath (path +"\u002fC\u006ci\u0070\u0074\u006f\u0077\u0072\u0061\u0070\u0041\u0074\u0074\u0072");_bgc !=nil {return _bgc ;};if _gfdg :=_cdfc .ClipAttr .ValidateWithPath (path +"\u002fC\u006c\u0069\u0070\u0041\u0074\u0074r");_gfdg !=nil {return _gfdg ;};return nil ;};type AG_AllCoreAttributes struct{HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;};type OfcST_ExtrusionType byte ;func (_daagd *CT_Curve )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_ffdc :=range start .Attr {if _ffdc .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_ffdc .Name .Local =="\u0061\u006c\u006co\u0077\u006f\u0076\u0065\u0072\u006c\u0061\u0070"{_daagd .AllowoverlapAttr .UnmarshalXMLAttr (_ffdc );continue ;};if _ffdc .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_ffdc .Name .Local =="\u0072e\u0067\u0072\u006f\u0075\u0070\u0069d"{_dcfge ,_aadc :=_g .ParseInt (_ffdc .Value ,10,64);if _aadc !=nil {return _aadc ;};_daagd .RegroupidAttr =&_dcfge ;continue ;};if _ffdc .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_ffdc .Name .Local =="\u0064g\u006d\u006c\u0061\u0079\u006f\u0075t"{_daagd .DgmlayoutAttr .UnmarshalXMLAttr (_ffdc );continue ;};if _ffdc .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u0
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Rect and its children
func (_abdf *CT_Rect )Validate ()error {return _abdf .ValidateWithPath ("\u0043T\u005f\u0052\u0065\u0063\u0074");};type Rect struct{CT_Rect };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Formulas and its children
func (_gcce *CT_Formulas )Validate ()error {return _gcce .ValidateWithPath ("C\u0054\u005f\u0046\u006f\u0072\u006d\u0075\u006c\u0061\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Lock and its children, prefixing error messages with path
func (_cagf *OfcCT_Lock )ValidateWithPath (path string )error {if _gdgbe :=_cagf .PositionAttr .ValidateWithPath (path +"\u002f\u0050\u006f\u0073\u0069\u0074\u0069\u006f\u006e\u0041\u0074\u0074\u0072");_gdgbe !=nil {return _gdgbe ;};if _bgaff :=_cagf .SelectionAttr .ValidateWithPath (path +"\u002f\u0053\u0065\u006c\u0065\u0063\u0074\u0069\u006fn\u0041\u0074\u0074\u0072");_bgaff !=nil {return _bgaff ;};if _befee :=_cagf .GroupingAttr .ValidateWithPath (path +"\u002f\u0047\u0072\u006f\u0075\u0070\u0069\u006e\u0067\u0041\u0074\u0074\u0072");_befee !=nil {return _befee ;};if _cdfec :=_cagf .UngroupingAttr .ValidateWithPath (path +"\u002fU\u006eg\u0072\u006f\u0075\u0070\u0069\u006e\u0067\u0041\u0074\u0074\u0072");_cdfec !=nil {return _cdfec ;};if _fgae :=_cagf .RotationAttr .ValidateWithPath (path +"\u002f\u0052\u006f\u0074\u0061\u0074\u0069\u006f\u006e\u0041\u0074\u0074\u0072");_fgae !=nil {return _fgae ;};if _dgccd :=_cagf .CroppingAttr .ValidateWithPath (path +"\u002f\u0043\u0072\u006f\u0070\u0070\u0069\u006e\u0067\u0041\u0074\u0074\u0072");_dgccd !=nil {return _dgccd ;};if _gdgee :=_cagf .VerticiesAttr .ValidateWithPath (path +"\u002f\u0056\u0065\u0072\u0074\u0069\u0063\u0069\u0065s\u0041\u0074\u0074\u0072");_gdgee !=nil {return _gdgee ;};if _agcea :=_cagf .AdjusthandlesAttr .ValidateWithPath (path +"\u002fA\u0064j\u0075\u0073\u0074\u0068\u0061n\u0064\u006ce\u0073\u0041\u0074\u0074\u0072");_agcea !=nil {return _agcea ;};if _efadg :=_cagf .TextAttr .ValidateWithPath (path +"\u002fT\u0065\u0078\u0074\u0041\u0074\u0074r");_efadg !=nil {return _efadg ;};if _egabc :=_cagf .AspectratioAttr .ValidateWithPath (path +"\u002f\u0041s\u0070\u0065\u0063t\u0072\u0061\u0074\u0069\u006f\u0041\u0074\u0074\u0072");_egabc !=nil {return _egabc ;};if _gdgff :=_cagf .ShapetypeAttr .ValidateWithPath (path +"\u002f\u0053\u0068\u0061\u0070\u0065\u0074\u0079\u0070e\u0041\u0074\u0074\u0072");_gdgff !=nil {return _gdgff ;};if _afadd :=_cagf .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_afadd !=nil {return _afadd ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Formulas and its children, prefixing error messages with path
func (_dcff *CT_Formulas )ValidateWithPath (path string )error {for _ecbcg ,_gbdgf :=range _dcff .F {if _fceb :=_gbdgf .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0046\u005b\u0025\u0064\u005d",path ,_ecbcg ));_fceb !=nil {return _fceb ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Path and its children, prefixing error messages with path
func (_bbfd *CT_Path )ValidateWithPath (path string )error {if _aafc :=_bbfd .FillokAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u006f\u006b\u0041\u0074\u0074\u0072");_aafc !=nil {return _aafc ;};if _geecg :=_bbfd .StrokeokAttr .ValidateWithPath (path +"\u002f\u0053\u0074\u0072\u006f\u006b\u0065\u006f\u006b\u0041\u0074\u0074\u0072");_geecg !=nil {return _geecg ;};if _gafdd :=_bbfd .ShadowokAttr .ValidateWithPath (path +"\u002f\u0053\u0068\u0061\u0064\u006f\u0077\u006f\u006b\u0041\u0074\u0074\u0072");_gafdd !=nil {return _gafdd ;};if _aceab :=_bbfd .ArrowokAttr .ValidateWithPath (path +"\u002f\u0041\u0072r\u006f\u0077\u006f\u006b\u0041\u0074\u0074\u0072");_aceab !=nil {return _aceab ;};if _bead :=_bbfd .GradientshapeokAttr .ValidateWithPath (path +"/\u0047r\u0061\u0064\u0069\u0065\u006e\u0074\u0073\u0068a\u0070\u0065\u006f\u006bAt\u0074\u0072");_bead !=nil {return _bead ;};if _bdff :=_bbfd .TextpathokAttr .ValidateWithPath (path +"\u002fT\u0065x\u0074\u0070\u0061\u0074\u0068\u006f\u006b\u0041\u0074\u0074\u0072");_bdff !=nil {return _bdff ;};if _daccc :=_bbfd .InsetpenokAttr .ValidateWithPath (path +"\u002fI\u006es\u0065\u0074\u0070\u0065\u006e\u006f\u006b\u0041\u0074\u0074\u0072");_daccc !=nil {return _daccc ;};if _edgg :=_bbfd .ConnecttypeAttr .ValidateWithPath (path +"\u002f\u0043o\u006e\u006e\u0065c\u0074\u0074\u0079\u0070\u0065\u0041\u0074\u0074\u0072");_edgg !=nil {return _edgg ;};if _gcgbf :=_bbfd .ExtrusionokAttr .ValidateWithPath (path +"\u002f\u0045x\u0074\u0072\u0075s\u0069\u006f\u006e\u006f\u006b\u0041\u0074\u0074\u0072");_gcgbf !=nil {return _gcgbf ;};return nil ;};func (_eabdc ST_EditAs )ValidateWithPath (path string )error {switch _eabdc {case 0,1,2,3,4,5,6,7:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_eabdc ));};return nil ;};type ST_StrokeArrowType byte ;func NewOfcSignatureline ()*OfcSignatureline {_cbdga :=&OfcSignatureline {};_cbdga .OfcCT_SignatureLine =*NewOfcCT_SignatureLine ();return _cbdga ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcFill and its children, prefixing error messages with path
func (_gdcdff *OfcFill )ValidateWithPath (path string )error {if _beacb :=_gdcdff .OfcCT_Fill .ValidateWithPath (path );_beacb !=nil {return _beacb ;};return nil ;};func (_ggabg *OfcCT_EquationXml )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ggabg .ContentTypeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006e\u0074\u0065\u006e\u0074\u0054\u0079\u0070\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_ggabg .ContentTypeAttr )});};e .EncodeToken (start );if _ggabg .Any !=nil {_ggabg .Any .MarshalXML (e ,_d .StartElement {});};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_egdcgc *Image )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_egdcgc .CT_Image =*NewCT_Image ();for _ ,_abegd :=range start .Attr {if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="d\u0067\u006d\u006e\u006f\u0064\u0065\u006b\u0069\u006e\u0064"{_cbggb ,_fdcfg :=_g .ParseInt (_abegd .Value ,10,64);if _fdcfg !=nil {return _fdcfg ;};_egdcgc .DgmnodekindAttr =&_cbggb ;continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_egdcgc .BulletAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0068\u0072"{_egdcgc .HrAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_egdcgc .OleiconAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0068\u0072\u0073t\u0064"{_egdcgc .HrstdAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0063\u006c\u0069\u0070"{_egdcgc .ClipAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0068r\u006e\u006f\u0073\u0068\u0061\u0064e"{_egdcgc .HrnoshadeAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_abegd .Name .Local =="\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u0065"{_egdcgc .PreferrelativeAttr .UnmarshalXMLAttr (_abegd );continue ;};if _abegd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcSkew and its children
func (_bcefb *OfcSkew )Validate ()error {return _bcefb .ValidateWithPath ("\u004ff\u0063\u0053\u006b\u0065\u0077");};type ST_StrokeEndCap byte ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Path and its children
func (_cbea *AG_Path )Validate ()error {return _cbea .ValidateWithPath ("\u0041G\u005f\u0050\u0061\u0074\u0068");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcBottom and its children, prefixing error messages with path
func (_dcfa *OfcBottom )ValidateWithPath (path string )error {if _bdgec :=_dcfa .OfcCT_StrokeChild .ValidateWithPath (path );_bdgec !=nil {return _bdgec ;};return nil ;};type ST_ImageAspect byte ;func (_aaefc OfcST_OLEDrawAspect )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_ecbbb :=_d .Attr {};_ecbbb .Name =name ;switch _aaefc {case OfcST_OLEDrawAspectUnset :_ecbbb .Value ="";case OfcST_OLEDrawAspectContent :_ecbbb .Value ="\u0043o\u006e\u0074\u0065\u006e\u0074";case OfcST_OLEDrawAspectIcon :_ecbbb .Value ="\u0049\u0063\u006f\u006e";};return _ecbbb ,nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Shapetype and its children
func (_acbbf *CT_Shapetype )Validate ()error {return _acbbf .ValidateWithPath ("\u0043\u0054\u005fS\u0068\u0061\u0070\u0065\u0074\u0079\u0070\u0065");};func (_dcfdf ST_StrokeLineStyle )String ()string {switch _dcfdf {case 0:return "";case 1:return "\u0073\u0069\u006e\u0067\u006c\u0065";case 2:return "\u0074\u0068\u0069\u006e\u0054\u0068\u0069\u006e";case 3:return "\u0074h\u0069\u006e\u0054\u0068\u0069\u0063k";case 4:return "\u0074h\u0069\u0063\u006b\u0054\u0068\u0069n";case 5:return "\u0074\u0068i\u0063\u006b\u0042e\u0074\u0077\u0065\u0065\u006e\u0054\u0068\u0069\u006e";};return "";};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Complex and its children
func (_gfgbc *OfcCT_Complex )Validate ()error {return _gfgbc .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0043\u006f\u006d\u0070\u006c\u0065\u0078");};type CT_Arc struct{StartAngleAttr *float64 ;EndAngleAttr *float64 ;EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;};func (_dgdacc ST_ImageAspect )String ()string {switch _dgdacc {case 0:return "";case 1:return "\u0069\u0067\u006e\u006f\u0072\u0065";case 2:return "\u0061\u0074\u004d\u006f\u0073\u0074";case 3:return "\u0061t\u004c\u0065\u0061\u0073\u0074";};return "";};func NewCT_H ()*CT_H {_bddg :=&CT_H {};return _bddg };func NewEG_ShapeElements ()*EG_ShapeElements {_eeeec :=&EG_ShapeElements {};return _eeeec };func (_addced ST_StrokeLineStyle )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_addced .String (),start );};func (_ecdbc *OfcCT_Callout )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ecdbc .OnAttr !=_ec .ST_TrueFalseUnset {_dfgbd ,_gaceb :=_ecdbc .OnAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e"});if _gaceb !=nil {return _gaceb ;};start .Attr =append (start .Attr ,_dfgbd );};if _ecdbc .TypeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0079\u0070\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_ecdbc .TypeAttr )});};if _ecdbc .GapAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0067\u0061\u0070"},Value :_c .Sprintf ("\u0025\u0076",*_ecdbc .GapAttr )});};if _ecdbc .AngleAttr !=OfcST_AngleUnset {_bfdc ,_gfffb :=_ecdbc .AngleAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u006e\u0067l\u0065"});if _gfffb !=nil {return _gfffb ;};start .Attr =append (start .Attr ,_bfdc );};if _ecdbc .DropautoAttr !=_ec .ST_TrueFalseUnset {_geggf ,_ecdfe :=_ecdbc .DropautoAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u0072\u006f\u0070\u0061\u0075\u0074\u006f"});if _ecdfe !=nil {return _ecdfe ;};start .Attr =append (start .Attr ,_geggf );};if _ecdbc .DropAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064\u0072\u006f\u0070"},Value :_c .Sprintf ("\u0025\u0076",*_ecdbc .DropAttr )});};if _ecdbc .DistanceAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0064\u0069\u0073\u0074\u0061\u006e\u0063\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_ecdbc .DistanceAttr )});};if _ecdbc .LengthspecifiedAttr !=_ec .ST_TrueFalseUnset {_feddf ,_agbacg :=_ecdbc .LengthspecifiedAttr .MarshalXMLAttr (_d .Name {Local :"\u006ce\u006eg\u0074\u0068\u0073\u0070\u0065\u0063\u0069\u0066\u0069\u0065\u0064"});if _agbacg !=nil {return _agbacg ;};start .Attr =append (start .Attr ,_feddf );};if
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Entry and its children, prefixing error messages with path
func (_fccb *OfcCT_Entry )ValidateWithPath (path string )error {return nil };func (_fbdda *OfcCT_Fill )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fbdda .TypeAttr !=OfcST_FillTypeUnset {_cgfgc ,_ecbbc :=_fbdda .TypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0074\u0079\u0070\u0065"});if _ecbbc !=nil {return _ecbbc ;};start .Attr =append (start .Attr ,_cgfgc );};if _fbdda .ExtAttr !=ST_ExtUnset {_befga ,_geddg :=_fbdda .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _geddg !=nil {return _geddg ;};start .Attr =append (start .Attr ,_befga );};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_eacebg ST_ShadowType )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_cceff :=_d .Attr {};_cceff .Name =name ;switch _eacebg {case ST_ShadowTypeUnset :_cceff .Value ="";case ST_ShadowTypeSingle :_cceff .Value ="\u0073\u0069\u006e\u0067\u006c\u0065";case ST_ShadowTypeDouble :_cceff .Value ="\u0064\u006f\u0075\u0062\u006c\u0065";case ST_ShadowTypeEmboss :_cceff .Value ="\u0065\u006d\u0062\u006f\u0073\u0073";case ST_ShadowTypePerspective :_cceff .Value ="p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065";};return _cceff ,nil ;};type Path struct{CT_Path };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Proxy and its children
func (_eafac *OfcCT_Proxy )Validate ()error {return _eafac .ValidateWithPath ("O\u0066\u0063\u0043\u0054\u005f\u0050\u0072\u006f\u0078\u0079");};const (ST_StrokeEndCapUnset ST_StrokeEndCap =0;ST_StrokeEndCapFlat ST_StrokeEndCap =1;ST_StrokeEndCapSquare ST_StrokeEndCap =2;ST_StrokeEndCapRound ST_StrokeEndCap =3;);func NewOfcCT_ColorMru ()*OfcCT_ColorMru {_bcdca :=&OfcCT_ColorMru {};return _bcdca };func (_acfda OfcST_OLEType )Validate ()error {return _acfda .ValidateWithPath ("")};
2020-08-31 22:58:25 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Stroke and its children, prefixing error messages with path
func (_cfgbc *CT_Stroke )ValidateWithPath (path string )error {if _cfgbc .Left !=nil {if _debc :=_cfgbc .Left .ValidateWithPath (path +"\u002f\u004c\u0065f\u0074");_debc !=nil {return _debc ;};};if _cfgbc .Top !=nil {if _bffcg :=_cfgbc .Top .ValidateWithPath (path +"\u002f\u0054\u006f\u0070");_bffcg !=nil {return _bffcg ;};};if _cfgbc .Right !=nil {if _ffffc :=_cfgbc .Right .ValidateWithPath (path +"\u002f\u0052\u0069\u0067\u0068\u0074");_ffffc !=nil {return _ffffc ;};};if _cfgbc .Bottom !=nil {if _aacc :=_cfgbc .Bottom .ValidateWithPath (path +"\u002fB\u006f\u0074\u0074\u006f\u006d");_aacc !=nil {return _aacc ;};};if _cfgbc .Column !=nil {if _cfbbe :=_cfgbc .Column .ValidateWithPath (path +"\u002fC\u006f\u006c\u0075\u006d\u006e");_cfbbe !=nil {return _cfbbe ;};};if _bgab :=_cfgbc .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_bgab !=nil {return _bgab ;};if _fbcff :=_cfgbc .LinestyleAttr .ValidateWithPath (path +"\u002f\u004c\u0069\u006e\u0065\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_fbcff !=nil {return _fbcff ;};if _efbfg :=_cfgbc .JoinstyleAttr .ValidateWithPath (path +"\u002f\u004a\u006f\u0069\u006e\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_efbfg !=nil {return _efbfg ;};if _dbdg :=_cfgbc .EndcapAttr .ValidateWithPath (path +"/\u0045\u006e\u0064\u0063\u0061\u0070\u0041\u0074\u0074\u0072");_dbdg !=nil {return _dbdg ;};if _gbcaf :=_cfgbc .FilltypeAttr .ValidateWithPath (path +"\u002f\u0046\u0069\u006c\u006c\u0074\u0079\u0070\u0065\u0041\u0074\u0074\u0072");_gbcaf !=nil {return _gbcaf ;};if _fbcdf :=_cfgbc .ImageaspectAttr .ValidateWithPath (path +"\u002f\u0049m\u0061\u0067\u0065a\u0073\u0070\u0065\u0063\u0074\u0041\u0074\u0074\u0072");_fbcdf !=nil {return _fbcdf ;};if _gdfae :=_cfgbc .ImagealignshapeAttr .ValidateWithPath (path +"/\u0049m\u0061\u0067\u0065\u0061\u006c\u0069\u0067\u006es\u0068\u0061\u0070\u0065At\u0074\u0072");_gdfae !=nil {return _gdfae ;};if _fddgf :=_cfgbc .StartarrowAttr .ValidateWithPath (path +"\u002fS\u0074a\u0072\u0074\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_fddgf !=nil {return _fddgf ;};if _afgb :=_cfgbc .StartarrowwidthAttr .ValidateWithPath (path +"/\u0053t\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077w\u0069\u0064\u0074\u0068At\u0074\u0072");_afgb !=nil {return _afgb ;};if _ffgbg :=_cfgbc .StartarrowlengthAttr .ValidateWithPath (path +"/\u0053\u0074\u0061\u0072ta\u0072r\u006f\u0077\u006c\u0065\u006eg\u0074\u0068\u0041\u0074\u0074\u0072");_ffgbg !=nil {return _ffgbg ;};if _gaaa :=_cfgbc .EndarrowAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_gaaa !=nil {return _gaaa ;};if _fabf :=_cfgbc .EndarrowwidthAttr .ValidateWithPath (path +"\u002fE\u006ed\u0061\u0072\u0072\u006f\u0077w\u0069\u0064t\u0068\u0041\u0074\u0074\u0072");_fabf !=nil {return _fabf ;};if _cebd :=_cfgbc .EndarrowlengthAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064ar\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068\u0041\u0074\u0074\u0072");_cebd !=nil {return _cebd ;};if _bbdfab :=_cfgbc .ForcedashAttr .ValidateWithPath (path +"\u002f\u0046\u006f\u0072\u0063\u0065\u0064\u0061\u0073h\u0041\u0074\u0074\u0072");_bbdfab !=nil {return _bbdfab ;};if _ecfbfc :=_cfgbc .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_ecfbfc !=nil {return _ecfbfc ;};return nil ;};func (_aacdf *OfcST_DiagramLayout )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_eagef ,_aefgc :=d .Token ();if _aefgc !=nil {return _aefgc ;};if _bafgfb ,_egbfa :=_eagef .(_d .EndElement );_egbfa &&_bafgfb .Name ==start .Name {*_aacdf =1;return nil ;};if _cedcc ,_fdbbb :=_eagef .(_d .CharData );!_fdbbb {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_eagef );}else {switch string (_cedcc ){case "":*_aacdf =0;case "\u0030":*_aacdf =1;case "\u0031":*_aacdf =2;case "\u0032":*_aacdf =3;case "\u0033":*_aacdf =4;};};_eagef ,_aefgc =d .T
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcOLEObject and its children, prefixing error messages with path
func (_cbcdfg *OfcOLEObject )ValidateWithPath (path string )error {if _fgeaeg :=_cbcdfg .OfcCT_OLEObject .ValidateWithPath (path );_fgeaeg !=nil {return _fgeaeg ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcInk and its children
func (_gbbbg *OfcInk )Validate ()error {return _gbbbg .ValidateWithPath ("\u004f\u0066\u0063\u0049\u006e\u006b");};func (_gcbbd *OfcFill )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u0066\u0069\u006c\u006c";return _gcbbd .OfcCT_Fill .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Handles and its children, prefixing error messages with path
func (_ffga *CT_Handles )ValidateWithPath (path string )error {for _bfbg ,_facb :=range _ffga .H {if _adad :=_facb .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0048\u005b\u0025\u0064\u005d",path ,_bfbg ));_adad !=nil {return _adad ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Shadow and its children
func (_dcceff *Shadow )Validate ()error {return _dcceff .ValidateWithPath ("\u0053\u0068\u0061\u0064\u006f\u0077");};func (_beeca ST_StrokeArrowLength )Validate ()error {return _beeca .ValidateWithPath ("")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_F and its children, prefixing error messages with path
func (_babb *CT_F )ValidateWithPath (path string )error {return nil };func (_bebbc OfcST_ConnectorType )Validate ()error {return _bebbc .ValidateWithPath ("")};func (_cefe *OfcCT_Proxy )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_cdgcc :=range start .Attr {if _cdgcc .Name .Local =="\u0073\u0074\u0061r\u0074"{_cefe .StartAttr .UnmarshalXMLAttr (_cdgcc );continue ;};if _cdgcc .Name .Local =="\u0065\u006e\u0064"{_cefe .EndAttr .UnmarshalXMLAttr (_cdgcc );continue ;};if _cdgcc .Name .Local =="\u0069\u0064\u0072e\u0066"{_gdeed ,_fcad :=_cdgcc .Value ,error (nil );if _fcad !=nil {return _fcad ;};_cefe .IdrefAttr =&_gdeed ;continue ;};if _cdgcc .Name .Local =="\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006c\u006f\u0063"{_dggcg ,_cegg :=_g .ParseInt (_cdgcc .Value ,10,32);if _cegg !=nil {return _cegg ;};_gaecg :=int32 (_dggcg );_cefe .ConnectlocAttr =&_gaecg ;continue ;};};for {_baccdb ,_bfcda :=d .Token ();if _bfcda !=nil {return _c .Errorf ("\u0070\u0061\u0072si\u006e\u0067\u0020\u004f\u0066\u0063\u0043\u0054\u005f\u0050\u0072\u006f\u0078\u0079\u003a\u0020\u0025\u0073",_bfcda );};if _fcca ,_eagag :=_baccdb .(_d .EndElement );_eagag &&_fcca .Name ==start .Name {break ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_RegroupTable and its children, prefixing error messages with path
func (_fgbc *OfcCT_RegroupTable )ValidateWithPath (path string )error {for _cgegb ,_egggf :=range _fgbc .Entry {if _agdfd :=_egggf .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fE\u006e\u0074\u0072\u0079\u005b\u0025\u0064\u005d",path ,_cgegb ));_agdfd !=nil {return _agdfd ;};};if _abfe :=_fgbc .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_abfe !=nil {return _abfe ;};return nil ;};func (_cddaa *OfcCT_Proxy )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _cddaa .StartAttr !=_ec .ST_TrueFalseBlankUnset {_cecfc ,_affb :=_cddaa .StartAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0074\u0061r\u0074"});if _affb !=nil {return _affb ;};start .Attr =append (start .Attr ,_cecfc );};if _cddaa .EndAttr !=_ec .ST_TrueFalseBlankUnset {_egcdg ,_beefe :=_cddaa .EndAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u006e\u0064"});if _beefe !=nil {return _beefe ;};start .Attr =append (start .Attr ,_egcdg );};if _cddaa .IdrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064\u0072e\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_cddaa .IdrefAttr )});};if _cddaa .ConnectlocAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006c\u006f\u0063"},Value :_c .Sprintf ("\u0025\u0076",*_cddaa .ConnectlocAttr )});};e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_feac *AG_CoreAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _feac .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_feac .HrefAttr )});};if _feac .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_feac .TargetAttr )});};if _feac .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_feac .ClassAttr )});};if _feac .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_feac .TitleAttr )});};if _feac .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_feac .AltAttr )});};if _feac .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_feac .CoordsizeAttr )});};if _feac .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_feac .CoordoriginAttr )});};if _feac .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_feac .WrapcoordsAttr )});};if _feac .PrintAttr !=_ec .ST_TrueFalseUnset {_gaba ,_cbf :=_feac .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _cbf !=nil {return _cbf ;};start .Attr =append (start .Attr ,_gaba );};if _feac .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_feac .IdAttr )});};if _feac .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_feac .StyleAttr )});};return nil ;};func (_fcbf *OfcCT_RegroupTable )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_gdcee :=range start .Attr {if _gdcee .Name .Local =="\u0065\u0078\u0074"{_fcbf .ExtAttr .UnmarshalXMLAttr (_gdcee );continue ;};};_eecggc :for {_aefd ,_daacb :=d .Token ();if _daacb !=nil {return _daacb ;};switch _bcgbcc :=_aefd .(type ){case _d .StartElement :switch _bcgbcc .Name {case _
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcRight and its children, prefixing error messages with path
func (_gfbbd *OfcRight )ValidateWithPath (path string )error {if _cdgbd :=_gfbbd .OfcCT_StrokeChild .ValidateWithPath (path );_cdgbd !=nil {return _cdgbd ;};return nil ;};func (_eead *ST_FillType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_eead =0;case "\u0073\u006f\u006ci\u0064":*_eead =1;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074":*_eead =2;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0052a\u0064\u0069\u0061\u006c":*_eead =3;case "\u0074\u0069\u006c\u0065":*_eead =4;case "\u0070a\u0074\u0074\u0065\u0072\u006e":*_eead =5;case "\u0066\u0072\u0061m\u0065":*_eead =6;};return nil ;};func (_faeffg *OfcCT_RelationTable )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dccefe :=range start .Attr {if _dccefe .Name .Local =="\u0065\u0078\u0074"{_faeffg .ExtAttr .UnmarshalXMLAttr (_dccefe );continue ;};};_beecc :for {_gfeae ,_caffae :=d .Token ();if _caffae !=nil {return _caffae ;};switch _bgeeg :=_gfeae .(type ){case _d .StartElement :switch _bgeeg .Name {case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0072\u0065\u006c"}:_fabbe :=NewOfcCT_Relation ();if _ccbee :=d .DecodeElement (_fabbe ,&_bgeeg );_ccbee !=nil {return _ccbee ;};_faeffg .Rel =append (_faeffg .Rel ,_fabbe );default:_a .Log ("\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\u004f\u0066\u0063\u0043\u0054\u005f\u0052\u0065\u006c\u0061ti\u006f\u006e\u0054\u0061\u0062\u006c\u0065\u0020\u0025\u0076",_bgeeg .Name );if _fbdae :=d .Skip ();_fbdae !=nil {return _fbdae ;};};case _d .EndElement :break _beecc ;case _d .CharData :};};return nil ;};func (_ebege *Curve )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ebege .CT_Curve =*NewCT_Curve ();for _ ,_gddfd :=range start .Attr {if _gddfd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gddfd .Name .Local =="\u0061\u006c\u006co\u0077\u006f\u0076\u0065\u0072\u006c\u0061\u0070"{_ebege .AllowoverlapAttr .UnmarshalXMLAttr (_gddfd );continue ;};if _gddfd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gddfd .Name .Local =="\u0072e\u0067\u0072\u006f\u0075\u0070\u0069d"{_facbdc ,_ccbbd :=_g .ParseInt (_gddfd .Value ,10,64);if _ccbbd !=nil {return _ccbbd ;};_ebege .RegroupidAttr =&_facbdc ;continue ;};if _gddfd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gddfd .Name .Local =="\u0064g\u006d\u006c\u0061\u0079\u006f\u0075t"{_ebege .DgmlayoutAttr .UnmarshalXMLAttr (_gddfd );continue ;};if _gddfd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gddfd .Name .Local =="\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"{_ebege .DoubleclicknotifyAttr .UnmarshalXMLAttr (_gddfd );continue ;};if _gddfd .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_gddfd .Name .Local =="\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_RelationTable and its children, prefixing error messages with path
func (_gagaf *OfcCT_RelationTable )ValidateWithPath (path string )error {for _debcb ,_adfdb :=range _gagaf .Rel {if _gbcgc :=_adfdb .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0052\u0065\u006c\u005b\u0025\u0064\u005d",path ,_debcb ));_gbcgc !=nil {return _gbcgc ;};};if _afdae :=_gagaf .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_afdae !=nil {return _afdae ;};return nil ;};func NewAG_CoreAttributes ()*AG_CoreAttributes {_gdc :=&AG_CoreAttributes {};return _gdc };type AG_Chromakey struct{ChromakeyAttr *string ;};type OfcColumn struct{OfcCT_StrokeChild };type OfcCT_Proxy struct{StartAttr _ec .ST_TrueFalseBlank ;EndAttr _ec .ST_TrueFalseBlank ;IdrefAttr *string ;ConnectlocAttr *int32 ;};func (_acaacg OfcST_ScreenSize )Validate ()error {return _acaacg .ValidateWithPath ("")};func (_bgbdc *OfcClippath )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bgbdc .OfcCT_ClipPath =*NewOfcCT_ClipPath ();for _ ,_cadfd :=range start .Attr {if _cadfd .Name .Local =="\u0076"{_agdge ,_ggdd :=_cadfd .Value ,error (nil );if _ggdd !=nil {return _ggdd ;};_bgbdc .VAttr =_agdge ;continue ;};};for {_aaafb ,_efabfe :=d .Token ();if _efabfe !=nil {return _c .Errorf ("\u0070\u0061\u0072si\u006e\u0067\u0020\u004f\u0066\u0063\u0043\u006c\u0069\u0070\u0070\u0061\u0074\u0068\u003a\u0020\u0025\u0073",_efabfe );};if _bfdfdg ,_aedc :=_aaafb .(_d .EndElement );_aedc &&_bfdfdg .Name ==start .Name {break ;};};return nil ;};type Roundrect struct{CT_RoundRect };type OfcST_RType byte ;func (_eegfg OfcST_Angle )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_eegfg .String (),start );};func (_bgfefd *OfcTop )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_bgfefd .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();for _ ,_daefg :=range start .Attr {if _daefg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_daefg .Name .Local =="\u0068\u0072\u0065\u0066"{_efffc ,_aacaf :=_daefg .Value ,error (nil );if _aacaf !=nil {return _aacaf ;};_bgfefd .HrefAttr =&_efffc ;continue ;};if _daefg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_daefg .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_bgfefd .ForcedashAttr .UnmarshalXMLAttr (_daefg );continue ;};if _daefg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_daefg .Name .Local =="\u0074\u0069\u0074l\u0065"{_egeed ,_cdfd :=_daefg .Value ,error (nil );if _cdfd !=nil {return _cdfd ;};_bgfefd .TitleAttr =&_egeed ;continue ;};if _daefg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_daefg .Name .Local =="\u0061l\u0074\u0068\u0072\u0065\u0066"{_cbfaf ,_acffd :=_daefg .Value ,error (nil );if _acffd !=nil {return _acffd ;};_bgfefd .AlthrefAttr =&_cbfaf ;continue ;};if _daefg .Name .Local =="i\u006d\u0061\u0067\u0065\u0061\u0073\u0070\u0065\u0063\u0074"{_bgfefd .ImageaspectAttr .UnmarshalXMLAttr (_daefg );continue ;};if _daefg .Name .Local =="\u0073\u0074\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077"{_bgfefd .StartarrowAttr .UnmarshalXMLAttr (_daefg );continue ;};if _daefg .Name .Local =="\u006ci\u006e\u0065\u0073\u0074\u0079\u006ce"{_bgfefd .LinestyleAttr .UnmarshalXMLAttr (_daefg );continue ;};if _daefg .Name .Local =="\u0073t\u0061r\u0074\u0061\u0072\u0072\u006f\u0077\u0077\u0069\u0064\u0074\u0068"{_bgfefd .StartarrowwidthAttr .UnmarshalXMLAttr (_daefg );conti
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_TextPath and its children, prefixing error messages with path
func (_aabba *CT_TextPath )ValidateWithPath (path string )error {if _cdccc :=_aabba .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_cdccc !=nil {return _cdccc ;};if _ffad :=_aabba .FitshapeAttr .ValidateWithPath (path +"\u002f\u0046\u0069\u0074\u0073\u0068\u0061\u0070\u0065\u0041\u0074\u0074\u0072");_ffad !=nil {return _ffad ;};if _cdbgff :=_aabba .FitpathAttr .ValidateWithPath (path +"\u002f\u0046\u0069t\u0070\u0061\u0074\u0068\u0041\u0074\u0074\u0072");_cdbgff !=nil {return _cdbgff ;};if _gbgb :=_aabba .TrimAttr .ValidateWithPath (path +"\u002fT\u0072\u0069\u006d\u0041\u0074\u0074r");_gbgb !=nil {return _gbgb ;};if _cdccg :=_aabba .XscaleAttr .ValidateWithPath (path +"/\u0058\u0073\u0063\u0061\u006c\u0065\u0041\u0074\u0074\u0072");_cdccg !=nil {return _cdccg ;};return nil ;};func (_daabc *ST_Ext )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_daabc =0;case "\u0076\u0069\u0065\u0077":*_daabc =1;case "\u0065\u0064\u0069\u0074":*_daabc =2;case "\u0062a\u0063k\u0077\u0061\u0072\u0064\u0043o\u006d\u0070a\u0074\u0069\u0062\u006c\u0065":*_daabc =3;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Entry and its children
func (_bcgec *OfcCT_Entry )Validate ()error {return _bcgec .ValidateWithPath ("O\u0066\u0063\u0043\u0054\u005f\u0045\u006e\u0074\u0072\u0079");};func (_dgcfe ST_Ext )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_dgcfe .String (),start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Path and its children
func (_dafg *CT_Path )Validate ()error {return _dafg .ValidateWithPath ("\u0043T\u005f\u0050\u0061\u0074\u0068");};type OfcCT_Fill struct{TypeAttr OfcST_FillType ;ExtAttr ST_Ext ;};func (_adgd *Handles )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_adgd .CT_Handles =*NewCT_Handles ();_baacd :for {_bgec ,_gecgg :=d .Token ();if _gecgg !=nil {return _gecgg ;};switch _bbeda :=_bgec .(type ){case _d .StartElement :switch _bbeda .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0068"}:_ccaag :=NewCT_H ();if _bbfab :=d .DecodeElement (_ccaag ,&_bbeda );_bbfab !=nil {return _bbfab ;};_adgd .H =append (_adgd .H ,_ccaag );default:_a .Log ("\u0073\u006b\u0069p\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0048a\u006e\u0064\u006c\u0065\u0073\u0020\u0025\u0076",_bbeda .Name );if _cgeff :=d .Skip ();_cgeff !=nil {return _cgeff ;};};case _d .EndElement :break _baacd ;case _d .CharData :};};return nil ;};func (_egdgb *ST_StrokeJoinStyle )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_egdgb =0;case "\u0072\u006f\u0075n\u0064":*_egdgb =1;case "\u0062\u0065\u0076e\u006c":*_egdgb =2;case "\u006d\u0069\u0074e\u0072":*_egdgb =3;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Stroke and its children
func (_faedd *Stroke )Validate ()error {return _faedd .ValidateWithPath ("\u0053\u0074\u0072\u006f\u006b\u0065");};func (_eacgc *OfcCT_Entry )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_cgaabe :=range start .Attr {if _cgaabe .Name .Local =="\u006e\u0065\u0077"{_eegec ,_ggfag :=_g .ParseInt (_cgaabe .Value ,10,32);if _ggfag !=nil {return _ggfag ;};_gfgfa :=int32 (_eegec );_eacgc .NewAttr =&_gfgfa ;continue ;};if _cgaabe .Name .Local =="\u006f\u006c\u0064"{_fbgcf ,_cgbdb :=_g .ParseInt (_cgaabe .Value ,10,32);if _cgbdb !=nil {return _cgbdb ;};_fcefag :=int32 (_fbgcf );_eacgc .OldAttr =&_fcefag ;continue ;};};for {_efcce ,_cdcb :=d .Token ();if _cdcb !=nil {return _c .Errorf ("\u0070\u0061\u0072si\u006e\u0067\u0020\u004f\u0066\u0063\u0043\u0054\u005f\u0045\u006e\u0074\u0072\u0079\u003a\u0020\u0025\u0073",_cdcb );};if _bgggfga ,_afeac :=_efcce .(_d .EndElement );_afeac &&_bgggfga .Name ==start .Name {break ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_RoundRect and its children, prefixing error messages with path
func (_fdaad *CT_RoundRect )ValidateWithPath (path string )error {for _bbdfa ,_fbfe :=range _fdaad .EG_ShapeElements {if _acfaf :=_fbfe .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_bbdfa ));_acfaf !=nil {return _acfaf ;};};if _eaafc :=_fdaad .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_eaafc !=nil {return _eaafc ;};if _gbaf :=_fdaad .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_gbaf !=nil {return _gbaf ;};if _dafgb :=_fdaad .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_dafgb !=nil {return _dafgb ;};if _cfedc :=_fdaad .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_cfedc !=nil {return _cfedc ;};if _gegab :=_fdaad .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_gegab !=nil {return _gegab ;};if _edggc :=_fdaad .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_edggc !=nil {return _edggc ;};if _fdcaa :=_fdaad .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_fdcaa !=nil {return _fdcaa ;};if _decf :=_fdaad .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_decf !=nil {return _decf ;};if _ebgcg :=_fdaad .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_ebgcg !=nil {return _ebgcg ;};if _gfebg :=_fdaad .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_gfebg !=nil {return _gfebg ;};if _agde :=_fdaad .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_agde !=nil {return _agde ;};if _aace :=_fdaad .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_aace !=nil {return _aace ;};if _agbaa :=_fdaad .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_agbaa !=nil {return _agbaa ;};if _fgdf :=_fdaad .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_fgdf !=nil {return _fgdf ;};if _fgdc :=_fdaad .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_fgdc !=nil {return _fgdc ;};if _accd :=_fdaad .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_accd !=nil {return _accd ;};if _cdfe :=_fdaad .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_cdfe !=nil {return _cdfe ;};if _eegde :=_fdaad .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_eegde !=nil {return _eegde ;};if _ggfaa :=_fdaad .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_ggfaa !=nil {return _ggfaa ;};if _acbgf :=_fdaad .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_acbgf !=nil {return _acbgf ;};if _eade :=_fdaad .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_eade !=nil {return _eade ;};if _fagca :=_fdaad .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_fagca !=nil {return _fagca ;};if _ecggb :=_fdaad .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Curve and its children, prefixing error messages with path
func (_dbee *CT_Curve )ValidateWithPath (path string )error {for _bdeg ,_aebc :=range _dbee .EG_ShapeElements {if _cdfbd :=_aebc .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_bdeg ));_cdfbd !=nil {return _cdfbd ;};};if _fbfg :=_dbee .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_fbfg !=nil {return _fbfg ;};if _bcac :=_dbee .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_bcac !=nil {return _bcac ;};if _fbcf :=_dbee .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_fbcf !=nil {return _fbcf ;};if _bgdg :=_dbee .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_bgdg !=nil {return _bgdg ;};if _gcdc :=_dbee .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_gcdc !=nil {return _gcdc ;};if _cdgg :=_dbee .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_cdgg !=nil {return _cdgg ;};if _afac :=_dbee .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_afac !=nil {return _afac ;};if _ffcbg :=_dbee .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_ffcbg !=nil {return _ffcbg ;};if _ccbeb :=_dbee .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_ccbeb !=nil {return _ccbeb ;};if _acgf :=_dbee .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_acgf !=nil {return _acgf ;};if _gecec :=_dbee .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_gecec !=nil {return _gecec ;};if _afcg :=_dbee .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_afcg !=nil {return _afcg ;};if _fedff :=_dbee .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_fedff !=nil {return _fedff ;};if _geeb :=_dbee .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_geeb !=nil {return _geeb ;};if _ebgd :=_dbee .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_ebgd !=nil {return _ebgd ;};if _dfca :=_dbee .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_dfca !=nil {return _dfca ;};if _ggdf :=_dbee .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_ggdf !=nil {return _ggdf ;};if _cabg :=_dbee .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_cabg !=nil {return _cabg ;};if _ddde :=_dbee .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_ddde !=nil {return _ddde ;};if _ecdf :=_dbee .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_ecdf !=nil {return _ecdf ;};if _bfea :=_dbee .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_bfea !=nil {return _bfea ;};if _fgbg :=_dbee .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_fgbg !=nil {return _fgbg ;};if _baabb :=_dbee .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_baabb !=nil {return _baabb ;};if _fdef :=_d
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Formulas and its children, prefixing error messages with path
func (_bdfdc *Formulas )ValidateWithPath (path string )error {if _debd :=_bdfdc .CT_Formulas .ValidateWithPath (path );_debd !=nil {return _debd ;};return nil ;};type OfcExtrusion struct{OfcCT_Extrusion };
2020-08-31 22:58:25 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_AllCoreAttributes and its children
func (_gfc *AG_AllCoreAttributes )Validate ()error {return _gfc .ValidateWithPath ("A\u0047_\u0041\u006c\u006c\u0043\u006f\u0072\u0065\u0041t\u0074\u0072\u0069\u0062ut\u0065\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Oval and its children, prefixing error messages with path
func (_geadd *Oval )ValidateWithPath (path string )error {if _defgg :=_geadd .CT_Oval .ValidateWithPath (path );_defgg !=nil {return _defgg ;};return nil ;};func NewCT_Stroke ()*CT_Stroke {_agbb :=&CT_Stroke {};return _agbb };type Formulas struct{CT_Formulas };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcLock and its children, prefixing error messages with path
func (_edfeb *OfcLock )ValidateWithPath (path string )error {if _gegeg :=_edfeb .OfcCT_Lock .ValidateWithPath (path );_gegeg !=nil {return _gegeg ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Imagedata and its children, prefixing error messages with path
func (_dccef *Imagedata )ValidateWithPath (path string )error {if _accg :=_dccef .CT_ImageData .ValidateWithPath (path );_accg !=nil {return _accg ;};return nil ;};func (_agabg *OfcCT_ClipPath )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0076"},Value :_c .Sprintf ("\u0025\u0076",_agabg .VAttr )});e .EncodeToken (start );e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_cfff OfcST_ExtrusionRender )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_bbccb :=_d .Attr {};_bbccb .Name =name ;switch _cfff {case OfcST_ExtrusionRenderUnset :_bbccb .Value ="";case OfcST_ExtrusionRenderSolid :_bbccb .Value ="\u0073\u006f\u006ci\u0064";case OfcST_ExtrusionRenderWireFrame :_bbccb .Value ="\u0077i\u0072\u0065\u0046\u0072\u0061\u006de";case OfcST_ExtrusionRenderBoundingCube :_bbccb .Value ="\u0062\u006f\u0075n\u0064\u0069\u006e\u0067\u0043\u0075\u0062\u0065";};return _bbccb ,nil ;};type AG_Path struct{PathAttr *string ;};func NewCT_Shape ()*CT_Shape {_ggeca :=&CT_Shape {};return _ggeca };func (_cgfeg *OfcOLEObject )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cgfeg .OfcCT_OLEObject =*NewOfcCT_OLEObject ();for _ ,_aaeec :=range start .Attr {if _aaeec .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"&&_aaeec .Name .Local =="\u0069\u0064"||_aaeec .Name .Space =="\u0068\u0074\u0074\u0070\u003a\u002f\u002fp\u0075\u0072\u006c.\u006f\u0063\u006cc\u002e\u006fr\u0067\u002f\u006f\u006f\u0078\u006dl\u002fof\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0072\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073\u0068\u0069\u0070\u0073"&&_aaeec .Name .Local =="\u0069\u0064"{_eecbe ,_gbcgg :=_aaeec .Value ,error (nil );if _gbcgg !=nil {return _gbcgg ;};_cgfeg .IdAttr =&_eecbe ;continue ;};if _aaeec .Name .Local =="\u0054\u0079\u0070\u0065"{_cgfeg .TypeAttr .UnmarshalXMLAttr (_aaeec );continue ;};if _aaeec .Name .Local =="\u0050\u0072\u006f\u0067\u0049\u0044"{_efagc ,_ecbag :=_aaeec .Value ,error (nil );if _ecbag !=nil {return _ecbag ;};_cgfeg .ProgIDAttr =&_efagc ;continue ;};if _aaeec .Name .Local =="\u0053h\u0061\u0070\u0065\u0049\u0044"{_acgefb ,_ageb :=_aaeec .Value ,error (nil );if _ageb !=nil {return _ageb ;};_cgfeg .ShapeIDAttr =&_acgefb ;continue ;};if _aaeec .Name .Local =="\u0044\u0072\u0061\u0077\u0041\u0073\u0070\u0065\u0063\u0074"{_cgfeg .DrawAspectAttr .UnmarshalXMLAttr (_aaeec );continue ;};if _aaeec .Name .Local =="\u004f\u0062\u006a\u0065\u0063\u0074\u0049\u0044"{_addbg ,_fcab :=_aaeec .Value ,error (nil );if _fcab !=nil {return _fcab ;};_cgfeg .ObjectIDAttr =&_addbg ;continue ;};if _aaeec .Name .Local =="\u0055\u0070\u0064\u0061\u0074\u0065\u004d\u006f\u0064\u0065"{_cgfeg .UpdateModeAttr .UnmarshalXMLAttr (_aaeec );continue ;};};_gfcd :for {_cegcf ,_dcbeb :=d .Token ();if _dcbeb !=nil {return _dcbeb ;};switch _dfaee :=_cegcf .(type ){case _d .StartElement :switch _dfaee .Name {case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u004c\u0069\u006e\u006b\u0054\u0079\u0070\u0065"}:_cgfeg .LinkType =new (string );if _dcafb :=d .DecodeElement (_cgfeg .LinkType ,&_dfaee );_dcafb !=nil {return _dcafb ;};case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"L\u006f\u0063\u006b\u0065\u0064\u0046\u0069\u0065\u006c\u0064"}:_cgfeg .LockedField =_ec .ST_TrueFalseBlankUnset ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_R and its children, prefixing error messages with path
func (_ffbaab *OfcCT_R )ValidateWithPath (path string )error {if _feegd :=_ffbaab .TypeAttr .ValidateWithPath (path +"\u002fT\u0079\u0070\u0065\u0041\u0074\u0074r");_feegd !=nil {return _feegd ;};if _aacbed :=_ffbaab .HowAttr .ValidateWithPath (path +"\u002f\u0048\u006f\u0077\u0041\u0074\u0074\u0072");_aacbed !=nil {return _aacbed ;};for _dgdca ,_gfged :=range _ffbaab .Proxy {if _gaade :=_gfged .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fP\u0072\u006f\u0078\u0079\u005b\u0025\u0064\u005d",path ,_dgdca ));_gaade !=nil {return _gaade ;};};return nil ;};func (_ccgba *ST_ShadowType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_ccgba =0;case "\u0073\u0069\u006e\u0067\u006c\u0065":*_ccgba =1;case "\u0064\u006f\u0075\u0062\u006c\u0065":*_ccgba =2;case "\u0065\u006d\u0062\u006f\u0073\u0073":*_ccgba =3;case "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065":*_ccgba =4;};return nil ;};func (_fgbf *AG_OfficeShapeAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _fgbf .SptAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073p\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_fgbf .SptAttr )});};if _fgbf .ConnectortypeAttr !=OfcST_ConnectorTypeUnset {_efce ,_egdc :=_fgbf .ConnectortypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072\u0074\u0079\u0070\u0065"});if _egdc !=nil {return _egdc ;};start .Attr =append (start .Attr ,_efce );};if _fgbf .BwmodeAttr !=OfcST_BWModeUnset {_cca ,_ffc :=_fgbf .BwmodeAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006d\u006f\u0064\u0065"});if _ffc !=nil {return _ffc ;};start .Attr =append (start .Attr ,_cca );};if _fgbf .BwpureAttr !=OfcST_BWModeUnset {_aad ,_fge :=_fgbf .BwpureAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u0070\u0075\u0072\u0065"});if _fge !=nil {return _fge ;};start .Attr =append (start .Attr ,_aad );};if _fgbf .BwnormalAttr !=OfcST_BWModeUnset {_dcg ,_feb :=_fgbf .BwnormalAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"});if _feb !=nil {return _feb ;};start .Attr =append (start .Attr ,_dcg );};if _fgbf .ForcedashAttr !=_ec .ST_TrueFalseUnset {_bcge ,_acc :=_fgbf .ForcedashAttr .MarshalXMLAttr (_d .Name {Local :"\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"});if _acc !=nil {return _acc ;};start .Attr =append (start .Attr ,_bcge );};if _fgbf .OleiconAttr !=_ec .ST_TrueFalseUnset {_afga ,_fggd :=_fgbf .OleiconAttr .MarshalXMLAttr (_d .Name {Local :"\u006fl\u0065\u0069\u0063\u006f\u006e"});if _fggd !=nil {return _fggd ;};start .Attr =append (start .Attr ,_afga );};if _fgbf .OleAttr !=_ec .ST_TrueFalseBlankUnset {_fbe ,_fabg :=_fgbf .OleAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006c\u0065"});if _fabg !=nil {return _fabg ;};start .Attr =append (start .Attr ,_fbe );};if _fgbf .PreferrelativeAttr !=_ec .ST_TrueFalseUnset {_fdaa ,_eagg :=_fgbf .PreferrelativeAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u0065"});if _eagg !=nil {return _eagg ;};start .Attr =append (start .Attr ,_fdaa );};if _fgbf .CliptowrapAttr !=_ec .ST_TrueFalseUnset {_baf ,_efad :=_fgbf .CliptowrapAttr .MarshalXMLAttr (_d .Name {Local :"\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"});if _efad !=nil {return _efad ;};start .Attr =append (start .Attr ,_baf );};if _fgbf .ClipAttr !=_ec .ST_TrueFalseUnset {_cgce ,_bae :=_fgbf .ClipAttr .MarshalXMLAttr (_d .Name {Local :"\u0063\u006c\u0069\u0070"});if _bae !=nil {return _bae ;};start .Attr =append (start .Attr ,_cgce );};return nil ;};func (_geaea OfcST_ExtrusionPlane )Validate ()error {return _geaea .ValidateWithPath ("")};type CT_Line struct{FromAttr *string ;ToAttr *string ;EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_OfficeCoreAttributes and its children, prefixing error messages with path
func (_agaag *AG_OfficeCoreAttributes )ValidateWithPath (path string )error {if _cbbaf :=_agaag .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_cbbaf !=nil {return _cbbaf ;};if _cgcb :=_agaag .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_cgcb !=nil {return _cgcb ;};if _abd :=_agaag .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_abd !=nil {return _abd ;};if _ggf :=_agaag .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_ggf !=nil {return _ggf ;};if _cded :=_agaag .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_cded !=nil {return _cded ;};if _afc :=_agaag .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_afc !=nil {return _afc ;};if _caga :=_agaag .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_caga !=nil {return _caga ;};if _badf :=_agaag .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_badf !=nil {return _badf ;};if _abbd :=_agaag .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_abbd !=nil {return _abbd ;};if _ceagd :=_agaag .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_ceagd !=nil {return _ceagd ;};if _cgdb :=_agaag .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_cgdb !=nil {return _cgdb ;};if _dbgf :=_agaag .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_dbgf !=nil {return _dbgf ;};if _eebca :=_agaag .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_eebca !=nil {return _eebca ;};if _gdea :=_agaag .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_gdea !=nil {return _gdea ;};if _acgcb :=_agaag .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_acgcb !=nil {return _acgcb ;};return nil ;};func NewOfcCT_IdMap ()*OfcCT_IdMap {_bdgbc :=&OfcCT_IdMap {};return _bdgbc };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCallout and its children, prefixing error messages with path
func (_dbaba *OfcCallout )ValidateWithPath (path string )error {if _gfffa :=_dbaba .OfcCT_Callout .ValidateWithPath (path );_gfffa !=nil {return _gfffa ;};return nil ;};func (_eefe *Arc )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_eefe .CT_Arc =*NewCT_Arc ();for _ ,_caff :=range start .Attr {if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0075s\u0065\u0072\u0064\u0072\u0061\u0077n"{_eefe .UserdrawnAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0062\u0075\u0074\u0074\u006f\u006e"{_eefe .ButtonAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0064\u0067\u006dl\u0061\u0079\u006f\u0075\u0074\u006d\u0072\u0075"{_eefe .DgmlayoutmruAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_eefe .UserhiddenAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_eefe .CliptowrapAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_eefe .BulletAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u006f\u006c\u0065"{_eefe .OleAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0068\u0072"{_eefe .HrAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0073\u0070\u0069\u0064"{_fgcc ,_gegg :=_caff .Value ,error (nil );if _gegg !=nil {return _gegg ;};_eefe .SpidAttr =&_fgcc ;continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_caff .Name .Local =="\u0068\u0072\u0073t\u0064"{_eefe .HrstdAttr .UnmarshalXMLAttr (_caff );continue ;};if _caff .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u00
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_H and its children, prefixing error messages with path
func (_fgef *CT_H )ValidateWithPath (path string )error {if _adga :=_fgef .InvxAttr .ValidateWithPath (path +"\u002fI\u006e\u0076\u0078\u0041\u0074\u0074r");_adga !=nil {return _adga ;};if _ffcbd :=_fgef .InvyAttr .ValidateWithPath (path +"\u002fI\u006e\u0076\u0079\u0041\u0074\u0074r");_ffcbd !=nil {return _ffcbd ;};if _dgacc :=_fgef .SwitchAttr .ValidateWithPath (path +"/\u0053\u0077\u0069\u0074\u0063\u0068\u0041\u0074\u0074\u0072");_dgacc !=nil {return _dgacc ;};return nil ;};func (_bbfgc *ST_ImageAspect )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_bbfgc =0;case "\u0069\u0067\u006e\u006f\u0072\u0065":*_bbfgc =1;case "\u0061\u0074\u004d\u006f\u0073\u0074":*_bbfgc =2;case "\u0061t\u004c\u0065\u0061\u0073\u0074":*_bbfgc =3;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_StrokeChild and its children
func (_bbbfc *OfcCT_StrokeChild )Validate ()error {return _bbbfc .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0053\u0074\u0072\u006f\u006b\u0065C\u0068\u0069\u006c\u0064");};type OfcCT_R struct{IdAttr string ;TypeAttr OfcST_RType ;HowAttr OfcST_How ;IdrefAttr *string ;Proxy []*OfcCT_Proxy ;};type Textpath struct{CT_TextPath };func NewImage ()*Image {_egfc :=&Image {};_egfc .CT_Image =*NewCT_Image ();return _egfc };func (_eddfd *ST_StrokeArrowLength )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_eddfd =0;case "\u0073\u0068\u006fr\u0074":*_eddfd =1;case "\u006d\u0065\u0064\u0069\u0075\u006d":*_eddfd =2;case "\u006c\u006f\u006e\u0067":*_eddfd =3;};return nil ;};func (_fgebg ST_FillMethod )String ()string {switch _fgebg {case 0:return "";case 1:return "\u006e\u006f\u006e\u0065";case 2:return "\u006c\u0069\u006e\u0065\u0061\u0072";case 3:return "\u0073\u0069\u0067m\u0061";case 4:return "\u0061\u006e\u0079";case 5:return "\u006c\u0069\u006ee\u0061\u0072\u0020\u0073\u0069\u0067\u006d\u0061";};return "";};func NewShape ()*Shape {_bbbadd :=&Shape {};_bbbadd .CT_Shape =*NewCT_Shape ();return _bbbadd };func (_bdbgb *CT_H )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_gdbe :=range start .Attr {if _gdbe .Name .Local =="\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e"{_bfgf ,_acbg :=_gdbe .Value ,error (nil );if _acbg !=nil {return _acbg ;};_bdbgb .PositionAttr =&_bfgf ;continue ;};if _gdbe .Name .Local =="\u0070\u006f\u006ca\u0072"{_gcag ,_dgfdb :=_gdbe .Value ,error (nil );if _dgfdb !=nil {return _dgfdb ;};_bdbgb .PolarAttr =&_gcag ;continue ;};if _gdbe .Name .Local =="\u006d\u0061\u0070"{_edad ,_eddg :=_gdbe .Value ,error (nil );if _eddg !=nil {return _eddg ;};_bdbgb .MapAttr =&_edad ;continue ;};if _gdbe .Name .Local =="\u0069\u006e\u0076\u0078"{_bdbgb .InvxAttr .UnmarshalXMLAttr (_gdbe );continue ;};if _gdbe .Name .Local =="\u0069\u006e\u0076\u0079"{_bdbgb .InvyAttr .UnmarshalXMLAttr (_gdbe );continue ;};if _gdbe .Name .Local =="\u0073\u0077\u0069\u0074\u0063\u0068"{_bdbgb .SwitchAttr .UnmarshalXMLAttr (_gdbe );continue ;};if _gdbe .Name .Local =="\u0078\u0072\u0061\u006e\u0067\u0065"{_daad ,_abfb :=_gdbe .Value ,error (nil );if _abfb !=nil {return _abfb ;};_bdbgb .XrangeAttr =&_daad ;continue ;};if _gdbe .Name .Local =="\u0079\u0072\u0061\u006e\u0067\u0065"{_badda ,_ffgb :=_gdbe .Value ,error (nil );if _ffgb !=nil {return _ffgb ;};_bdbgb .YrangeAttr =&_badda ;continue ;};if _gdbe .Name .Local =="r\u0061\u0064\u0069\u0075\u0073\u0072\u0061\u006e\u0067\u0065"{_ebdef ,_efac :=_gdbe .Value ,error (nil );if _efac !=nil {return _efac ;};_bdbgb .RadiusrangeAttr =&_ebdef ;continue ;};};for {_acca ,_dbacc :=d .Token ();if _dbacc !=nil {return _c .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u0043\u0054\u005f\u0048\u003a\u0020\u0025\u0073",_dbacc );};if _dcfea ,_dfdgf :=_acca .(_d .EndElement );_dfdgf &&_dcfea .Name ==start .Name {break ;};};return nil ;};const (ST_ImageAspectUnset ST_ImageAspect =0;ST_ImageAspectIgnore ST_ImageAspect =1;ST_ImageAspectAtMost ST_ImageAspect =2;ST_ImageAspectAtLeast ST_ImageAspect =3;);
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Handles and its children
func (_ffde *CT_Handles )Validate ()error {return _ffde .ValidateWithPath ("\u0043\u0054\u005f\u0048\u0061\u006e\u0064\u006c\u0065\u0073");};func (_gffba OfcST_ExtrusionRender )Validate ()error {return _gffba .ValidateWithPath ("")};func NewOfcCT_Entry ()*OfcCT_Entry {_abecd :=&OfcCT_Entry {};return _abecd };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcComplex and its children, prefixing error messages with path
func (_bddcf *OfcComplex )ValidateWithPath (path string )error {if _gagg :=_bddcf .OfcCT_Complex .ValidateWithPath (path );_gagg !=nil {return _gagg ;};return nil ;};const (OfcST_ExtrusionPlaneUnset OfcST_ExtrusionPlane =0;OfcST_ExtrusionPlaneXY OfcST_ExtrusionPlane =1;OfcST_ExtrusionPlaneZX OfcST_ExtrusionPlane =2;OfcST_ExtrusionPlaneYZ OfcST_ExtrusionPlane =3;);func (_ag *AG_AllCoreAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _ag .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_ag .HrefAttr )});};if _ag .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_ag .TargetAttr )});};if _ag .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_ag .ClassAttr )});};if _ag .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_ag .TitleAttr )});};if _ag .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_ag .AltAttr )});};if _ag .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_ag .CoordsizeAttr )});};if _ag .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_ag .CoordoriginAttr )});};if _ag .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_ag .WrapcoordsAttr )});};if _ag .PrintAttr !=_ec .ST_TrueFalseUnset {_ef ,_db :=_ag .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _db !=nil {return _db ;};start .Attr =append (start .Attr ,_ef );};if _ag .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_ag .IdAttr )});};if _ag .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_ag .StyleAttr )});};if _ag .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_ag .SpidAttr )});};if _ag .OnedAttr !=_ec .ST_TrueFalseUnset {_fd ,_adg :=_ag .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _adg !=nil {return _adg ;};start .Attr =append (start .Attr ,_fd );};if _ag .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u0072\u006f\u0075\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_ag .RegroupidAttr )});};if _ag .DoubleclicknotifyAttr !=_ec .ST_TrueFalseUnset {_bef ,_ff :=_ag .DoubleclicknotifyAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"});if _ff !=nil {return _ff ;};start .Attr =append (start .Attr ,_bef );};if _ag .ButtonAttr !=_ec .ST_TrueFalseUnset {_da ,_fdd :=_ag .ButtonAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u0074\u0074\u006f\u006e"});if _fdd !=nil {return _fdd ;};start .Attr =append (start .Attr ,_da );};if _ag .UserhiddenAttr !=_ec .ST_TrueFalseUnset {_gcf ,_cea :=_ag .UserhiddenAttr .MarshalXMLAttr (_d .Name {Local :"\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"});if _cea !=nil {return _cea ;};start .Attr =append (start .Attr ,_gcf );};if _ag .BulletAttr !=_ec .ST_TrueFalseUnset {_ecg ,_dgf :=_ag .BulletAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u006c\u006c\u0065\u0074"});if _dgf !=nil {
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Path and its children, prefixing error messages with path
func (_cbeca *Path )ValidateWithPath (path string )error {if _ecdcf :=_cbeca .CT_Path .ValidateWithPath (path );_ecdcf !=nil {return _ecdcf ;};return nil ;};func (_fafbc OfcST_HrAlign )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_acgeg :=_d .Attr {};_acgeg .Name =name ;switch _fafbc {case OfcST_HrAlignUnset :_acgeg .Value ="";case OfcST_HrAlignLeft :_acgeg .Value ="\u006c\u0065\u0066\u0074";case OfcST_HrAlignRight :_acgeg .Value ="\u0072\u0069\u0067h\u0074";case OfcST_HrAlignCenter :_acgeg .Value ="\u0063\u0065\u006e\u0074\u0065\u0072";};return _acgeg ,nil ;};func (_bddce *OfcST_ExtrusionType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_bddce =0;case "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065":*_bddce =1;case "\u0070\u0061\u0072\u0061\u006c\u006c\u0065\u006c":*_bddce =2;};return nil ;};func (_eecdg *OfcLeft )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u006c\u0065\u0066\u0074";return _eecdg .OfcCT_StrokeChild .MarshalXML (e ,start );};func (_gfedb ST_StrokeArrowWidth )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gfedb .String (),start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_ColorMru and its children, prefixing error messages with path
func (_afdce *OfcCT_ColorMru )ValidateWithPath (path string )error {if _ddacb :=_afdce .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_ddacb !=nil {return _ddacb ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcBottom and its children
func (_ddbae *OfcBottom )Validate ()error {return _ddbae .ValidateWithPath ("\u004ff\u0063\u0042\u006f\u0074\u0074\u006fm");};type OfcBottom struct{OfcCT_StrokeChild };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Id and its children, prefixing error messages with path
func (_ebc *AG_Id )ValidateWithPath (path string )error {return nil };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Textpath and its children, prefixing error messages with path
func (_fcebd *Textpath )ValidateWithPath (path string )error {if _aggfd :=_fcebd .CT_TextPath .ValidateWithPath (path );_aggfd !=nil {return _aggfd ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Textbox and its children
func (_aafdc *Textbox )Validate ()error {return _aafdc .ValidateWithPath ("\u0054e\u0078\u0074\u0062\u006f\u0078");};func (_fdcbd ST_ImageAspect )ValidateWithPath (path string )error {switch _fdcbd {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_fdcbd ));};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Rect and its children
func (_aggee *Rect )Validate ()error {return _aggee .ValidateWithPath ("\u0052\u0065\u0063\u0074")};func (_edgce ST_ShadowType )Validate ()error {return _edgce .ValidateWithPath ("")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Skew and its children, prefixing error messages with path
func (_ecde *OfcCT_Skew )ValidateWithPath (path string )error {if _cagcc :=_ecde .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_cagcc !=nil {return _cagcc ;};if _befa :=_ecde .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_befa !=nil {return _befa ;};return nil ;};func (_gaddf ST_StrokeJoinStyle )ValidateWithPath (path string )error {switch _gaddf {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_gaddf ));};return nil ;};func (_ffdce *OfcST_FillType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cedcf ,_eaffb :=d .Token ();if _eaffb !=nil {return _eaffb ;};if _gaag ,_fggea :=_cedcf .(_d .EndElement );_fggea &&_gaag .Name ==start .Name {*_ffdce =1;return nil ;};if _bcbgbg ,_ddafa :=_cedcf .(_d .CharData );!_ddafa {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_cedcf );}else {switch string (_bcbgbg ){case "":*_ffdce =0;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0043e\u006e\u0074\u0065\u0072":*_ffdce =1;case "\u0073\u006f\u006ci\u0064":*_ffdce =2;case "\u0070a\u0074\u0074\u0065\u0072\u006e":*_ffdce =3;case "\u0074\u0069\u006c\u0065":*_ffdce =4;case "\u0066\u0072\u0061m\u0065":*_ffdce =5;case "\u0067\u0072a\u0064\u0069\u0065n\u0074\u0055\u006e\u0073\u0063\u0061\u006c\u0065\u0064":*_ffdce =6;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0052a\u0064\u0069\u0061\u006c":*_ffdce =7;case "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074":*_ffdce =8;case "\u0062\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064":*_ffdce =9;};};_cedcf ,_eaffb =d .Token ();if _eaffb !=nil {return _eaffb ;};if _afbacf ,_gdeaefg :=_cedcf .(_d .EndElement );_gdeaefg &&_afbacf .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_cedcf );};type CT_Formulas struct{F []*CT_F ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_TextPath and its children
func (_ceefg *CT_TextPath )Validate ()error {return _ceefg .ValidateWithPath ("C\u0054\u005f\u0054\u0065\u0078\u0074\u0050\u0061\u0074\u0068");};func (_bbaee *OfcST_ExtrusionPlane )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_daegd ,_faaf :=d .Token ();if _faaf !=nil {return _faaf ;};if _geefe ,_bbegaa :=_daegd .(_d .EndElement );_bbegaa &&_geefe .Name ==start .Name {*_bbaee =1;return nil ;};if _bbgfd ,_agdacc :=_daegd .(_d .CharData );!_agdacc {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_daegd );}else {switch string (_bbgfd ){case "":*_bbaee =0;case "\u0058\u0059":*_bbaee =1;case "\u005a\u0058":*_bbaee =2;case "\u0059\u005a":*_bbaee =3;};};_daegd ,_faaf =d .Token ();if _faaf !=nil {return _faaf ;};if _gdeedg ,_cfbba :=_daegd .(_d .EndElement );_cfbba &&_gdeedg .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_daegd );};type Imagedata struct{CT_ImageData };func (_bbefb *OfcDiagram )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f:\u0064\u0069\u0061\u0067\u0072\u0061m";return _bbefb .OfcCT_Diagram .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Shadow and its children
func (_gdgfd *CT_Shadow )Validate ()error {return _gdgfd .ValidateWithPath ("\u0043T\u005f\u0053\u0068\u0061\u0064\u006fw");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Type and its children, prefixing error messages with path
func (_bfef *AG_Type )ValidateWithPath (path string )error {return nil };func (_adadc *OfcCT_Extrusion )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_gfafd :=range start .Attr {if _gfafd .Name .Local =="\u0063o\u006c\u006f\u0072\u006d\u006f\u0064e"{_adadc .ColormodeAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0063\u006f\u006co\u0072"{_fcgea ,_egeda :=_gfafd .Value ,error (nil );if _egeda !=nil {return _egeda ;};_adadc .ColorAttr =&_fcgea ;continue ;};if _gfafd .Name .Local =="\u0074\u0079\u0070\u0065"{_adadc .TypeAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0073h\u0069\u006e\u0069\u006e\u0065\u0073s"{_gbfg ,_ggcb :=_g .ParseFloat (_gfafd .Value ,64);if _ggcb !=nil {return _ggcb ;};_ggfcb :=float32 (_gbfg );_adadc .ShininessAttr =&_ggfcb ;continue ;};if _gfafd .Name .Local =="\u0076i\u0065w\u0070\u006f\u0069\u006e\u0074\u006f\u0072\u0069\u0067\u0069\u006e"{_gcged ,_ebaab :=_gfafd .Value ,error (nil );if _ebaab !=nil {return _ebaab ;};_adadc .ViewpointoriginAttr =&_gcged ;continue ;};if _gfafd .Name .Local =="s\u0070\u0065\u0063\u0075\u006c\u0061\u0072\u0069\u0074\u0079"{_ffeba ,_baccd :=_gfafd .Value ,error (nil );if _baccd !=nil {return _baccd ;};_adadc .SpecularityAttr =&_ffeba ;continue ;};if _gfafd .Name .Local =="\u0070\u006c\u0061n\u0065"{_adadc .PlaneAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0064i\u0066\u0066\u0075\u0073\u0069\u0074y"{_dgcdf ,_ccgga :=_gfafd .Value ,error (nil );if _ccgga !=nil {return _ccgga ;};_adadc .DiffusityAttr =&_dgcdf ;continue ;};if _gfafd .Name .Local =="\u0073k\u0065\u0077\u0061\u006d\u0074"{_bddeg ,_bcecb :=_gfafd .Value ,error (nil );if _bcecb !=nil {return _bcecb ;};_adadc .SkewamtAttr =&_bddeg ;continue ;};if _gfafd .Name .Local =="\u006d\u0065\u0074a\u006c"{_adadc .MetalAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0062a\u0063\u006b\u0064\u0065\u0070\u0074h"{_dgef ,_acede :=_gfafd .Value ,error (nil );if _acede !=nil {return _acede ;};_adadc .BackdepthAttr =&_dgef ;continue ;};if _gfafd .Name .Local =="\u0065\u0064\u0067\u0065"{_dcebb ,_bbddd :=_gfafd .Value ,error (nil );if _bbddd !=nil {return _bbddd ;};_adadc .EdgeAttr =&_dcebb ;continue ;};if _gfafd .Name .Local =="l\u0069\u0067\u0068\u0074\u006c\u0065\u0076\u0065\u006c\u0032"{_dfefb ,_fgeac :=_gfafd .Value ,error (nil );if _fgeac !=nil {return _fgeac ;};_adadc .Lightlevel2Attr =&_dfefb ;continue ;};if _gfafd .Name .Local =="\u006f\u0072i\u0065\u006e\u0074a\u0074\u0069\u006f\u006e\u0061\u006e\u0067\u006c\u0065"{_ggdg ,_fddbe :=_g .ParseFloat (_gfafd .Value ,64);if _fddbe !=nil {return _fddbe ;};_ffgfe :=float32 (_ggdg );_adadc .OrientationangleAttr =&_ffgfe ;continue ;};if _gfafd .Name .Local =="\u006f\u006e"{_adadc .OnAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u006c\u0069\u0067\u0068\u0074\u0068\u0061\u0072\u0073\u0068"{_adadc .LightharshAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u006ci\u0067\u0068\u0074\u0066\u0061\u0063e"{_adadc .LightfaceAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0066o\u0072\u0065\u0064\u0065\u0070\u0074h"{_gbgdb ,_cfdeg :=_gfafd .Value ,error (nil );if _cfdeg !=nil {return _cfdeg ;};_adadc .ForedepthAttr =&_gbgdb ;continue ;};if _gfafd .Name .Local =="\u0065\u0078\u0074"{_adadc .ExtAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0061u\u0074o\u0072\u006f\u0074\u0061\u0074i\u006f\u006ec\u0065\u006e\u0074\u0065\u0072"{_adadc .AutorotationcenterAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u0066\u0061\u0063e\u0074"{_fcagg ,_gebea :=_gfafd .Value ,error (nil );if _gebea !=nil {return _gebea ;};_adadc .FacetAttr =&_fcagg ;continue ;};if _gfafd .Name .Local =="\u0072\u0065\u006e\u0064\u0065\u0072"{_adadc .RenderAttr .UnmarshalXMLAttr (_gfafd );continue ;};if _gfafd .Name .Local =="\u006c\u0069\u0067\u0068\u0074\u006c\u0065\u0076\u0065\u006c"{_abbdg ,_dfffb :=_gfafd .Value ,error (nil );if _dfffb !=nil {return _dfffb ;};_adadc .LightlevelAttr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Complex and its children, prefixing error messages with path
func (_ddfb *OfcCT_Complex )ValidateWithPath (path string )error {if _caaad :=_ddfb .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_caaad !=nil {return _caaad ;};return nil ;};func NewPath ()*Path {_befbg :=&Path {};_befbg .CT_Path =*NewCT_Path ();return _befbg };func (_bebbad *OfcST_ExtrusionRender )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_bebbad =0;case "\u0073\u006f\u006ci\u0064":*_bebbad =1;case "\u0077i\u0072\u0065\u0046\u0072\u0061\u006de":*_bebbad =2;case "\u0062\u006f\u0075n\u0064\u0069\u006e\u0067\u0043\u0075\u0062\u0065":*_bebbad =3;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Path and its children
func (_ffdde *Path )Validate ()error {return _ffdde .ValidateWithPath ("\u0050\u0061\u0074\u0068")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcTop and its children, prefixing error messages with path
func (_bdbfg *OfcTop )ValidateWithPath (path string )error {if _acded :=_bdbfg .OfcCT_StrokeChild .ValidateWithPath (path );_acded !=nil {return _acded ;};return nil ;};func (_eaeef *OfcCT_ShapeDefaults )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eaeef .SpidmaxAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073p\u0069\u0064\u006d\u0061\u0078"},Value :_c .Sprintf ("\u0025\u0076",*_eaeef .SpidmaxAttr )});};if _eaeef .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_eaeef .StyleAttr )});};if _eaeef .FillAttr !=_ec .ST_TrueFalseUnset {_gfcac ,_accc :=_eaeef .FillAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c"});if _accc !=nil {return _accc ;};start .Attr =append (start .Attr ,_gfcac );};if _eaeef .FillcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"},Value :_c .Sprintf ("\u0025\u0076",*_eaeef .FillcolorAttr )});};if _eaeef .StrokeAttr !=_ec .ST_TrueFalseUnset {_cecaa ,_aagcc :=_eaeef .StrokeAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0074\u0072\u006f\u006b\u0065"});if _aagcc !=nil {return _aagcc ;};start .Attr =append (start .Attr ,_cecaa );};if _eaeef .StrokecolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"s\u0074\u0072\u006f\u006b\u0065\u0063\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_eaeef .StrokecolorAttr )});};if _eaeef .AllowincellAttr !=_ec .ST_TrueFalseUnset {_abfga ,_dggbe :=_eaeef .AllowincellAttr .MarshalXMLAttr (_d .Name {Local :"a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"});if _dggbe !=nil {return _dggbe ;};start .Attr =append (start .Attr ,_abfga );};if _eaeef .ExtAttr !=ST_ExtUnset {_cfaae ,_ecad :=_eaeef .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _ecad !=nil {return _ecad ;};start .Attr =append (start .Attr ,_cfaae );};e .EncodeToken (start );if _eaeef .Fill !=nil {_ddffed :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0066\u0069\u006c\u006c"}};e .EncodeElement (_eaeef .Fill ,_ddffed );};if _eaeef .Stroke !=nil {_dfegb :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0073\u0074\u0072\u006f\u006b\u0065"}};e .EncodeElement (_eaeef .Stroke ,_dfegb );};if _eaeef .Textbox !=nil {_bcaac :=_d .StartElement {Name :_d .Name {Local :"\u0076:\u0074\u0065\u0078\u0074\u0062\u006fx"}};e .EncodeElement (_eaeef .Textbox ,_bcaac );};if _eaeef .Shadow !=nil {_egcc :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0073\u0068\u0061\u0064\u006f\u0077"}};e .EncodeElement (_eaeef .Shadow ,_egcc );};if _eaeef .Skew !=nil {_bagab :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0073\u006b\u0065\u0077"}};e .EncodeElement (_eaeef .Skew ,_bagab );};if _eaeef .Extrusion !=nil {_agfddd :=_d .StartElement {Name :_d .Name {Local :"o\u003a\u0065\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e"}};e .EncodeElement (_eaeef .Extrusion ,_agfddd );};if _eaeef .Callout !=nil {_bfbdb :=_d .StartElement {Name :_d .Name {Local :"\u006f:\u0063\u0061\u006c\u006c\u006f\u0075t"}};e .EncodeElement (_eaeef .Callout ,_bfbdb );};if _eaeef .Lock !=nil {_bbefd :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u006c\u006f\u0063\u006b"}};e .EncodeElement (_eaeef .Lock ,_bbefd );};if _eaeef .Colormru !=nil {_abgfb :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0063\u006f\u006c\u006f\u0072\u006d\u0072\u0075"}};e .EncodeElement (_eaeef .Colormru ,_abgfb );};if _eaeef .Colormenu !=nil {_fdgfc :=_d .StartElement {Name :_d .Name {Local :"o\u003a\u0063\u006f\u006c\u006f\u0072\u006d\u0065\u006e\u0075"}};e .EncodeElement (_eaeef .Colormenu ,_fdgfc );};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func NewOfcCT_OLEObject ()*OfcCT_OLEObject {_ddedd :=&OfcCT_OLEObject {};return _ddedd };func (_ffbg *AG_Style )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_affc :=range start .Attr {if _affc .Name .Local =="\u0073\u0074\u0079
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// ValidateWithPath validates the AG_Style and its children, prefixing error messages with path
2020-10-12 13:59:12 +00:00
func (_ebfe *AG_Style )ValidateWithPath (path string )error {return nil };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_OfficeShapeAttributes and its children
func (_gfdd *AG_OfficeShapeAttributes )Validate ()error {return _gfdd .ValidateWithPath ("\u0041G\u005f\u004f\u0066\u0066\u0069\u0063\u0065\u0053\u0068\u0061\u0070e\u0041\u0074\u0074\u0072\u0069\u0062\u0075\u0074\u0065\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_AllCoreAttributes and its children, prefixing error messages with path
func (_eb *AG_AllCoreAttributes )ValidateWithPath (path string )error {if _cbaa :=_eb .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_cbaa !=nil {return _cbaa ;};if _fcf :=_eb .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_fcf !=nil {return _fcf ;};if _aec :=_eb .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_aec !=nil {return _aec ;};if _gba :=_eb .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_gba !=nil {return _gba ;};if _ac :=_eb .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_ac !=nil {return _ac ;};if _fef :=_eb .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_fef !=nil {return _fef ;};if _cgdc :=_eb .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_cgdc !=nil {return _cgdc ;};if _dee :=_eb .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_dee !=nil {return _dee ;};if _fea :=_eb .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_fea !=nil {return _fea ;};if _egf :=_eb .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_egf !=nil {return _egf ;};if _dbd :=_eb .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_dbd !=nil {return _dbd ;};if _ceaa :=_eb .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_ceaa !=nil {return _ceaa ;};if _gae :=_eb .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_gae !=nil {return _gae ;};if _efag :=_eb .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_efag !=nil {return _efag ;};if _dec :=_eb .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_dec !=nil {return _dec ;};if _cab :=_eb .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_cab !=nil {return _cab ;};return nil ;};func (_dcfbb *EG_ShapeElements )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gbbdaa :for {_gafde ,_gbfb :=d .Token ();if _gbfb !=nil {return _gbfb ;};switch _cccdc :=_gafde .(type ){case _d .StartElement :switch _cccdc .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0070\u0061\u0074\u0068"}:_dcfbb .Path =NewPath ();if _adcfb :=d .DecodeElement (_dcfbb .Path ,&_cccdc );_adcfb !=nil {return _adcfb ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066\u006f\u0072\u006d\u0075\u006c\u0061\u0073"}:_dcfbb .Formulas =NewFormulas ();if _dfcee :=d .DecodeElement (_dcfbb .Formulas ,&_cccdc );_dfcee !=nil {return _dfcee ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0068a\u006e\u0064\u006c\u0065\u0073"}:_dcfbb .Handles =NewHandles ();if _dbabcc :=d .DecodeElement (_dcfbb .Handles ,&_cccdc );_dbabcc !=nil {return _dbabcc ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_ImageAttributes and its children, prefixing error messages with path
func (_bcgb *AG_ImageAttributes )ValidateWithPath (path string )error {if _bee :=_bcgb .GrayscaleAttr .ValidateWithPath (path +"\u002f\u0047\u0072\u0061\u0079\u0073\u0063\u0061\u006ce\u0041\u0074\u0074\u0072");_bee !=nil {return _bee ;};if _edgec :=_bcgb .BilevelAttr .ValidateWithPath (path +"\u002f\u0042\u0069l\u0065\u0076\u0065\u006c\u0041\u0074\u0074\u0072");_edgec !=nil {return _edgec ;};return nil ;};func NewOfcInk ()*OfcInk {_gcecd :=&OfcInk {};_gcecd .OfcCT_Ink =*NewOfcCT_Ink ();return _gcecd };type OfcST_ScreenSize byte ;
2020-08-31 22:58:25 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_StrokeChild and its children, prefixing error messages with path
func (_agaac *OfcCT_StrokeChild )ValidateWithPath (path string )error {if _ddbe :=_agaac .OnAttr .ValidateWithPath (path +"\u002fO\u006e\u0041\u0074\u0074\u0072");_ddbe !=nil {return _ddbe ;};if _fbceg :=_agaac .LinestyleAttr .ValidateWithPath (path +"\u002f\u004c\u0069\u006e\u0065\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_fbceg !=nil {return _fbceg ;};if _eaedb :=_agaac .JoinstyleAttr .ValidateWithPath (path +"\u002f\u004a\u006f\u0069\u006e\u0073\u0074\u0079\u006ce\u0041\u0074\u0074\u0072");_eaedb !=nil {return _eaedb ;};if _faabf :=_agaac .EndcapAttr .ValidateWithPath (path +"/\u0045\u006e\u0064\u0063\u0061\u0070\u0041\u0074\u0074\u0072");_faabf !=nil {return _faabf ;};if _acgd :=_agaac .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_acgd !=nil {return _acgd ;};if _gfcaa :=_agaac .FilltypeAttr .ValidateWithPath (path +"\u002f\u0046\u0069\u006c\u006c\u0074\u0079\u0070\u0065\u0041\u0074\u0074\u0072");_gfcaa !=nil {return _gfcaa ;};if _gbfbd :=_agaac .ImageaspectAttr .ValidateWithPath (path +"\u002f\u0049m\u0061\u0067\u0065a\u0073\u0070\u0065\u0063\u0074\u0041\u0074\u0074\u0072");_gbfbd !=nil {return _gbfbd ;};if _gccda :=_agaac .ImagealignshapeAttr .ValidateWithPath (path +"/\u0049m\u0061\u0067\u0065\u0061\u006c\u0069\u0067\u006es\u0068\u0061\u0070\u0065At\u0074\u0072");_gccda !=nil {return _gccda ;};if _addcd :=_agaac .StartarrowAttr .ValidateWithPath (path +"\u002fS\u0074a\u0072\u0074\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_addcd !=nil {return _addcd ;};if _eceaa :=_agaac .StartarrowwidthAttr .ValidateWithPath (path +"/\u0053t\u0061\u0072\u0074\u0061\u0072\u0072\u006f\u0077w\u0069\u0064\u0074\u0068At\u0074\u0072");_eceaa !=nil {return _eceaa ;};if _bbadd :=_agaac .StartarrowlengthAttr .ValidateWithPath (path +"/\u0053\u0074\u0061\u0072ta\u0072r\u006f\u0077\u006c\u0065\u006eg\u0074\u0068\u0041\u0074\u0074\u0072");_bbadd !=nil {return _bbadd ;};if _fcefc :=_agaac .EndarrowAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064\u0061\u0072\u0072\u006f\u0077\u0041\u0074\u0074\u0072");_fcefc !=nil {return _fcefc ;};if _cbddeb :=_agaac .EndarrowwidthAttr .ValidateWithPath (path +"\u002fE\u006ed\u0061\u0072\u0072\u006f\u0077w\u0069\u0064t\u0068\u0041\u0074\u0074\u0072");_cbddeb !=nil {return _cbddeb ;};if _fbafd :=_agaac .EndarrowlengthAttr .ValidateWithPath (path +"\u002f\u0045\u006e\u0064ar\u0072\u006f\u0077\u006c\u0065\u006e\u0067\u0074\u0068\u0041\u0074\u0074\u0072");_fbafd !=nil {return _fbafd ;};if _acdccg :=_agaac .ForcedashAttr .ValidateWithPath (path +"\u002f\u0046\u006f\u0072\u0063\u0065\u0064\u0061\u0073h\u0041\u0074\u0074\u0072");_acdccg !=nil {return _acdccg ;};if _addgd :=_agaac .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_addgd !=nil {return _addgd ;};return nil ;};const (OfcST_InsetModeUnset OfcST_InsetMode =0;OfcST_InsetModeAuto OfcST_InsetMode =1;OfcST_InsetModeCustom OfcST_InsetMode =2;);
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_ColorMenu and its children
func (_daefc *OfcCT_ColorMenu )Validate ()error {return _daefc .ValidateWithPath ("\u004ff\u0063C\u0054\u005f\u0043\u006f\u006c\u006f\u0072\u004d\u0065\u006e\u0075");};func (_gaedbd *OfcST_How )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_fagcb ,_eaff :=d .Token ();if _eaff !=nil {return _eaff ;};if _agcbab ,_agbbg :=_fagcb .(_d .EndElement );_agbbg &&_agcbab .Name ==start .Name {*_gaedbd =1;return nil ;};if _baegb ,_degda :=_fagcb .(_d .CharData );!_degda {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_fagcb );}else {switch string (_baegb ){case "":*_gaedbd =0;case "\u0074\u006f\u0070":*_gaedbd =1;case "\u006d\u0069\u0064\u0064\u006c\u0065":*_gaedbd =2;case "\u0062\u006f\u0074\u0074\u006f\u006d":*_gaedbd =3;case "\u006c\u0065\u0066\u0074":*_gaedbd =4;case "\u0063\u0065\u006e\u0074\u0065\u0072":*_gaedbd =5;case "\u0072\u0069\u0067h\u0074":*_gaedbd =6;};};_fagcb ,_eaff =d .Token ();if _eaff !=nil {return _eaff ;};if _dfffe ,_eddab :=_fagcb .(_d .EndElement );_eddab &&_dfffe .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_fagcb );};type OfcST_InsetMode byte ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Stroke and its children
func (_bbede *CT_Stroke )Validate ()error {return _bbede .ValidateWithPath ("\u0043T\u005f\u0053\u0074\u0072\u006f\u006be");};type OfcCT_RegroupTable struct{Entry []*OfcCT_Entry ;ExtAttr ST_Ext ;};func (_gbbde ST_FillMethod )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_adaae :=_d .Attr {};_adaae .Name =name ;switch _gbbde {case ST_FillMethodUnset :_adaae .Value ="";case ST_FillMethodNone :_adaae .Value ="\u006e\u006f\u006e\u0065";case ST_FillMethodLinear :_adaae .Value ="\u006c\u0069\u006e\u0065\u0061\u0072";case ST_FillMethodSigma :_adaae .Value ="\u0073\u0069\u0067m\u0061";case ST_FillMethodAny :_adaae .Value ="\u0061\u006e\u0079";case ST_FillMethodLinearSigma :_adaae .Value ="\u006c\u0069\u006ee\u0061\u0072\u0020\u0073\u0069\u0067\u006d\u0061";};return _adaae ,nil ;};type OfcST_CalloutPlacement byte ;func (_fggfa ST_StrokeJoinStyle )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_fgddb :=_d .Attr {};_fgddb .Name =name ;switch _fggfa {case ST_StrokeJoinStyleUnset :_fgddb .Value ="";case ST_StrokeJoinStyleRound :_fgddb .Value ="\u0072\u006f\u0075n\u0064";case ST_StrokeJoinStyleBevel :_fgddb .Value ="\u0062\u0065\u0076e\u006c";case ST_StrokeJoinStyleMiter :_fgddb .Value ="\u006d\u0069\u0074e\u0072";};return _fgddb ,nil ;};type CT_Group struct{EditasAttr ST_EditAs ;TablepropertiesAttr *string ;TablelimitsAttr *string ;Group []*Group ;Shape []*Shape ;Shapetype []*Shapetype ;Arc []*Arc ;Curve []*Curve ;Image []*Image ;Line []*Line ;Oval []*Oval ;Polyline []*Polyline ;Rect []*Rect ;Roundrect []*Roundrect ;Diagram []*OfcDiagram ;EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;};func (_dgdfb *OfcST_OLEType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_dgdfb =0;case "\u0045\u006d\u0062e\u0064":*_dgdfb =1;case "\u004c\u0069\u006e\u006b":*_dgdfb =2;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_SignatureLine and its children, prefixing error messages with path
func (_adfeda *OfcCT_SignatureLine )ValidateWithPath (path string )error {if _cefde :=_adfeda .IssignaturelineAttr .ValidateWithPath (path +"/\u0049s\u0073\u0069\u0067\u006e\u0061\u0074\u0075\u0072e\u006c\u0069\u006e\u0065At\u0074\u0072");_cefde !=nil {return _cefde ;};if _adfeda .IdAttr !=nil {if !_ec .ST_GuidPatternRe .MatchString (*_adfeda .IdAttr ){return _c .Errorf ("\u0025\u0073/\u006d\u002e\u0049\u0064A\u0074\u0074r\u0020\u006d\u0075\u0073\u0074\u0020\u006d\u0061t\u0063\u0068\u0020\u0027\u0025\u0073\u0027\u0020\u0028\u0068\u0061\u0076e\u0020\u0025\u0076\u0029",path ,_ec .ST_GuidPatternRe ,*_adfeda .IdAttr );};};if _adfeda .ProvidAttr !=nil {if !_ec .ST_GuidPatternRe .MatchString (*_adfeda .ProvidAttr ){return _c .Errorf ("\u0025\u0073\u002f\u006d\u002eP\u0072\u006f\u0076\u0069\u0064\u0041\u0074\u0074\u0072\u0020\u006d\u0075\u0073t\u0020\u006d\u0061\u0074\u0063\u0068\u0020\u0027\u0025\u0073\u0027\u0020\u0028\u0068\u0061\u0076\u0065\u0020\u0025\u0076\u0029",path ,_ec .ST_GuidPatternRe ,*_adfeda .ProvidAttr );};};if _bedegc :=_adfeda .SigninginstructionssetAttr .ValidateWithPath (path +"/\u0053\u0069\u0067\u006e\u0069\u006eg\u0069\u006e\u0073\u0074\u0072\u0075\u0063\u0074\u0069o\u006e\u0073\u0073e\u0074A\u0074\u0074\u0072");_bedegc !=nil {return _bedegc ;};if _ceggge :=_adfeda .AllowcommentsAttr .ValidateWithPath (path +"\u002fA\u006cl\u006f\u0077\u0063\u006f\u006dm\u0065\u006et\u0073\u0041\u0074\u0074\u0072");_ceggge !=nil {return _ceggge ;};if _dgcg :=_adfeda .ShowsigndateAttr .ValidateWithPath (path +"\u002f\u0053\u0068\u006f\u0077\u0073\u0069\u0067\u006e\u0064\u0061\u0074e\u0041\u0074\u0074\u0072");_dgcg !=nil {return _dgcg ;};if _eadef :=_adfeda .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_eadef !=nil {return _eadef ;};return nil ;};func (_bdega *OfcCT_RelationTable )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _bdega .ExtAttr !=ST_ExtUnset {_fbfaa ,_gefba :=_bdega .ExtAttr .MarshalXMLAttr (_d .Name {Local :"\u0065\u0078\u0074"});if _gefba !=nil {return _gefba ;};start .Attr =append (start .Attr ,_fbfaa );};e .EncodeToken (start );if _bdega .Rel !=nil {_deeab :=_d .StartElement {Name :_d .Name {Local :"\u006f\u003a\u0072e\u006c"}};for _ ,_bcgcf :=range _bdega .Rel {e .EncodeElement (_bcgcf ,_deeab );};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcExtrusion and its children, prefixing error messages with path
func (_gcegd *OfcExtrusion )ValidateWithPath (path string )error {if _defdf :=_gcegd .OfcCT_Extrusion .ValidateWithPath (path );_defdf !=nil {return _defdf ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Fill and its children
func (_agbdd *OfcCT_Fill )Validate ()error {return _agbdd .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0046\u0069\u006c\u006c");};func (_bbccd ST_StrokeArrowType )ValidateWithPath (path string )error {switch _bbccd {case 0,1,2,3,4,5,6:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_bbccd ));};return nil ;};const (ST_FillTypeUnset ST_FillType =0;ST_FillTypeSolid ST_FillType =1;ST_FillTypeGradient ST_FillType =2;ST_FillTypeGradientRadial ST_FillType =3;ST_FillTypeTile ST_FillType =4;ST_FillTypePattern ST_FillType =5;ST_FillTypeFrame ST_FillType =6;);func NewOfcCT_Callout ()*OfcCT_Callout {_dfddc :=&OfcCT_Callout {};return _dfddc };func (_aedcg OfcST_FillType )Validate ()error {return _aedcg .ValidateWithPath ("")};type OfcCT_Complex struct{ExtAttr ST_Ext ;};func (_bbbgd *CT_Image )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_eedbe :=range start .Attr {if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="d\u0067\u006d\u006e\u006f\u0064\u0065\u006b\u0069\u006e\u0064"{_gbaag ,_bccf :=_g .ParseInt (_eedbe .Value ,10,64);if _bccf !=nil {return _bccf ;};_bbbgd .DgmnodekindAttr =&_gbaag ;continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_bbbgd .BulletAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0068\u0072"{_bbbgd .HrAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_bbbgd .OleiconAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0068\u0072\u0073t\u0064"{_bbbgd .HrstdAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0063\u006c\u0069\u0070"{_bbbgd .ClipAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0068r\u006e\u006f\u0073\u0068\u0061\u0064e"{_bbbgd .HrnoshadeAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eedbe .Name .Local =="\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u0065"{_bbbgd .PreferrelativeAttr .UnmarshalXMLAttr (_eedbe );continue ;};if _eedbe .Name .Space =="\u0075
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_RelationTable and its children
func (_eefc *OfcCT_RelationTable )Validate ()error {return _eefc .ValidateWithPath ("\u004f\u0066\u0063\u0043T_\u0052\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0054\u0061\u0062\u006c\u0065");};func (_bcfff OfcST_DiagramLayout )Validate ()error {return _bcfff .ValidateWithPath ("")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Path and its children, prefixing error messages with path
func (_bec *AG_Path )ValidateWithPath (path string )error {return nil };func (_baegg OfcST_BWMode )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_baegg .String (),start );};type OfcComplex struct{OfcCT_Complex };type OfcST_How byte ;func (_gfaed OfcST_CalloutPlacement )Validate ()error {return _gfaed .ValidateWithPath ("")};func (_gaege *Textpath )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _gaege .CT_TextPath .MarshalXML (e ,start );};type Oval struct{CT_Oval };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_StrokeAttributes and its children
func (_gggg *AG_StrokeAttributes )Validate ()error {return _gggg .ValidateWithPath ("\u0041\u0047\u005f\u0053tr\u006f\u006b\u0065\u0041\u0074\u0074\u0072\u0069\u0062\u0075\u0074\u0065\u0073");};func (_bbbab *OfcST_ColorMode )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_geed ,_gbgfd :=d .Token ();if _gbgfd !=nil {return _gbgfd ;};if _fddbg ,_ccdfe :=_geed .(_d .EndElement );_ccdfe &&_fddbg .Name ==start .Name {*_bbbab =1;return nil ;};if _agacd ,_afafg :=_geed .(_d .CharData );!_afafg {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_geed );}else {switch string (_agacd ){case "":*_bbbab =0;case "\u0061\u0075\u0074\u006f":*_bbbab =1;case "\u0063\u0075\u0073\u0074\u006f\u006d":*_bbbab =2;};};_geed ,_gbgfd =d .Token ();if _gbgfd !=nil {return _gbgfd ;};if _fdaeg ,_ebefab :=_geed .(_d .EndElement );_ebefab &&_fdaeg .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_geed );};func (_dbfga OfcST_RType )ValidateWithPath (path string )error {switch _dbfga {case 0,1,2,3,4:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_dbfga ));};return nil ;};func (_abdd *OfcST_ConnectType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gfgbce ,_fdbgf :=d .Token ();if _fdbgf !=nil {return _fdbgf ;};if _cegb ,_gbafa :=_gfgbce .(_d .EndElement );_gbafa &&_cegb .Name ==start .Name {*_abdd =1;return nil ;};if _gacff ,_adceb :=_gfgbce .(_d .CharData );!_adceb {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_gfgbce );}else {switch string (_gacff ){case "":*_abdd =0;case "\u006e\u006f\u006e\u0065":*_abdd =1;case "\u0072\u0065\u0063\u0074":*_abdd =2;case "\u0073\u0065\u0067\u006d\u0065\u006e\u0074\u0073":*_abdd =3;case "\u0063\u0075\u0073\u0074\u006f\u006d":*_abdd =4;};};_gfgbce ,_fdbgf =d .Token ();if _fdbgf !=nil {return _fdbgf ;};if _efca ,_gebeg :=_gfgbce .(_d .EndElement );_gebeg &&_efca .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_gfgbce );};func NewOfcCT_ShapeDefaults ()*OfcCT_ShapeDefaults {_eedggg :=&OfcCT_ShapeDefaults {};return _eedggg };func (_dfddg OfcST_RType )String ()string {switch _dfddg {case 0:return "";case 1:return "\u0061\u0072\u0063";case 2:return "\u0063a\u006c\u006c\u006f\u0075\u0074";case 3:return "\u0063o\u006e\u006e\u0065\u0063\u0074\u006fr";case 4:return "\u0061\u006c\u0069g\u006e";};return "";};func (_fgg *AG_CoreAttributes )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dab :=range start .Attr {if _dab .Name .Local =="\u0068\u0072\u0065\u0066"{_fecc ,_bdg :=_dab .Value ,error (nil );if _bdg !=nil {return _bdg ;};_fgg .HrefAttr =&_fecc ;continue ;};if _dab .Name .Local =="\u0074\u0061\u0072\u0067\u0065\u0074"{_cfa ,_gbad :=_dab .Value ,error (nil );if _gbad !=nil {return _gbad ;};_fgg .TargetAttr =&_cfa ;continue ;};if _dab .Name .Local =="\u0063\u006c\u0061s\u0073"{_ddb ,_egef :=_dab .Value ,error (nil );if _egef !=nil {return _egef ;};_fgg .ClassAttr =&_ddb ;continue ;};if _dab .Name .Local =="\u0074\u0069\u0074l\u0065"{_dfbc ,_cgfg :=_dab .Value ,error (nil );if _cgfg !=nil {return _cgfg ;};_fgg .TitleAttr =&_dfbc ;continue ;};if _dab .Name .Local =="\u0061\u006c\u0074"{_bgae ,_gcfg :=_dab .Value ,error (nil );if _gcfg !=nil {return _gcfg ;};_fgg .AltAttr =&_bgae ;continue ;};if _dab .Name .Local =="\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"{_dbc ,_eec :=_dab .Value ,error (nil );if _eec !=nil {return _eec ;};_fgg .CoordsizeAttr =&_dbc ;continue ;};if _dab .Name .Local =="c\u006f\u006f\u0072\u0064\u006f\u007
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// Validate validates the AG_Fill and its children
2020-10-12 13:59:12 +00:00
func (_geac *AG_Fill )Validate ()error {return _geac .ValidateWithPath ("\u0041G\u005f\u0046\u0069\u006c\u006c");};const (OfcST_ExtrusionRenderUnset OfcST_ExtrusionRender =0;OfcST_ExtrusionRenderSolid OfcST_ExtrusionRender =1;OfcST_ExtrusionRenderWireFrame OfcST_ExtrusionRender =2;OfcST_ExtrusionRenderBoundingCube OfcST_ExtrusionRender =3;);func (_dfgfd OfcST_ConnectorType )String ()string {switch _dfgfd {case 0:return "";case 1:return "\u006e\u006f\u006e\u0065";case 2:return "\u0073\u0074\u0072\u0061\u0069\u0067\u0068\u0074";case 3:return "\u0065\u006c\u0062o\u0077";case 4:return "\u0063\u0075\u0072\u0076\u0065\u0064";};return "";};func (_dccca *OfcST_OLEUpdateMode )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dbdge ,_afaaad :=d .Token ();if _afaaad !=nil {return _afaaad ;};if _cffdc ,_cgcc :=_dbdge .(_d .EndElement );_cgcc &&_cffdc .Name ==start .Name {*_dccca =1;return nil ;};if _cacage ,_gcbfcf :=_dbdge .(_d .CharData );!_gcbfcf {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_dbdge );}else {switch string (_cacage ){case "":*_dccca =0;case "\u0041\u006c\u0077\u0061\u0079\u0073":*_dccca =1;case "\u004f\u006e\u0043\u0061\u006c\u006c":*_dccca =2;};};_dbdge ,_afaaad =d .Token ();if _afaaad !=nil {return _afaaad ;};if _ebfcg ,_fgaaec :=_dbdge .(_d .EndElement );_fgaaec &&_ebfcg .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_dbdge );};func (_cbfdg *OfcSkew )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_cbfdg .OfcCT_Skew =*NewOfcCT_Skew ();for _ ,_fgbca :=range start .Attr {if _fgbca .Name .Local =="\u0069\u0064"{_geca ,_cacad :=_fgbca .Value ,error (nil );if _cacad !=nil {return _cacad ;};_cbfdg .IdAttr =&_geca ;continue ;};if _fgbca .Name .Local =="\u006f\u006e"{_cbfdg .OnAttr .UnmarshalXMLAttr (_fgbca );continue ;};if _fgbca .Name .Local =="\u006f\u0066\u0066\u0073\u0065\u0074"{_bggfa ,_gffeca :=_fgbca .Value ,error (nil );if _gffeca !=nil {return _gffeca ;};_cbfdg .OffsetAttr =&_bggfa ;continue ;};if _fgbca .Name .Local =="\u006f\u0072\u0069\u0067\u0069\u006e"{_gadcb ,_decb :=_fgbca .Value ,error (nil );if _decb !=nil {return _decb ;};_cbfdg .OriginAttr =&_gadcb ;continue ;};if _fgbca .Name .Local =="\u006d\u0061\u0074\u0072\u0069\u0078"{_dfcaf ,_gffdg :=_fgbca .Value ,error (nil );if _gffdg !=nil {return _gffdg ;};_cbfdg .MatrixAttr =&_dfcaf ;continue ;};if _fgbca .Name .Local =="\u0065\u0078\u0074"{_cbfdg .ExtAttr .UnmarshalXMLAttr (_fgbca );continue ;};};for {_eedcf ,_bccde :=d .Token ();if _bccde !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u004f\u0066\u0063\u0053\u006b\u0065\u0077\u003a\u0020\u0025\u0073",_bccde );};if _gbfca ,_ffaeg :=_eedcf .(_d .EndElement );_ffaeg &&_gbfca .Name ==start .Name {break ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcComplex and its children
func (_febg *OfcComplex )Validate ()error {return _febg .ValidateWithPath ("\u004f\u0066\u0063\u0043\u006f\u006d\u0070\u006c\u0065\u0078");};func (_dcebcb ST_FillType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_dcebcb .String (),start );};func (_dcdbe *ST_ShadowType )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_gaabd ,_aeeee :=d .Token ();if _aeeee !=nil {return _aeeee ;};if _fgfagf ,_daced :=_gaabd .(_d .EndElement );_daced &&_fgfagf .Name ==start .Name {*_dcdbe =1;return nil ;};if _bfccgf ,_bbdebg :=_gaabd .(_d .CharData );!_bbdebg {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_gaabd );}else {switch string (_bfccgf ){case "":*_dcdbe =0;case "\u0073\u0069\u006e\u0067\u006c\u0065":*_dcdbe =1;case "\u0064\u006f\u0075\u0062\u006c\u0065":*_dcdbe =2;case "\u0065\u006d\u0062\u006f\u0073\u0073":*_dcdbe =3;case "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065":*_dcdbe =4;};};_gaabd ,_aeeee =d .Token ();if _aeeee !=nil {return _aeeee ;};if _bcgdg ,_cfbab :=_gaabd .(_d .EndElement );_cfbab &&_bcgdg .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_gaabd );};func (_bgdgbd ST_ShadowType )String ()string {switch _bgdgbd {case 0:return "";case 1:return "\u0073\u0069\u006e\u0067\u006c\u0065";case 2:return "\u0064\u006f\u0075\u0062\u006c\u0065";case 3:return "\u0065\u006d\u0062\u006f\u0073\u0073";case 4:return "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065";};return "";};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Curve and its children
func (_cbacg *Curve )Validate ()error {return _cbacg .ValidateWithPath ("\u0043\u0075\u0072v\u0065")};func NewOfcCT_Diagram ()*OfcCT_Diagram {_dfdae :=&OfcCT_Diagram {};return _dfdae };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Textbox and its children, prefixing error messages with path
func (_efcdf *CT_Textbox )ValidateWithPath (path string )error {if _bbfgdd :=_efcdf .SingleclickAttr .ValidateWithPath (path +"\u002f\u0053i\u006e\u0067\u006ce\u0063\u006c\u0069\u0063\u006b\u0041\u0074\u0074\u0072");_bbfgdd !=nil {return _bbfgdd ;};if _gfbegf :=_efcdf .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_gfbegf !=nil {return _gfbegf ;};if _efcdf .TxbxContent !=nil {if _dadabd :=_efcdf .TxbxContent .ValidateWithPath (path +"\u002f\u0054\u0078b\u0078\u0043\u006f\u006e\u0074\u0065\u006e\u0074");_dadabd !=nil {return _dadabd ;};};return nil ;};func (_cgbdf *CT_F )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_dffa :=range start .Attr {if _dffa .Name .Local =="\u0065\u0071\u006e"{_gedd ,_becdf :=_dffa .Value ,error (nil );if _becdf !=nil {return _becdf ;};_cgbdf .EqnAttr =&_gedd ;continue ;};};for {_gdcf ,_aceac :=d .Token ();if _aceac !=nil {return _c .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u0043\u0054\u005f\u0046\u003a\u0020\u0025\u0073",_aceac );};if _bfdf ,_aaab :=_gdcf .(_d .EndElement );_aaab &&_bfdf .Name ==start .Name {break ;};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcExtrusion and its children
func (_bfdec *OfcExtrusion )Validate ()error {return _bfdec .ValidateWithPath ("\u004f\u0066\u0063E\u0078\u0074\u0072\u0075\u0073\u0069\u006f\u006e");};func (_cdedg OfcST_FillType )String ()string {switch _cdedg {case 0:return "";case 1:return "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0043e\u006e\u0074\u0065\u0072";case 2:return "\u0073\u006f\u006ci\u0064";case 3:return "\u0070a\u0074\u0074\u0065\u0072\u006e";case 4:return "\u0074\u0069\u006c\u0065";case 5:return "\u0066\u0072\u0061m\u0065";case 6:return "\u0067\u0072a\u0064\u0069\u0065n\u0074\u0055\u006e\u0073\u0063\u0061\u006c\u0065\u0064";case 7:return "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074\u0052a\u0064\u0069\u0061\u006c";case 8:return "\u0067\u0072\u0061\u0064\u0069\u0065\u006e\u0074";case 9:return "\u0062\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064";};return "";};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Stroke and its children, prefixing error messages with path
func (_accbd *Stroke )ValidateWithPath (path string )error {if _adfbd :=_accbd .CT_Stroke .ValidateWithPath (path );_adfbd !=nil {return _adfbd ;};return nil ;};func (_gdfag ST_ImageAspect )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gdfag .String (),start );};func NewOfcShapelayout ()*OfcShapelayout {_ggdea :=&OfcShapelayout {};_ggdea .OfcCT_ShapeLayout =*NewOfcCT_ShapeLayout ();return _ggdea ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcShapedefaults and its children
func (_cbdce *OfcShapedefaults )Validate ()error {return _cbdce .ValidateWithPath ("\u004f\u0066c\u0053\u0068\u0061p\u0065\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0073");};func (_gbada OfcST_FillType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_gbada .String (),start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the AG_Adj and its children, prefixing error messages with path
func (_ge *AG_Adj )ValidateWithPath (path string )error {return nil };func (_bgde *AG_ImageAttributes )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_aae :=range start .Attr {if _aae .Name .Local =="\u0073\u0072\u0063"{_bde ,_bdcd :=_aae .Value ,error (nil );if _bdcd !=nil {return _bdcd ;};_bgde .SrcAttr =&_bde ;continue ;};if _aae .Name .Local =="\u0063\u0072\u006f\u0070\u006c\u0065\u0066\u0074"{_fefa ,_feca :=_aae .Value ,error (nil );if _feca !=nil {return _feca ;};_bgde .CropleftAttr =&_fefa ;continue ;};if _aae .Name .Local =="\u0063r\u006f\u0070\u0074\u006f\u0070"{_aafe ,_cfe :=_aae .Value ,error (nil );if _cfe !=nil {return _cfe ;};_bgde .CroptopAttr =&_aafe ;continue ;};if _aae .Name .Local =="\u0063r\u006f\u0070\u0072\u0069\u0067\u0068t"{_fcg ,_fdfa :=_aae .Value ,error (nil );if _fdfa !=nil {return _fdfa ;};_bgde .CroprightAttr =&_fcg ;continue ;};if _aae .Name .Local =="\u0063\u0072\u006f\u0070\u0062\u006f\u0074\u0074\u006f\u006d"{_dabe ,_cbba :=_aae .Value ,error (nil );if _cbba !=nil {return _cbba ;};_bgde .CropbottomAttr =&_dabe ;continue ;};if _aae .Name .Local =="\u0067\u0061\u0069\u006e"{_bbeb ,_dddc :=_aae .Value ,error (nil );if _dddc !=nil {return _dddc ;};_bgde .GainAttr =&_bbeb ;continue ;};if _aae .Name .Local =="\u0062\u006c\u0061\u0063\u006b\u006c\u0065\u0076\u0065\u006c"{_bbde ,_aab :=_aae .Value ,error (nil );if _aab !=nil {return _aab ;};_bgde .BlacklevelAttr =&_bbde ;continue ;};if _aae .Name .Local =="\u0067\u0061\u006dm\u0061"{_gdf ,_dabc :=_aae .Value ,error (nil );if _dabc !=nil {return _dabc ;};_bgde .GammaAttr =&_gdf ;continue ;};if _aae .Name .Local =="\u0067r\u0061\u0079\u0073\u0063\u0061\u006ce"{_bgde .GrayscaleAttr .UnmarshalXMLAttr (_aae );continue ;};if _aae .Name .Local =="\u0062i\u006c\u0065\u0076\u0065\u006c"{_bgde .BilevelAttr .UnmarshalXMLAttr (_aae );continue ;};};for {_cfd ,_deae :=d .Token ();if _deae !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u0041\u0047_\u0049\u006d\u0061\u0067\u0065\u0041\u0074t\u0072\u0069\u0062\u0075\u0074\u0065\u0073\u003a\u0020\u0025\u0073",_deae );};if _deab ,_caad :=_cfd .(_d .EndElement );_caad &&_deab .Name ==start .Name {break ;};};return nil ;};func (_dagafb *Group )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dagafb .CT_Group =*NewCT_Group ();for _ ,_bgbfa :=range start .Attr {if _bgbfa .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgbfa .Name .Local =="a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"{_dagafb .AllowincellAttr .UnmarshalXMLAttr (_bgbfa );continue ;};if _bgbfa .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgbfa .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_dagafb .BulletAttr .UnmarshalXMLAttr (_bgbfa );continue ;};if _bgbfa .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgbfa .Name .Local =="\u0068\u0072"{_dagafb .HrAttr .UnmarshalXMLAttr (_bgbfa );continue ;};if _bgbfa .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgbfa .Name .Local =="\u006f\u006e\u0065\u0064"{_dagafb .OnedAttr .UnmarshalXMLAttr (_bgbfa );continue ;};if _bgbfa .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bgbfa .Name .L
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_ShapeDefaults and its children
func (_ccagb *OfcCT_ShapeDefaults )Validate ()error {return _ccagb .ValidateWithPath ("\u004f\u0066\u0063\u0043T_\u0053\u0068\u0061\u0070\u0065\u0044\u0065\u0066\u0061\u0075\u006c\u0074\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_RegroupTable and its children
func (_defcd *OfcCT_RegroupTable )Validate ()error {return _defcd .ValidateWithPath ("\u004ff\u0063C\u0054\u005f\u0052\u0065\u0067r\u006f\u0075p\u0054\u0061\u0062\u006c\u0065");};const (ST_StrokeArrowWidthUnset ST_StrokeArrowWidth =0;ST_StrokeArrowWidthNarrow ST_StrokeArrowWidth =1;ST_StrokeArrowWidthMedium ST_StrokeArrowWidth =2;ST_StrokeArrowWidthWide ST_StrokeArrowWidth =3;);func (_gfgef *OfcCallout )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _gfgef .OfcCT_Callout .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_ShapeLayout and its children, prefixing error messages with path
func (_ccece *OfcCT_ShapeLayout )ValidateWithPath (path string )error {if _ccece .Idmap !=nil {if _abcd :=_ccece .Idmap .ValidateWithPath (path +"\u002f\u0049\u0064\u006d\u0061\u0070");_abcd !=nil {return _abcd ;};};if _ccece .Regrouptable !=nil {if _faac :=_ccece .Regrouptable .ValidateWithPath (path +"\u002f\u0052\u0065\u0067\u0072\u006f\u0075\u0070\u0074\u0061\u0062\u006c\u0065");_faac !=nil {return _faac ;};};if _ccece .Rules !=nil {if _egbggg :=_ccece .Rules .ValidateWithPath (path +"\u002f\u0052\u0075\u006c\u0065\u0073");_egbggg !=nil {return _egbggg ;};};if _fagcfd :=_ccece .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_fagcfd !=nil {return _fagcfd ;};return nil ;};func (_agff *CT_Image )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _agff .HrefAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0068\u0072\u0065\u0066"},Value :_c .Sprintf ("\u0025\u0076",*_agff .HrefAttr )});};if _agff .TargetAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0061\u0072\u0067\u0065\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_agff .TargetAttr )});};if _agff .ClassAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063\u006c\u0061s\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_agff .ClassAttr )});};if _agff .TitleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0074\u0069\u0074l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_agff .TitleAttr )});};if _agff .AltAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0061\u006c\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_agff .AltAttr )});};if _agff .CoordsizeAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063o\u006f\u0072\u0064\u0073\u0069\u007ae"},Value :_c .Sprintf ("\u0025\u0076",*_agff .CoordsizeAttr )});};if _agff .CoordoriginAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"c\u006f\u006f\u0072\u0064\u006f\u0072\u0069\u0067\u0069\u006e"},Value :_c .Sprintf ("\u0025\u0076",*_agff .CoordoriginAttr )});};if _agff .WrapcoordsAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0077\u0072\u0061\u0070\u0063\u006f\u006f\u0072\u0064\u0073"},Value :_c .Sprintf ("\u0025\u0076",*_agff .WrapcoordsAttr )});};if _agff .PrintAttr !=_ec .ST_TrueFalseUnset {_gbfdc ,_feeb :=_agff .PrintAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0069n\u0074"});if _feeb !=nil {return _feeb ;};start .Attr =append (start .Attr ,_gbfdc );};if _agff .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_agff .IdAttr )});};if _agff .StyleAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0079l\u0065"},Value :_c .Sprintf ("\u0025\u0076",*_agff .StyleAttr )});};if _agff .SpidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_agff .SpidAttr )});};if _agff .OnedAttr !=_ec .ST_TrueFalseUnset {_bcgae ,_bgeg :=_agff .OnedAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006e\u0065\u0064"});if _bgeg !=nil {return _bgeg ;};start .Attr =append (start .Attr ,_bcgae );};if _agff .RegroupidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"o\u003a\u0072\u0065\u0067\u0072\u006f\u0075\u0070\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_agff .RegroupidAttr )});};if _agff .DoubleclicknotifyAttr !=_ec .ST_TrueFalseUnset {_gdbef ,_acgcd :=_agff .DoubleclicknotifyAttr .MarshalXMLAttr (_d .Name {Local :"\u0064\u006f\u0075\u0062\u006c\u0065\u0063\u006c\u0069\u0063\u006b\u006eo\u0074\u0069\u0066\u0079"});if _acgcd !=nil {return _acgcd ;};start .Attr =append (start .Attr ,_gdbef );};if _agff .ButtonAttr !=_ec .ST_TrueFalseUnset {_cffc ,_ffgc :=_agff .ButtonAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0075\u0074\u0074\u006f\u006e"});if _ffgc !=nil {return _ffgc ;};start .Attr
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Rect and its children, prefixing error messages with path
func (_fadee *CT_Rect )ValidateWithPath (path string )error {for _dbeaf ,_caed :=range _fadee .EG_ShapeElements {if _dcda :=_caed .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_dbeaf ));_dcda !=nil {return _dcda ;};};if _gbbc :=_fadee .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_gbbc !=nil {return _gbbc ;};if _befd :=_fadee .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_befd !=nil {return _befd ;};if _agfe :=_fadee .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_agfe !=nil {return _agfe ;};if _eced :=_fadee .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_eced !=nil {return _eced ;};if _bdeba :=_fadee .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_bdeba !=nil {return _bdeba ;};if _deeeb :=_fadee .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_deeeb !=nil {return _deeeb ;};if _abege :=_fadee .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_abege !=nil {return _abege ;};if _gefaf :=_fadee .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_gefaf !=nil {return _gefaf ;};if _fbga :=_fadee .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_fbga !=nil {return _fbga ;};if _cabe :=_fadee .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_cabe !=nil {return _cabe ;};if _ecee :=_fadee .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_ecee !=nil {return _ecee ;};if _egeg :=_fadee .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_egeg !=nil {return _egeg ;};if _fbgff :=_fadee .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_fbgff !=nil {return _fbgff ;};if _faga :=_fadee .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_faga !=nil {return _faga ;};if _effb :=_fadee .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_effb !=nil {return _effb ;};if _ddab :=_fadee .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_ddab !=nil {return _ddab ;};if _gaede :=_fadee .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_gaede !=nil {return _gaede ;};if _fgfdc :=_fadee .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_fgfdc !=nil {return _fgfdc ;};if _eadcb :=_fadee .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_eadcb !=nil {return _eadcb ;};if _aedd :=_fadee .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_aedd !=nil {return _aedd ;};if _bffde :=_fadee .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_bffde !=nil {return _bffde ;};if _gega :=_fadee .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_gega !=nil {return _gega ;};if _cccdg :=_fadee .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_cccdg
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Shapetype and its children, prefixing error messages with path
func (_gedgea *Shapetype )ValidateWithPath (path string )error {if _ggfce :=_gedgea .CT_Shapetype .ValidateWithPath (path );_ggfce !=nil {return _ggfce ;};return nil ;};func init (){_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065",NewCT_Shape );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005fS\u0068\u0061\u0070\u0065\u0074\u0079\u0070\u0065",NewCT_Shapetype );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0047\u0072\u006f\u0075\u0070",NewCT_Group );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0042\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064",NewCT_Background );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043T\u005f\u0046\u0069\u006c\u006c",NewCT_Fill );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","C\u0054\u005f\u0046\u006f\u0072\u006d\u0075\u006c\u0061\u0073",NewCT_Formulas );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0046",NewCT_F );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0048\u0061\u006e\u0064\u006c\u0065\u0073",NewCT_Handles );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0048",NewCT_H );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005fI\u006d\u0061\u0067\u0065\u0044\u0061\u0074\u0061",NewCT_ImageData );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043T\u005f\u0050\u0061\u0074\u0068",NewCT_Path );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043T\u005f\u0053\u0068\u0061\u0064\u006fw",NewCT_Shadow );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043T\u005f\u0053\u0074\u0072\u006f\u006be",NewCT_Stroke );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","\u0043\u0054\u005f\u0054\u0065\u0078\u0074\u0062\u006f\u0078",NewCT_Textbox );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c","C\u0054\u005f\u0054\u0065\u0078\u0074\u0050\u0061\u0074\u0068",NewCT_TextPath );_a .RegisterConstructor ("\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Background and its children, prefixing error messages with path
func (_gac *Background )ValidateWithPath (path string )error {if _bdab :=_gac .CT_Background .ValidateWithPath (path );_bdab !=nil {return _bdab ;};return nil ;};func (_fgdfa OfcST_OLEUpdateMode )String ()string {switch _fgdfa {case 0:return "";case 1:return "\u0041\u006c\u0077\u0061\u0079\u0073";case 2:return "\u004f\u006e\u0043\u0061\u006c\u006c";};return "";};func (_bbdfaa OfcST_OLEType )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_bbdfaa .String (),start );};func (_bgccf *CT_Line )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_feag :=range start .Attr {if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0075s\u0065\u0072\u0064\u0072\u0061\u0077n"{_bgccf .UserdrawnAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0062\u0075\u0074\u0074\u006f\u006e"{_bgccf .ButtonAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0064\u0067\u006dl\u0061\u0079\u006f\u0075\u0074\u006d\u0072\u0075"{_bgccf .DgmlayoutmruAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0075\u0073\u0065\u0072\u0068\u0069\u0064\u0064\u0065\u006e"{_bgccf .UserhiddenAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_bgccf .CliptowrapAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_bgccf .BulletAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u006f\u006c\u0065"{_bgccf .OleAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0068\u0072"{_bgccf .HrAttr .UnmarshalXMLAttr (_feag );continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_feag .Name .Local =="\u0073\u0070\u0069\u0064"{_cedgc ,_eccd :=_feag .Value ,error (nil );if _eccd !=nil {return _eccd ;};_bgccf .SpidAttr =&_cedgc ;continue ;};if _feag .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_IdMap and its children, prefixing error messages with path
func (_febeb *OfcCT_IdMap )ValidateWithPath (path string )error {if _egafge :=_febeb .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_egafge !=nil {return _egafge ;};return nil ;};func (_gfaad OfcST_CalloutPlacement )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_bebag :=_d .Attr {};_bebag .Name =name ;switch _gfaad {case OfcST_CalloutPlacementUnset :_bebag .Value ="";case OfcST_CalloutPlacementTop :_bebag .Value ="\u0074\u006f\u0070";case OfcST_CalloutPlacementCenter :_bebag .Value ="\u0063\u0065\u006e\u0074\u0065\u0072";case OfcST_CalloutPlacementBottom :_bebag .Value ="\u0062\u006f\u0074\u0074\u006f\u006d";case OfcST_CalloutPlacementUser :_bebag .Value ="\u0075\u0073\u0065\u0072";};return _bebag ,nil ;};type OfcShapelayout struct{OfcCT_ShapeLayout };func NewOfcCT_RelationTable ()*OfcCT_RelationTable {_dgefa :=&OfcCT_RelationTable {};return _dgefa };type OfcFill struct{OfcCT_Fill };
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_R and its children
func (_cgbbd *OfcCT_R )Validate ()error {return _cgbbd .ValidateWithPath ("\u004ff\u0063\u0043\u0054\u005f\u0052");};func (_daaga *CT_Formulas )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {e .EncodeToken (start );if _daaga .F !=nil {_bbaa :=_d .StartElement {Name :_d .Name {Local :"\u0076\u003a\u0066"}};for _ ,_eaacf :=range _daaga .F {e .EncodeElement (_eaacf ,_bbaa );};};e .EncodeToken (_d .EndElement {Name :start .Name });return nil ;};func (_aagd *CT_Background )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_bcdf :=range start .Attr {if _bcdf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bcdf .Name .Local =="\u0062\u0077\u006d\u006f\u0064\u0065"{_aagd .BwmodeAttr .UnmarshalXMLAttr (_bcdf );continue ;};if _bcdf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bcdf .Name .Local =="\u0062\u0077\u0070\u0075\u0072\u0065"{_aagd .BwpureAttr .UnmarshalXMLAttr (_bcdf );continue ;};if _bcdf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bcdf .Name .Local =="\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"{_aagd .BwnormalAttr .UnmarshalXMLAttr (_bcdf );continue ;};if _bcdf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_bcdf .Name .Local =="\u0074\u0061r\u0067\u0065\u0074s\u0063\u0072\u0065\u0065\u006e\u0073\u0069\u007a\u0065"{_aagd .TargetscreensizeAttr .UnmarshalXMLAttr (_bcdf );continue ;};if _bcdf .Name .Local =="\u0069\u0064"{_daafc ,_bge :=_bcdf .Value ,error (nil );if _bge !=nil {return _bge ;};_aagd .IdAttr =&_daafc ;continue ;};if _bcdf .Name .Local =="\u0066\u0069\u006c\u006c\u0065\u0064"{_aagd .FilledAttr .UnmarshalXMLAttr (_bcdf );continue ;};if _bcdf .Name .Local =="\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"{_gbga ,_cdd :=_bcdf .Value ,error (nil );if _cdd !=nil {return _cdd ;};_aagd .FillcolorAttr =&_gbga ;continue ;};};_cbad :for {_afbc ,_ebaf :=d .Token ();if _ebaf !=nil {return _ebaf ;};switch _fdfg :=_afbc .(type ){case _d .StartElement :switch _fdfg .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066\u0069\u006c\u006c"}:_aagd .Fill =NewFill ();if _eagd :=d .DecodeElement (_aagd .Fill ,&_fdfg );_eagd !=nil {return _eagd ;};default:_a .Log ("\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\u0042a\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064 \u0025\u0076",_fdfg .Name );if _gbea :=d .Skip ();_gbea !=nil {return _gbea ;};};case _d .EndElement :break _cbad ;case _d .CharData :};};return nil ;};func (_fcbbb ST_FillType )ValidateWithPath (path string )error {switch _fcbbb {case 0,1,2,3,4,5,6:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_fcbbb ));};return nil ;};type Handles struct{CT_Handles };func NewAG_OfficeCoreAttributes ()*AG_OfficeCoreAttributes {_dccc :=&AG_OfficeCoreAttributes {};return _dccc ;};func (_eac *AG_ImageAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _eac .SrcAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0072\u0063"},Value :_c .Spri
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcOLEObject and its children
func (_ageag *OfcOLEObject )Validate ()error {return _ageag .ValidateWithPath ("\u004f\u0066\u0063O\u004c\u0045\u004f\u0062\u006a\u0065\u0063\u0074");};func (_dae *AG_AllShapeAttributes )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _dae .OpacityAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006fp\u0061\u0063\u0069\u0074\u0079"},Value :_c .Sprintf ("\u0025\u0076",*_dae .OpacityAttr )});};if _dae .StrokedAttr !=_ec .ST_TrueFalseUnset {_ffd ,_af :=_dae .StrokedAttr .MarshalXMLAttr (_d .Name {Local :"\u0073t\u0072\u006f\u006b\u0065\u0064"});if _af !=nil {return _af ;};start .Attr =append (start .Attr ,_ffd );};if _dae .StrokecolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"s\u0074\u0072\u006f\u006b\u0065\u0063\u006f\u006c\u006f\u0072"},Value :_c .Sprintf ("\u0025\u0076",*_dae .StrokecolorAttr )});};if _dae .StrokeweightAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0073\u0074\u0072o\u006b\u0065\u0077\u0065\u0069\u0067\u0068\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_dae .StrokeweightAttr )});};if _dae .InsetpenAttr !=_ec .ST_TrueFalseUnset {_ggc ,_gge :=_dae .InsetpenAttr .MarshalXMLAttr (_d .Name {Local :"\u0069\u006e\u0073\u0065\u0074\u0070\u0065\u006e"});if _gge !=nil {return _gge ;};start .Attr =append (start .Attr ,_ggc );};if _dae .ChromakeyAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0063h\u0072\u006f\u006d\u0061\u006b\u0065y"},Value :_c .Sprintf ("\u0025\u0076",*_dae .ChromakeyAttr )});};if _dae .FilledAttr !=_ec .ST_TrueFalseUnset {_egd ,_gcdf :=_dae .FilledAttr .MarshalXMLAttr (_d .Name {Local :"\u0066\u0069\u006c\u006c\u0065\u0064"});if _gcdf !=nil {return _gcdf ;};start .Attr =append (start .Attr ,_egd );};if _dae .FillcolorAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"},Value :_c .Sprintf ("\u0025\u0076",*_dae .FillcolorAttr )});};if _dae .SptAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u006f\u003a\u0073p\u0074"},Value :_c .Sprintf ("\u0025\u0076",*_dae .SptAttr )});};if _dae .ConnectortypeAttr !=OfcST_ConnectorTypeUnset {_cgb ,_eab :=_dae .ConnectortypeAttr .MarshalXMLAttr (_d .Name {Local :"\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072\u0074\u0079\u0070\u0065"});if _eab !=nil {return _eab ;};start .Attr =append (start .Attr ,_cgb );};if _dae .BwmodeAttr !=OfcST_BWModeUnset {_bga ,_fga :=_dae .BwmodeAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006d\u006f\u0064\u0065"});if _fga !=nil {return _fga ;};start .Attr =append (start .Attr ,_bga );};if _dae .BwpureAttr !=OfcST_BWModeUnset {_fb ,_edg :=_dae .BwpureAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u0070\u0075\u0072\u0065"});if _edg !=nil {return _edg ;};start .Attr =append (start .Attr ,_fb );};if _dae .BwnormalAttr !=OfcST_BWModeUnset {_cgg ,_bgg :=_dae .BwnormalAttr .MarshalXMLAttr (_d .Name {Local :"\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"});if _bgg !=nil {return _bgg ;};start .Attr =append (start .Attr ,_cgg );};if _dae .ForcedashAttr !=_ec .ST_TrueFalseUnset {_fab ,_fad :=_dae .ForcedashAttr .MarshalXMLAttr (_d .Name {Local :"\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"});if _fad !=nil {return _fad ;};start .Attr =append (start .Attr ,_fab );};if _dae .OleiconAttr !=_ec .ST_TrueFalseUnset {_bac ,_gfbc :=_dae .OleiconAttr .MarshalXMLAttr (_d .Name {Local :"\u006fl\u0065\u0069\u0063\u006f\u006e"});if _gfbc !=nil {return _gfbc ;};start .Attr =append (start .Attr ,_bac );};if _dae .OleAttr !=_ec .ST_TrueFalseBlankUnset {_fcfd ,_dgbde :=_dae .OleAttr .MarshalXMLAttr (_d .Name {Local :"\u006f\u006c\u0065"});if _dgbde !=nil {return _dgbde ;};start .Attr =append (start .Attr ,_fcfd );};if _dae .PreferrelativeAttr !=_ec .ST_TrueFalseUnset {_ecc ,_bag :=_dae .PreferrelativeAttr .MarshalXMLAttr (_d .Name {Local :"\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u0065"});if _bag !=nil {return _bag ;};start .Attr =append (start .Attr ,
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Shape and its children, prefixing error messages with path
func (_gccecd *CT_Shape )ValidateWithPath (path string )error {for _bdbd ,_aggbg :=range _gccecd .Ink {if _gfcfg :=_aggbg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002f\u0049\u006e\u006b\u005b\u0025\u0064\u005d",path ,_bdbd ));_gfcfg !=nil {return _gfcfg ;};};for _bcfd ,_adeb :=range _gccecd .Iscomment {if _edfe :=_adeb .ValidateWithPath (_c .Sprintf ("\u0025\u0073/\u0049\u0073\u0063o\u006d\u006d\u0065\u006e\u0074\u005b\u0025\u0064\u005d",path ,_bcfd ));_edfe !=nil {return _edfe ;};};for _agca ,_cdbgf :=range _gccecd .Equationxml {if _effd :=_cdbgf .ValidateWithPath (_c .Sprintf ("\u0025s\u002fE\u0071\u0075\u0061\u0074\u0069o\u006e\u0078m\u006c\u005b\u0025\u0064\u005d",path ,_agca ));_effd !=nil {return _effd ;};};for _gcge ,_bfadd :=range _gccecd .EG_ShapeElements {if _fgbee :=_bfadd .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_gcge ));_fgbee !=nil {return _fgbee ;};};if _ebabg :=_gccecd .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_ebabg !=nil {return _ebabg ;};if _abbbg :=_gccecd .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_abbbg !=nil {return _abbbg ;};if _bdegbb :=_gccecd .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_bdegbb !=nil {return _bdegbb ;};if _aeeef :=_gccecd .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_aeeef !=nil {return _aeeef ;};if _afgca :=_gccecd .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_afgca !=nil {return _afgca ;};if _bedcg :=_gccecd .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_bedcg !=nil {return _bedcg ;};if _fedb :=_gccecd .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_fedb !=nil {return _fedb ;};if _eafgf :=_gccecd .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_eafgf !=nil {return _eafgf ;};if _aebfa :=_gccecd .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_aebfa !=nil {return _aebfa ;};if _egafg :=_gccecd .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_egafg !=nil {return _egafg ;};if _bedgf :=_gccecd .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_bedgf !=nil {return _bedgf ;};if _gedga :=_gccecd .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_gedga !=nil {return _gedga ;};if _bdgbf :=_gccecd .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_bdgbf !=nil {return _bdgbf ;};if _gdcb :=_gccecd .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_gdcb !=nil {return _gdcb ;};if _edbba :=_gccecd .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_edbba !=nil {return _edbba ;};if _bcbb :=_gccecd .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_bcbb !=nil {return _bcbb ;};if _dbec :=_gccecd .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_dbec !=nil {return _dbec ;};if _bdafg :=_gccecd .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_bdafg !=nil {return _bdafg ;};if _cbbcb :=_gccecd .FilledAttr .ValidateWithPath (path +"/\u0046\u0
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Skew and its children
func (_cbbdd *OfcCT_Skew )Validate ()error {return _cbbdd .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0053\u006b\u0065\u0077");};func (_cbfca OfcST_HrAlign )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_cbfca .String (),start );};const (OfcST_ExtrusionTypeUnset OfcST_ExtrusionType =0;OfcST_ExtrusionTypePerspective OfcST_ExtrusionType =1;OfcST_ExtrusionTypeParallel OfcST_ExtrusionType =2;);func (_eddefd *CT_Textbox )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_egeeb :=range start .Attr {if _egeeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egeeb .Name .Local =="s\u0069\u006e\u0067\u006c\u0065\u0063\u006c\u0069\u0063\u006b"{_eddefd .SingleclickAttr .UnmarshalXMLAttr (_egeeb );continue ;};if _egeeb .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_egeeb .Name .Local =="\u0069n\u0073\u0065\u0074\u006d\u006f\u0064e"{_eddefd .InsetmodeAttr .UnmarshalXMLAttr (_egeeb );continue ;};if _egeeb .Name .Local =="\u0069\u006e\u0073e\u0074"{_dfebc ,_dbefg :=_egeeb .Value ,error (nil );if _dbefg !=nil {return _dbefg ;};_eddefd .InsetAttr =&_dfebc ;continue ;};if _egeeb .Name .Local =="\u0069\u0064"{_bggcb ,_faffa :=_egeeb .Value ,error (nil );if _faffa !=nil {return _faffa ;};_eddefd .IdAttr =&_bggcb ;continue ;};if _egeeb .Name .Local =="\u0073\u0074\u0079l\u0065"{_fcfc ,_agdb :=_egeeb .Value ,error (nil );if _agdb !=nil {return _agdb ;};_eddefd .StyleAttr =&_fcfc ;continue ;};};_gcfc :for {_deecg ,_gagfc :=d .Token ();if _gagfc !=nil {return _gagfc ;};switch _fgdea :=_deecg .(type ){case _d .StartElement :switch _fgdea .Name {case _d .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073.\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u0077\u006f\u0072\u0064\u0070\u0072\u006f\u0063\u0065s\u0073i\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u00306\u002fm\u0061\u0069n",Local :"t\u0078\u0062\u0078\u0043\u006f\u006e\u0074\u0065\u006e\u0074"},_d .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0070u\u0072\u006c\u002eoc\u006c\u0063\u002e\u006f\u0072\u0067/\u006f\u006f\u0078\u006d\u006c\u002f\u0077\u006f\u0072\u0064\u0070\u0072\u006f\u0063\u0065s\u0073\u0069\u006e\u0067\u006d\u006c\u002f\u006da\u0069\u006e",Local :"t\u0078\u0062\u0078\u0043\u006f\u006e\u0074\u0065\u006e\u0074"}:_eddefd .TxbxContent =_gc .NewTxbxContent ();if _cddga :=d .DecodeElement (_eddefd .TxbxContent ,&_fgdea );_cddga !=nil {return _cddga ;};default:if _afeef ,_aaebad :=_a .CreateElement (_fgdea );_aaebad !=nil {return _aaebad ;}else {if _gfffcd :=d .DecodeElement (_afeef ,&_fgdea );_gfffcd !=nil {return _gfffcd ;};_eddefd .Any =_afeef ;};};case _d .EndElement :break _gcfc ;case _d .CharData :};};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Shapetype and its children, prefixing error messages with path
func (_fefde *CT_Shapetype )ValidateWithPath (path string )error {for _cedb ,_cfeba :=range _fefde .EG_ShapeElements {if _cdcg :=_cfeba .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_cedb ));_cdcg !=nil {return _cdcg ;};};if _fefde .Complex !=nil {if _acgcba :=_fefde .Complex .ValidateWithPath (path +"\u002f\u0043\u006f\u006d\u0070\u006c\u0065\u0078");_acgcba !=nil {return _acgcba ;};};if _aadgb :=_fefde .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_aadgb !=nil {return _aadgb ;};if _cdfbde :=_fefde .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_cdfbde !=nil {return _cdfbde ;};if _cdbed :=_fefde .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_cdbed !=nil {return _cdbed ;};if _fddb :=_fefde .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_fddb !=nil {return _fddb ;};if _gdgge :=_fefde .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_gdgge !=nil {return _gdgge ;};if _aeaf :=_fefde .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_aeaf !=nil {return _aeaf ;};if _fbdd :=_fefde .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_fbdd !=nil {return _fbdd ;};if _aceaa :=_fefde .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_aceaa !=nil {return _aceaa ;};if _agcf :=_fefde .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_agcf !=nil {return _agcf ;};if _deeacf :=_fefde .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_deeacf !=nil {return _deeacf ;};if _bgeef :=_fefde .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_bgeef !=nil {return _bgeef ;};if _eecc :=_fefde .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_eecc !=nil {return _eecc ;};if _daebb :=_fefde .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_daebb !=nil {return _daebb ;};if _afaca :=_fefde .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_afaca !=nil {return _afaca ;};if _gbfce :=_fefde .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_gbfce !=nil {return _gbfce ;};if _eecggf :=_fefde .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_eecggf !=nil {return _eecggf ;};if _ecbb :=_fefde .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_ecbb !=nil {return _ecbb ;};if _bggaf :=_fefde .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_bggaf !=nil {return _bggaf ;};if _cdafa :=_fefde .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_cdafa !=nil {return _cdafa ;};if _ggcga :=_fefde .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_ggcga !=nil {return _ggcga ;};if _geadg :=_fefde .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_geadg !=nil {return _geadg ;};if _gacab :=_fefde .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Line and its children, prefixing error messages with path
func (_adabac *Line )ValidateWithPath (path string )error {if _ababg :=_adabac .CT_Line .ValidateWithPath (path );_ababg !=nil {return _ababg ;};return nil ;};func (_cgdd OfcST_OLEDrawAspect )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_cgdd .String (),start );};func NewOfcCT_Ink ()*OfcCT_Ink {_efdef :=&OfcCT_Ink {};return _efdef };func (_bgcda OfcST_CalloutPlacement )ValidateWithPath (path string )error {switch _bgcda {case 0,1,2,3,4:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_bgcda ));};return nil ;};type OfcST_ExtrusionRender byte ;
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Arc and its children, prefixing error messages with path
func (_bgcb *CT_Arc )ValidateWithPath (path string )error {for _gaeb ,_efe :=range _bgcb .EG_ShapeElements {if _feec :=_efe .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_gaeb ));_feec !=nil {return _feec ;};};if _ggbg :=_bgcb .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_ggbg !=nil {return _ggbg ;};if _fdfaf :=_bgcb .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_fdfaf !=nil {return _fdfaf ;};if _abbc :=_bgcb .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_abbc !=nil {return _abbc ;};if _gcddc :=_bgcb .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_gcddc !=nil {return _gcddc ;};if _gfag :=_bgcb .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_gfag !=nil {return _gfag ;};if _gafg :=_bgcb .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_gafg !=nil {return _gafg ;};if _adef :=_bgcb .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_adef !=nil {return _adef ;};if _fbcg :=_bgcb .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_fbcg !=nil {return _fbcg ;};if _acbb :=_bgcb .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_acbb !=nil {return _acbb ;};if _dagd :=_bgcb .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_dagd !=nil {return _dagd ;};if _dbe :=_bgcb .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_dbe !=nil {return _dbe ;};if _fggce :=_bgcb .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_fggce !=nil {return _fggce ;};if _ffeg :=_bgcb .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_ffeg !=nil {return _ffeg ;};if _dcgec :=_bgcb .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_dcgec !=nil {return _dcgec ;};if _aged :=_bgcb .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_aged !=nil {return _aged ;};if _dfdg :=_bgcb .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_dfdg !=nil {return _dfdg ;};if _cbfg :=_bgcb .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_cbfg !=nil {return _cbfg ;};if _ebaa :=_bgcb .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_ebaa !=nil {return _ebaa ;};if _bgb :=_bgcb .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_bgb !=nil {return _bgb ;};if _bfcb :=_bgcb .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_bfcb !=nil {return _bfcb ;};if _fdaaa :=_bgcb .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_fdaaa !=nil {return _fdaaa ;};if _dcgg :=_bgcb .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_dcgg !=nil {return _dcgg ;};if _bacf :=_bgcb .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\u0072");_bacf !=nil {return _bacf ;};if _fdbc :=_bgcb .Forcedas
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_Arc and its children
func (_ebebe *CT_Arc )Validate ()error {return _ebebe .ValidateWithPath ("\u0043\u0054\u005f\u0041\u0072\u0063");};func (_edbaeb *OfcShapedefaults )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f:\u0073h\u0061\u0070\u0065\u0064\u0065\u0066\u0061\u0075\u006c\u0074\u0073";return _edbaeb .OfcCT_ShapeDefaults .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcLeft and its children, prefixing error messages with path
func (_eaegd *OfcLeft )ValidateWithPath (path string )error {if _bfaabf :=_eaegd .OfcCT_StrokeChild .ValidateWithPath (path );_bfaabf !=nil {return _bfaabf ;};return nil ;};func (_dadegc OfcST_CalloutPlacement )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return e .EncodeElement (_dadegc .String (),start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Shapetype and its children
func (_ecace *Shapetype )Validate ()error {return _ecace .ValidateWithPath ("\u0053h\u0061\u0070\u0065\u0074\u0079\u0070e");};type CT_Oval struct{EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcCT_Relation and its children, prefixing error messages with path
func (_ebcac *OfcCT_Relation )ValidateWithPath (path string )error {if _degbd :=_ebcac .ExtAttr .ValidateWithPath (path +"\u002f\u0045\u0078\u0074\u0041\u0074\u0074\u0072");_degbd !=nil {return _degbd ;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Rules and its children
func (_dedfed *OfcCT_Rules )Validate ()error {return _dedfed .ValidateWithPath ("O\u0066\u0063\u0043\u0054\u005f\u0052\u0075\u006c\u0065\u0073");};type Shapetype struct{CT_Shapetype };type ST_StrokeJoinStyle byte ;func (_fbccg OfcST_BWMode )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_cgfdc :=_d .Attr {};_cgfdc .Name =name ;switch _fbccg {case OfcST_BWModeUnset :_cgfdc .Value ="";case OfcST_BWModeColor :_cgfdc .Value ="\u0063\u006f\u006co\u0072";case OfcST_BWModeAuto :_cgfdc .Value ="\u0061\u0075\u0074\u006f";case OfcST_BWModeGrayScale :_cgfdc .Value ="\u0067r\u0061\u0079\u0053\u0063\u0061\u006ce";case OfcST_BWModeLightGrayscale :_cgfdc .Value ="\u006c\u0069\u0067\u0068\u0074\u0047\u0072\u0061\u0079s\u0063\u0061\u006c\u0065";case OfcST_BWModeInverseGray :_cgfdc .Value ="i\u006e\u0076\u0065\u0072\u0073\u0065\u0047\u0072\u0061\u0079";case OfcST_BWModeGrayOutline :_cgfdc .Value ="g\u0072\u0061\u0079\u004f\u0075\u0074\u006c\u0069\u006e\u0065";case OfcST_BWModeHighContrast :_cgfdc .Value ="\u0068\u0069\u0067h\u0043\u006f\u006e\u0074\u0072\u0061\u0073\u0074";case OfcST_BWModeBlack :_cgfdc .Value ="\u0062\u006c\u0061c\u006b";case OfcST_BWModeWhite :_cgfdc .Value ="\u0077\u0068\u0069t\u0065";case OfcST_BWModeHide :_cgfdc .Value ="\u0068\u0069\u0064\u0065";case OfcST_BWModeUndrawn :_cgfdc .Value ="\u0075n\u0064\u0072\u0061\u0077\u006e";case OfcST_BWModeBlackTextAndLines :_cgfdc .Value ="\u0062\u006c\u0061\u0063\u006b\u0054\u0065\u0078\u0074\u0041\u006e\u0064L\u0069\u006e\u0065\u0073";};return _cgfdc ,nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Id and its children
func (_gebd *AG_Id )Validate ()error {return _gebd .ValidateWithPath ("\u0041\u0047\u005fI\u0064")};func (_ddcaf *ST_StrokeJoinStyle )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_aagde ,_ebafc :=d .Token ();if _ebafc !=nil {return _ebafc ;};if _bceae ,_bagfde :=_aagde .(_d .EndElement );_bagfde &&_bceae .Name ==start .Name {*_ddcaf =1;return nil ;};if _ceedf ,_fcbaeb :=_aagde .(_d .CharData );!_fcbaeb {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_aagde );}else {switch string (_ceedf ){case "":*_ddcaf =0;case "\u0072\u006f\u0075n\u0064":*_ddcaf =1;case "\u0062\u0065\u0076e\u006c":*_ddcaf =2;case "\u006d\u0069\u0074e\u0072":*_ddcaf =3;};};_aagde ,_ebafc =d .Token ();if _ebafc !=nil {return _ebafc ;};if _gaffb ,_dbbaa :=_aagde .(_d .EndElement );_dbbaa &&_gaffb .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_aagde );};func (_egff *OfcExtrusion )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _egff .OfcCT_Extrusion .MarshalXML (e ,start );};func NewOfcTop ()*OfcTop {_gfcfdf :=&OfcTop {};_gfcfdf .OfcCT_StrokeChild =*NewOfcCT_StrokeChild ();return _gfcfdf ;};type OfcCT_ShapeLayout struct{Idmap *OfcCT_IdMap ;Regrouptable *OfcCT_RegroupTable ;Rules *OfcCT_Rules ;ExtAttr ST_Ext ;};type OfcTop struct{OfcCT_StrokeChild };const (ST_StrokeLineStyleUnset ST_StrokeLineStyle =0;ST_StrokeLineStyleSingle ST_StrokeLineStyle =1;ST_StrokeLineStyleThinThin ST_StrokeLineStyle =2;ST_StrokeLineStyleThinThick ST_StrokeLineStyle =3;ST_StrokeLineStyleThickThin ST_StrokeLineStyle =4;ST_StrokeLineStyleThickBetweenThin ST_StrokeLineStyle =5;);func (_ccf *Arc )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _ccf .CT_Arc .MarshalXML (e ,start );};func (_cgfab OfcST_ExtrusionType )String ()string {switch _cgfab {case 0:return "";case 1:return "p\u0065\u0072\u0073\u0070\u0065\u0063\u0074\u0069\u0076\u0065";case 2:return "\u0070\u0061\u0072\u0061\u006c\u006c\u0065\u006c";};return "";};func (_dcfdd *OfcExtrusion )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_dcfdd .OfcCT_Extrusion =*NewOfcCT_Extrusion ();for _ ,_fcgbf :=range start .Attr {if _fcgbf .Name .Local =="\u0063o\u006c\u006f\u0072\u006d\u006f\u0064e"{_dcfdd .ColormodeAttr .UnmarshalXMLAttr (_fcgbf );continue ;};if _fcgbf .Name .Local =="\u0063\u006f\u006co\u0072"{_begae ,_ebgdd :=_fcgbf .Value ,error (nil );if _ebgdd !=nil {return _ebgdd ;};_dcfdd .ColorAttr =&_begae ;continue ;};if _fcgbf .Name .Local =="\u0074\u0079\u0070\u0065"{_dcfdd .TypeAttr .UnmarshalXMLAttr (_fcgbf );continue ;};if _fcgbf .Name .Local =="\u0073h\u0069\u006e\u0069\u006e\u0065\u0073s"{_daeaf ,_cabed :=_g .ParseFloat (_fcgbf .Value ,64);if _cabed !=nil {return _cabed ;};_gaadb :=float32 (_daeaf );_dcfdd .ShininessAttr =&_gaadb ;continue ;};if _fcgbf .Name .Local =="\u0076i\u0065w\u0070\u006f\u0069\u006e\u0074\u006f\u0072\u0069\u0067\u0069\u006e"{_dadbcg ,_bfgg :=_fcgbf .Value ,error (nil );if _bfgg !=nil {return _bfgg ;};_dcfdd .ViewpointoriginAttr =&_dadbcg ;continue ;};if _fcgbf .Name .Local =="s\u0070\u0065\u0063\u0075\u006c\u0061\u0072\u0069\u0074\u0079"{_bgedc ,_bfdcg :=_fcgbf .Value ,error (nil );if _bfdcg !=nil {return _bfdcg ;};_dcfdd .SpecularityAttr =&_bgedc ;continue ;};if _fcgbf .Name .Local =="\u0070\u006c\u0061n\u0065"{_dcfdd .PlaneAttr .UnmarshalXMLAttr (_fcgbf );continue ;};if _fcgbf .Name .Local =="\u0064i\u0066\u0066\u0075\u0073\u0069\u0074y"{_bcaabe ,_bcdaf :=_fcgbf .Value ,error (nil );if _bcdaf !=nil {return _bcdaf ;};_dcfdd .DiffusityAttr =&_bcaabe ;continue ;};if _fcgbf .Name .Local =="\u0073k\u0065\u0077\u0061\u006d\u0074"{_fbdfa ,_ecffe :=_fcgbf .Value ,error (nil );if _ecffe !=nil {return _ecffe ;};_dcfdd .SkewamtAttr =&_fbdfa ;continue ;};if _fcgbf .Name .Local =="\u006d\u0065\u0074a\u006c"{_dcfdd .MetalAttr .UnmarshalXMLAttr (_fcgbf );continue ;};if _fcg
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Line and its children, prefixing error messages with path
func (_cccge *CT_Line )ValidateWithPath (path string )error {for _abeb ,_cbdgd :=range _cccge .EG_ShapeElements {if _eddaf :=_cbdgd .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_abeb ));_eddaf !=nil {return _eddaf ;};};if _dcggc :=_cccge .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_dcggc !=nil {return _dcggc ;};if _cfcf :=_cccge .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_cfcf !=nil {return _cfcf ;};if _aacbd :=_cccge .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_aacbd !=nil {return _aacbd ;};if _fffe :=_cccge .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_fffe !=nil {return _fffe ;};if _cgfc :=_cccge .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_cgfc !=nil {return _cgfc ;};if _efbfd :=_cccge .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_efbfd !=nil {return _efbfd ;};if _gdfdc :=_cccge .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_gdfdc !=nil {return _gdfdc ;};if _cddc :=_cccge .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_cddc !=nil {return _cddc ;};if _ggcd :=_cccge .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_ggcd !=nil {return _ggcd ;};if _adgb :=_cccge .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_adgb !=nil {return _adgb ;};if _cdfbe :=_cccge .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_cdfbe !=nil {return _cdfbe ;};if _dffd :=_cccge .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_dffd !=nil {return _dffd ;};if _daacd :=_cccge .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_daacd !=nil {return _daacd ;};if _gaga :=_cccge .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_gaga !=nil {return _gaga ;};if _afbec :=_cccge .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_afbec !=nil {return _afbec ;};if _cfef :=_cccge .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_cfef !=nil {return _cfef ;};if _gdggc :=_cccge .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_gdggc !=nil {return _gdggc ;};if _bfaeg :=_cccge .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_bfaeg !=nil {return _bfaeg ;};if _eeacc :=_cccge .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_eeacc !=nil {return _eeacc ;};if _egfgc :=_cccge .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_egfgc !=nil {return _egfgc ;};if _afbd :=_cccge .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_afbd !=nil {return _afbd ;};if _aeedec :=_cccge .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_aeedec !=nil {return _aeedec ;};if _acbc :=_cccge .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the CT_F and its children
func (_dbdf *CT_F )Validate ()error {return _dbdf .ValidateWithPath ("\u0043\u0054\u005f\u0046")};func (_dbdc *Formulas )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _dbdc .CT_Formulas .MarshalXML (e ,start );};type Shape struct{CT_Shape };type OfcCT_Extrusion struct{OnAttr _ec .ST_TrueFalse ;TypeAttr OfcST_ExtrusionType ;RenderAttr OfcST_ExtrusionRender ;ViewpointoriginAttr *string ;ViewpointAttr *string ;PlaneAttr OfcST_ExtrusionPlane ;SkewangleAttr *float32 ;SkewamtAttr *string ;ForedepthAttr *string ;BackdepthAttr *string ;OrientationAttr *string ;OrientationangleAttr *float32 ;LockrotationcenterAttr _ec .ST_TrueFalse ;AutorotationcenterAttr _ec .ST_TrueFalse ;RotationcenterAttr *string ;RotationangleAttr *string ;ColormodeAttr OfcST_ColorMode ;ColorAttr *string ;ShininessAttr *float32 ;SpecularityAttr *string ;DiffusityAttr *string ;MetalAttr _ec .ST_TrueFalse ;EdgeAttr *string ;FacetAttr *string ;LightfaceAttr _ec .ST_TrueFalse ;BrightnessAttr *string ;LightpositionAttr *string ;LightlevelAttr *string ;LightharshAttr _ec .ST_TrueFalse ;Lightposition2Attr *string ;Lightlevel2Attr *string ;Lightharsh2Attr _ec .ST_TrueFalse ;ExtAttr ST_Ext ;};const (OfcST_OLEDrawAspectUnset OfcST_OLEDrawAspect =0;OfcST_OLEDrawAspectContent OfcST_OLEDrawAspect =1;OfcST_OLEDrawAspectIcon OfcST_OLEDrawAspect =2;);
2020-08-23 14:15:53 +00:00
2020-08-31 22:58:25 +00:00
// Validate validates the OfcDiagram and its children
2020-10-12 13:59:12 +00:00
func (_gegcg *OfcDiagram )Validate ()error {return _gegcg .ValidateWithPath ("\u004f\u0066\u0063\u0044\u0069\u0061\u0067\u0072\u0061\u006d");};func NewOval ()*Oval {_cceb :=&Oval {};_cceb .CT_Oval =*NewCT_Oval ();return _cceb };func (_dafda ST_EditAs )Validate ()error {return _dafda .ValidateWithPath ("")};func NewOfcCT_Lock ()*OfcCT_Lock {_aafde :=&OfcCT_Lock {};return _aafde };func NewShapetype ()*Shapetype {_gbcgb :=&Shapetype {};_gbcgb .CT_Shapetype =*NewCT_Shapetype ();return _gbcgb ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the CT_Oval and its children, prefixing error messages with path
func (_dadaf *CT_Oval )ValidateWithPath (path string )error {for _aagef ,_gcbg :=range _dadaf .EG_ShapeElements {if _gbbdb :=_gcbg .ValidateWithPath (_c .Sprintf ("\u0025\u0073\u002fEG\u005f\u0053\u0068\u0061\u0070\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u005b\u0025\u0064\u005d",path ,_aagef ));_gbbdb !=nil {return _gbbdb ;};};if _aadea :=_dadaf .PrintAttr .ValidateWithPath (path +"\u002f\u0050\u0072\u0069\u006e\u0074\u0041\u0074\u0074\u0072");_aadea !=nil {return _aadea ;};if _bdfce :=_dadaf .OnedAttr .ValidateWithPath (path +"\u002fO\u006e\u0065\u0064\u0041\u0074\u0074r");_bdfce !=nil {return _bdfce ;};if _bbbfa :=_dadaf .DoubleclicknotifyAttr .ValidateWithPath (path +"\u002f\u0044\u006f\u0075bl\u0065\u0063\u006c\u0069\u0063\u006b\u006e\u006f\u0074\u0069\u0066\u0079\u0041\u0074t\u0072");_bbbfa !=nil {return _bbbfa ;};if _bage :=_dadaf .ButtonAttr .ValidateWithPath (path +"/\u0042\u0075\u0074\u0074\u006f\u006e\u0041\u0074\u0074\u0072");_bage !=nil {return _bage ;};if _abbe :=_dadaf .UserhiddenAttr .ValidateWithPath (path +"\u002fU\u0073e\u0072\u0068\u0069\u0064\u0064\u0065\u006e\u0041\u0074\u0074\u0072");_abbe !=nil {return _abbe ;};if _ecfef :=_dadaf .BulletAttr .ValidateWithPath (path +"/\u0042\u0075\u006c\u006c\u0065\u0074\u0041\u0074\u0074\u0072");_ecfef !=nil {return _ecfef ;};if _fddcda :=_dadaf .HrAttr .ValidateWithPath (path +"\u002fH\u0072\u0041\u0074\u0074\u0072");_fddcda !=nil {return _fddcda ;};if _abfg :=_dadaf .HrstdAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u0073\u0074\u0064\u0041\u0074\u0074\u0072");_abfg !=nil {return _abfg ;};if _ecbfb :=_dadaf .HrnoshadeAttr .ValidateWithPath (path +"\u002f\u0048\u0072\u006e\u006f\u0073\u0068\u0061\u0064e\u0041\u0074\u0074\u0072");_ecbfb !=nil {return _ecbfb ;};if _fged :=_dadaf .HralignAttr .ValidateWithPath (path +"\u002f\u0048\u0072a\u006c\u0069\u0067\u006e\u0041\u0074\u0074\u0072");_fged !=nil {return _fged ;};if _agba :=_dadaf .AllowincellAttr .ValidateWithPath (path +"\u002f\u0041l\u006c\u006f\u0077i\u006e\u0063\u0065\u006c\u006c\u0041\u0074\u0074\u0072");_agba !=nil {return _agba ;};if _fdca :=_dadaf .AllowoverlapAttr .ValidateWithPath (path +"\u002f\u0041\u006c\u006c\u006f\u0077\u006f\u0076\u0065\u0072\u006c\u0061p\u0041\u0074\u0074\u0072");_fdca !=nil {return _fdca ;};if _ceabb :=_dadaf .UserdrawnAttr .ValidateWithPath (path +"\u002f\u0055\u0073\u0065\u0072\u0064\u0072\u0061\u0077n\u0041\u0074\u0074\u0072");_ceabb !=nil {return _ceabb ;};if _abec :=_dadaf .DgmlayoutAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075t\u0041\u0074\u0074\u0072");_abec !=nil {return _abec ;};if _bcdcd :=_dadaf .DgmlayoutmruAttr .ValidateWithPath (path +"\u002f\u0044\u0067\u006d\u006c\u0061\u0079\u006f\u0075\u0074\u006d\u0072u\u0041\u0074\u0074\u0072");_bcdcd !=nil {return _bcdcd ;};if _cbdcg :=_dadaf .InsetmodeAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u006d\u006f\u0064e\u0041\u0074\u0074\u0072");_cbdcg !=nil {return _cbdcg ;};if _edcc :=_dadaf .StrokedAttr .ValidateWithPath (path +"\u002f\u0053\u0074r\u006f\u006b\u0065\u0064\u0041\u0074\u0074\u0072");_edcc !=nil {return _edcc ;};if _cebac :=_dadaf .InsetpenAttr .ValidateWithPath (path +"\u002f\u0049\u006e\u0073\u0065\u0074\u0070\u0065\u006e\u0041\u0074\u0074\u0072");_cebac !=nil {return _cebac ;};if _begf :=_dadaf .FilledAttr .ValidateWithPath (path +"/\u0046\u0069\u006c\u006c\u0065\u0064\u0041\u0074\u0074\u0072");_begf !=nil {return _begf ;};if _ccdgd :=_dadaf .ConnectortypeAttr .ValidateWithPath (path +"\u002fC\u006fn\u006e\u0065\u0063\u0074\u006fr\u0074\u0079p\u0065\u0041\u0074\u0074\u0072");_ccdgd !=nil {return _ccdgd ;};if _bbdg :=_dadaf .BwmodeAttr .ValidateWithPath (path +"/\u0042\u0077\u006d\u006f\u0064\u0065\u0041\u0074\u0074\u0072");_bbdg !=nil {return _bbdg ;};if _gbffc :=_dadaf .BwpureAttr .ValidateWithPath (path +"/\u0042\u0077\u0070\u0075\u0072\u0065\u0041\u0074\u0074\u0072");_gbffc !=nil {return _gbffc ;};if _cece :=_dadaf .BwnormalAttr .ValidateWithPath (path +"\u002f\u0042\u0077\u006e\u006f\u0072\u006d\u0061\u006c\u0041\u0074\u0074\
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Roundrect and its children
func (_acdag *Roundrect )Validate ()error {return _acdag .ValidateWithPath ("\u0052o\u0075\u006e\u0064\u0072\u0065\u0063t");};type AG_Id struct{IdAttr *string ;};func NewAG_AllShapeAttributes ()*AG_AllShapeAttributes {_gab :=&AG_AllShapeAttributes {};return _gab };func (_bfefa *OfcEquationxml )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u0065\u0071\u0075\u0061\u0074\u0069\u006f\u006e\u0078\u006d\u006c";return _bfefa .OfcCT_EquationXml .MarshalXML (e ,start );};func (_fggde *OfcST_Angle )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_fggde =0;case "\u0061\u006e\u0079":*_fggde =1;case "\u0033\u0030":*_fggde =2;case "\u0034\u0035":*_fggde =3;case "\u0036\u0030":*_fggde =4;case "\u0039\u0030":*_fggde =5;case "\u0061\u0075\u0074\u006f":*_fggde =6;};return nil ;};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Formulas and its children
func (_cdbcb *Formulas )Validate ()error {return _cdbcb .ValidateWithPath ("\u0046\u006f\u0072\u006d\u0075\u006c\u0061\u0073");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcSignatureline and its children, prefixing error messages with path
func (_aaec *OfcSignatureline )ValidateWithPath (path string )error {if _daggd :=_aaec .OfcCT_SignatureLine .ValidateWithPath (path );_daggd !=nil {return _daggd ;};return nil ;};func NewAG_AllCoreAttributes ()*AG_AllCoreAttributes {_ae :=&AG_AllCoreAttributes {};return _ae };func NewCT_F ()*CT_F {_bbdd :=&CT_F {};return _bbdd };const (OfcST_ConnectorTypeUnset OfcST_ConnectorType =0;OfcST_ConnectorTypeNone OfcST_ConnectorType =1;OfcST_ConnectorTypeStraight OfcST_ConnectorType =2;OfcST_ConnectorTypeElbow OfcST_ConnectorType =3;OfcST_ConnectorTypeCurved OfcST_ConnectorType =4;);func (_ecaa *AG_OfficeShapeAttributes )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_efab :=range start .Attr {if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0073\u0070\u0074"{_acb ,_ecab :=_g .ParseFloat (_efab .Value ,64);if _ecab !=nil {return _ecab ;};_fgbd :=float32 (_acb );_ecaa .SptAttr =&_fgbd ;continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0063\u006f\u006e\u006e\u0065\u0063\u0074\u006f\u0072\u0074\u0079\u0070\u0065"{_ecaa .ConnectortypeAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0062\u0077\u006d\u006f\u0064\u0065"{_ecaa .BwmodeAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0062\u0077\u0070\u0075\u0072\u0065"{_ecaa .BwpureAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"{_ecaa .BwnormalAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0066o\u0072\u0063\u0065\u0064\u0061\u0073h"{_ecaa .ForcedashAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_ecaa .OleiconAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u006f\u006c\u0065"{_ecaa .OleAttr .UnmarshalXMLAttr (_efab );continue ;};if _efab .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_efab .Name .Local =="\u0070\u0072\u0065\u0066\u0065\u0072\u0072\u0065\u006ca\u0074\u0069\u0076\u00
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Fill and its children
func (_gfdfc *Fill )Validate ()error {return _gfdfc .ValidateWithPath ("\u0046\u0069\u006c\u006c")};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_IdMap and its children
func (_dcgaad *OfcCT_IdMap )Validate ()error {return _dcgaad .ValidateWithPath ("O\u0066\u0063\u0043\u0054\u005f\u0049\u0064\u004d\u0061\u0070");};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the AG_Ext and its children
func (_ged *AG_Ext )Validate ()error {return _ged .ValidateWithPath ("\u0041\u0047\u005f\u0045\u0078\u0074");};func (_bdada OfcST_ExtrusionRender )ValidateWithPath (path string )error {switch _bdada {case 0,1,2,3:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_bdada ));};return nil ;};const (OfcST_OLETypeUnset OfcST_OLEType =0;OfcST_OLETypeEmbed OfcST_OLEType =1;OfcST_OLETypeLink OfcST_OLEType =2;);func NewCT_TextPath ()*CT_TextPath {_dgfdf :=&CT_TextPath {};return _dgfdf };type OfcOLEObject struct{OfcCT_OLEObject };func (_abgdgd OfcST_Angle )Validate ()error {return _abgdgd .ValidateWithPath ("")};func (_aaabb *OfcCT_ShapeDefaults )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_cdgf :=range start .Attr {if _cdgf .Name .Local =="\u0073p\u0069\u0064\u006d\u0061\u0078"{_abggd ,_dcged :=_g .ParseInt (_cdgf .Value ,10,64);if _dcged !=nil {return _dcged ;};_aaabb .SpidmaxAttr =&_abggd ;continue ;};if _cdgf .Name .Local =="a\u006c\u006c\u006f\u0077\u0069\u006e\u0063\u0065\u006c\u006c"{_aaabb .AllowincellAttr .UnmarshalXMLAttr (_cdgf );continue ;};if _cdgf .Name .Local =="s\u0074\u0072\u006f\u006b\u0065\u0063\u006f\u006c\u006f\u0072"{_gedfeg ,_feefc :=_cdgf .Value ,error (nil );if _feefc !=nil {return _feefc ;};_aaabb .StrokecolorAttr =&_gedfeg ;continue ;};if _cdgf .Name .Local =="\u0073\u0074\u0072\u006f\u006b\u0065"{_aaabb .StrokeAttr .UnmarshalXMLAttr (_cdgf );continue ;};if _cdgf .Name .Local =="\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"{_fefae ,_edcgg :=_cdgf .Value ,error (nil );if _edcgg !=nil {return _edcgg ;};_aaabb .FillcolorAttr =&_fefae ;continue ;};if _cdgf .Name .Local =="\u0066\u0069\u006c\u006c"{_aaabb .FillAttr .UnmarshalXMLAttr (_cdgf );continue ;};if _cdgf .Name .Local =="\u0073\u0074\u0079l\u0065"{_geebb ,_dfgcb :=_cdgf .Value ,error (nil );if _dfgcb !=nil {return _dfgcb ;};_aaabb .StyleAttr =&_geebb ;continue ;};if _cdgf .Name .Local =="\u0065\u0078\u0074"{_aaabb .ExtAttr .UnmarshalXMLAttr (_cdgf );continue ;};};_cacfc :for {_ffdcf ,_cabda :=d .Token ();if _cabda !=nil {return _cabda ;};switch _eedgd :=_ffdcf .(type ){case _d .StartElement :switch _eedgd .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0066\u0069\u006c\u006c"}:_aaabb .Fill =NewFill ();if _bega :=d .DecodeElement (_aaabb .Fill ,&_eedgd );_bega !=nil {return _bega ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0073\u0074\u0072\u006f\u006b\u0065"}:_aaabb .Stroke =NewStroke ();if _gbcdc :=d .DecodeElement (_aaabb .Stroke ,&_eedgd );_gbcdc !=nil {return _gbcdc ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0074e\u0078\u0074\u0062\u006f\u0078"}:_aaabb .Textbox =NewTextbox ();if _egad :=d .DecodeElement (_aaabb .Textbox ,&_eedgd );_egad !=nil {return _egad ;};case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c",Local :"\u0073\u0068\u0061\u0064\u006f\u0077"}:_aaabb .Shadow =NewShadow ();if _fdcae :=d .DecodeElement (_aaabb .Shadow ,&_eedgd );_fdcae !=nil {return _fdcae ;};case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065",Local :"\u0073\u006b\u0065\u0077"}:_aaabb .Skew =NewOfcSkew ();if _geccd :=d .DecodeElement (_aaabb .Skew ,&_eedgd );_geccd !=nil {return _geccd ;};case _d .Name {Space :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the OfcShapedefaults and its children, prefixing error messages with path
func (_ebfc *OfcShapedefaults )ValidateWithPath (path string )error {if _cedda :=_ebfc .OfcCT_ShapeDefaults .ValidateWithPath (path );_cedda !=nil {return _cedda ;};return nil ;};func (_gdcdaa *OfcST_HrAlign )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_abee ,_bbbfbf :=d .Token ();if _bbbfbf !=nil {return _bbbfbf ;};if _fgbef ,_befcc :=_abee .(_d .EndElement );_befcc &&_fgbef .Name ==start .Name {*_gdcdaa =1;return nil ;};if _ebbaa ,_abafc :=_abee .(_d .CharData );!_abafc {return _c .Errorf ("\u0065\u0078\u0070\u0065\u0063\u0074\u0065\u0064\u0020\u0063\u0068a\u0072\u0020\u0064\u0061\u0074\u0061\u002c\u0020\u0067\u006ft\u0020\u0025\u0054",_abee );}else {switch string (_ebbaa ){case "":*_gdcdaa =0;case "\u006c\u0065\u0066\u0074":*_gdcdaa =1;case "\u0072\u0069\u0067h\u0074":*_gdcdaa =2;case "\u0063\u0065\u006e\u0074\u0065\u0072":*_gdcdaa =3;};};_abee ,_bbbfbf =d .Token ();if _bbbfbf !=nil {return _bbbfbf ;};if _fcdf ,_fccaae :=_abee .(_d .EndElement );_fccaae &&_fcdf .Name ==start .Name {return nil ;};return _c .Errorf ("\u0065\u0078\u0070\u0065c\u0074\u0065\u0064\u0020\u0065\u006e\u0064\u0020\u0065\u006ce\u006de\u006e\u0074\u002c\u0020\u0067\u006f\u0074 \u0025\u0076",_abee );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCT_Relation and its children
func (_cebcb *OfcCT_Relation )Validate ()error {return _cebcb .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0054\u005f\u0052\u0065\u006ca\u0074\u0069\u006f\u006e");};type Textbox struct{CT_Textbox };func (_aebda *OfcColumn )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u006f"},Value :"\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0072"},Value :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0073\u0063\u0068\u0065\u006da\u0073\u002e\u006f\u0070\u0065\u006ex\u006d\u006c\u0066\u006f\u0072m\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069c\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002fr\u0065\u006c\u0061\u0074\u0069\u006f\u006e\u0073h\u0069\u0070\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0073"},Value :"\u0068\u0074\u0074\u0070\u003a/\u002f\u0073\u0063\u0068\u0065m\u0061s\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067/\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0073\u0068\u0061\u0072e\u0064\u0054\u0079\u0070\u0065\u0073"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0076"},Value :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:v\u006d\u006c"});start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0078m\u006c\u006e\u0073\u003a\u0078\u006dl"},Value :"\u0068\u0074tp\u003a\u002f\u002fw\u0077\u0077\u002e\u00773.o\u0072g/\u0058\u004d\u004c\u002f\u0031\u0039\u00398/\u006e\u0061\u006d\u0065\u0073\u0070\u0061c\u0065"});start .Name .Local ="\u006f\u003a\u0063\u006f\u006c\u0075\u006d\u006e";return _aebda .OfcCT_StrokeChild .MarshalXML (e ,start );};
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// ValidateWithPath validates the Roundrect and its children, prefixing error messages with path
func (_cbaaf *Roundrect )ValidateWithPath (path string )error {if _bgcbba :=_cbaaf .CT_RoundRect .ValidateWithPath (path );_bgcbba !=nil {return _bgcbba ;};return nil ;};func (_acfg *CT_Oval )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_aceacg :=range start .Attr {if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0062\u006f\u0072\u0064\u0065\u0072\u0074\u006f\u0070c\u006f\u006c\u006f\u0072"{_dafb ,_fcaaf :=_aceacg .Value ,error (nil );if _fcaaf !=nil {return _fcaaf ;};_acfg .BordertopcolorAttr =&_dafb ;continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0062\u0075\u006c\u006c\u0065\u0074"{_acfg .BulletAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0068\u0072"{_acfg .HrAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0063\u006c\u0069\u0070\u0074\u006f\u0077\u0072\u0061\u0070"{_acfg .CliptowrapAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0068\u0072\u0073t\u0064"{_acfg .HrstdAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u006f\u006c\u0065"{_acfg .OleAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0068r\u006e\u006f\u0073\u0068\u0061\u0064e"{_acfg .HrnoshadeAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u006f\u006e\u0065\u0064"{_acfg .OnedAttr .UnmarshalXMLAttr (_aceacg );continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u0068\u0072\u0070c\u0074"{_dbgbc ,_gcbfd :=_g .ParseFloat (_aceacg .Value ,64);if _gcbfd !=nil {return _gcbfd ;};_gfffg :=float32 (_dbgbc );_acfg .HrpctAttr =&_gfffg ;continue ;};if _aceacg .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_aceacg .Name .Local =="\u006fl\u0065\u0069\u0063\u006f\u006e"{_acfg .
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Arc and its children
func (_gafad *Arc )Validate ()error {return _gafad .ValidateWithPath ("\u0041\u0072\u0063")};type CT_Rect struct{EG_ShapeElements []*EG_ShapeElements ;HrefAttr *string ;TargetAttr *string ;ClassAttr *string ;TitleAttr *string ;AltAttr *string ;CoordsizeAttr *string ;CoordoriginAttr *string ;WrapcoordsAttr *string ;PrintAttr _ec .ST_TrueFalse ;IdAttr *string ;StyleAttr *string ;SpidAttr *string ;OnedAttr _ec .ST_TrueFalse ;RegroupidAttr *int64 ;DoubleclicknotifyAttr _ec .ST_TrueFalse ;ButtonAttr _ec .ST_TrueFalse ;UserhiddenAttr _ec .ST_TrueFalse ;BulletAttr _ec .ST_TrueFalse ;HrAttr _ec .ST_TrueFalse ;HrstdAttr _ec .ST_TrueFalse ;HrnoshadeAttr _ec .ST_TrueFalse ;HrpctAttr *float32 ;HralignAttr OfcST_HrAlign ;AllowincellAttr _ec .ST_TrueFalse ;AllowoverlapAttr _ec .ST_TrueFalse ;UserdrawnAttr _ec .ST_TrueFalse ;BordertopcolorAttr *string ;BorderleftcolorAttr *string ;BorderbottomcolorAttr *string ;BorderrightcolorAttr *string ;DgmlayoutAttr OfcST_DiagramLayout ;DgmnodekindAttr *int64 ;DgmlayoutmruAttr OfcST_DiagramLayout ;InsetmodeAttr OfcST_InsetMode ;OpacityAttr *string ;StrokedAttr _ec .ST_TrueFalse ;StrokecolorAttr *string ;StrokeweightAttr *string ;InsetpenAttr _ec .ST_TrueFalse ;ChromakeyAttr *string ;FilledAttr _ec .ST_TrueFalse ;FillcolorAttr *string ;SptAttr *float32 ;ConnectortypeAttr OfcST_ConnectorType ;BwmodeAttr OfcST_BWMode ;BwpureAttr OfcST_BWMode ;BwnormalAttr OfcST_BWMode ;ForcedashAttr _ec .ST_TrueFalse ;OleiconAttr _ec .ST_TrueFalse ;OleAttr _ec .ST_TrueFalseBlank ;PreferrelativeAttr _ec .ST_TrueFalse ;CliptowrapAttr _ec .ST_TrueFalse ;ClipAttr _ec .ST_TrueFalse ;};func (_ebfg *Background )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {_ebfg .CT_Background =*NewCT_Background ();for _ ,_eacbf :=range start .Attr {if _eacbf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eacbf .Name .Local =="\u0062\u0077\u006d\u006f\u0064\u0065"{_ebfg .BwmodeAttr .UnmarshalXMLAttr (_eacbf );continue ;};if _eacbf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eacbf .Name .Local =="\u0062\u0077\u0070\u0075\u0072\u0065"{_ebfg .BwpureAttr .UnmarshalXMLAttr (_eacbf );continue ;};if _eacbf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eacbf .Name .Local =="\u0062\u0077\u006e\u006f\u0072\u006d\u0061\u006c"{_ebfg .BwnormalAttr .UnmarshalXMLAttr (_eacbf );continue ;};if _eacbf .Name .Space =="\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065"&&_eacbf .Name .Local =="\u0074\u0061r\u0067\u0065\u0074s\u0063\u0072\u0065\u0065\u006e\u0073\u0069\u007a\u0065"{_ebfg .TargetscreensizeAttr .UnmarshalXMLAttr (_eacbf );continue ;};if _eacbf .Name .Local =="\u0069\u0064"{_cdfcg ,_bgca :=_eacbf .Value ,error (nil );if _bgca !=nil {return _bgca ;};_ebfg .IdAttr =&_cdfcg ;continue ;};if _eacbf .Name .Local =="\u0066\u0069\u006c\u006c\u0065\u0064"{_ebfg .FilledAttr .UnmarshalXMLAttr (_eacbf );continue ;};if _eacbf .Name .Local =="\u0066i\u006c\u006c\u0063\u006f\u006c\u006fr"{_edea ,_ccec :=_eacbf .Value ,error (nil );if _ccec !=nil {return _ccec ;};_ebfg .FillcolorAttr =&_edea ;continue ;};};_eedb :for {_gbdg ,_eegc :=d .Token ();if _eegc !=nil {return _eegc ;};switch _cbac :=_gbdg .(type ){case _d .StartElement :switch _cbac .Name {case _d .Name {Space :"\u0075\u0072n\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006d\u0069\u0063\u0072\u006f\u0073\u006f\u0066\u0074\u002d\u0063\u006f\u006d:
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the Imagedata and its children
func (_agcbc *Imagedata )Validate ()error {return _agcbc .ValidateWithPath ("\u0049m\u0061\u0067\u0065\u0064\u0061\u0074a");};func (_edeaf OfcST_ScreenSize )ValidateWithPath (path string )error {switch _edeaf {case 0,1,2,3,4,5,6:default:return _c .Errorf ("\u0025s\u003a\u0020\u006f\u0075t\u0020\u006f\u0066\u0020\u0072a\u006eg\u0065 \u0076\u0061\u006c\u0075\u0065\u0020\u0025d",path ,int (_edeaf ));};return nil ;};func NewOfcCT_Proxy ()*OfcCT_Proxy {_adaea :=&OfcCT_Proxy {};return _adaea };func (_gcfgf *Image )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {return _gcfgf .CT_Image .MarshalXML (e ,start );};func NewOfcCT_SignatureLine ()*OfcCT_SignatureLine {_afdea :=&OfcCT_SignatureLine {};return _afdea };func (_bddeba ST_FillMethod )Validate ()error {return _bddeba .ValidateWithPath ("")};func (_cagae OfcST_ConnectType )Validate ()error {return _cagae .ValidateWithPath ("")};func (_ebeeb *OfcST_RType )UnmarshalXMLAttr (attr _d .Attr )error {switch attr .Value {case "":*_ebeeb =0;case "\u0061\u0072\u0063":*_ebeeb =1;case "\u0063a\u006c\u006c\u006f\u0075\u0074":*_ebeeb =2;case "\u0063o\u006e\u006e\u0065\u0063\u0074\u006fr":*_ebeeb =3;case "\u0061\u006c\u0069g\u006e":*_ebeeb =4;};return nil ;};func (_ddacfe OfcST_How )MarshalXMLAttr (name _d .Name )(_d .Attr ,error ){_gfacbg :=_d .Attr {};_gfacbg .Name =name ;switch _ddacfe {case OfcST_HowUnset :_gfacbg .Value ="";case OfcST_HowTop :_gfacbg .Value ="\u0074\u006f\u0070";case OfcST_HowMiddle :_gfacbg .Value ="\u006d\u0069\u0064\u0064\u006c\u0065";case OfcST_HowBottom :_gfacbg .Value ="\u0062\u006f\u0074\u0074\u006f\u006d";case OfcST_HowLeft :_gfacbg .Value ="\u006c\u0065\u0066\u0074";case OfcST_HowCenter :_gfacbg .Value ="\u0063\u0065\u006e\u0074\u0065\u0072";case OfcST_HowRight :_gfacbg .Value ="\u0072\u0069\u0067h\u0074";};return _gfacbg ,nil ;};func (_fcbg *OfcCT_Fill )UnmarshalXML (d *_d .Decoder ,start _d .StartElement )error {for _ ,_effbc :=range start .Attr {if _effbc .Name .Local =="\u0074\u0079\u0070\u0065"{_fcbg .TypeAttr .UnmarshalXMLAttr (_effbc );continue ;};if _effbc .Name .Local =="\u0065\u0078\u0074"{_fcbg .ExtAttr .UnmarshalXMLAttr (_effbc );continue ;};};for {_acefb ,_adfbe :=d .Token ();if _adfbe !=nil {return _c .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u004f\u0066\u0063\u0043\u0054\u005f\u0046\u0069\u006c\u006c\u003a\u0020%\u0073",_adfbe );};if _fggf ,_aefbag :=_acefb .(_d .EndElement );_aefbag &&_fggf .Name ==start .Name {break ;};};return nil ;};func (_bcdcc OfcST_RType )Validate ()error {return _bcdcc .ValidateWithPath ("")};func (_gedaa *OfcCT_SignatureLine )MarshalXML (e *_d .Encoder ,start _d .StartElement )error {if _gedaa .IssignaturelineAttr !=_ec .ST_TrueFalseUnset {_gcdbd ,_eecac :=_gedaa .IssignaturelineAttr .MarshalXMLAttr (_d .Name {Local :"\u0069s\u0073i\u0067\u006e\u0061\u0074\u0075\u0072\u0065\u006c\u0069\u006e\u0065"});if _eecac !=nil {return _eecac ;};start .Attr =append (start .Attr ,_gcdbd );};if _gedaa .IdAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_gedaa .IdAttr )});};if _gedaa .ProvidAttr !=nil {start .Attr =append (start .Attr ,_d .Attr {Name :_d .Name {Local :"\u0070\u0072\u006f\u0076\u0069\u0064"},Value :_c .Sprintf ("\u0025\u0076",*_gedaa .ProvidAttr )});};if _gedaa .SigninginstructionssetAttr !=_ec .ST_TrueFalseUnset {_abag ,_cbadg :=_gedaa .SigninginstructionssetAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u0069\u0067\u006ein\u0067\u0069\u006e\u0073\u0074\u0072\u0075\u0063\u0074\u0069\u006f\u006e\u0073\u0073e\u0074"});if _cbadg !=nil {return _cbadg ;};start .Attr =append (start .Attr ,_abag );};if _gedaa .AllowcommentsAttr !=_ec .ST_TrueFalseUnset {_bbbad ,_caaca :=_gedaa .AllowcommentsAttr .MarshalXMLAttr (_d .Name {Local :"\u0061\u006c\u006c\u006f\u0077\u0063\u006f\u006d\u006d\u0065\u006e\u0074\u0073"});if _caaca !=nil {return _caaca ;};start .Attr =append (start .Attr ,_bbbad );};if _gedaa .ShowsigndateAttr !=_ec .ST_TrueFalseUnset {_fbagc ,_ecfeg :=_gedaa .ShowsigndateAttr .MarshalXMLAttr (_d .Name {Local :"\u0073\u
2020-08-23 14:15:53 +00:00
2020-10-12 13:59:12 +00:00
// Validate validates the OfcCallout and its children
func (_aafgg *OfcCallout )Validate ()error {return _aafgg .ValidateWithPath ("\u004f\u0066\u0063\u0043\u0061\u006c\u006c\u006f\u0075\u0074");};func init (){_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054_\u0053\u0068\u0061p\u0065\u0044\u0065\u0066\u0061\u0075\u006c\u0074\u0073",NewOfcCT_ShapeDefaults );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0049\u006e\u006b",NewOfcCT_Ink );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054_\u0053\u0069\u0067n\u0061\u0074\u0075\u0072\u0065\u004c\u0069\u006e\u0065",NewOfcCT_SignatureLine );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0053\u0068\u0061\u0070\u0065\u004ca\u0079\u006f\u0075\u0074",NewOfcCT_ShapeLayout );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0049\u0064\u004d\u0061\u0070",NewOfcCT_IdMap );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043T\u005fR\u0065\u0067\u0072\u006f\u0075\u0070\u0054\u0061\u0062\u006c\u0065",NewOfcCT_RegroupTable );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0045\u006e\u0074\u0072\u0079",NewOfcCT_Entry );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0052\u0075\u006c\u0065\u0073",NewOfcCT_Rules );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0052",NewOfcCT_R );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0050\u0072\u006f\u0078\u0079",NewOfcCT_Proxy );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0044\u0069\u0061\u0067\u0072\u0061\u006d",NewOfcCT_Diagram );_a .RegisterConstructor ("\u0075\u0072\u006e\u003a\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002d\u006di\u0063\u0072\u006f\u0073\u006f\u0066t\u002d\u0063\u006f\u006d\u003a\u006f\u0066\u0066\u0069\u0063\u0065\u003a\u006ff\u0066\u0069\u0063\u0065","\u0043\u0054\u005f\u0045\u0071\u0075\u0061\u0074\u0069o\u006e\u0058\u006d\u006c",NewOf