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/
|
|
|
|
|
2021-09-22 16:41:01 +00:00
|
|
|
package extended_properties ;import (_g "encoding/xml";_a "github.com/unidoc/unioffice";_af "github.com/unidoc/unioffice/schema/soo/ofc/docPropsVTypes";);
|
2021-08-23 20:44:48 +00:00
|
|
|
|
2021-09-22 16:41:01 +00:00
|
|
|
// Validate validates the CT_VectorVariant and its children
|
|
|
|
func (_aca *CT_VectorVariant )Validate ()error {return _aca .ValidateWithPath ("\u0043\u0054_\u0056\u0065\u0063t\u006f\u0072\u0056\u0061\u0072\u0069\u0061\u006e\u0074");};type Properties struct{CT_Properties };type CT_Properties struct{
|
2020-08-23 14:15:53 +00:00
|
|
|
|
|
|
|
// Name of Document Template
|
|
|
|
Template *string ;
|
|
|
|
|
|
|
|
// Name of Manager
|
|
|
|
Manager *string ;
|
|
|
|
|
|
|
|
// Name of Company
|
|
|
|
Company *string ;
|
|
|
|
|
|
|
|
// Total Number of Pages
|
|
|
|
Pages *int32 ;
|
|
|
|
|
|
|
|
// Word Count
|
|
|
|
Words *int32 ;
|
|
|
|
|
|
|
|
// Total Number of Characters
|
|
|
|
Characters *int32 ;
|
|
|
|
|
|
|
|
// Intended Format of Presentation
|
|
|
|
PresentationFormat *string ;
|
|
|
|
|
|
|
|
// Number of Lines
|
|
|
|
Lines *int32 ;
|
|
|
|
|
|
|
|
// Total Number of Paragraphs
|
|
|
|
Paragraphs *int32 ;
|
|
|
|
|
|
|
|
// Slides Metadata Element
|
|
|
|
Slides *int32 ;
|
|
|
|
|
|
|
|
// Number of Slides Containing Notes
|
|
|
|
Notes *int32 ;
|
|
|
|
|
|
|
|
// Total Edit Time Metadata Element
|
|
|
|
TotalTime *int32 ;
|
|
|
|
|
|
|
|
// Number of Hidden Slides
|
|
|
|
HiddenSlides *int32 ;
|
|
|
|
|
|
|
|
// Total Number of Multimedia Clips
|
|
|
|
MMClips *int32 ;
|
|
|
|
|
|
|
|
// Thumbnail Display Mode
|
|
|
|
ScaleCrop *bool ;
|
|
|
|
|
|
|
|
// Heading Pairs
|
|
|
|
HeadingPairs *CT_VectorVariant ;
|
|
|
|
|
|
|
|
// Part Titles
|
|
|
|
TitlesOfParts *CT_VectorLpstr ;
|
|
|
|
|
|
|
|
// Links Up-to-Date
|
|
|
|
LinksUpToDate *bool ;
|
|
|
|
|
|
|
|
// Number of Characters (With Spaces)
|
|
|
|
CharactersWithSpaces *int32 ;
|
|
|
|
|
|
|
|
// Shared Document
|
|
|
|
SharedDoc *bool ;
|
|
|
|
|
|
|
|
// Relative Hyperlink Base
|
|
|
|
HyperlinkBase *string ;
|
|
|
|
|
|
|
|
// Hyperlink List
|
|
|
|
HLinks *CT_VectorVariant ;
|
|
|
|
|
|
|
|
// Hyperlinks Changed
|
|
|
|
HyperlinksChanged *bool ;
|
|
|
|
|
|
|
|
// Digital Signature
|
|
|
|
DigSig *CT_DigSigBlob ;
|
|
|
|
|
|
|
|
// Application Name
|
|
|
|
Application *string ;
|
|
|
|
|
|
|
|
// Application Version
|
|
|
|
AppVersion *string ;
|
|
|
|
|
|
|
|
// Document Security
|
2021-09-22 16:41:01 +00:00
|
|
|
DocSecurity *int32 ;};
|
|
|
|
|
|
|
|
// Validate validates the CT_DigSigBlob and its children
|
|
|
|
func (_c *CT_DigSigBlob )Validate ()error {return _c .ValidateWithPath ("\u0043\u0054\u005f\u0044\u0069\u0067\u0053\u0069\u0067\u0042\u006c\u006f\u0062");};func (_adef *CT_VectorVariant )MarshalXML (e *_g .Encoder ,start _g .StartElement )error {e .EncodeToken (start );_ebf :=_g .StartElement {Name :_g .Name {Local :"\u0076t\u003a\u0076\u0065\u0063\u0074\u006fr"}};e .EncodeElement (_adef .Vector ,_ebf );e .EncodeToken (_g .EndElement {Name :start .Name });return nil ;};type CT_VectorVariant struct{Vector *_af .Vector ;};
|
|
|
|
|
|
|
|
// ValidateWithPath validates the Properties and its children, prefixing error messages with path
|
|
|
|
func (_dace *Properties )ValidateWithPath (path string )error {if _gbb :=_dace .CT_Properties .ValidateWithPath (path );_gbb !=nil {return _gbb ;};return nil ;};func NewCT_Properties ()*CT_Properties {_cg :=&CT_Properties {};return _cg };func NewProperties ()*Properties {_ddg :=&Properties {};_ddg .CT_Properties =*NewCT_Properties ();return _ddg ;};func (_ac *CT_Properties )MarshalXML (e *_g .Encoder ,start _g .StartElement )error {e .EncodeToken (start );if _ac .Template !=nil {_fg :=_g .StartElement {Name :_g .Name {Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"}};_a .AddPreserveSpaceAttr (&_fg ,*_ac .Template );e .EncodeElement (_ac .Template ,_fg );};if _ac .Manager !=nil {_dc :=_g .StartElement {Name :_g .Name {Local :"\u004da\u006e\u0061\u0067\u0065\u0072"}};_a .AddPreserveSpaceAttr (&_dc ,*_ac .Manager );e .EncodeElement (_ac .Manager ,_dc );};if _ac .Company !=nil {_bb :=_g .StartElement {Name :_g .Name {Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"}};_a .AddPreserveSpaceAttr (&_bb ,*_ac .Company );e .EncodeElement (_ac .Company ,_bb );};if _ac .Pages !=nil {_ace :=_g .StartElement {Name :_g .Name {Local :"\u0050\u0061\u0067e\u0073"}};e .EncodeElement (_ac .Pages ,_ace );};if _ac .Words !=nil {_ada :=_g .StartElement {Name :_g .Name {Local :"\u0057\u006f\u0072d\u0073"}};e .EncodeElement (_ac .Words ,_ada );};if _ac .Characters !=nil {_bcf :=_g .StartElement {Name :_g .Name {Local :"\u0043\u0068\u0061\u0072\u0061\u0063\u0074\u0065\u0072\u0073"}};e .EncodeElement (_ac .Characters ,_bcf );};if _ac .PresentationFormat !=nil {_ca :=_g .StartElement {Name :_g .Name {Local :"\u0050r\u0065s\u0065\u006e\u0074\u0061\u0074i\u006f\u006eF\u006f\u0072\u006d\u0061\u0074"}};_a .AddPreserveSpaceAttr (&_ca ,*_ac .PresentationFormat );e .EncodeElement (_ac .PresentationFormat ,_ca );};if _ac .Lines !=nil {_ddc :=_g .StartElement {Name :_g .Name {Local :"\u004c\u0069\u006ee\u0073"}};e .EncodeElement (_ac .Lines ,_ddc );};if _ac .Paragraphs !=nil {_ed :=_g .StartElement {Name :_g .Name {Local :"\u0050\u0061\u0072\u0061\u0067\u0072\u0061\u0070\u0068\u0073"}};e .EncodeElement (_ac .Paragraphs ,_ed );};if _ac .Slides !=nil {_bca :=_g .StartElement {Name :_g .Name {Local :"\u0053\u006c\u0069\u0064\u0065\u0073"}};e .EncodeElement (_ac .Slides ,_bca );};if _ac .Notes !=nil {_ef :=_g .StartElement {Name :_g .Name {Local :"\u004e\u006f\u0074e\u0073"}};e .EncodeElement (_ac .Notes ,_ef );};if _ac .TotalTime !=nil {_cc :=_g .StartElement {Name :_g .Name {Local :"\u0054o\u0074\u0061\u006c\u0054\u0069\u006de"}};e .EncodeElement (_ac .TotalTime ,_cc );};if _ac .HiddenSlides !=nil {_dg :=_g .StartElement {Name :_g .Name {Local :"\u0048\u0069\u0064d\u0065\u006e\u0053\u006c\u0069\u0064\u0065\u0073"}};e .EncodeElement (_ac .HiddenSlides ,_dg );};if _ac .MMClips !=nil {_de :=_g .StartElement {Name :_g .Name {Local :"\u004dM\u0043\u006c\u0069\u0070\u0073"}};e .EncodeElement (_ac .MMClips ,_de );};if _ac .ScaleCrop !=nil {_afa :=_g .StartElement {Name :_g .Name {Local :"\u0053c\u0061\u006c\u0065\u0043\u0072\u006fp"}};e .EncodeElement (_ac .ScaleCrop ,_afa );};if _ac .HeadingPairs !=nil {_edd :=_g .StartElement {Name :_g .Name {Local :"\u0048\u0065\u0061d\u0069\u006e\u0067\u0050\u0061\u0069\u0072\u0073"}};e .EncodeElement (_ac .HeadingPairs ,_edd );};if _ac .TitlesOfParts !=nil {_bde :=_g .StartElement {Name :_g .Name {Local :"\u0054\u0069\u0074\u006c\u0065\u0073\u004f\u0066\u0050\u0061\u0072\u0074\u0073"}};e .EncodeElement (_ac .TitlesOfParts ,_bde );};if _ac .LinksUpToDate !=nil {_cb :=_g .StartElement {Name :_g .Name {Local :"\u004c\u0069\u006e\u006b\u0073\u0055\u0070\u0054\u006f\u0044\u0061\u0074\u0065"}};e .EncodeElement (_ac .LinksUpToDate ,_cb );};if _ac .CharactersWithSpaces !=nil {_eff :=_g .StartElement {Name :_g .Name {Local :"C\u0068a\u0072\u0061\u0063\u0074\u0065\u0072\u0073\u0057i\u0074\u0068\u0053\u0070ac\u0065\u0073"}};e .EncodeElement (_ac .CharactersWithSpaces ,_eff );};if _ac .SharedDoc !=nil {_aa :=_g .StartElement {Name :_g .Name {Local :"\u0053h\u0061\u0072\u0065\u0064\u0044\u006fc"}};e .EncodeElement (_ac .SharedDoc ,_
|
|
|
|
|
|
|
|
// Validate validates the CT_VectorLpstr and its children
|
|
|
|
func (_fdf *CT_VectorLpstr )Validate ()error {return _fdf .ValidateWithPath ("\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072L\u0070\u0073\u0074\u0072");};func (_age *CT_VectorVariant )UnmarshalXML (d *_g .Decoder ,start _g .StartElement )error {_age .Vector =_af .NewVector ();_bcb :for {_ddaa ,_aadg :=d .Token ();if _aadg !=nil {return _aadg ;};switch _adce :=_ddaa .(type ){case _g .StartElement :switch _adce .Name {case _g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006fc\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0064\u006f\u0063P\u0072\u006f\u0070s\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0076\u0065\u0063\u0074\u006f\u0072"},_g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0070\u0075\u0072l\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006dl\u002f\u006f\u0066\u0066\u0069ce\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0064\u006f\u0063\u0050\u0072\u006f\u0070\u0073\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0076\u0065\u0063\u0074\u006f\u0072"}:if _fc :=d .DecodeElement (_age .Vector ,&_adce );_fc !=nil {return _fc ;};default:_a .Log ("\u0073\u006b\u0069\u0070\u0070i\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065d\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072\u0056\u0061\u0072\u0069\u0061\u006e\u0074\u0020\u0025v",_adce .Name );if _caeg :=d .Skip ();_caeg !=nil {return _caeg ;};};case _g .EndElement :break _bcb ;case _g .CharData :};};return nil ;};func (_bc *CT_DigSigBlob )MarshalXML (e *_g .Encoder ,start _g .StartElement )error {e .EncodeToken (start );_d :=_g .StartElement {Name :_g .Name {Local :"\u0076t\u003a\u0062\u006c\u006f\u0062"}};_a .AddPreserveSpaceAttr (&_d ,_bc .Blob );e .EncodeElement (_bc .Blob ,_d );e .EncodeToken (_g .EndElement {Name :start .Name });return nil ;};
|
2021-07-30 17:03:26 +00:00
|
|
|
|
2021-08-23 20:44:48 +00:00
|
|
|
// ValidateWithPath validates the CT_DigSigBlob and its children, prefixing error messages with path
|
2021-09-22 16:41:01 +00:00
|
|
|
func (_bd *CT_DigSigBlob )ValidateWithPath (path string )error {return nil };func (_ee *CT_VectorLpstr )MarshalXML (e *_g .Encoder ,start _g .StartElement )error {e .EncodeToken (start );_gef :=_g .StartElement {Name :_g .Name {Local :"\u0076t\u003a\u0076\u0065\u0063\u0074\u006fr"}};e .EncodeElement (_ee .Vector ,_gef );e .EncodeToken (_g .EndElement {Name :start .Name });return nil ;};type CT_DigSigBlob struct{Blob string ;};
|
2021-04-23 20:00:00 +00:00
|
|
|
|
2021-08-23 20:44:48 +00:00
|
|
|
// ValidateWithPath validates the CT_VectorLpstr and its children, prefixing error messages with path
|
2021-09-22 16:41:01 +00:00
|
|
|
func (_ggbf *CT_VectorLpstr )ValidateWithPath (path string )error {if _ec :=_ggbf .Vector .ValidateWithPath (path +"\u002fV\u0065\u0063\u0074\u006f\u0072");_ec !=nil {return _ec ;};return nil ;};func (_ga *CT_Properties )UnmarshalXML (d *_g .Decoder ,start _g .StartElement )error {_da :for {_ff ,_cf :=d .Token ();if _cf !=nil {return _cf ;};switch _cad :=_ff .(type ){case _g .StartElement :switch _cad .Name {case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"}:_ga .Template =new (string );if _agc :=d .DecodeElement (_ga .Template ,&_cad );_agc !=nil {return _agc ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u004da\u006e\u0061\u0067\u0065\u0072"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u004da\u006e\u0061\u0067\u0065\u0072"}:_ga .Manager =new (string );if _cae :=d .DecodeElement (_ga .Manager ,&_cad );_cae !=nil {return _cae ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"}:_ga .Company =new (string );if _gd :=d .DecodeElement (_ga .Company ,&_cad );_gd !=nil {return _gd ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0050\u0061\u0067e\u0073"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f
|
2021-04-23 20:00:00 +00:00
|
|
|
|
2021-08-23 20:44:48 +00:00
|
|
|
// Validate validates the Properties and its children
|
2021-09-22 16:41:01 +00:00
|
|
|
func (_ebb *Properties )Validate ()error {return _ebb .ValidateWithPath ("\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073");};func (_bab *Properties )UnmarshalXML (d *_g .Decoder ,start _g .StartElement )error {_bab .CT_Properties =*NewCT_Properties ();_dacc :for {_bcbd ,_fgd :=d .Token ();if _fgd !=nil {return _fgd ;};switch _cgd :=_bcbd .(type ){case _g .StartElement :switch _cgd .Name {case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"}:_bab .Template =new (string );if _egg :=d .DecodeElement (_bab .Template ,&_cgd );_egg !=nil {return _egg ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u004da\u006e\u0061\u0067\u0065\u0072"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u004da\u006e\u0061\u0067\u0065\u0072"}:_bab .Manager =new (string );if _bga :=d .DecodeElement (_bab .Manager ,&_cgd );_bga !=nil {return _bga ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\u006f\u0070e\u0072t\u0069\u0065s",Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"}:_bab .Company =new (string );if _agbd :=d .DecodeElement (_bab .Company ,&_cgd );_agbd !=nil {return _agbd ;};case _g .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073",Local :"\u0050\u0061\u0067e\u0073"},_g .Name {Space :"ht\u0074\u0070:\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006d\u006c\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0065x\u0074e\u006e\u0064\u0065\u0064\u0050\u0072\
|
2021-04-23 20:00:00 +00:00
|
|
|
|
2021-09-22 16:41:01 +00:00
|
|
|
// Validate validates the CT_Properties and its children
|
|
|
|
func (_bbcg *CT_Properties )Validate ()error {return _bbcg .ValidateWithPath ("\u0043\u0054\u005f\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073");};func (_eea *CT_VectorLpstr )UnmarshalXML (d *_g .Decoder ,start _g .StartElement )error {_eea .Vector =_af .NewVector ();_adee :for {_gea ,_feb :=d .Token ();if _feb !=nil {return _feb ;};switch _eg :=_gea .(type ){case _g .StartElement :switch _eg .Name {case _g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006fc\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0064\u006f\u0063P\u0072\u006f\u0070s\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0076\u0065\u0063\u0074\u006f\u0072"},_g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0070\u0075\u0072l\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006dl\u002f\u006f\u0066\u0066\u0069ce\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0064\u006f\u0063\u0050\u0072\u006f\u0070\u0073\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0076\u0065\u0063\u0074\u006f\u0072"}:if _fd :=d .DecodeElement (_eea .Vector ,&_eg );_fd !=nil {return _fd ;};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\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072\u004cp\u0073t\u0072\u0020\u0025\u0076",_eg .Name );if _eeae :=d .Skip ();_eeae !=nil {return _eeae ;};};case _g .EndElement :break _adee ;case _g .CharData :};};return nil ;};
|
2021-04-23 20:00:00 +00:00
|
|
|
|
2021-06-16 07:10:52 +00:00
|
|
|
// ValidateWithPath validates the CT_Properties and its children, prefixing error messages with path
|
2021-09-22 16:41:01 +00:00
|
|
|
func (_ce *CT_Properties )ValidateWithPath (path string )error {if _ce .HeadingPairs !=nil {if _afg :=_ce .HeadingPairs .ValidateWithPath (path +"\u002f\u0048\u0065\u0061\u0064\u0069\u006e\u0067\u0050\u0061\u0069\u0072\u0073");_afg !=nil {return _afg ;};};if _ce .TitlesOfParts !=nil {if _be :=_ce .TitlesOfParts .ValidateWithPath (path +"\u002f\u0054\u0069\u0074\u006c\u0065\u0073\u004f\u0066P\u0061\u0072\u0074\u0073");_be !=nil {return _be ;};};if _ce .HLinks !=nil {if _ggb :=_ce .HLinks .ValidateWithPath (path +"\u002fH\u004c\u0069\u006e\u006b\u0073");_ggb !=nil {return _ggb ;};};if _ce .DigSig !=nil {if _db :=_ce .DigSig .ValidateWithPath (path +"\u002fD\u0069\u0067\u0053\u0069\u0067");_db !=nil {return _db ;};};return nil ;};
|
2021-04-23 20:00:00 +00:00
|
|
|
|
2021-09-22 16:41:01 +00:00
|
|
|
// ValidateWithPath validates the CT_VectorVariant and its children, prefixing error messages with path
|
|
|
|
func (_dag *CT_VectorVariant )ValidateWithPath (path string )error {if _acg :=_dag .Vector .ValidateWithPath (path +"\u002fV\u0065\u0063\u0074\u006f\u0072");_acg !=nil {return _acg ;};return nil ;};func (_gg *CT_DigSigBlob )UnmarshalXML (d *_g .Decoder ,start _g .StartElement )error {_ag :for {_fe ,_e :=d .Token ();if _e !=nil {return _e ;};switch _ad :=_fe .(type ){case _g .StartElement :switch _ad .Name {case _g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006fc\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0064\u006f\u0063P\u0072\u006f\u0070s\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0062\u006c\u006f\u0062"},_g .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f/\u0070\u0075\u0072l\u002e\u006f\u0063l\u0063\u002e\u006f\u0072\u0067\u002f\u006f\u006f\u0078\u006dl\u002f\u006f\u0066\u0066\u0069ce\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0064\u006f\u0063\u0050\u0072\u006f\u0070\u0073\u0056\u0054\u0079\u0070\u0065\u0073",Local :"\u0062\u006c\u006f\u0062"}:if _dd :=d .DecodeElement (&_gg .Blob ,&_ad );_dd !=nil {return _dd ;};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\u0044i\u0067\u0053\u0069\u0067\u0042\u006c\u006f\u0062 \u0025\u0076",_ad .Name );if _df :=d .Skip ();_df !=nil {return _df ;};};case _g .EndElement :break _ag ;case _g .CharData :};};return nil ;};func NewCT_VectorVariant ()*CT_VectorVariant {_bge :=&CT_VectorVariant {};_bge .Vector =_af .NewVector ();return _bge ;};func init (){_a .RegisterConstructor ("\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073","\u0043\u0054\u005f\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073",NewCT_Properties );_a .RegisterConstructor ("\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073","\u0043\u0054_\u0056\u0065\u0063t\u006f\u0072\u0056\u0061\u0072\u0069\u0061\u006e\u0074",NewCT_VectorVariant );_a .RegisterConstructor ("\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073","\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072L\u0070\u0073\u0074\u0072",NewCT_VectorLpstr );_a .RegisterConstructor ("\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u0072\u006da\u0074\u0073\u002e\u006f\u0072\u0067\u002f\u006f\u0066\u0066\u0069\u0063\u0065\u0044\u006f\u0063\u0075\u006d\u0065\u006e\u0074\u002f\u0032\u0030\u0030\u0036\u002f\u0065\u0078\u0074\u0065n\u0064\u0065\u0064\u002d\u0070\u0072\u006f\u0070e\u0072\u0074\u0069\u0065\u0073","\u0043\u0054\u005f\u0044\u0069\u0067\u0053\u0069\u0067\u0042\u006c\u006f\u0062",NewCT_DigSigBlob );_a .RegisterConstructor ("\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0
|