개정판 43e1d368
issue #0000 코드 정리
Change-Id: I7c8ba4ef6d78a7e4f51b72f226507cddac722939
MarkupToPDF/Controls/Parsing/MarkupParse.cs | ||
---|---|---|
281 | 281 |
/// 데이터베이스의 마크업데이터를 컨트롤로 변환한다. |
282 | 282 |
/// </summary> |
283 | 283 |
/// <param name="MarkupString"></param> |
284 |
public static async Task<Control> ParseExAsync(string baseUri, System.Threading.CancellationToken? cts,string sProjectNo, string MarkupString, ObservableCollection<CommentUserInfo> baseLayer,double PageAngle, string DisplayColor, string ToolTipMessage, string markupInfoID = null, string commentId = null) |
|
284 |
public static async Task<Control> ParseExAsync(string baseUri, System.Threading.CancellationToken? cts,string sProjectNo, string MarkupString, ObservableCollection<CommentUserInfo> baseLayer,double PageAngle, string DisplayColor, string ToolTipMessage, string markupInfoID = null, string commentId = null,Dictionary<string,string> STAMP_Contents = null)
|
|
285 | 285 |
{ |
286 | 286 |
Control res = null; |
287 | 287 |
|
... | ... | |
348 | 348 |
System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
349 | 349 |
System.IO.StreamWriter writer = new System.IO.StreamWriter(stream); |
350 | 350 |
xamlData = xamlData.Replace("#FFFF0000", DisplayColor); |
351 |
|
|
352 |
if (STAMP_Contents?.Count > 0) |
|
353 |
{ |
|
354 |
foreach (var Content in STAMP_Contents) |
|
355 |
{ |
|
356 |
xamlData = xamlData.Replace(Content.Key, System.Security.SecurityElement.Escape(Content.Value)); |
|
357 |
} |
|
358 |
} |
|
359 |
|
|
351 | 360 |
writer.Write(xamlData); |
352 | 361 |
writer.Flush(); |
353 | 362 |
stream.Position = 0; |
내보내기 Unified diff