개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Text/ArrowTextControl.cs | ||
---|---|---|
1893 | 1893 |
/// <returns></returns> |
1894 | 1894 |
public override string Serialize() |
1895 | 1895 |
{ |
1896 |
using (S_ArrowTextControl STemp = new S_ArrowTextControl())
|
|
1897 |
{ |
|
1898 |
STemp.TransformPoint = "0|0";
|
|
1899 |
STemp.PointSet = this.PointSet;
|
|
1900 |
STemp.SizeSet = String.Format("{0}", this.LineSize);
|
|
1901 |
STemp.StrokeColor = this.StrokeColor.Color.ToString();
|
|
1902 |
STemp.StartPoint = this.StartPoint;
|
|
1903 |
STemp.ArrowStyle = this.ArrowTextStyle;
|
|
1904 |
//STemp.StrokeColor = "#FF00FF00";
|
|
1905 |
STemp.UserID = this.UserID;
|
|
1906 |
STemp.ArrowText = this.Base_TextBox.Text;
|
|
1907 |
STemp.BorderSize = this.BorderSize;
|
|
1908 |
STemp.isHighLight = this.isHighLight;
|
|
1909 |
STemp.BoxHeight = this.BoxHeight;
|
|
1910 |
STemp.BoxWidth = this.BoxWidth;
|
|
1911 |
STemp.Opac = this.Opacity;
|
|
1912 |
STemp.EndPoint = this.EndPoint;
|
|
1913 |
STemp.isFixed = this.isFixed;
|
|
1914 |
//STemp.DashSize = this.DashSize;
|
|
1915 |
STemp.Name = this.GetType().Name.ToString();
|
|
1916 |
STemp.isTrans = this.isTrans;
|
|
1917 |
STemp.MidPoint = this.MidPoint;
|
|
1918 |
STemp.Angle = this.PageAngle;
|
|
1919 |
STemp.fontConfig = new List<string>()
|
|
1896 |
using (S_ArrowTextControl ctrl = new S_ArrowTextControl())
|
|
1897 |
{ |
|
1898 |
ctrl.TransformPoint = "0|0";
|
|
1899 |
ctrl.PointSet = this.PointSet;
|
|
1900 |
ctrl.SizeSet = String.Format("{0}", this.LineSize);
|
|
1901 |
ctrl.StrokeColor = this.StrokeColor.Color.ToString();
|
|
1902 |
ctrl.StartPoint = this.StartPoint;
|
|
1903 |
ctrl.ArrowStyle = this.ArrowTextStyle;
|
|
1904 |
//ctrl.StrokeColor = "#FF00FF00";
|
|
1905 |
ctrl.UserID = this.UserID;
|
|
1906 |
ctrl.ArrowText = this.Base_TextBox.Text;
|
|
1907 |
ctrl.BorderSize = this.BorderSize;
|
|
1908 |
ctrl.isHighLight = this.isHighLight;
|
|
1909 |
ctrl.BoxHeight = this.BoxHeight;
|
|
1910 |
ctrl.BoxWidth = this.BoxWidth;
|
|
1911 |
ctrl.Opac = this.Opacity;
|
|
1912 |
ctrl.EndPoint = this.EndPoint;
|
|
1913 |
ctrl.isFixed = this.isFixed;
|
|
1914 |
//ctrl.DashSize = this.DashSize;
|
|
1915 |
ctrl.Name = this.GetType().Name.ToString();
|
|
1916 |
ctrl.isTrans = this.isTrans;
|
|
1917 |
ctrl.MidPoint = this.MidPoint;
|
|
1918 |
ctrl.Angle = this.PageAngle;
|
|
1919 |
ctrl.fontConfig = new List<string>()
|
|
1920 | 1920 |
{ |
1921 | 1921 |
this.TextFamily.FontName(), |
1922 | 1922 |
this.TextStyle.ToString(), |
... | ... | |
1926 | 1926 |
|
1927 | 1927 |
if (this.UnderLine != null) |
1928 | 1928 |
{ |
1929 |
STemp.fontConfig.Add("true");
|
|
1929 |
ctrl.fontConfig.Add("true");
|
|
1930 | 1930 |
} |
1931 | 1931 |
|
1932 | 1932 |
///강인구 추가(2017.11.02) |
1933 | 1933 |
///Memo 추가 |
1934 |
STemp.Memo = this.Memo; |
|
1935 |
STemp.BorderSize = this.BorderSize; |
|
1936 |
STemp.ArcLength = this.ArcLength; |
|
1937 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
1934 |
ctrl.Memo = this.Memo; |
|
1935 |
ctrl.BorderSize = this.BorderSize; |
|
1936 |
ctrl.ArcLength = this.ArcLength; |
|
1937 |
ctrl.ZIndex = this.ZIndex; |
|
1938 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
1938 | 1939 |
}; |
1939 | 1940 |
} |
1940 | 1941 |
|
... | ... | |
1970 | 1971 |
instance.isTrans = s.isTrans; |
1971 | 1972 |
instance.MidPoint = s.MidPoint; |
1972 | 1973 |
instance.Memo = s.Memo; |
1974 |
instance.ZIndex = s.ZIndex; |
|
1973 | 1975 |
if (s.fontConfig == null || s.fontConfig.ToList().Count == 0) |
1974 | 1976 |
{ |
1975 | 1977 |
s.fontConfig = new List<string>(); |
내보내기 Unified diff