1. 升级装饰器和适配器代码

2. 修复components的bug
This commit is contained in:
csh 2024-08-05 11:37:00 +08:00
parent 978cff648b
commit fedb1cd28a
306 changed files with 1459 additions and 13089 deletions

View File

@ -3,12 +3,10 @@ public
function Create(_obj: Numbering); function Create(_obj: Numbering);
function Init(); function Init();
property AbstractNumId read ReadAbstractNumId write WriteAbstractNumId; function GetAbstractNumByAbstractNumId(_key: string);
property NumId read ReadNumId write WriteNumId; function SetAbstractNumByAbstractNumId(_key: string; _value: tslobj);
function ReadAbstractNumId(_key: string); function GetNumByNumId(_key: string);
function WriteAbstractNumId(_key: string; _value: tslobj); function SetNumByNumId(_key: string; _value: tslobj);
function ReadNumId(_key: string);
function WriteNumId(_key: string; _value: tslobj);
private private
object_: Numbering; object_: Numbering;
@ -26,30 +24,30 @@ end;
function NumberingAdapter.Init(); function NumberingAdapter.Init();
begin begin
elements := object_.AbstractNums; elements := object_.AbstractNums();
for k,v in elements do for k,v in elements do
abstractnum_hash_[v.AbstractNumId] := v; abstractnum_hash_[v.AbstractNumId] := v;
elements := object_.Nums; elements := object_.Nums();
for k,v in elements do for k,v in elements do
num_hash_[v.NumId] := v; num_hash_[v.NumId] := v;
end; end;
function NumberingAdapter.ReadAbstractNumId(_key: string); function NumberingAdapter.GetAbstractNumByAbstractNumId(_key: string);
begin begin
return abstractnum_hash_[_key]; return abstractnum_hash_[_key];
end; end;
function NumberingAdapter.WriteAbstractNumId(_key: string; _value: tslobj); function NumberingAdapter.SetAbstractNumByAbstractNumId(_key: string; _value: tslobj);
begin begin
abstractnum_hash_[_key] := _value; abstractnum_hash_[_key] := _value;
end; end;
function NumberingAdapter.ReadNumId(_key: string); function NumberingAdapter.GetNumByNumId(_key: string);
begin begin
return num_hash_[_key]; return num_hash_[_key];
end; end;
function NumberingAdapter.WriteNumId(_key: string; _value: tslobj); function NumberingAdapter.SetNumByNumId(_key: string; _value: tslobj);
begin begin
num_hash_[_key] := _value; num_hash_[_key] := _value;
end; end;

View File

@ -3,9 +3,8 @@ public
function Create(_obj: Relationships); function Create(_obj: Relationships);
function Init(); function Init();
property Id read ReadId write WriteId; function GetRelationshipById(_key: string);
function ReadId(_key: string); function SetRelationshipById(_key: string; _value: tslobj);
function WriteId(_key: string; _value: tslobj);
private private
object_: Relationships; object_: Relationships;
@ -21,17 +20,17 @@ end;
function RelationshipsAdapter.Init(); function RelationshipsAdapter.Init();
begin begin
elements := object_.Relationships; elements := object_.Relationships();
for k,v in elements do for k,v in elements do
relationship_hash_[v.Id] := v; relationship_hash_[v.Id] := v;
end; end;
function RelationshipsAdapter.ReadId(_key: string); function RelationshipsAdapter.GetRelationshipById(_key: string);
begin begin
return relationship_hash_[_key]; return relationship_hash_[_key];
end; end;
function RelationshipsAdapter.WriteId(_key: string; _value: tslobj); function RelationshipsAdapter.SetRelationshipById(_key: string; _value: tslobj);
begin begin
relationship_hash_[_key] := _value; relationship_hash_[_key] := _value;
end; end;

View File

@ -0,0 +1,53 @@
type SectPrAdapter = class
public
function Create(_obj: SectPr);
function Init();
function GetHeaderReferenceByType(_key: string);
function SetHeaderReferenceByType(_key: string; _value: tslobj);
function GetFooterReferenceByType(_key: string);
function SetFooterReferenceByType(_key: string; _value: tslobj);
private
object_: SectPr;
headerreference_hash_: tableArray;
footerreference_hash_: tableArray;
end;
function SectPrAdapter.Create(_obj: SectPr);
begin
object_ := _obj;
headerreference_hash_ := array();
footerreference_hash_ := array();
{self.}Init();
end;
function SectPrAdapter.Init();
begin
elements := object_.HeaderReferences();
for k,v in elements do
headerreference_hash_[v.Type] := v;
elements := object_.FooterReferences();
for k,v in elements do
footerreference_hash_[v.Type] := v;
end;
function SectPrAdapter.GetHeaderReferenceByType(_key: string);
begin
return headerreference_hash_[_key];
end;
function SectPrAdapter.SetHeaderReferenceByType(_key: string; _value: tslobj);
begin
headerreference_hash_[_key] := _value;
end;
function SectPrAdapter.GetFooterReferenceByType(_key: string);
begin
return footerreference_hash_[_key];
end;
function SectPrAdapter.SetFooterReferenceByType(_key: string; _value: tslobj);
begin
footerreference_hash_[_key] := _value;
end;

View File

@ -3,9 +3,8 @@ public
function Create(_obj: Styles); function Create(_obj: Styles);
function Init(); function Init();
property StyleId read ReadStyleId write WriteStyleId; function GetStyleByStyleId(_key: string);
function ReadStyleId(_key: string); function SetStyleByStyleId(_key: string; _value: tslobj);
function WriteStyleId(_key: string; _value: tslobj);
private private
object_: Styles; object_: Styles;
@ -21,17 +20,17 @@ end;
function StylesAdapter.Init(); function StylesAdapter.Init();
begin begin
elements := object_.Styles; elements := object_.Styles();
for k,v in elements do for k,v in elements do
style_hash_[v.StyleId] := v; style_hash_[v.StyleId] := v;
end; end;
function StylesAdapter.ReadStyleId(_key: string); function StylesAdapter.GetStyleByStyleId(_key: string);
begin begin
return style_hash_[_key]; return style_hash_[_key];
end; end;
function StylesAdapter.WriteStyleId(_key: string; _value: tslobj); function StylesAdapter.SetStyleByStyleId(_key: string; _value: tslobj);
begin begin
style_hash_[_key] := _value; style_hash_[_key] := _value;
end; end;

View File

@ -2,6 +2,7 @@ type APPrUnitDecorator = class(APPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: APPr); function Create(_obj: APPr);
function GetObject();
function Convert(); function Convert();
private private
object_: APPr; object_: APPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function APPrUnitDecorator.GetObject();
begin
return object_;
end;
function APPrUnitDecorator.Convert(); function APPrUnitDecorator.Convert();
begin begin
{self.}DefRPr := new ARPrUnitDecorator(object_.DefRPr); {self.}DefRPr := new ARPrUnitDecorator(object_.DefRPr);

View File

@ -2,6 +2,7 @@ type ARPrUnitDecorator = class(ARPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: ARPr); function Create(_obj: ARPr);
function GetObject();
function Convert(); function Convert();
private private
object_: ARPr; object_: ARPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ARPrUnitDecorator.GetObject();
begin
return object_;
end;
function ARPrUnitDecorator.Convert(); function ARPrUnitDecorator.Convert();
begin begin
{self.}XmlAttrLang.Value := object_.XmlAttrLang.Value; {self.}XmlAttrLang.Value := object_.XmlAttrLang.Value;

View File

@ -2,6 +2,7 @@ type ARUnitDecorator = class(AR)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: AR); function Create(_obj: AR);
function GetObject();
function Convert(); function Convert();
private private
object_: AR; object_: AR;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ARUnitDecorator.GetObject();
begin
return object_;
end;
function ARUnitDecorator.Convert(); function ARUnitDecorator.Convert();
begin begin
{self.}RPr := new ARPrUnitDecorator(object_.RPr); {self.}RPr := new ARPrUnitDecorator(object_.RPr);

View File

@ -2,6 +2,7 @@ type AbstractNumUnitDecorator = class(AbstractNum)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: AbstractNum); function Create(_obj: AbstractNum);
function GetObject();
function Convert(); function Convert();
private private
object_: AbstractNum; object_: AbstractNum;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function AbstractNumUnitDecorator.GetObject();
begin
return object_;
end;
function AbstractNumUnitDecorator.Convert(); function AbstractNumUnitDecorator.Convert();
begin begin
{self.}XmlAttrAbstractNumId.Value := object_.XmlAttrAbstractNumId.Value; {self.}XmlAttrAbstractNumId.Value := object_.XmlAttrAbstractNumId.Value;

View File

@ -2,6 +2,7 @@ type AlternateContentUnitDecorator = class(AlternateContent)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: AlternateContent); function Create(_obj: AlternateContent);
function GetObject();
function Convert(); function Convert();
private private
object_: AlternateContent; object_: AlternateContent;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function AlternateContentUnitDecorator.GetObject();
begin
return object_;
end;
function AlternateContentUnitDecorator.Convert(); function AlternateContentUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsMc.Value := object_.XmlAttrXmlnsMc.Value; {self.}XmlAttrXmlnsMc.Value := object_.XmlAttrXmlnsMc.Value;

View File

@ -2,6 +2,7 @@ type ApUnitDecorator = class(Ap)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ap); function Create(_obj: Ap);
function GetObject();
function Convert(); function Convert();
private private
object_: Ap; object_: Ap;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ApUnitDecorator.GetObject();
begin
return object_;
end;
function ApUnitDecorator.Convert(); function ApUnitDecorator.Convert();
begin begin
{self.}PPr := new APPrUnitDecorator(object_.PPr); {self.}PPr := new APPrUnitDecorator(object_.PPr);

View File

@ -2,6 +2,7 @@ type AxUnitDecorator = class(Ax)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ax); function Create(_obj: Ax);
function GetObject();
function Convert(); function Convert();
private private
object_: Ax; object_: Ax;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function AxUnitDecorator.GetObject();
begin
return object_;
end;
function AxUnitDecorator.Convert(); function AxUnitDecorator.Convert();
begin begin
{self.}AxId := new PureValUnitDecorator(object_.AxId); {self.}AxId := new PureValUnitDecorator(object_.AxId);

View File

@ -2,6 +2,7 @@ type BarChartUnitDecorator = class(BarChart)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: BarChart); function Create(_obj: BarChart);
function GetObject();
function Convert(); function Convert();
private private
object_: BarChart; object_: BarChart;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BarChartUnitDecorator.GetObject();
begin
return object_;
end;
function BarChartUnitDecorator.Convert(); function BarChartUnitDecorator.Convert();
begin begin
{self.}BarDir := new PureValUnitDecorator(object_.BarDir); {self.}BarDir := new PureValUnitDecorator(object_.BarDir);

View File

@ -2,6 +2,7 @@ type BlipFillUnitDecorator = class(BlipFill)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: BlipFill); function Create(_obj: BlipFill);
function GetObject();
function Convert(); function Convert();
private private
object_: BlipFill; object_: BlipFill;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BlipFillUnitDecorator.GetObject();
begin
return object_;
end;
function BlipFillUnitDecorator.Convert(); function BlipFillUnitDecorator.Convert();
begin begin
{self.}Blip := new BlipUnitDecorator(object_.Blip); {self.}Blip := new BlipUnitDecorator(object_.Blip);

View File

@ -2,6 +2,7 @@ type BlipUnitDecorator = class(Blip)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Blip); function Create(_obj: Blip);
function GetObject();
function Convert(); function Convert();
private private
object_: Blip; object_: Blip;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BlipUnitDecorator.GetObject();
begin
return object_;
end;
function BlipUnitDecorator.Convert(); function BlipUnitDecorator.Convert();
begin begin
{self.}XmlAttrEmbed.Value := object_.XmlAttrEmbed.Value; {self.}XmlAttrEmbed.Value := object_.XmlAttrEmbed.Value;

View File

@ -2,6 +2,7 @@ type BodyPrUnitDecorator = class(BodyPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: BodyPr); function Create(_obj: BodyPr);
function GetObject();
function Convert(); function Convert();
private private
object_: BodyPr; object_: BodyPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BodyPrUnitDecorator.GetObject();
begin
return object_;
end;
function BodyPrUnitDecorator.Convert(); function BodyPrUnitDecorator.Convert();
begin begin
{self.}XmlAttrRot.Value := object_.XmlAttrRot.Value; {self.}XmlAttrRot.Value := object_.XmlAttrRot.Value;

View File

@ -2,6 +2,7 @@ type BodyUnitDecorator = class(Body)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Body); function Create(_obj: Body);
function GetObject();
function Convert(); function Convert();
private private
object_: Body; object_: Body;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BodyUnitDecorator.GetObject();
begin
return object_;
end;
function BodyUnitDecorator.Convert(); function BodyUnitDecorator.Convert();
begin begin
{self.}SectPr := new SectPrUnitDecorator(object_.SectPr); {self.}SectPr := new SectPrUnitDecorator(object_.SectPr);

View File

@ -2,6 +2,7 @@ type BookmarkUnitDecorator = class(Bookmark)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Bookmark); function Create(_obj: Bookmark);
function GetObject();
function Convert(); function Convert();
private private
object_: Bookmark; object_: Bookmark;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BookmarkUnitDecorator.GetObject();
begin
return object_;
end;
function BookmarkUnitDecorator.Convert(); function BookmarkUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type BrUnitDecorator = class(Br)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Br); function Create(_obj: Br);
function GetObject();
function Convert(); function Convert();
private private
object_: Br; object_: Br;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function BrUnitDecorator.GetObject();
begin
return object_;
end;
function BrUnitDecorator.Convert(); function BrUnitDecorator.Convert();
begin begin
{self.}XmlAttrType.Value := object_.XmlAttrType.Value; {self.}XmlAttrType.Value := object_.XmlAttrType.Value;

View File

@ -2,6 +2,7 @@ type CNvGraphicFramePrUnitDecorator = class(CNvGraphicFramePr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CNvGraphicFramePr); function Create(_obj: CNvGraphicFramePr);
function GetObject();
function Convert(); function Convert();
private private
object_: CNvGraphicFramePr; object_: CNvGraphicFramePr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CNvGraphicFramePrUnitDecorator.GetObject();
begin
return object_;
end;
function CNvGraphicFramePrUnitDecorator.Convert(); function CNvGraphicFramePrUnitDecorator.Convert();
begin begin
{self.}GraphicFrameLocks := new GraphicFrameLocksUnitDecorator(object_.GraphicFrameLocks); {self.}GraphicFrameLocks := new GraphicFrameLocksUnitDecorator(object_.GraphicFrameLocks);

View File

@ -2,6 +2,7 @@ type CNvPicPrUnitDecorator = class(CNvPicPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CNvPicPr); function Create(_obj: CNvPicPr);
function GetObject();
function Convert(); function Convert();
private private
object_: CNvPicPr; object_: CNvPicPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CNvPicPrUnitDecorator.GetObject();
begin
return object_;
end;
function CNvPicPrUnitDecorator.Convert(); function CNvPicPrUnitDecorator.Convert();
begin begin
{self.}PicLocks := new PicLocksUnitDecorator(object_.PicLocks); {self.}PicLocks := new PicLocksUnitDecorator(object_.PicLocks);

View File

@ -2,6 +2,7 @@ type CNvPrUnitDecorator = class(CNvPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CNvPr); function Create(_obj: CNvPr);
function GetObject();
function Convert(); function Convert();
private private
object_: CNvPr; object_: CNvPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CNvPrUnitDecorator.GetObject();
begin
return object_;
end;
function CNvPrUnitDecorator.Convert(); function CNvPrUnitDecorator.Convert();
begin begin
{self.}XmlAttrId.Value := object_.XmlAttrId.Value; {self.}XmlAttrId.Value := object_.XmlAttrId.Value;

View File

@ -2,6 +2,7 @@ type CXYUnitDecorator = class(CXY)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CXY); function Create(_obj: CXY);
function GetObject();
function Convert(); function Convert();
private private
object_: CXY; object_: CXY;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CXYUnitDecorator.GetObject();
begin
return object_;
end;
function CXYUnitDecorator.Convert(); function CXYUnitDecorator.Convert();
begin begin
{self.}XmlAttrCx.Value := TSSafeUnitConverter.EmusToPoints(object_.XmlAttrCx.Value); {self.}XmlAttrCx.Value := TSSafeUnitConverter.EmusToPoints(object_.XmlAttrCx.Value);

View File

@ -2,6 +2,7 @@ type CacheUnitDecorator = class(Cache)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Cache); function Create(_obj: Cache);
function GetObject();
function Convert(); function Convert();
private private
object_: Cache; object_: Cache;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CacheUnitDecorator.GetObject();
begin
return object_;
end;
function CacheUnitDecorator.Convert(); function CacheUnitDecorator.Convert();
begin begin
{self.}PtCount := new PureValUnitDecorator(object_.PtCount); {self.}PtCount := new PureValUnitDecorator(object_.PtCount);

View File

@ -2,6 +2,7 @@ type CatUnitDecorator = class(Cat)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Cat); function Create(_obj: Cat);
function GetObject();
function Convert(); function Convert();
private private
object_: Cat; object_: Cat;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CatUnitDecorator.GetObject();
begin
return object_;
end;
function CatUnitDecorator.Convert(); function CatUnitDecorator.Convert();
begin begin
{self.}StrRef := new StrRefUnitDecorator(object_.StrRef); {self.}StrRef := new StrRefUnitDecorator(object_.StrRef);

View File

@ -2,6 +2,7 @@ type ChartSpaceUnitDecorator = class(ChartSpace)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: ChartSpace); function Create(_obj: ChartSpace);
function GetObject();
function Convert(); function Convert();
private private
object_: ChartSpace; object_: ChartSpace;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ChartSpaceUnitDecorator.GetObject();
begin
return object_;
end;
function ChartSpaceUnitDecorator.Convert(); function ChartSpaceUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsC.Value := object_.XmlAttrXmlnsC.Value; {self.}XmlAttrXmlnsC.Value := object_.XmlAttrXmlnsC.Value;

View File

@ -2,6 +2,7 @@ type ChartUnitDecorator = class(Chart)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Chart); function Create(_obj: Chart);
function GetObject();
function Convert(); function Convert();
private private
object_: Chart; object_: Chart;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ChartUnitDecorator.GetObject();
begin
return object_;
end;
function ChartUnitDecorator.Convert(); function ChartUnitDecorator.Convert();
begin begin
{self.}Title := new TitleUnitDecorator(object_.Title); {self.}Title := new TitleUnitDecorator(object_.Title);

View File

@ -2,6 +2,7 @@ type ChoiceUnitDecorator = class(Choice)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Choice); function Create(_obj: Choice);
function GetObject();
function Convert(); function Convert();
private private
object_: Choice; object_: Choice;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ChoiceUnitDecorator.GetObject();
begin
return object_;
end;
function ChoiceUnitDecorator.Convert(); function ChoiceUnitDecorator.Convert();
begin begin
{self.}XmlAttrRequires.Value := object_.XmlAttrRequires.Value; {self.}XmlAttrRequires.Value := object_.XmlAttrRequires.Value;

View File

@ -2,6 +2,7 @@ type Clr1UnitDecorator = class(Clr1)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Clr1); function Create(_obj: Clr1);
function GetObject();
function Convert(); function Convert();
private private
object_: Clr1; object_: Clr1;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function Clr1UnitDecorator.GetObject();
begin
return object_;
end;
function Clr1UnitDecorator.Convert(); function Clr1UnitDecorator.Convert();
begin begin
{self.}SysClr := new SysClrUnitDecorator(object_.SysClr); {self.}SysClr := new SysClrUnitDecorator(object_.SysClr);

View File

@ -2,6 +2,7 @@ type Clr2UnitDecorator = class(Clr2)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Clr2); function Create(_obj: Clr2);
function GetObject();
function Convert(); function Convert();
private private
object_: Clr2; object_: Clr2;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function Clr2UnitDecorator.GetObject();
begin
return object_;
end;
function Clr2UnitDecorator.Convert(); function Clr2UnitDecorator.Convert();
begin begin
{self.}SrgbClr := new SrgbClrUnitDecorator(object_.SrgbClr); {self.}SrgbClr := new SrgbClrUnitDecorator(object_.SrgbClr);

View File

@ -2,6 +2,7 @@ type ClrSchemeUnitDecorator = class(ClrScheme)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: ClrScheme); function Create(_obj: ClrScheme);
function GetObject();
function Convert(); function Convert();
private private
object_: ClrScheme; object_: ClrScheme;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ClrSchemeUnitDecorator.GetObject();
begin
return object_;
end;
function ClrSchemeUnitDecorator.Convert(); function ClrSchemeUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type ColorUnitDecorator = class(Color)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Color); function Create(_obj: Color);
function GetObject();
function Convert(); function Convert();
private private
object_: Color; object_: Color;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ColorUnitDecorator.GetObject();
begin
return object_;
end;
function ColorUnitDecorator.Convert(); function ColorUnitDecorator.Convert();
begin begin
{self.}XmlAttrVal.Value := object_.XmlAttrVal.Value; {self.}XmlAttrVal.Value := object_.XmlAttrVal.Value;

View File

@ -2,6 +2,7 @@ type ColsUnitDecorator = class(Cols)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Cols); function Create(_obj: Cols);
function GetObject();
function Convert(); function Convert();
private private
object_: Cols; object_: Cols;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ColsUnitDecorator.GetObject();
begin
return object_;
end;
function ColsUnitDecorator.Convert(); function ColsUnitDecorator.Convert();
begin begin
{self.}XmlAttrSpace.Value := TSSafeUnitConverter.TwipsToPoints(object_.XmlAttrSpace.Value); {self.}XmlAttrSpace.Value := TSSafeUnitConverter.TwipsToPoints(object_.XmlAttrSpace.Value);

View File

@ -2,6 +2,7 @@ type CommentRangeUnitDecorator = class(CommentRange)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CommentRange); function Create(_obj: CommentRange);
function GetObject();
function Convert(); function Convert();
private private
object_: CommentRange; object_: CommentRange;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CommentRangeUnitDecorator.GetObject();
begin
return object_;
end;
function CommentRangeUnitDecorator.Convert(); function CommentRangeUnitDecorator.Convert();
begin begin
{self.}XmlAttrId.Value := object_.XmlAttrId.Value; {self.}XmlAttrId.Value := object_.XmlAttrId.Value;

View File

@ -2,6 +2,7 @@ type CommentUnitDecorator = class(Comment)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Comment); function Create(_obj: Comment);
function GetObject();
function Convert(); function Convert();
private private
object_: Comment; object_: Comment;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CommentUnitDecorator.GetObject();
begin
return object_;
end;
function CommentUnitDecorator.Convert(); function CommentUnitDecorator.Convert();
begin begin
{self.}XmlAttrAuthor.Value := object_.XmlAttrAuthor.Value; {self.}XmlAttrAuthor.Value := object_.XmlAttrAuthor.Value;

View File

@ -2,6 +2,7 @@ type CommentsUnitDecorator = class(Comments)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Comments); function Create(_obj: Comments);
function GetObject();
function Convert(); function Convert();
private private
object_: Comments; object_: Comments;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CommentsUnitDecorator.GetObject();
begin
return object_;
end;
function CommentsUnitDecorator.Convert(); function CommentsUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value; {self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value;

View File

@ -2,6 +2,7 @@ type CompatSettingUnitDecorator = class(CompatSetting)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CompatSetting); function Create(_obj: CompatSetting);
function GetObject();
function Convert(); function Convert();
private private
object_: CompatSetting; object_: CompatSetting;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CompatSettingUnitDecorator.GetObject();
begin
return object_;
end;
function CompatSettingUnitDecorator.Convert(); function CompatSettingUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type CompatUnitDecorator = class(Compat)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Compat); function Create(_obj: Compat);
function GetObject();
function Convert(); function Convert();
private private
object_: Compat; object_: Compat;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CompatUnitDecorator.GetObject();
begin
return object_;
end;
function CompatUnitDecorator.Convert(); function CompatUnitDecorator.Convert();
begin begin
if not ifnil(object_.XmlChildSpaceForUL.Value) then {self.}XmlChildSpaceForUL.Value := object_.XmlChildSpaceForUL.Value; if not ifnil(object_.XmlChildSpaceForUL.Value) then {self.}XmlChildSpaceForUL.Value := object_.XmlChildSpaceForUL.Value;

View File

@ -2,6 +2,7 @@ type CorePropertiesUnitDecorator = class(CoreProperties)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: CoreProperties); function Create(_obj: CoreProperties);
function GetObject();
function Convert(); function Convert();
private private
object_: CoreProperties; object_: CoreProperties;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CorePropertiesUnitDecorator.GetObject();
begin
return object_;
end;
function CorePropertiesUnitDecorator.Convert(); function CorePropertiesUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsCp.Value := object_.XmlAttrXmlnsCp.Value; {self.}XmlAttrXmlnsCp.Value := object_.XmlAttrXmlnsCp.Value;

View File

@ -2,6 +2,7 @@ type CreatedUnitDecorator = class(Created)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Created); function Create(_obj: Created);
function GetObject();
function Convert(); function Convert();
private private
object_: Created; object_: Created;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function CreatedUnitDecorator.GetObject();
begin
return object_;
end;
function CreatedUnitDecorator.Convert(); function CreatedUnitDecorator.Convert();
begin begin
{self.}XmlAttrXsiType.Value := object_.XmlAttrXsiType.Value; {self.}XmlAttrXsiType.Value := object_.XmlAttrXsiType.Value;

View File

@ -2,6 +2,7 @@ type DLblsUnitDecorator = class(DLbls)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DLbls); function Create(_obj: DLbls);
function GetObject();
function Convert(); function Convert();
private private
object_: DLbls; object_: DLbls;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DLblsUnitDecorator.GetObject();
begin
return object_;
end;
function DLblsUnitDecorator.Convert(); function DLblsUnitDecorator.Convert();
begin begin
{self.}SpPr := new SpPrUnitDecorator(object_.SpPr); {self.}SpPr := new SpPrUnitDecorator(object_.SpPr);

View File

@ -2,6 +2,7 @@ type DTableUnitDecorator = class(DTable)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DTable); function Create(_obj: DTable);
function GetObject();
function Convert(); function Convert();
private private
object_: DTable; object_: DTable;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DTableUnitDecorator.GetObject();
begin
return object_;
end;
function DTableUnitDecorator.Convert(); function DTableUnitDecorator.Convert();
begin begin
{self.}ShowHorzBorder := new PureValUnitDecorator(object_.ShowHorzBorder); {self.}ShowHorzBorder := new PureValUnitDecorator(object_.ShowHorzBorder);

View File

@ -2,6 +2,7 @@ type DefaultUnitDecorator = class(Default)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Default); function Create(_obj: Default);
function GetObject();
function Convert(); function Convert();
private private
object_: Default; object_: Default;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DefaultUnitDecorator.GetObject();
begin
return object_;
end;
function DefaultUnitDecorator.Convert(); function DefaultUnitDecorator.Convert();
begin begin
{self.}XmlAttrExtension.Value := object_.XmlAttrExtension.Value; {self.}XmlAttrExtension.Value := object_.XmlAttrExtension.Value;

View File

@ -2,6 +2,7 @@ type DocDefaultsUnitDecorator = class(DocDefaults)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DocDefaults); function Create(_obj: DocDefaults);
function GetObject();
function Convert(); function Convert();
private private
object_: DocDefaults; object_: DocDefaults;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DocDefaultsUnitDecorator.GetObject();
begin
return object_;
end;
function DocDefaultsUnitDecorator.Convert(); function DocDefaultsUnitDecorator.Convert();
begin begin
{self.}RPrDefault := new RPrDefaultUnitDecorator(object_.RPrDefault); {self.}RPrDefault := new RPrDefaultUnitDecorator(object_.RPrDefault);

View File

@ -2,6 +2,7 @@ type DocGridUnitDecorator = class(DocGrid)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DocGrid); function Create(_obj: DocGrid);
function GetObject();
function Convert(); function Convert();
private private
object_: DocGrid; object_: DocGrid;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DocGridUnitDecorator.GetObject();
begin
return object_;
end;
function DocGridUnitDecorator.Convert(); function DocGridUnitDecorator.Convert();
begin begin
{self.}XmlAttrType.Value := object_.XmlAttrType.Value; {self.}XmlAttrType.Value := object_.XmlAttrType.Value;

View File

@ -2,6 +2,7 @@ type DocPartObjUnitDecorator = class(DocPartObj)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DocPartObj); function Create(_obj: DocPartObj);
function GetObject();
function Convert(); function Convert();
private private
object_: DocPartObj; object_: DocPartObj;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DocPartObjUnitDecorator.GetObject();
begin
return object_;
end;
function DocPartObjUnitDecorator.Convert(); function DocPartObjUnitDecorator.Convert();
begin begin
{self.}DocPartGallery := new PureWValUnitDecorator(object_.DocPartGallery); {self.}DocPartGallery := new PureWValUnitDecorator(object_.DocPartGallery);

View File

@ -2,6 +2,7 @@ type DocPrUnitDecorator = class(DocPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: DocPr); function Create(_obj: DocPr);
function GetObject();
function Convert(); function Convert();
private private
object_: DocPr; object_: DocPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DocPrUnitDecorator.GetObject();
begin
return object_;
end;
function DocPrUnitDecorator.Convert(); function DocPrUnitDecorator.Convert();
begin begin
{self.}XmlAttrId.Value := object_.XmlAttrId.Value; {self.}XmlAttrId.Value := object_.XmlAttrId.Value;

View File

@ -2,6 +2,7 @@ type DocumentUnitDecorator = class(Document)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Document); function Create(_obj: Document);
function GetObject();
function Convert(); function Convert();
private private
object_: Document; object_: Document;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DocumentUnitDecorator.GetObject();
begin
return object_;
end;
function DocumentUnitDecorator.Convert(); function DocumentUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value; {self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value;

View File

@ -2,6 +2,7 @@ type DrawingUnitDecorator = class(Drawing)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Drawing); function Create(_obj: Drawing);
function GetObject();
function Convert(); function Convert();
private private
object_: Drawing; object_: Drawing;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function DrawingUnitDecorator.GetObject();
begin
return object_;
end;
function DrawingUnitDecorator.Convert(); function DrawingUnitDecorator.Convert();
begin begin
{self.}_Inline := new _InlineUnitDecorator(object_._Inline); {self.}_Inline := new _InlineUnitDecorator(object_._Inline);

View File

@ -2,6 +2,7 @@ type EffectExtentUnitDecorator = class(EffectExtent)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: EffectExtent); function Create(_obj: EffectExtent);
function GetObject();
function Convert(); function Convert();
private private
object_: EffectExtent; object_: EffectExtent;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EffectExtentUnitDecorator.GetObject();
begin
return object_;
end;
function EffectExtentUnitDecorator.Convert(); function EffectExtentUnitDecorator.Convert();
begin begin
{self.}XmlAttrL.Value := object_.XmlAttrL.Value; {self.}XmlAttrL.Value := object_.XmlAttrL.Value;

View File

@ -2,6 +2,7 @@ type EffectLstUnitDecorator = class(EffectLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: EffectLst); function Create(_obj: EffectLst);
function GetObject();
function Convert(); function Convert();
private private
object_: EffectLst; object_: EffectLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EffectLstUnitDecorator.GetObject();
begin
return object_;
end;
function EffectLstUnitDecorator.Convert(); function EffectLstUnitDecorator.Convert();
begin begin
{self.}OuterShdw := new OuterShdwUnitDecorator(object_.OuterShdw); {self.}OuterShdw := new OuterShdwUnitDecorator(object_.OuterShdw);

View File

@ -2,6 +2,7 @@ type EffectStyleLstUnitDecorator = class(EffectStyleLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: EffectStyleLst); function Create(_obj: EffectStyleLst);
function GetObject();
function Convert(); function Convert();
private private
object_: EffectStyleLst; object_: EffectStyleLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EffectStyleLstUnitDecorator.GetObject();
begin
return object_;
end;
function EffectStyleLstUnitDecorator.Convert(); function EffectStyleLstUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type EffectStyleUnitDecorator = class(EffectStyle)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: EffectStyle); function Create(_obj: EffectStyle);
function GetObject();
function Convert(); function Convert();
private private
object_: EffectStyle; object_: EffectStyle;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EffectStyleUnitDecorator.GetObject();
begin
return object_;
end;
function EffectStyleUnitDecorator.Convert(); function EffectStyleUnitDecorator.Convert();
begin begin
{self.}EffectLst := new EffectLstUnitDecorator(object_.EffectLst); {self.}EffectLst := new EffectLstUnitDecorator(object_.EffectLst);

View File

@ -2,6 +2,7 @@ type EndnotePrUnitDecorator = class(EndnotePr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: EndnotePr); function Create(_obj: EndnotePr);
function GetObject();
function Convert(); function Convert();
private private
object_: EndnotePr; object_: EndnotePr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EndnotePrUnitDecorator.GetObject();
begin
return object_;
end;
function EndnotePrUnitDecorator.Convert(); function EndnotePrUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type EndnoteUnitDecorator = class(Endnote)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Endnote); function Create(_obj: Endnote);
function GetObject();
function Convert(); function Convert();
private private
object_: Endnote; object_: Endnote;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EndnoteUnitDecorator.GetObject();
begin
return object_;
end;
function EndnoteUnitDecorator.Convert(); function EndnoteUnitDecorator.Convert();
begin begin
{self.}XmlAttrType.Value := object_.XmlAttrType.Value; {self.}XmlAttrType.Value := object_.XmlAttrType.Value;

View File

@ -2,6 +2,7 @@ type EndnotesUnitDecorator = class(Endnotes)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Endnotes); function Create(_obj: Endnotes);
function GetObject();
function Convert(); function Convert();
private private
object_: Endnotes; object_: Endnotes;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function EndnotesUnitDecorator.GetObject();
begin
return object_;
end;
function EndnotesUnitDecorator.Convert(); function EndnotesUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value; {self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value;

View File

@ -2,6 +2,7 @@ type ExtLstUnitDecorator = class(ExtLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: ExtLst); function Create(_obj: ExtLst);
function GetObject();
function Convert(); function Convert();
private private
object_: ExtLst; object_: ExtLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ExtLstUnitDecorator.GetObject();
begin
return object_;
end;
function ExtLstUnitDecorator.Convert(); function ExtLstUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type ExtUnitDecorator = class(Ext)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ext); function Create(_obj: Ext);
function GetObject();
function Convert(); function Convert();
private private
object_: Ext; object_: Ext;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ExtUnitDecorator.GetObject();
begin
return object_;
end;
function ExtUnitDecorator.Convert(); function ExtUnitDecorator.Convert();
begin begin
{self.}XmlAttrUri.Value := object_.XmlAttrUri.Value; {self.}XmlAttrUri.Value := object_.XmlAttrUri.Value;

View File

@ -2,6 +2,7 @@ type ExternalDataUnitDecorator = class(ExternalData)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: ExternalData); function Create(_obj: ExternalData);
function GetObject();
function Convert(); function Convert();
private private
object_: ExternalData; object_: ExternalData;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ExternalDataUnitDecorator.GetObject();
begin
return object_;
end;
function ExternalDataUnitDecorator.Convert(); function ExternalDataUnitDecorator.Convert();
begin begin
{self.}XmlAttrId.Value := object_.XmlAttrId.Value; {self.}XmlAttrId.Value := object_.XmlAttrId.Value;

View File

@ -2,6 +2,7 @@ type FallbackUnitDecorator = class(Fallback)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Fallback); function Create(_obj: Fallback);
function GetObject();
function Convert(); function Convert();
private private
object_: Fallback; object_: Fallback;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FallbackUnitDecorator.GetObject();
begin
return object_;
end;
function FallbackUnitDecorator.Convert(); function FallbackUnitDecorator.Convert();
begin begin
{self.}Style := new PureValUnitDecorator(object_.Style); {self.}Style := new PureValUnitDecorator(object_.Style);

View File

@ -2,6 +2,7 @@ type FillStyleLstUnitDecorator = class(FillStyleLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: FillStyleLst); function Create(_obj: FillStyleLst);
function GetObject();
function Convert(); function Convert();
private private
object_: FillStyleLst; object_: FillStyleLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FillStyleLstUnitDecorator.GetObject();
begin
return object_;
end;
function FillStyleLstUnitDecorator.Convert(); function FillStyleLstUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type FldCharUnitDecorator = class(FldChar)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: FldChar); function Create(_obj: FldChar);
function GetObject();
function Convert(); function Convert();
private private
object_: FldChar; object_: FldChar;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FldCharUnitDecorator.GetObject();
begin
return object_;
end;
function FldCharUnitDecorator.Convert(); function FldCharUnitDecorator.Convert();
begin begin
{self.}XmlAttrFldCharType.Value := object_.XmlAttrFldCharType.Value; {self.}XmlAttrFldCharType.Value := object_.XmlAttrFldCharType.Value;

View File

@ -2,6 +2,7 @@ type FmtSchemeUnitDecorator = class(FmtScheme)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: FmtScheme); function Create(_obj: FmtScheme);
function GetObject();
function Convert(); function Convert();
private private
object_: FmtScheme; object_: FmtScheme;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FmtSchemeUnitDecorator.GetObject();
begin
return object_;
end;
function FmtSchemeUnitDecorator.Convert(); function FmtSchemeUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type FontSchemeUnitDecorator = class(FontScheme)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: FontScheme); function Create(_obj: FontScheme);
function GetObject();
function Convert(); function Convert();
private private
object_: FontScheme; object_: FontScheme;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FontSchemeUnitDecorator.GetObject();
begin
return object_;
end;
function FontSchemeUnitDecorator.Convert(); function FontSchemeUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type FontUnitDecorator = class(Font)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Font); function Create(_obj: Font);
function GetObject();
function Convert(); function Convert();
private private
object_: Font; object_: Font;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FontUnitDecorator.GetObject();
begin
return object_;
end;
function FontUnitDecorator.Convert(); function FontUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type FontsUnitDecorator = class(Fonts)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Fonts); function Create(_obj: Fonts);
function GetObject();
function Convert(); function Convert();
private private
object_: Fonts; object_: Fonts;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FontsUnitDecorator.GetObject();
begin
return object_;
end;
function FontsUnitDecorator.Convert(); function FontsUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsMc.Value := object_.XmlAttrXmlnsMc.Value; {self.}XmlAttrXmlnsMc.Value := object_.XmlAttrXmlnsMc.Value;

View File

@ -2,6 +2,7 @@ type FootnotePrUnitDecorator = class(FootnotePr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: FootnotePr); function Create(_obj: FootnotePr);
function GetObject();
function Convert(); function Convert();
private private
object_: FootnotePr; object_: FootnotePr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FootnotePrUnitDecorator.GetObject();
begin
return object_;
end;
function FootnotePrUnitDecorator.Convert(); function FootnotePrUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type FootnoteUnitDecorator = class(Footnote)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Footnote); function Create(_obj: Footnote);
function GetObject();
function Convert(); function Convert();
private private
object_: Footnote; object_: Footnote;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FootnoteUnitDecorator.GetObject();
begin
return object_;
end;
function FootnoteUnitDecorator.Convert(); function FootnoteUnitDecorator.Convert();
begin begin
{self.}XmlAttrType.Value := object_.XmlAttrType.Value; {self.}XmlAttrType.Value := object_.XmlAttrType.Value;

View File

@ -2,6 +2,7 @@ type FootnotesUnitDecorator = class(Footnotes)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Footnotes); function Create(_obj: Footnotes);
function GetObject();
function Convert(); function Convert();
private private
object_: Footnotes; object_: Footnotes;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FootnotesUnitDecorator.GetObject();
begin
return object_;
end;
function FootnotesUnitDecorator.Convert(); function FootnotesUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value; {self.}XmlAttrXmlnsWpc.Value := object_.XmlAttrXmlnsWpc.Value;

View File

@ -2,6 +2,7 @@ type FtrUnitDecorator = class(Ftr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ftr); function Create(_obj: Ftr);
function GetObject();
function Convert(); function Convert();
private private
object_: Ftr; object_: Ftr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function FtrUnitDecorator.GetObject();
begin
return object_;
end;
function FtrUnitDecorator.Convert(); function FtrUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsM.Value := object_.XmlAttrXmlnsM.Value; {self.}XmlAttrXmlnsM.Value := object_.XmlAttrXmlnsM.Value;

View File

@ -2,6 +2,7 @@ type GradFillUnitDecorator = class(GradFill)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: GradFill); function Create(_obj: GradFill);
function GetObject();
function Convert(); function Convert();
private private
object_: GradFill; object_: GradFill;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GradFillUnitDecorator.GetObject();
begin
return object_;
end;
function GradFillUnitDecorator.Convert(); function GradFillUnitDecorator.Convert();
begin begin
{self.}XmlAttrRotWithShape.Value := object_.XmlAttrRotWithShape.Value; {self.}XmlAttrRotWithShape.Value := object_.XmlAttrRotWithShape.Value;

View File

@ -2,6 +2,7 @@ type GraphicDataUnitDecorator = class(GraphicData)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: GraphicData); function Create(_obj: GraphicData);
function GetObject();
function Convert(); function Convert();
private private
object_: GraphicData; object_: GraphicData;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GraphicDataUnitDecorator.GetObject();
begin
return object_;
end;
function GraphicDataUnitDecorator.Convert(); function GraphicDataUnitDecorator.Convert();
begin begin
{self.}XmlAttrUri.Value := object_.XmlAttrUri.Value; {self.}XmlAttrUri.Value := object_.XmlAttrUri.Value;

View File

@ -2,6 +2,7 @@ type GraphicFrameLocksUnitDecorator = class(GraphicFrameLocks)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: GraphicFrameLocks); function Create(_obj: GraphicFrameLocks);
function GetObject();
function Convert(); function Convert();
private private
object_: GraphicFrameLocks; object_: GraphicFrameLocks;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GraphicFrameLocksUnitDecorator.GetObject();
begin
return object_;
end;
function GraphicFrameLocksUnitDecorator.Convert(); function GraphicFrameLocksUnitDecorator.Convert();
begin begin
{self.}XmlAttrNoChangeAspect.Value := object_.XmlAttrNoChangeAspect.Value; {self.}XmlAttrNoChangeAspect.Value := object_.XmlAttrNoChangeAspect.Value;

View File

@ -2,6 +2,7 @@ type GraphicUnitDecorator = class(Graphic)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Graphic); function Create(_obj: Graphic);
function GetObject();
function Convert(); function Convert();
private private
object_: Graphic; object_: Graphic;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GraphicUnitDecorator.GetObject();
begin
return object_;
end;
function GraphicUnitDecorator.Convert(); function GraphicUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsA.Value := object_.XmlAttrXmlnsA.Value; {self.}XmlAttrXmlnsA.Value := object_.XmlAttrXmlnsA.Value;

View File

@ -2,6 +2,7 @@ type GridColUnitDecorator = class(GridCol)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: GridCol); function Create(_obj: GridCol);
function GetObject();
function Convert(); function Convert();
private private
object_: GridCol; object_: GridCol;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GridColUnitDecorator.GetObject();
begin
return object_;
end;
function GridColUnitDecorator.Convert(); function GridColUnitDecorator.Convert();
begin begin
{self.}XmlAttrw.Value := TSSafeUnitConverter.TwipsToPoints(object_.XmlAttrw.Value); {self.}XmlAttrw.Value := TSSafeUnitConverter.TwipsToPoints(object_.XmlAttrw.Value);

View File

@ -2,6 +2,7 @@ type GsLstUnitDecorator = class(GsLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: GsLst); function Create(_obj: GsLst);
function GetObject();
function Convert(); function Convert();
private private
object_: GsLst; object_: GsLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GsLstUnitDecorator.GetObject();
begin
return object_;
end;
function GsLstUnitDecorator.Convert(); function GsLstUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type GsUnitDecorator = class(Gs)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Gs); function Create(_obj: Gs);
function GetObject();
function Convert(); function Convert();
private private
object_: Gs; object_: Gs;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function GsUnitDecorator.GetObject();
begin
return object_;
end;
function GsUnitDecorator.Convert(); function GsUnitDecorator.Convert();
begin begin
{self.}XmlAttrPos.Value := object_.XmlAttrPos.Value; {self.}XmlAttrPos.Value := object_.XmlAttrPos.Value;

View File

@ -2,6 +2,7 @@ type HdrShapeDefaultsUnitDecorator = class(HdrShapeDefaults)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: HdrShapeDefaults); function Create(_obj: HdrShapeDefaults);
function GetObject();
function Convert(); function Convert();
private private
object_: HdrShapeDefaults; object_: HdrShapeDefaults;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function HdrShapeDefaultsUnitDecorator.GetObject();
begin
return object_;
end;
function HdrShapeDefaultsUnitDecorator.Convert(); function HdrShapeDefaultsUnitDecorator.Convert();
begin begin
{self.}ShapeDefaults := new ShapeDefaultsUnitDecorator(object_.ShapeDefaults); {self.}ShapeDefaults := new ShapeDefaultsUnitDecorator(object_.ShapeDefaults);

View File

@ -2,6 +2,7 @@ type HdrUnitDecorator = class(Hdr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Hdr); function Create(_obj: Hdr);
function GetObject();
function Convert(); function Convert();
private private
object_: Hdr; object_: Hdr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function HdrUnitDecorator.GetObject();
begin
return object_;
end;
function HdrUnitDecorator.Convert(); function HdrUnitDecorator.Convert();
begin begin
{self.}XmlAttrXmlnsM.Value := object_.XmlAttrXmlnsM.Value; {self.}XmlAttrXmlnsM.Value := object_.XmlAttrXmlnsM.Value;

View File

@ -2,6 +2,7 @@ type HyperLinkUnitDecorator = class(HyperLink)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: HyperLink); function Create(_obj: HyperLink);
function GetObject();
function Convert(); function Convert();
private private
object_: HyperLink; object_: HyperLink;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function HyperLinkUnitDecorator.GetObject();
begin
return object_;
end;
function HyperLinkUnitDecorator.Convert(); function HyperLinkUnitDecorator.Convert();
begin begin
{self.}XmlAttrAnchor.Value := object_.XmlAttrAnchor.Value; {self.}XmlAttrAnchor.Value := object_.XmlAttrAnchor.Value;

View File

@ -2,6 +2,7 @@ type IdMapUnitDecorator = class(IdMap)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: IdMap); function Create(_obj: IdMap);
function GetObject();
function Convert(); function Convert();
private private
object_: IdMap; object_: IdMap;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function IdMapUnitDecorator.GetObject();
begin
return object_;
end;
function IdMapUnitDecorator.Convert(); function IdMapUnitDecorator.Convert();
begin begin
{self.}XmlAttrExt.Value := object_.XmlAttrExt.Value; {self.}XmlAttrExt.Value := object_.XmlAttrExt.Value;

View File

@ -2,6 +2,7 @@ type IndUnitDecorator = class(Ind)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ind); function Create(_obj: Ind);
function GetObject();
function Convert(); function Convert();
private private
object_: Ind; object_: Ind;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function IndUnitDecorator.GetObject();
begin
return object_;
end;
function IndUnitDecorator.Convert(); function IndUnitDecorator.Convert();
begin begin
{self.}XmlAttrFirstLineChars.Value := TSSafeUnitConverter.PercentToNumber(object_.XmlAttrFirstLineChars.Value); {self.}XmlAttrFirstLineChars.Value := TSSafeUnitConverter.PercentToNumber(object_.XmlAttrFirstLineChars.Value);

View File

@ -2,6 +2,7 @@ type InstrTextUnitDecorator = class(InstrText)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: InstrText); function Create(_obj: InstrText);
function GetObject();
function Convert(); function Convert();
private private
object_: InstrText; object_: InstrText;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function InstrTextUnitDecorator.GetObject();
begin
return object_;
end;
function InstrTextUnitDecorator.Convert(); function InstrTextUnitDecorator.Convert();
begin begin
{self.}XmlAttrSpace.Value := object_.XmlAttrSpace.Value; {self.}XmlAttrSpace.Value := object_.XmlAttrSpace.Value;

View File

@ -2,6 +2,7 @@ type LangUnitDecorator = class(Lang)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Lang); function Create(_obj: Lang);
function GetObject();
function Convert(); function Convert();
private private
object_: Lang; object_: Lang;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LangUnitDecorator.GetObject();
begin
return object_;
end;
function LangUnitDecorator.Convert(); function LangUnitDecorator.Convert();
begin begin
{self.}XmlAttrVal.Value := object_.XmlAttrVal.Value; {self.}XmlAttrVal.Value := object_.XmlAttrVal.Value;

View File

@ -2,6 +2,7 @@ type LatenStylesUnitDecorator = class(LatenStyles)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: LatenStyles); function Create(_obj: LatenStyles);
function GetObject();
function Convert(); function Convert();
private private
object_: LatenStyles; object_: LatenStyles;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LatenStylesUnitDecorator.GetObject();
begin
return object_;
end;
function LatenStylesUnitDecorator.Convert(); function LatenStylesUnitDecorator.Convert();
begin begin
{self.}XmlAttrDefLickedState.Value := object_.XmlAttrDefLickedState.Value; {self.}XmlAttrDefLickedState.Value := object_.XmlAttrDefLickedState.Value;

View File

@ -2,6 +2,7 @@ type LatinUnitDecorator = class(Latin)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Latin); function Create(_obj: Latin);
function GetObject();
function Convert(); function Convert();
private private
object_: Latin; object_: Latin;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LatinUnitDecorator.GetObject();
begin
return object_;
end;
function LatinUnitDecorator.Convert(); function LatinUnitDecorator.Convert();
begin begin
{self.}XmlAttrTypeface.Value := object_.XmlAttrTypeface.Value; {self.}XmlAttrTypeface.Value := object_.XmlAttrTypeface.Value;

View File

@ -2,6 +2,7 @@ type LegendUnitDecorator = class(Legend)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Legend); function Create(_obj: Legend);
function GetObject();
function Convert(); function Convert();
private private
object_: Legend; object_: Legend;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LegendUnitDecorator.GetObject();
begin
return object_;
end;
function LegendUnitDecorator.Convert(); function LegendUnitDecorator.Convert();
begin begin
{self.}LegendPos := new PureValUnitDecorator(object_.LegendPos); {self.}LegendPos := new PureValUnitDecorator(object_.LegendPos);

View File

@ -2,6 +2,7 @@ type LinUnitDecorator = class(Lin)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Lin); function Create(_obj: Lin);
function GetObject();
function Convert(); function Convert();
private private
object_: Lin; object_: Lin;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LinUnitDecorator.GetObject();
begin
return object_;
end;
function LinUnitDecorator.Convert(); function LinUnitDecorator.Convert();
begin begin
{self.}XmlAttrAng.Value := object_.XmlAttrAng.Value; {self.}XmlAttrAng.Value := object_.XmlAttrAng.Value;

View File

@ -2,6 +2,7 @@ type LnStyleLstUnitDecorator = class(LnStyleLst)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: LnStyleLst); function Create(_obj: LnStyleLst);
function GetObject();
function Convert(); function Convert();
private private
object_: LnStyleLst; object_: LnStyleLst;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LnStyleLstUnitDecorator.GetObject();
begin
return object_;
end;
function LnStyleLstUnitDecorator.Convert(); function LnStyleLstUnitDecorator.Convert();
begin begin
end; end;

View File

@ -2,6 +2,7 @@ type LnUnitDecorator = class(Ln)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Ln); function Create(_obj: Ln);
function GetObject();
function Convert(); function Convert();
private private
object_: Ln; object_: Ln;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LnUnitDecorator.GetObject();
begin
return object_;
end;
function LnUnitDecorator.Convert(); function LnUnitDecorator.Convert();
begin begin
{self.}XmlAttrW.Value := object_.XmlAttrW.Value; {self.}XmlAttrW.Value := object_.XmlAttrW.Value;

View File

@ -2,6 +2,7 @@ type LsdExceptionUnitDecorator = class(LsdException)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: LsdException); function Create(_obj: LsdException);
function GetObject();
function Convert(); function Convert();
private private
object_: LsdException; object_: LsdException;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LsdExceptionUnitDecorator.GetObject();
begin
return object_;
end;
function LsdExceptionUnitDecorator.Convert(); function LsdExceptionUnitDecorator.Convert();
begin begin
{self.}XmlAttrName.Value := object_.XmlAttrName.Value; {self.}XmlAttrName.Value := object_.XmlAttrName.Value;

View File

@ -2,6 +2,7 @@ type LvlUnitDecorator = class(Lvl)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Lvl); function Create(_obj: Lvl);
function GetObject();
function Convert(); function Convert();
private private
object_: Lvl; object_: Lvl;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function LvlUnitDecorator.GetObject();
begin
return object_;
end;
function LvlUnitDecorator.Convert(); function LvlUnitDecorator.Convert();
begin begin
{self.}XmlAttrIlvl.Value := object_.XmlAttrIlvl.Value; {self.}XmlAttrIlvl.Value := object_.XmlAttrIlvl.Value;

View File

@ -2,6 +2,7 @@ type MFontFontUnitDecorator = class(MFontFont)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: MFontFont); function Create(_obj: MFontFont);
function GetObject();
function Convert(); function Convert();
private private
object_: MFontFont; object_: MFontFont;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function MFontFontUnitDecorator.GetObject();
begin
return object_;
end;
function MFontFontUnitDecorator.Convert(); function MFontFontUnitDecorator.Convert();
begin begin
{self.}XmlAttrScript.Value := object_.XmlAttrScript.Value; {self.}XmlAttrScript.Value := object_.XmlAttrScript.Value;

View File

@ -2,6 +2,7 @@ type MFontUnitDecorator = class(MFont)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: MFont); function Create(_obj: MFont);
function GetObject();
function Convert(); function Convert();
private private
object_: MFont; object_: MFont;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function MFontUnitDecorator.GetObject();
begin
return object_;
end;
function MFontUnitDecorator.Convert(); function MFontUnitDecorator.Convert();
begin begin
{self.}Latin := new LatinUnitDecorator(object_.Latin); {self.}Latin := new LatinUnitDecorator(object_.Latin);

View File

@ -2,6 +2,7 @@ type MathPrUnitDecorator = class(MathPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: MathPr); function Create(_obj: MathPr);
function GetObject();
function Convert(); function Convert();
private private
object_: MathPr; object_: MathPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function MathPrUnitDecorator.GetObject();
begin
return object_;
end;
function MathPrUnitDecorator.Convert(); function MathPrUnitDecorator.Convert();
begin begin
{self.}MathFont := new PureWValUnitDecorator(object_.MathFont); {self.}MathFont := new PureWValUnitDecorator(object_.MathFont);

View File

@ -2,6 +2,7 @@ type MiterUnitDecorator = class(Miter)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Miter); function Create(_obj: Miter);
function GetObject();
function Convert(); function Convert();
private private
object_: Miter; object_: Miter;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function MiterUnitDecorator.GetObject();
begin
return object_;
end;
function MiterUnitDecorator.Convert(); function MiterUnitDecorator.Convert();
begin begin
{self.}XmlAttrLim.Value := object_.XmlAttrLim.Value; {self.}XmlAttrLim.Value := object_.XmlAttrLim.Value;

View File

@ -2,6 +2,7 @@ type ModifiedUnitDecorator = class(Modified)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Modified); function Create(_obj: Modified);
function GetObject();
function Convert(); function Convert();
private private
object_: Modified; object_: Modified;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function ModifiedUnitDecorator.GetObject();
begin
return object_;
end;
function ModifiedUnitDecorator.Convert(); function ModifiedUnitDecorator.Convert();
begin begin
{self.}XmlAttrXsiType.Value := object_.XmlAttrXsiType.Value; {self.}XmlAttrXsiType.Value := object_.XmlAttrXsiType.Value;

View File

@ -2,6 +2,7 @@ type NumFmtUnitDecorator = class(NumFmt)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: NumFmt); function Create(_obj: NumFmt);
function GetObject();
function Convert(); function Convert();
private private
object_: NumFmt; object_: NumFmt;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function NumFmtUnitDecorator.GetObject();
begin
return object_;
end;
function NumFmtUnitDecorator.Convert(); function NumFmtUnitDecorator.Convert();
begin begin
{self.}XmlAttrFormatCode.Value := object_.XmlAttrFormatCode.Value; {self.}XmlAttrFormatCode.Value := object_.XmlAttrFormatCode.Value;

View File

@ -2,6 +2,7 @@ type NumPrUnitDecorator = class(NumPr)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: NumPr); function Create(_obj: NumPr);
function GetObject();
function Convert(); function Convert();
private private
object_: NumPr; object_: NumPr;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function NumPrUnitDecorator.GetObject();
begin
return object_;
end;
function NumPrUnitDecorator.Convert(); function NumPrUnitDecorator.Convert();
begin begin
{self.}Ilvl := new PureWValUnitDecorator(object_.Ilvl); {self.}Ilvl := new PureWValUnitDecorator(object_.Ilvl);

View File

@ -2,6 +2,7 @@ type NumRefUnitDecorator = class(NumRef)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: NumRef); function Create(_obj: NumRef);
function GetObject();
function Convert(); function Convert();
private private
object_: NumRef; object_: NumRef;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function NumRefUnitDecorator.GetObject();
begin
return object_;
end;
function NumRefUnitDecorator.Convert(); function NumRefUnitDecorator.Convert();
begin begin
{self.}NumCache := new CacheUnitDecorator(object_.NumCache); {self.}NumCache := new CacheUnitDecorator(object_.NumCache);

View File

@ -2,6 +2,7 @@ type NumUnitDecorator = class(Num)
uses TSSafeUnitConverter; uses TSSafeUnitConverter;
public public
function Create(_obj: Num); function Create(_obj: Num);
function GetObject();
function Convert(); function Convert();
private private
object_: Num; object_: Num;
@ -14,6 +15,11 @@ begin
{self.}Convert(); {self.}Convert();
end; end;
function NumUnitDecorator.GetObject();
begin
return object_;
end;
function NumUnitDecorator.Convert(); function NumUnitDecorator.Convert();
begin begin
{self.}XmlAttrNumId.Value := object_.XmlAttrNumId.Value; {self.}XmlAttrNumId.Value := object_.XmlAttrNumId.Value;

Some files were not shown because too many files have changed in this diff Show More