개정판 488ba687
issue #1005: 사용자가 생성한 Highlight 텍스트가 Final PDF에 생성되어야 한다
Change-Id: Ie803b8c57c5fff474eb52a48cdf617ac0deb3bb3
FinalService/KCOM_FinalService/ConsoleApp1/Program.cs | ||
---|---|---|
16 | 16 |
string PdfFilePathRoot = ""; |
17 | 17 |
string _FinalPDFStorgeLocal = ""; |
18 | 18 |
string _FinalPDFStorgeRemote = ""; |
19 |
//string outPath = @"F:\sample_out.pdf"; |
|
20 |
//MarkupToPDF.MarkupToPDF pdf = new MarkupToPDF.MarkupToPDF(); |
|
21 |
////pdf.flattenPdfFile(@"F:\sample.pdf" , ref outPath); |
|
22 |
|
|
23 |
//if(File.Exists(@"F:\sample_A.pdf")) |
|
24 |
//{ |
|
25 |
// File.Delete(@"F:\sample_A.pdf"); |
|
26 |
//} |
|
27 |
//File.Copy(@"F:\sample.pdf", @"F:\sample_A.pdf"); |
|
28 |
|
|
29 |
//var data = pdf.SetFlattingPDF(@"F:\sample_A.pdf"); |
|
30 |
|
|
31 | 19 |
|
32 | 20 |
//using (KCOMEntities _entity = new KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
33 | 21 |
//{ |
... | ... | |
58 | 46 |
{ |
59 | 47 |
|
60 | 48 |
//FINAL_PDF item = _entity.FINAL_PDF.Where(d => d.ID == "ngKwBgMotw8d56dea3839120d").FirstOrDefault(); |
61 |
FINAL_PDF item = _entity.FINAL_PDF.Where(d => d.ID == "5lGkK3USjB8d5bc829ae4f178").FirstOrDefault();
|
|
49 |
FINAL_PDF item = _entity.FINAL_PDF.Where(d => d.ID == "Bm6qsYD9Hu8d6e7c702626345").FirstOrDefault();
|
|
62 | 50 |
//_entity.FINAL_PDF.AddObject(new FINAL_PDF |
63 | 51 |
//{ |
64 | 52 |
// ID = Guid.NewGuid().ToString(), |
내보내기 Unified diff