개정판 6a19b48d
issue #00000 페이지 이미지 download 로직 수정
Change-Id: I4da03c36b5a135eea80b57b20ada38239afd1082
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
668 | 668 |
StringBuilder strLog = new StringBuilder(); |
669 | 669 |
int lastPageNo = 0; |
670 | 670 |
|
671 |
strLog.Append($"Write {DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss")} markup Count : {MarkupDataSet.Count()} / "); |
|
671 |
//strLog.Append($"Write {DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss")} markup Count : {MarkupDataSet.Count()} / ");
|
|
672 | 672 |
|
673 | 673 |
foreach (var markupItem in MarkupDataSet) |
674 | 674 |
{ |
... | ... | |
722 | 722 |
string[] markedData = markupItem.DATA.Split(delimiterChars, StringSplitOptions.RemoveEmptyEntries); |
723 | 723 |
|
724 | 724 |
PdfContentByte contentByte = pdfStamper.GetOverContent(markupItem.PAGENUMBER); |
725 |
strLog.Append($"p.{markupItem.PAGENUMBER}:{markupItem.DATA_TYPE}/"); |
|
725 |
//strLog.Append($"p.{markupItem.PAGENUMBER}:{markupItem.DATA_TYPE}/");
|
|
726 | 726 |
|
727 | 727 |
foreach (var data in markedData) |
728 | 728 |
{ |
... | ... | |
1263 | 1263 |
|
1264 | 1264 |
if (StatusChanged != null) |
1265 | 1265 |
{ |
1266 |
StatusChanged(this, new StatusChangedEventArgs { CurrentPage = lastPageNo, Message = strLog.ToString() });
|
|
1266 |
StatusChanged(this, new StatusChangedEventArgs { CurrentPage = lastPageNo, Message = "" });
|
|
1267 | 1267 |
} |
1268 | 1268 |
//PdfFileSpecification pfs = PdfFileSpecification.FileEmbedded(pdfStamper.Writer, @"C:\Users\kts\Documents\업무\CARS\엑셀양식\F-000-5378-702_R2_계장 Cable Schedule Sample.xlsx", "F-000-5378-702_R2_계장 Cable Schedule Sample.xlsx", null); |
1269 | 1269 |
//pdfStamper.AddFileAttachment("F-000-5378-702_R2_계장 Cable Schedule Sample.xlsx", pfs); |
내보내기 Unified diff