프로젝트

일반

사용자정보

개정판 90a0bfa9

ID90a0bfa920455c7cebe14c78135b6e0a6738c039
상위 de4c7a4a
하위 35afe17c

김동진이(가) 5년 이상 전에 추가함

issue #000: search text 수정.

Change-Id: Ic3df904d70d553eae3a1eb97d8bf16d27bb056f6

차이점 보기:

KCOM/Controls/SearchPanel.xaml.cs
151 151
                ocrAnalyzer = new Bytescout.PDFExtractor.OCRAnalyzer(RegistrationName, RegistrationKey);
152 152
                extractor.OCRMode = Bytescout.PDFExtractor.OCRMode.Auto;
153 153
                extractor.OCRLanguage = "eng";
154
                extractor.OCRLanguageDataFolder = System.AppDomain.CurrentDomain.BaseDirectory + "\\tessdata\\";
154
                extractor.OCRLanguageDataFolder = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "tessdata");
155
                    
155 156
                extractor.OCRResolution = 300;
156 157

  
157 158
                ocrAnalyzer.OCRLanguage = "eng";
158
                ocrAnalyzer.OCRLanguageDataFolder = System.AppDomain.CurrentDomain.BaseDirectory + "\\tessdata\\";
159
                ocrAnalyzer.OCRLanguageDataFolder = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "tessdata");
159 160

  
160 161
            }
161 162
            catch (Exception ex)
KCOM/KCOM.csproj
169 169
    <Reference Include="System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
170 170
      <HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll</HintPath>
171 171
    </Reference>
172
    <Reference Include="System.Web" />
172 173
    <Reference Include="System.Web.Services" />
173 174
    <Reference Include="System.Windows.Forms" />
174 175
    <Reference Include="System.Windows.Interactivity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
KCOM/Services/BaseServices.cs
17 17
using Telerik.Windows.Controls;
18 18
using MarkupToPDF.Controls.Parsing;
19 19
using Telerik.Windows.Data;
20
using System.Web;
20 21

  
21 22
namespace KCOM.Views
22 23
{
......
160 161

  
161 162
            if (e.Result != null && e.Error == null)
162 163
            {
163
                gridViewHistory.ItemsSource = e.Result;
164
                List<VPRevision> list = e.Result;
165
                foreach (var item in list)
166
                {
167
                    item.FROM_VENDOR = HttpUtility.UrlDecode(item.FROM_VENDOR);
168
                }
169
                gridViewHistory.ItemsSource = list;
170

  
164 171
            }
165 172
            TempFile.TempLoad();
166 173
        }
......
217 224
            MainUrl = MainUrl.Replace(@"http://http://", @"http://");
218 225

  
219 226
            _DocInfo = e.Result;
227
            _DocInfo.ORIGINAL_FILE = HttpUtility.UrlDecode(_DocInfo.ORIGINAL_FILE);
220 228
            foreach (var item in _DocInfo.DOCPAGE.OrderBy(order => order.PAGE_NUMBER))
221 229
            {
222 230
                ViewerDataModel.Instance.Document_Info.Add(item);

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)