개정판 873011c4
Fix: Undo/Redo 수정 진행
Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d
MarkupToPDF/Controls/Etc/DateControl.cs | ||
---|---|---|
15 | 15 |
using MarkupToPDF.Serialize.Core; |
16 | 16 |
using MarkupToPDF.Serialize.S_Control; |
17 | 17 |
using System.Linq; |
18 |
using System.Windows.Markup; |
|
18 | 19 |
|
19 | 20 |
namespace MarkupToPDF.Controls.Etc |
20 | 21 |
{ |
21 |
public class DateControl : CommentUserInfo, IDisposable, IPath, INotifyPropertyChanged, IViewBox, IMarkupCommonData
|
|
22 |
public class DateControl : CommentUserInfo, IDisposable, INotifyPropertyChanged, IViewBox
|
|
22 | 23 |
{ |
23 | 24 |
private const string PART_ViewBox = "PART_ViewBox"; |
24 | 25 |
private const string PART_TextBox = "PART_TextBox"; |
... | ... | |
40 | 41 |
//this.DefaultStyleKey = typeof(DateControl); |
41 | 42 |
} |
42 | 43 |
|
44 |
/// <summary> |
|
45 |
/// 복사본을 생성한다. |
|
46 |
/// </summary> |
|
47 |
/// <returns></returns> |
|
48 |
public override CommentUserInfo Clone() |
|
49 |
{ |
|
50 |
return new DateControl |
|
51 |
{ |
|
52 |
CommentAngle = this.CommentAngle, |
|
53 |
StartPoint = new Point(this.StartPoint.X, this.StartPoint.Y), |
|
54 |
EndPoint = new Point(this.EndPoint.X, this.EndPoint.Y), |
|
55 |
LeftBottomPoint = new Point(this.LeftBottomPoint.X, this.LeftBottomPoint.Y), |
|
56 |
TopRightPoint = new Point(this.TopRightPoint.X, this.TopRightPoint.Y), |
|
57 |
Opacity = this.Opacity, |
|
58 |
FontColor = this.FontColor, |
|
59 |
LineSize = this.LineSize, |
|
60 |
Text = this.Text, |
|
61 |
PointSet = this.PointSet.ConvertAll(x => new Point(x.X, x.Y)), |
|
62 |
UserID = this.UserID, |
|
63 |
Memo = this.Memo |
|
64 |
}; |
|
65 |
} |
|
43 | 66 |
|
44 | 67 |
#region Dependency Properties |
45 | 68 |
|
내보내기 Unified diff