-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from radoslawik/docx-doc-support
Add docx and doc support
- Loading branch information
Showing
60 changed files
with
964 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum AppLanguage | ||
{ | ||
English, | ||
Polski, | ||
Francais | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum ImageExtension | ||
{ | ||
Jpg, | ||
Png, | ||
Bmp | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum MatchConfidence | ||
{ | ||
High, // found exact expression | ||
Medium, // found the all the words from the expression | ||
Low // found part of the words from the expression | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum RecognitionLanguage | ||
{ | ||
Default, | ||
English, | ||
French, | ||
Polish | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum RecognitionPrecision | ||
{ | ||
Default, | ||
High, | ||
Medium, | ||
Low | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum SearchInfo | ||
{ | ||
Unknown, | ||
Init, | ||
Run, | ||
NoResults, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum SearchStatus | ||
{ | ||
Unknown, | ||
Ready, | ||
Initializing, | ||
Running, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| ||
namespace InDepthSearch.Core.Enums | ||
{ | ||
public enum Theme | ||
{ | ||
Default, | ||
Light, | ||
Dark, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
| ||
using InDepthSearch.Core.Models; | ||
using System.Collections.ObjectModel; | ||
|
||
namespace InDepthSearch.Core.Managers.Interfaces | ||
{ | ||
public interface IResultManager | ||
{ | ||
ObservableCollection<QueryResult> Results { get; } | ||
ResultStats Stats { get; } | ||
bool ItemsReady { get; set; } | ||
void Reinitialize(); | ||
void AddResult(QueryResult res); | ||
void SetItemsReady(bool ready); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
using Docnet.Core.Models; | ||
using InDepthSearch.Core.Types; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Drawing.Imaging; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using InDepthSearch.Core.Enums; | ||
|
||
namespace InDepthSearch.Core.Services.Interfaces | ||
{ | ||
public interface IOptionService | ||
{ | ||
public (PageDimensions, RenderFlags, PixelFormat, ImageFormat) TranslatePrecision(RecognitionPrecision rp); | ||
public (PageDimensions, RenderFlags, ImageExtension) TranslatePrecision(RecognitionPrecision rp); | ||
public string TranslateLanguage(RecognitionLanguage rl); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using InDepthSearch.Core.Enums; | ||
using InDepthSearch.Core.Models; | ||
|
||
namespace InDepthSearch.Core.Services.Interfaces | ||
{ | ||
public interface ISearchService | ||
{ | ||
void Search(string file, SearchOptions searchOptions); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.