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/
|
|
|
|
|
2022-01-15 21:17:38 +00:00
|
|
|
package extended_properties ;import (_e "encoding/xml";_d "github.com/unidoc/unioffice";_f "github.com/unidoc/unioffice/common/logger";_fc "github.com/unidoc/unioffice/schema/soo/ofc/docPropsVTypes";);
|
|
|
|
|
|
|
|
// ValidateWithPath validates the CT_VectorVariant and its children, prefixing error messages with path
|
|
|
|
func (_dad *CT_VectorVariant )ValidateWithPath (path string )error {if _eefb :=_dad .Vector .ValidateWithPath (path +"\u002fV\u0065\u0063\u0074\u006f\u0072");_eefb !=nil {return _eefb ;};return nil ;};
|
2021-08-23 20:44:48 +00:00
|
|
|
|
2021-11-10 11:45:21 +00:00
|
|
|
// Validate validates the CT_Properties and its children
|
2022-01-15 21:17:38 +00:00
|
|
|
func (_afg *CT_Properties )Validate ()error {return _afg .ValidateWithPath ("\u0043\u0054\u005f\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073");};
|
|
|
|
|
|
|
|
// ValidateWithPath validates the CT_DigSigBlob and its children, prefixing error messages with path
|
|
|
|
func (_ee *CT_DigSigBlob )ValidateWithPath (path string )error {return nil };func NewCT_DigSigBlob ()*CT_DigSigBlob {_g :=&CT_DigSigBlob {};return _g };func (_gg *CT_DigSigBlob )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_da :for {_ea ,_df :=d .Token ();if _df !=nil {return _df ;};switch _gdb :=_ea .(type ){case _e .StartElement :switch _gdb .Name {case _e .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"},_e .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 _fg :=d .DecodeElement (&_gg .Blob ,&_gdb );_fg !=nil {return _fg ;};default:_f .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067 \u0075\u006e\u0073up\u0070\u006f\u0072\u0074\u0065\u0064 \u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0044i\u0067\u0053\u0069\u0067\u0042\u006c\u006f\u0062 \u0025\u0076",_gdb .Name );if _fa :=d .Skip ();_fa !=nil {return _fa ;};};case _e .EndElement :break _da ;case _e .CharData :};};return nil ;};func (_ebc *CT_VectorLpstr )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );_bea :=_e .StartElement {Name :_e .Name {Local :"\u0076t\u003a\u0076\u0065\u0063\u0074\u006fr"}};e .EncodeElement (_ebc .Vector ,_bea );e .EncodeToken (_e .EndElement {Name :start .Name });return nil ;};type CT_VectorLpstr struct{Vector *_fc .Vector ;};
|
|
|
|
|
|
|
|
// ValidateWithPath validates the CT_Properties and its children, prefixing error messages with path
|
|
|
|
func (_dd *CT_Properties )ValidateWithPath (path string )error {if _dd .HeadingPairs !=nil {if _facc :=_dd .HeadingPairs .ValidateWithPath (path +"\u002f\u0048\u0065\u0061\u0064\u0069\u006e\u0067\u0050\u0061\u0069\u0072\u0073");_facc !=nil {return _facc ;};};if _dd .TitlesOfParts !=nil {if _fbd :=_dd .TitlesOfParts .ValidateWithPath (path +"\u002f\u0054\u0069\u0074\u006c\u0065\u0073\u004f\u0066P\u0061\u0072\u0074\u0073");_fbd !=nil {return _fbd ;};};if _dd .HLinks !=nil {if _caaf :=_dd .HLinks .ValidateWithPath (path +"\u002fH\u004c\u0069\u006e\u006b\u0073");_caaf !=nil {return _caaf ;};};if _dd .DigSig !=nil {if _aee :=_dd .DigSig .ValidateWithPath (path +"\u002fD\u0069\u0067\u0053\u0069\u0067");_aee !=nil {return _aee ;};};return nil ;};type CT_VectorVariant struct{Vector *_fc .Vector ;};func (_eac *CT_Properties )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_af :for {_dgbc ,_gda :=d .Token ();if _gda !=nil {return _gda ;};switch _eg :=_dgbc .(type ){case _e .StartElement :switch _eg .Name {case _e .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"},_e .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"}:_eac .Template =new (string );if _ce :=d .DecodeElement (_eac .Template ,&_eg );_ce !=nil {return _ce ;};case _e .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"},_e .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"}:_eac .Manager =new (string );if _eacd :=d .DecodeElement (_eac .Manager ,&_eg );_eacd !=nil {return _eacd ;};case _e .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"},_e .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"}:_eac .Company =new (string );if _eaca :=d .DecodeElement (_eac .Company ,&_eg );_eaca !=nil {return _eaca ;};case _e .Name {Space :"\u0068t\u0074p\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078m\u006c\u0066\u006f\u
|
2021-11-10 11:45:21 +00:00
|
|
|
|
|
|
|
// ValidateWithPath validates the CT_VectorLpstr and its children, prefixing error messages with path
|
2022-01-15 21:17:38 +00:00
|
|
|
func (_ebe *CT_VectorLpstr )ValidateWithPath (path string )error {if _eedf :=_ebe .Vector .ValidateWithPath (path +"\u002fV\u0065\u0063\u0074\u006f\u0072");_eedf !=nil {return _eedf ;};return nil ;};func (_cg *CT_Properties )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {e .EncodeToken (start );if _cg .Template !=nil {_ge :=_e .StartElement {Name :_e .Name {Local :"\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"}};_d .AddPreserveSpaceAttr (&_ge ,*_cg .Template );e .EncodeElement (_cg .Template ,_ge );};if _cg .Manager !=nil {_a :=_e .StartElement {Name :_e .Name {Local :"\u004da\u006e\u0061\u0067\u0065\u0072"}};_d .AddPreserveSpaceAttr (&_a ,*_cg .Manager );e .EncodeElement (_cg .Manager ,_a );};if _cg .Company !=nil {_fae :=_e .StartElement {Name :_e .Name {Local :"\u0043o\u006d\u0070\u0061\u006e\u0079"}};_d .AddPreserveSpaceAttr (&_fae ,*_cg .Company );e .EncodeElement (_cg .Company ,_fae );};if _cg .Pages !=nil {_gdf :=_e .StartElement {Name :_e .Name {Local :"\u0050\u0061\u0067e\u0073"}};e .EncodeElement (_cg .Pages ,_gdf );};if _cg .Words !=nil {_fcb :=_e .StartElement {Name :_e .Name {Local :"\u0057\u006f\u0072d\u0073"}};e .EncodeElement (_cg .Words ,_fcb );};if _cg .Characters !=nil {_b :=_e .StartElement {Name :_e .Name {Local :"\u0043\u0068\u0061\u0072\u0061\u0063\u0074\u0065\u0072\u0073"}};e .EncodeElement (_cg .Characters ,_b );};if _cg .PresentationFormat !=nil {_ggg :=_e .StartElement {Name :_e .Name {Local :"\u0050r\u0065s\u0065\u006e\u0074\u0061\u0074i\u006f\u006eF\u006f\u0072\u006d\u0061\u0074"}};_d .AddPreserveSpaceAttr (&_ggg ,*_cg .PresentationFormat );e .EncodeElement (_cg .PresentationFormat ,_ggg );};if _cg .Lines !=nil {_dgb :=_e .StartElement {Name :_e .Name {Local :"\u004c\u0069\u006ee\u0073"}};e .EncodeElement (_cg .Lines ,_dgb );};if _cg .Paragraphs !=nil {_feg :=_e .StartElement {Name :_e .Name {Local :"\u0050\u0061\u0072\u0061\u0067\u0072\u0061\u0070\u0068\u0073"}};e .EncodeElement (_cg .Paragraphs ,_feg );};if _cg .Slides !=nil {_bc :=_e .StartElement {Name :_e .Name {Local :"\u0053\u006c\u0069\u0064\u0065\u0073"}};e .EncodeElement (_cg .Slides ,_bc );};if _cg .Notes !=nil {_bd :=_e .StartElement {Name :_e .Name {Local :"\u004e\u006f\u0074e\u0073"}};e .EncodeElement (_cg .Notes ,_bd );};if _cg .TotalTime !=nil {_be :=_e .StartElement {Name :_e .Name {Local :"\u0054o\u0074\u0061\u006c\u0054\u0069\u006de"}};e .EncodeElement (_cg .TotalTime ,_be );};if _cg .HiddenSlides !=nil {_dc :=_e .StartElement {Name :_e .Name {Local :"\u0048\u0069\u0064d\u0065\u006e\u0053\u006c\u0069\u0064\u0065\u0073"}};e .EncodeElement (_cg .HiddenSlides ,_dc );};if _cg .MMClips !=nil {_gdbf :=_e .StartElement {Name :_e .Name {Local :"\u004dM\u0043\u006c\u0069\u0070\u0073"}};e .EncodeElement (_cg .MMClips ,_gdbf );};if _cg .ScaleCrop !=nil {_eef :=_e .StartElement {Name :_e .Name {Local :"\u0053c\u0061\u006c\u0065\u0043\u0072\u006fp"}};e .EncodeElement (_cg .ScaleCrop ,_eef );};if _cg .HeadingPairs !=nil {_ff :=_e .StartElement {Name :_e .Name {Local :"\u0048\u0065\u0061d\u0069\u006e\u0067\u0050\u0061\u0069\u0072\u0073"}};e .EncodeElement (_cg .HeadingPairs ,_ff );};if _cg .TitlesOfParts !=nil {_ab :=_e .StartElement {Name :_e .Name {Local :"\u0054\u0069\u0074\u006c\u0065\u0073\u004f\u0066\u0050\u0061\u0072\u0074\u0073"}};e .EncodeElement (_cg .TitlesOfParts ,_ab );};if _cg .LinksUpToDate !=nil {_fcf :=_e .StartElement {Name :_e .Name {Local :"\u004c\u0069\u006e\u006b\u0073\u0055\u0070\u0054\u006f\u0044\u0061\u0074\u0065"}};e .EncodeElement (_cg .LinksUpToDate ,_fcf );};if _cg .CharactersWithSpaces !=nil {_ca :=_e .StartElement {Name :_e .Name {Local :"C\u0068a\u0072\u0061\u0063\u0074\u0065\u0072\u0073\u0057i\u0074\u0068\u0053\u0070ac\u0065\u0073"}};e .EncodeElement (_cg .CharactersWithSpaces ,_ca );};if _cg .SharedDoc !=nil {_beg :=_e .StartElement {Name :_e .Name {Local :"\u0053h\u0061\u0072\u0065\u0064\u0044\u006fc"}};e .EncodeElement (_cg .SharedDoc ,_beg );};if _cg .HyperlinkBase !=nil {_cd :=_e .StartElement {Name :_e .Name {Local :"\u0048\u0079\u0070\u0065\u0072\u006c\u0069\u006e\u006b\u0042\u0061\
|
|
|
|
|
|
|
|
// Validate validates the CT_VectorVariant and its children
|
|
|
|
func (_ga *CT_VectorVariant )Validate ()error {return _ga .ValidateWithPath ("\u0043\u0054_\u0056\u0065\u0063t\u006f\u0072\u0056\u0061\u0072\u0069\u0061\u006e\u0074");};func (_fge *Properties )MarshalXML (e *_e .Encoder ,start _e .StartElement )error {start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"\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"});start .Attr =append (start .Attr ,_e .Attr {Name :_e .Name {Local :"\u0078\u006d\u006c\u006e\u0073\u003a\u0076\u0074"},Value :"\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"});start .Attr =append (start .Attr ,_e .Attr {Name :_e .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 ="\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073";return _fge .CT_Properties .MarshalXML (e ,start );};
|
|
|
|
|
|
|
|
// Validate validates the CT_VectorLpstr and its children
|
|
|
|
func (_aa *CT_VectorLpstr )Validate ()error {return _aa .ValidateWithPath ("\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072L\u0070\u0073\u0074\u0072");};type Properties struct{CT_Properties };
|
|
|
|
|
|
|
|
// Validate validates the CT_DigSigBlob and its children
|
|
|
|
func (_dg *CT_DigSigBlob )Validate ()error {return _dg .ValidateWithPath ("\u0043\u0054\u005f\u0044\u0069\u0067\u0053\u0069\u0067\u0042\u006c\u006f\u0062");};func NewCT_VectorLpstr ()*CT_VectorLpstr {_gdc :=&CT_VectorLpstr {};_gdc .Vector =_fc .NewVector ();return _gdc ;};
|
|
|
|
|
|
|
|
// Validate validates the Properties and its children
|
|
|
|
func (_cf *Properties )Validate ()error {return _cf .ValidateWithPath ("\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073");};func (_bg *CT_VectorVariant )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_bg .Vector =_fc .NewVector ();_aad :for {_fcd ,_bdc :=d .Token ();if _bdc !=nil {return _bdc ;};switch _ggb :=_fcd .(type ){case _e .StartElement :switch _ggb .Name {case _e .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"},_e .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 _de :=d .DecodeElement (_bg .Vector ,&_ggb );_de !=nil {return _de ;};default:_f .Log .Debug ("\u0073\u006b\u0069\u0070\u0070i\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065d\u0020\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0043\u0054\u005f\u0056\u0065\u0063\u0074\u006f\u0072\u0056\u0061\u0072\u0069\u0061\u006e\u0074\u0020\u0025v",_ggb .Name );if _ac :=d .Skip ();_ac !=nil {return _ac ;};};case _e .EndElement :break _aad ;case _e .CharData :};};return nil ;};func (_gc *CT_VectorLpstr )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_gc .Vector =_fc .NewVector ();_fec :for {_fce ,_aeb :=d .Token ();if _aeb !=nil {return _aeb ;};switch _eed :=_fce .(type ){case _e .StartElement :switch _eed .Name {case _e .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"},_e .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 _afe :=d .DecodeElement (_gc .Vector ,&_eed );_afe !=nil {return _afe ;};default:_f .Log .Debug ("\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",_eed .Name );if _cga :=d .Skip ();_cga !=nil {return _cga ;};};case _e .EndElement :break _fec ;case _e .CharData :};};return nil ;};func (_dge *Properties )UnmarshalXML (d *_e .Decoder ,start _e .StartElement )error {_dge .CT_Properties =*NewCT_Properties ();_dfg :for {_dde ,_dcg :=d .Token ();if _dcg !=nil {return _dcg ;};switch _dda :=_dde .(type ){case _e .StartElement :switch _dda .Name {case _e .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"}
|
|
|
|
|
|
|
|
// ValidateWithPath validates the Properties and its children, prefixing error messages with path
|
|
|
|
func (_bbc *Properties )ValidateWithPath (path string )error {if _dcgc :=_bbc .CT_Properties .ValidateWithPath (path );_dcgc !=nil {return _dcgc ;};return nil ;};func NewProperties ()*Properties {_eea :=&Properties {};_eea .CT_Properties =*NewCT_Properties ();return _eea ;};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
|
2022-01-15 21:17:38 +00:00
|
|
|
DocSecurity *int32 ;};func init (){_d .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 );_d .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 );_d .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 );_d .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 );_d .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","\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0069\u0065\u0073",NewProperties );};
|