unioffice/schema/soo/dml/lockedCanvas/lockedCanvas.go

18 lines
3.0 KiB
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/
2022-02-05 13:05:36 +00:00
package lockedCanvas ;import (_a "encoding/xml";_e "fmt";_dg "github.com/unidoc/unioffice";_b "github.com/unidoc/unioffice/schema/soo/dml";);func (_db *LockedCanvas )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Attr =append (start .Attr ,_a .Attr {Name :_a .Name {Local :"\u0078\u006d\u006cn\u0073"},Value :"h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u006c\u006f\u0063\u006b\u0065\u0064\u0043\u0061\u006e\u0076\u0061\u0073"});start .Attr =append (start .Attr ,_a .Attr {Name :_a .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 ="\u006c\u006f\u0063k\u0065\u0064\u0043\u0061\u006e\u0076\u0061\u0073";return _db .CT_GvmlGroupShape .MarshalXML (e ,start );};
2022-01-15 21:17:38 +00:00
// ValidateWithPath validates the LockedCanvas and its children, prefixing error messages with path
2022-02-05 13:05:36 +00:00
func (_bd *LockedCanvas )ValidateWithPath (path string )error {if _ed :=_bd .CT_GvmlGroupShape .ValidateWithPath (path );_ed !=nil {return _ed ;};return nil ;};func (_ba *LockedCanvas )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {_ba .CT_GvmlGroupShape =*_b .NewCT_GvmlGroupShape ();for {_c ,_baf :=d .Token ();if _baf !=nil {return _e .Errorf ("\u0070a\u0072\u0073\u0069\u006e\u0067\u0020\u004c\u006f\u0063\u006b\u0065d\u0043\u0061\u006e\u0076\u0061\u0073\u003a\u0020\u0025\u0073",_baf );};if _ea ,_bb :=_c .(_a .EndElement );_bb &&_ea .Name ==start .Name {break ;};};return nil ;};type LockedCanvas struct{_b .CT_GvmlGroupShape };func NewLockedCanvas ()*LockedCanvas {_ac :=&LockedCanvas {};_ac .CT_GvmlGroupShape =*_b .NewCT_GvmlGroupShape ();return _ac ;};
// Validate validates the LockedCanvas and its children
func (_f *LockedCanvas )Validate ()error {return _f .ValidateWithPath ("\u004c\u006f\u0063k\u0065\u0064\u0043\u0061\u006e\u0076\u0061\u0073");};func init (){_dg .RegisterConstructor ("h\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002e\u006f\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061t\u0073.\u006f\u0072\u0067\u002fd\u0072\u0061w\u0069\u006e\u0067\u006d\u006c\u002f\u0032\u0030\u0030\u0036\u002f\u006c\u006f\u0063\u006b\u0065\u0064\u0043\u0061\u006e\u0076\u0061\u0073","\u006c\u006f\u0063k\u0065\u0064\u0043\u0061\u006e\u0076\u0061\u0073",NewLockedCanvas );};