개정판 a7296e35
issue #645 Stamp error modify
MarkupToPDF/Controls/Parsing/MarkupParse.cs | ||
---|---|---|
4014 | 4014 |
PathXathData = s.DBData, |
4015 | 4015 |
}; |
4016 | 4016 |
instance.Memo = s.Memo; |
4017 |
baseLayer.Add(instance); |
|
4018 | 4017 |
instance.MarkupInfoID = markupInfoID; |
4018 |
baseLayer.Add(instance); |
|
4019 | 4019 |
instance.ApplyTemplate(); |
4020 | 4020 |
|
4021 |
//var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressString_NonPrefix(appovalData); |
|
4022 |
//instance.PathXathData = s.DBData; |
|
4023 |
|
|
4024 |
//var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressString_NonPrefix(appovalData); |
|
4025 |
//xamlData = xamlData.Replace("daelim", "DAELIM"); |
|
4026 |
//System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
|
4027 |
//System.IO.StreamWriter writer = new System.IO.StreamWriter(stream); |
|
4028 |
//writer.Write(xamlData); |
|
4029 |
//writer.Flush(); |
|
4030 |
//stream.Position = 0; |
|
4021 |
var xamlData = MarkupToPDF.Serialize.Core.JsonSerializerHelper.UnCompressString_NonPrefix(instance.PathXathData); |
|
4022 |
xamlData = xamlData.Replace("daelim", "DAELIM"); |
|
4023 |
xamlData = xamlData.Replace("#FFFF0000", DisplayColor); |
|
4024 |
System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
|
4025 |
System.IO.StreamWriter writer = new System.IO.StreamWriter(stream); |
|
4026 |
writer.Write(xamlData); |
|
4027 |
writer.Flush(); |
|
4028 |
stream.Position = 0; |
|
4031 | 4029 |
|
4032 |
//object obj = XamlReader.Load(stream); |
|
4033 |
//instance.Base_ViewBox.Child = obj as UIElement; |
|
4034 |
//instance.PathXathData = appovalData; |
|
4035 |
//instance.SetViewBox(); |
|
4030 |
object obj = XamlReader.Load(stream); |
|
4031 |
instance.Base_ViewBox.Child = obj as UIElement; |
|
4032 |
instance.SetViewBox(); |
|
4036 | 4033 |
} |
4037 | 4034 |
break; |
4038 | 4035 |
#endregion |
... | ... | |
4710 | 4707 |
PathXathData = s.DBData, |
4711 | 4708 |
}; |
4712 | 4709 |
instance.Memo = s.Memo; |
4710 |
instance.MarkupInfoID = markupInfoID; |
|
4713 | 4711 |
baseLayer.Add(instance); |
4714 | 4712 |
instance.CommentID = commentId; |
4715 | 4713 |
instance.ApplyTemplate(); |
... | ... | |
4723 | 4721 |
stream.Position = 0; |
4724 | 4722 |
|
4725 | 4723 |
object obj = XamlReader.Load(stream); |
4726 |
instance.Base_ViewBox.Child = obj as UIElement; |
|
4727 |
//instance.PathXathData = appovalData; |
|
4724 |
instance.Base_ViewBox.Child = obj as UIElement; |
|
4728 | 4725 |
instance.SetViewBox(); |
4729 | 4726 |
} |
4730 | 4727 |
break; |
내보내기 Unified diff