개정판 036650a0
issue #999: Add serialize method to all of controls
Change-Id: I74e404885e8cd107b48ad1921e768137ed14a3da
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
4 | 4 |
using KCOMDataModel.Common; |
5 | 5 |
using KCOMDataModel.DataModel; |
6 | 6 |
using MarkupToPDF.Common; |
7 |
using MarkupToPDF.Controls.Parsing; |
|
7 | 8 |
using Svg2Xaml; |
8 | 9 |
using System; |
9 | 10 |
using System.Collections.Generic; |
... | ... | |
209 | 210 |
#region Private Symbol Add Event |
210 | 211 |
private void Create_Symbol(object sender, RoutedEventArgs e) |
211 | 212 |
{ |
212 |
MarkupToPDF.Controls.Parsing.LayerControl.MarkupReturn markupReturn = new MarkupToPDF.Controls.Parsing.LayerControl.MarkupReturn(); |
|
213 |
|
|
214 | 213 |
if (Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.SelectLayer.Children.Count < 1) //선택된 것이 없으면 |
215 | 214 |
{ |
216 | 215 |
DialogMessage_Alert("Please Select Controls", "Alert"); |
... | ... | |
229 | 228 |
{ |
230 | 229 |
if (!ViewerDataModel.Instance.MarkupControls.Contains(InnerItem.DrawingData)) |
231 | 230 |
{ |
232 |
markupReturn = layer.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
231 |
var markupReturn = MarkupParser.MarkupToString(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo, App.ViewInfo.UserID);
|
|
233 | 232 |
MarkupData += markupReturn.ConvertData; |
234 | 233 |
} |
235 | 234 |
} |
내보내기 Unified diff