diff --git a/SimpleFullTextSearcher/FileSearcher/Helpers/FullTextSearchHelper.cs b/SimpleFullTextSearcher/FileSearcher/Helpers/FullTextSearchHelper.cs index 1055d3a..a3d6353 100644 --- a/SimpleFullTextSearcher/FileSearcher/Helpers/FullTextSearchHelper.cs +++ b/SimpleFullTextSearcher/FileSearcher/Helpers/FullTextSearchHelper.cs @@ -5,74 +5,11 @@ using Code7248.word_reader; using iTextSharp.text.pdf; using iTextSharp.text.pdf.parser; -using Spire.Doc; -using Spire.Pdf; -using PdfDocument = Spire.Pdf.PdfDocument; namespace SimpleFullTextSearcher.FileSearcher.Helpers { public static class FullTextSearchHelper { - // Spire.Office может обрабатывать только 10 файлов, поэтому не задействуем его. Если приобрести лицензию, то можно раскомментировать - //#region Spire.Office - - //public static bool FindTextInPdf(string fileFullPath, string text) - //{ - // try - // { - // var pdf = new PdfDocument(fileFullPath); - // foreach (PdfPageBase page in pdf.Pages) - // { - // if (page.FindText(text).Finds.Any() || page.FindText(text.ToLower()).Finds.Any()) - // return true; - // } - - // return false; - // } - // catch (Exception e) - // { - // return false; - // } - //} - - //public static bool FindTextInWordFile(string fileFullPath, string text) - //{ - // try - // { - // var doc = new Document(fileFullPath); - // return doc.GetText().IndexOf(text, StringComparison.OrdinalIgnoreCase) >= 0; - // } - // catch (Exception e) - // { - // return false; - // } - //} - - //public static bool FindTextInExcellFile(string fileFullPath, string text) - //{ - // try - // { - // var workbook = new Workbook(); - // workbook.LoadFromFile(fileFullPath); - // foreach (var sheet in workbook.Worksheets) - // { - // foreach (var range in sheet.Range) - // { - // if (range.Text.IndexOf(text, StringComparison.OrdinalIgnoreCase) >= 0) - // return true; - // } - // } - - // return false; - // } - // catch (Exception e) - // { - // return false; - // } - //} - - //#endregion - public static bool FindTextInPdf(string fileFullPath, string text) => (GetTextFromPdf(fileFullPath).IndexOf(text, StringComparison.OrdinalIgnoreCase) >= 0); private static string GetTextFromPdf(string fileFullPath) @@ -103,7 +40,7 @@ public static bool FindTextInWord(string fileFullPath, string text) var extractor = new TextExtractor(fileFullPath); return extractor.ExtractText().IndexOf(text, StringComparison.OrdinalIgnoreCase) >= 0; } - catch (Exception e) + catch (Exception) { return false; } @@ -136,7 +73,7 @@ public static bool FindTextInExcell(string fileFullPath, string text) } } - catch (Exception e) + catch (Exception) { return false; } diff --git a/SimpleFullTextSearcher/FileSearcher/Helpers/IconHelper.cs b/SimpleFullTextSearcher/FileSearcher/Helpers/IconHelper.cs index f78ede1..e0900f9 100644 --- a/SimpleFullTextSearcher/FileSearcher/Helpers/IconHelper.cs +++ b/SimpleFullTextSearcher/FileSearcher/Helpers/IconHelper.cs @@ -7,7 +7,7 @@ namespace SimpleFullTextSearcher.FileSearcher.Helpers public class IconHelper { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] - private struct SHFILEINFO + private struct Shfileinfo { public IntPtr hIcon; public int iIcon; @@ -19,7 +19,7 @@ private struct SHFILEINFO } [DllImport("Shell32.dll", EntryPoint = "SHGetFileInfo", SetLastError = true, CharSet = CharSet.Auto)] - private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbFileInfo, uint uFlags); + private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref Shfileinfo psfi, uint cbFileInfo, uint uFlags); [DllImport("User32.dll", EntryPoint = "DestroyIcon")] private static extern int DestroyIcon(IntPtr hIcon); @@ -75,7 +75,7 @@ private enum FileAttributeFlags : uint /// Возвращает Icon файла public static Icon GetIcon(string fileName) { - var shfi = new SHFILEINFO(); + var shfi = new Shfileinfo(); var res = SHGetFileInfo(fileName, (uint)FileAttributeFlags.FILE_ATTRIBUTE_NORMAL, ref shfi, diff --git a/SimpleFullTextSearcher/FormMain.Designer.cs b/SimpleFullTextSearcher/FormMain.Designer.cs index e419243..c8807db 100644 --- a/SimpleFullTextSearcher/FormMain.Designer.cs +++ b/SimpleFullTextSearcher/FormMain.Designer.cs @@ -92,41 +92,41 @@ private void InitializeComponent() // // sfsSearchTextClearButton // + this.sfsSearchTextClearButton.Image = ((System.Drawing.Image)(resources.GetObject("sfsSearchTextClearButton.Image"))); this.sfsSearchTextClearButton.Location = new System.Drawing.Point(482, 72); this.sfsSearchTextClearButton.Name = "sfsSearchTextClearButton"; this.sfsSearchTextClearButton.Size = new System.Drawing.Size(24, 23); this.sfsSearchTextClearButton.TabIndex = 2; - this.sfsSearchTextClearButton.Text = "X"; this.sfsSearchTextClearButton.UseVisualStyleBackColor = true; this.sfsSearchTextClearButton.Click += new System.EventHandler(this.sfsSearchTextClearButton_Click); // // sfsFileNamePatternClearButton // + this.sfsFileNamePatternClearButton.Image = ((System.Drawing.Image)(resources.GetObject("sfsFileNamePatternClearButton.Image"))); this.sfsFileNamePatternClearButton.Location = new System.Drawing.Point(482, 46); this.sfsFileNamePatternClearButton.Name = "sfsFileNamePatternClearButton"; this.sfsFileNamePatternClearButton.Size = new System.Drawing.Size(24, 23); this.sfsFileNamePatternClearButton.TabIndex = 2; - this.sfsFileNamePatternClearButton.Text = "X"; this.sfsFileNamePatternClearButton.UseVisualStyleBackColor = true; this.sfsFileNamePatternClearButton.Click += new System.EventHandler(this.sfsFileNamePatternClearButton_Click); // // sfsInitialDirectoryClearButton // + this.sfsInitialDirectoryClearButton.Image = ((System.Drawing.Image)(resources.GetObject("sfsInitialDirectoryClearButton.Image"))); this.sfsInitialDirectoryClearButton.Location = new System.Drawing.Point(482, 20); this.sfsInitialDirectoryClearButton.Name = "sfsInitialDirectoryClearButton"; this.sfsInitialDirectoryClearButton.Size = new System.Drawing.Size(24, 23); this.sfsInitialDirectoryClearButton.TabIndex = 2; - this.sfsInitialDirectoryClearButton.Text = "X"; this.sfsInitialDirectoryClearButton.UseVisualStyleBackColor = true; this.sfsInitialDirectoryClearButton.Click += new System.EventHandler(this.sfsInitialDirectoryClearButton_Click); // // sfsInitialDirectorySelectButton // + this.sfsInitialDirectorySelectButton.Image = ((System.Drawing.Image)(resources.GetObject("sfsInitialDirectorySelectButton.Image"))); this.sfsInitialDirectorySelectButton.Location = new System.Drawing.Point(452, 20); this.sfsInitialDirectorySelectButton.Name = "sfsInitialDirectorySelectButton"; this.sfsInitialDirectorySelectButton.Size = new System.Drawing.Size(24, 23); this.sfsInitialDirectorySelectButton.TabIndex = 2; - this.sfsInitialDirectorySelectButton.Text = "..."; this.sfsInitialDirectorySelectButton.UseVisualStyleBackColor = true; this.sfsInitialDirectorySelectButton.Click += new System.EventHandler(this.sfsInitialDirectorySelectButton_Click); // diff --git a/SimpleFullTextSearcher/FormMain.resx b/SimpleFullTextSearcher/FormMain.resx index 24fd43b..18b525e 100644 --- a/SimpleFullTextSearcher/FormMain.resx +++ b/SimpleFullTextSearcher/FormMain.resx @@ -121,6 +121,213 @@ 17, 17 + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGeYUxB9wAAACBjSFJNAACH + EAAAjBIAAP1NAACBPgAAWesAARIPAAA85gAAGc66ySIyAAABJmlDQ1BBZG9iZSBSR0IgKDE5OTgpAAAo + z2NgYDJwdHFyZRJgYMjNKykKcndSiIiMUmA/z8DGwMwABonJxQWOAQE+IHZefl4qAwb4do2BEURf1gWZ + xUAa4EouKCoB0n+A2CgltTiZgYHRAMjOLi8pAIozzgGyRZKywewNIHZRSJAzkH0EyOZLh7CvgNhJEPYT + ELsI6Akg+wtIfTqYzcQBNgfClgGxS1IrQPYyOOcXVBZlpmeUKBhaWloqOKbkJ6UqBFcWl6TmFit45iXn + FxXkFyWWpKYA1ULcBwaCEIWgENMAarTQZKAyAMUDhPU5EBy+jGJnEGIIkFxaVAZlMjIZE+YjzJgjwcDg + v5SBgeUPQsykl4FhgQ4DA/9UhJiaIQODgD4Dw745AMDGT/0ZOjZcAAAACXBIWXMAAFxFAABcRQG5LWIs + AAAIp2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0w + TXBDZWhpSHpyZVN6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+s69a + iMhfaPSg0YNGDxo9aPSg0YNGDxo9UC23r/NyN9lucJw6nOarJExNtzgMLcqxlYSp6RZF3yhJmBvyd60k + f4VIz9o+91+n75A9w97jEhk7/Ro7wQrTpXsh68Pw/QAAAABJRU5ErkJggg== + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGeYUxB9wAAACBjSFJNAACH @@ -269,7 +476,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAC2 - CAAAAk1TRnQBSQFMAgEBAgEAARABAAEQAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAARgBAAEYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA diff --git a/SimpleFullTextSearcher/Images/browse.png b/SimpleFullTextSearcher/Images/browse.png new file mode 100644 index 0000000..4ff01a9 Binary files /dev/null and b/SimpleFullTextSearcher/Images/browse.png differ diff --git a/SimpleFullTextSearcher/Images/clear.png b/SimpleFullTextSearcher/Images/clear.png new file mode 100644 index 0000000..f6f1872 Binary files /dev/null and b/SimpleFullTextSearcher/Images/clear.png differ diff --git a/SimpleFullTextSearcher/SimpleFullTextSearcher.csproj b/SimpleFullTextSearcher/SimpleFullTextSearcher.csproj index c8e7c2d..91b7db9 100644 --- a/SimpleFullTextSearcher/SimpleFullTextSearcher.csproj +++ b/SimpleFullTextSearcher/SimpleFullTextSearcher.csproj @@ -44,36 +44,6 @@ ..\packages\iTextSharp.5.5.13\lib\itextsharp.dll - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.Barcode.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.DataExport.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.DataExport.ResourceMgr.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.Doc.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.DocViewer.Forms.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.License.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.Pdf.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.PdfViewer.Forms.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.Presentation.dll - - - ..\packages\FreeSpire.Office.3.0\lib\net40\Spire.XLS.dll - @@ -134,6 +104,8 @@ + + diff --git a/SimpleFullTextSearcher/packages.config b/SimpleFullTextSearcher/packages.config index 1b57677..5fc817c 100644 --- a/SimpleFullTextSearcher/packages.config +++ b/SimpleFullTextSearcher/packages.config @@ -1,6 +1,5 @@  - \ No newline at end of file