개정판 5a223b60
Fix: Approval로 등록된 심볼을 배치하지 못하는 오류 수정
- 심볼 배치 후 작업 영역을 클릭하면 MARKUS가 종료되는 오류 수정
Change-Id: I4e5be7f497aae8ba3f385c8efad688a7f82ae492
KCOM/Events/PasteCommand.cs | ||
---|---|---|
91 | 91 | |
92 | 92 |
var control = (item as MarkupToPDF.Common.CommentUserInfo); |
93 | 93 | |
94 |
control.CommentID = Commons.shortGuid();
|
|
94 |
control.CommentID = Commons.ShortGuid();
|
|
95 | 95 |
control.MarkupInfoID = App.Custom_ViewInfoId; |
96 | 96 |
control.IsNew = true; |
97 | 97 | |
... | ... | |
139 | 139 |
}; |
140 | 140 | |
141 | 141 |
string temppath = System.IO.Path.GetTempPath(); |
142 |
string filename = Commons.shortFileKey();
|
|
142 |
string filename = Commons.ShortFileKey();
|
|
143 | 143 | |
144 | 144 |
System.Drawing.Image clipboardImage = System.Windows.Forms.Clipboard.GetImage(); |
145 | 145 |
clipboardImage.Save(Path.Combine(temppath, filename)); |
... | ... | |
215 | 215 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
216 | 216 | |
217 | 217 |
ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo); |
218 |
currentControl.CommentID = Commons.shortGuid();
|
|
218 |
currentControl.CommentID = Commons.ShortGuid();
|
|
219 | 219 | |
220 | 220 |
currentControl.ApplyTemplate(); |
221 | 221 |
currentControl.SetImage(); |
... | ... | |
275 | 275 | |
276 | 276 |
System.Windows.Controls.Control item = await MarkupParser.ParseExAsync(App.BaseAddress, ViewerDataModel.Instance.NewMarkupCancelToken(), App.ViewInfo.ProjectNO, data2[0], ViewerDataModel.Instance.MarkupControls_USER, ViewerDataModel.Instance.PageAngle, "#FFFF0000", string.Empty, |
277 | 277 |
STAMP_Contents: App.SystemInfo.STAMP_CONTENTS); |
278 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid();
|
|
278 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.ShortGuid();
|
|
279 | 279 |
if (data2.Length >= 2) |
280 | 280 |
{ |
281 | 281 |
(item as MarkupToPDF.Common.CommentUserInfo).SymbolID = data2[1]; |
... | ... | |
322 | 322 |
}; |
323 | 323 | |
324 | 324 |
string temppath = System.IO.Path.GetTempPath(); |
325 |
string filename = Commons.shortFileKey();
|
|
325 |
string filename = Commons.ShortFileKey();
|
|
326 | 326 | |
327 | 327 |
System.Drawing.Image clipboardImage = System.Windows.Forms.Clipboard.GetImage(); |
328 | 328 |
clipboardImage.Save(Path.Combine(temppath , filename)); |
... | ... | |
398 | 398 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
399 | 399 | |
400 | 400 |
ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo); |
401 |
currentControl.CommentID = Commons.shortGuid();
|
|
401 |
currentControl.CommentID = Commons.ShortGuid();
|
|
402 | 402 | |
403 | 403 |
currentControl.ApplyTemplate(); |
404 | 404 |
currentControl.SetImage(); |
내보내기 Unified diff