개정판 43e1d368
issue #0000 코드 정리
Change-Id: I7c8ba4ef6d78a7e4f51b72f226507cddac722939
MarkupToPDF/Controls/Etc/SymControlN.cs | ||
---|---|---|
25 | 25 |
private const string PART_ViewBox = "PART_ViewBox"; |
26 | 26 |
public Viewbox Base_ViewBox = null; |
27 | 27 |
public string STAMP { get; set; } |
28 |
public Dictionary<string,string> STAMP_Contents { get; set; } |
|
28 | 29 |
|
29 | 30 |
static SymControlN() |
30 | 31 |
{ |
... | ... | |
344 | 345 |
{ |
345 | 346 |
if (this.StartPoint == this.EndPoint) |
346 | 347 |
{ |
347 |
var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressStamp(this.STAMP); |
|
348 |
var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressStamp(this.STAMP); |
|
349 |
|
|
350 |
if (STAMP_Contents?.Count > 0) |
|
351 |
{ |
|
352 |
foreach (var item in STAMP_Contents) |
|
353 |
{ |
|
354 |
xamlData = xamlData.Replace(item.Key, System.Security.SecurityElement.Escape(item.Value)); |
|
355 |
} |
|
356 |
} |
|
348 | 357 |
|
349 | 358 |
System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
350 | 359 |
System.IO.StreamWriter writer = new System.IO.StreamWriter(stream); |
내보내기 Unified diff