개정판 036650a0
issue #999: Add serialize method to all of controls
Change-Id: I74e404885e8cd107b48ad1921e768137ed14a3da
KCOM/Events/Event_KeyEvent.cs | ||
---|---|---|
1 | 1 |
using KCOM.Common; |
2 | 2 |
using MarkupToPDF.Common; |
3 |
using MarkupToPDF.Controls.Parsing; |
|
3 | 4 |
using Svg2Xaml; |
4 | 5 |
using System; |
5 | 6 |
using System.Collections.Generic; |
... | ... | |
29 | 30 |
//강인구 추가 |
30 | 31 |
MarkupToPDF.Controls.Parsing.LayerControl layer = new MarkupToPDF.Controls.Parsing.LayerControl(); |
31 | 32 |
//강인구 추가 |
32 |
MarkupToPDF.Controls.Parsing.LayerControl.MarkupReturn markupReturn = new MarkupToPDF.Controls.Parsing.LayerControl.MarkupReturn();
|
|
33 |
MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn markupReturn = new MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn();
|
|
33 | 34 |
|
34 | 35 |
//임시파일관련 |
35 | 36 |
TempFile temp = new TempFile(); |
... | ... | |
184 | 185 |
{ |
185 | 186 |
if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData)) |
186 | 187 |
{ |
187 |
markupReturn = layer.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
188 |
markupReturn = MarkupParser.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
188 | 189 |
|
189 | 190 |
var Item_ = ViewerDataModel.Instance.MarkupList_USER.Where(d => d.ID == (InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo).CommentID).FirstOrDefault(); |
190 | 191 |
|
... | ... | |
234 | 235 |
{ |
235 | 236 |
if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData)) |
236 | 237 |
{ |
237 |
markupReturn = layer.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
238 |
markupReturn = MarkupParser.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
238 | 239 |
MarkupData += "|OR|" + markupReturn.ConvertData; |
239 | 240 |
} |
240 | 241 |
} |
내보내기 Unified diff