개정판 9205e4e9
issue #000 comment 사라지는 현상 확인중
Change-Id: I159c76e2e22b6ebb9087b76f47e0a2a258836da6
KCOM/Services/BaseServices.cs | ||
---|---|---|
480 | 480 |
List<MarkupInfoItem> gridNonSelectionItem = gridItem.Except(gridSelectionItem).ToList(); //선택 되지 않은 마크업 |
481 | 481 |
MarkupToPDF.Controls.Parsing.LayerControl layerControl = new MarkupToPDF.Controls.Parsing.LayerControl(); |
482 | 482 |
layerControl.ProjectNo = App.ViewInfo.ProjectNO; |
483 |
Common.ViewerDataModel.Instance.MarkupControls_USER.Clear(); //전체 제거 |
|
484 |
Common.ViewerDataModel.Instance.MarkupControls.Clear(); |
|
485 |
|
|
486 |
|
|
483 | 487 |
#region 코멘트 보기 |
484 | 488 |
if (e.AddedItems.Count() > 0) |
485 | 489 |
{ |
MarkupToPDF/Controls/Parsing/MarkupParse.cs | ||
---|---|---|
3171 | 3171 |
TextWeight = StringToFont.ConFontWeight(s.fontConfig[2]), |
3172 | 3172 |
}; |
3173 | 3173 |
|
3174 |
if (instance.Text != null)
|
|
3174 |
if (!string.IsNullOrEmpty(instance.Text))
|
|
3175 | 3175 |
{ |
3176 | 3176 |
Layer.Children.Add(instance); |
3177 | 3177 |
System.Diagnostics.Debug.WriteLine(instance.Angle); |
... | ... | |
3908 | 3908 |
TextWeight = StringToFont.ConFontWeight(s.fontConfig[2]), |
3909 | 3909 |
}; |
3910 | 3910 |
|
3911 |
if (instance.Text != null)
|
|
3911 |
if (!string.IsNullOrEmpty(instance.Text))
|
|
3912 | 3912 |
{ |
3913 | 3913 |
//Layer.Children.Add(instance); |
3914 | 3914 |
instance.MarkupInfoID = markupInfoID; |
3915 | 3915 |
baseLayer.Add(instance); |
3916 |
System.Diagnostics.Debug.WriteLine(instance.Angle);
|
|
3916 |
System.Diagnostics.Debug.WriteLine(instance.Text);
|
|
3917 | 3917 |
instance.ApplyTemplate(); |
3918 | 3918 |
instance.Memo = s.Memo; |
3919 | 3919 |
if (s.fontConfig.Count() == 4) |
... | ... | |
4767 | 4767 |
TextWeight = StringToFont.ConFontWeight(s.fontConfig[2]), |
4768 | 4768 |
}; |
4769 | 4769 |
|
4770 |
if (instance.Text != null)
|
|
4770 |
if (!string.IsNullOrEmpty(instance.Text))
|
|
4771 | 4771 |
{ |
4772 | 4772 |
//Layer.Children.Add(instance); |
4773 | 4773 |
instance.CommentID = commentId; |
4774 | 4774 |
instance.MarkupInfoID = markupInfoID; |
4775 |
instance.Memo = s.Memo; |
|
4775 | 4776 |
baseLayer.Add(instance); |
4776 |
System.Diagnostics.Debug.WriteLine(instance.Angle);
|
|
4777 |
System.Diagnostics.Debug.WriteLine(instance.Text);
|
|
4777 | 4778 |
instance.ApplyTemplate(); |
4778 |
instance.Memo = s.Memo; |
|
4779 |
|
|
4779 | 4780 |
if (s.fontConfig.Count() == 4) |
4780 | 4781 |
{ |
4781 | 4782 |
instance.UnderLine = TextDecorations.Underline; |
... | ... | |
5593 | 5594 |
TextWeight = StringToFont.ConFontWeight(s.fontConfig[2]), |
5594 | 5595 |
}; |
5595 | 5596 |
|
5596 |
if (instance.Text != null)
|
|
5597 |
if (!string.IsNullOrEmpty(instance.Text))
|
|
5597 | 5598 |
{ |
5598 | 5599 |
System.Diagnostics.Debug.WriteLine(instance.Angle); |
5599 | 5600 |
instance.ApplyTemplate(); |
MarkupToPDF/Controls/Text/TextControl.cs | ||
---|---|---|
288 | 288 |
{ |
289 | 289 |
Base_TextPath.StrokeThickness = LineSize.Left; |
290 | 290 |
} |
291 |
|
|
292 |
OverViewPathData = PathData; |
|
293 | 291 |
OverViewText = Text; |
292 |
OverViewPathData = PathData; |
|
294 | 293 |
} |
295 | 294 |
|
296 | 295 |
public void DrawingCloud() |
... | ... | |
355 | 354 |
} |
356 | 355 |
} |
357 | 356 |
|
358 |
SetText(); |
|
357 |
//SetText();
|
|
359 | 358 |
} |
360 | 359 |
#endregion Internal Method |
361 | 360 |
|
내보내기 Unified diff