개정판 873011c4
Fix: Undo/Redo 수정 진행
Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d
MarkupToPDF/Controls/Text/ArrowTextControl.cs | ||
---|---|---|
61 | 61 |
//this.DefaultStyleKey = typeof(ArrowTextControl); |
62 | 62 |
} |
63 | 63 |
|
64 |
public override void Copy(CommentUserInfo lhs) |
|
65 |
{ |
|
66 |
if (lhs is ArrowTextControl ArrowTextCtrl) |
|
67 |
{ |
|
68 |
this.PageAngle = ArrowTextCtrl.PageAngle; |
|
69 |
this.LineSize = ArrowTextCtrl.LineSize; |
|
70 |
this.PointSet = ArrowTextCtrl.PointSet; |
|
71 |
this.StartPoint = ArrowTextCtrl.StartPoint; |
|
72 |
this.EndPoint = ArrowTextCtrl.EndPoint; |
|
73 |
this.StrokeColor = ArrowTextCtrl.StrokeColor; |
|
74 |
//this.DashSize = s.DashSize; |
|
75 |
this.ArrowTextStyle = ArrowTextCtrl.ArrowTextStyle; |
|
76 |
this.isHighLight = ArrowTextCtrl.isHighLight; |
|
77 |
this.ArrowText = ArrowTextCtrl.ArrowText; |
|
78 |
this.Opacity = ArrowTextCtrl.Opacity; |
|
79 |
this.BorderSize = ArrowTextCtrl.BorderSize; |
|
80 |
this.BoxWidth = ArrowTextCtrl.BoxWidth; |
|
81 |
this.BoxHeight = ArrowTextCtrl.BoxHeight; |
|
82 |
this.isFixed = ArrowTextCtrl.isFixed; |
|
83 |
//this.VisualPageAngle = s.Angle; |
|
84 |
this.UserID = ArrowTextCtrl.UserID; |
|
85 |
this.isTrans = ArrowTextCtrl.isTrans; |
|
86 |
this.MidPoint = ArrowTextCtrl.MidPoint; |
|
87 |
this.Memo = ArrowTextCtrl.Memo; |
|
88 |
this.TextFamily = ArrowTextCtrl.TextFamily; |
|
89 |
this.TextStyle = ArrowTextCtrl.TextStyle; |
|
90 |
this.TextWeight = ArrowTextCtrl.TextWeight; |
|
91 |
this.TextSize = ArrowTextCtrl.TextSize; |
|
92 |
this.UnderLine = ArrowTextCtrl.UnderLine; |
|
93 |
} |
|
94 |
} |
|
95 |
|
|
96 |
public override CommentUserInfo Clone() |
|
97 |
{ |
|
98 |
var clone = new ArrowTextControl(); |
|
99 |
clone.Copy(this); |
|
100 |
return clone; |
|
101 |
} |
|
102 |
|
|
64 | 103 |
public override void OnApplyTemplate() |
65 | 104 |
{ |
66 | 105 |
base.OnApplyTemplate(); |
내보내기 Unified diff