개정판 b2948d06
issue #00000 FinalPDF Result Link 업데이트 API 추가
Change-Id: I61608d9477c1e2e086bcb858fc8d8b1128a11e1e
KCOM/Controls/SearchPanel.xaml.cs | ||
---|---|---|
103 | 103 |
pageoption = chkCurrentPageOnly.IsChecked.Value; |
104 | 104 |
})); |
105 | 105 |
|
106 |
extractor.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
|
107 |
extractor.RegexSearch = true; |
|
108 |
|
|
109 |
//ocrAnalyzer.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
|
106 |
//Bytescout.PDFExtractor.SearchablePDFMaker maker = new Bytescout.PDFExtractor.SearchablePDFMaker(RegistrationName, RegistrationKey); |
|
107 |
//maker.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
|
108 |
//maker.MakePDFSearchable(Common.ViewerDataModel.Instance.searchPDF.FullName + ".pdf"); |
|
109 |
|
|
110 |
//maker.Dispose(); |
|
111 |
extractor.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName + ".pdf"); |
|
110 | 112 |
|
111 | 113 |
if (pageoption) |
112 | 114 |
{ |
... | ... | |
114 | 116 |
|
115 | 117 |
//Bytescout.PDFExtractor.OCRAnalysisResults analysisResults = ocrAnalyzer.AnalyzeByOCRConfidence(currentPage); |
116 | 118 |
//ocrAnalyzer.ApplyResults(analysisResults, extractor); |
117 |
|
|
119 |
|
|
118 | 120 |
if (extractor.Find(currentPage, searchString, false)) |
119 | 121 |
do |
120 | 122 |
{ |
내보내기 Unified diff