개정판 29010418
issue #000: daelim source compare 중
Change-Id: Icba4b84746c71502e895fde47f4c14f82b179230
KCOM/Controls/SearchPanel.xaml.cs | ||
---|---|---|
74 | 74 |
private void Worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) |
75 | 75 |
{ |
76 | 76 |
Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate |
77 |
{
|
|
77 |
{ |
|
78 | 78 |
this.searchIndicator.IsBusy = false; |
79 | 79 |
this.DataContext = this; |
80 | 80 |
tbSearch.Text = ""; |
... | ... | |
95 | 95 |
searchString = tbSearch.Text; |
96 | 96 |
pageoption = chkCurrentPageOnly.IsChecked.Value; |
97 | 97 |
})); |
98 |
|
|
98 |
|
|
99 | 99 |
extractor.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
100 | 100 |
ocrAnalyzer.LoadDocumentFromFile(Common.ViewerDataModel.Instance.searchPDF.FullName); |
101 | 101 |
|
... | ... | |
112 | 112 |
Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate |
113 | 113 |
{ |
114 | 114 |
SearchSet.Add(new SearchText { PageNo = currentPage + 1, searchResult = extractor.FoundText }); |
115 |
}));
|
|
115 |
})); |
|
116 | 116 |
} |
117 | 117 |
while (extractor.FindNext()); |
118 | 118 |
} |
... | ... | |
129 | 129 |
Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(delegate |
130 | 130 |
{ |
131 | 131 |
SearchSet.Add(new SearchText { PageNo = i + 1, searchResult = extractor.FoundText }); |
132 |
}));
|
|
132 |
})); |
|
133 | 133 |
} |
134 | 134 |
while (extractor.FindNext()); |
135 | 135 |
} |
136 |
}
|
|
136 |
} |
|
137 | 137 |
} |
138 | 138 |
|
139 | 139 |
private void tbSearch_KeyDown(object sender, KeyEventArgs e) |
내보내기 Unified diff