개정판 782ad7b1
- Markus.Fonts/FontHelper.cs window service에서 resource를 못가져오는 문제 수정
uri 형식이 사용자UI와 틀림
Change-Id: Id98d35db2aab7cc990fd27a7da891dc5b00d97bd
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
472 | 472 |
} |
473 | 473 |
catch (Exception ex) |
474 | 474 |
{ |
475 |
throw new Exception(ex.ToString() + ex.InnerException?.ToString());
|
|
475 |
SetNotice(FinalPDF.ID, "MarkFinalPDF Error : " + ex.Message);
|
|
476 | 476 |
} |
477 | 477 |
} |
478 | 478 |
#endregion |
... | ... | |
629 | 629 |
using (PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileStream(pdfFilePath, FileMode.Create))) |
630 | 630 |
{ |
631 | 631 |
AcroFields pdfFormFields = pdfStamper.AcroFields; |
632 |
pdfFormFields.GenerateAppearances = true; |
|
632 |
|
|
633 |
try |
|
634 |
{ |
|
635 |
if (pdfFormFields.GenerateAppearances != true) |
|
636 |
{ |
|
637 |
pdfFormFields.GenerateAppearances = true; |
|
638 |
} |
|
639 |
} |
|
640 |
catch (Exception ex) |
|
641 |
{ |
|
642 |
SetNotice(FinalItem.ID, "this pdf is not AcroForm."); |
|
643 |
} |
|
633 | 644 |
|
634 | 645 |
var _SetColor = new SolidColorBrush(Colors.Red); |
635 | 646 |
|
... | ... | |
1302 | 1313 |
} |
1303 | 1314 |
catch (Exception ex) |
1304 | 1315 |
{ |
1305 |
throw ex;
|
|
1316 |
SetNotice(finaldata.ID, "SetStempinPDF error: " + ex.ToString());
|
|
1306 | 1317 |
} |
1307 | 1318 |
return false; |
1308 | 1319 |
} |
내보내기 Unified diff