개정판 223975f7
Issue #0001 Angle 제외 후 Merge
Change-Id: I40be231c15f22103d9d943588b3166feda837d04
KCOM/Controls/SearchPanel.xaml.cs | ||
---|---|---|
99 | 99 |
})); |
100 | 100 |
|
101 | 101 |
extractor.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
102 |
ocrAnalyzer.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
|
102 |
//ocrAnalyzer.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName);
|
|
103 | 103 |
|
104 | 104 |
if (pageoption) |
105 | 105 |
{ |
106 | 106 |
var currentPage = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber - 1; |
107 | 107 |
|
108 |
Bytescout.PDFExtractor.OCRAnalysisResults analysisResults = ocrAnalyzer.AnalyzeByOCRConfidence(currentPage); |
|
109 |
ocrAnalyzer.ApplyResults(analysisResults, extractor); |
|
108 |
//Bytescout.PDFExtractor.OCRAnalysisResults analysisResults = ocrAnalyzer.AnalyzeByOCRConfidence(currentPage);
|
|
109 |
//ocrAnalyzer.ApplyResults(analysisResults, extractor);
|
|
110 | 110 |
|
111 | 111 |
if (extractor.Find(currentPage, searchString, false)) |
112 | 112 |
do |
... | ... | |
124 | 124 |
for (int i = 0; i < pageCount; i++) |
125 | 125 |
{ |
126 | 126 |
Bytescout.PDFExtractor.OCRAnalysisResults analysisResults = ocrAnalyzer.AnalyzeByOCRConfidence(i); |
127 |
ocrAnalyzer.ApplyResults(analysisResults, extractor); |
|
127 |
//ocrAnalyzer.ApplyResults(analysisResults, extractor);
|
|
128 | 128 |
if (extractor.Find(i, searchString, false)) |
129 | 129 |
do |
130 | 130 |
{ |
... | ... | |
198 | 198 |
string instnaceFile = System.IO.Path.GetTempFileName().Replace(".pdf", ".tmp"); |
199 | 199 |
client.DownloadFileCompleted += Client_DownloadFileCompleted; |
200 | 200 |
client.DownloadProgressChanged += Client_DownloadProgressChanged; |
201 |
client.DownloadFileAsync(new Uri(Common.ViewerDataModel.Instance.SystemMain.dzMainMenu._DocInfo.ORIGINAL_FILE), instnaceFile, instnaceFile); |
|
201 |
string downloadurl = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.GetOriginalPDFURL(); |
|
202 |
client.DownloadFileAsync(new Uri(downloadurl), instnaceFile, instnaceFile); |
|
202 | 203 |
} |
203 | 204 |
} |
204 | 205 |
catch (Exception ex) |
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
133 | 133 |
{ |
134 | 134 |
symbol_Public = ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetPublicSymbolList(null); |
135 | 135 |
} |
136 |
|
|
136 | 137 |
foreach (var item in symbol_Public) |
137 | 138 |
{ |
138 | 139 |
Custom.Name = item.NAME; |
... | ... | |
141 | 142 |
Custom_List.Add(Custom); |
142 | 143 |
Custom = new Symbol_Custom(); |
143 | 144 |
} |
144 |
lstSymbolPublic.ItemsSource = Custom_List;
|
|
145 |
lstSymbolPublic.ItemsSource = Custom_List; |
|
145 | 146 |
} |
146 | 147 |
|
147 | 148 |
public PngBitmapEncoder symImage(string data) |
KCOM/KCOM.csproj.user | ||
---|---|---|
13 | 13 |
<VerifyUploadedFiles>false</VerifyUploadedFiles> |
14 | 14 |
</PropertyGroup> |
15 | 15 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> |
16 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjA5MDJjMWUyODAwMjQxYmQiLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJkc2plb25nIiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJNb2RlIjowfQ==</StartArguments>
|
|
16 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMTQ5IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJhZG1pbiIsIk1vZGUiOjB9</StartArguments>
|
|
17 | 17 |
</PropertyGroup> |
18 | 18 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
19 | 19 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMTQ5IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJhZG1pbiIsIk1vZGUiOjB9</StartArguments> |
내보내기 Unified diff