diff --git a/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs b/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs index 0c641e21..3329b53c 100644 --- a/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs +++ b/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs @@ -200,7 +200,7 @@ internal static async Task AssertImageIsEqual(string actualImagePath, string exp await File.WriteAllBytesAsync(allowedDiffInfo.NewDiffImageFileName, png.ToArray()); } - // Uncomment following line to add an allowed diff file + // Uncomment following two lines to add an allowed diff file //var expectedDirectoryPath = Path.GetDirectoryName(expectFullPath); //File.Copy(allowedDiffInfo.NewDiffImageFileName, Path.Combine(expectedDirectoryPath, allowedDiffInfo.NewDiffImageFileName), true); diff --git a/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj b/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj index 07395205..ae9472fd 100644 --- a/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj +++ b/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj @@ -1,34 +1,34 @@ - - - - Exe - net8.0 - net8.0 - 8.0 - true - - - - - - - - - - - - - True - True - Settings.settings - - - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - + + + + Exe + net8.0 + net8.0 + 8.0 + true + + + + + + + + + + + + + True + True + Settings.settings + + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + diff --git a/TestFiles/HC002-Hebrew-01.docxExpectation.png.diff.win20250920081949.png b/TestFiles/HC002-Hebrew-01.docxExpectation.png.diff.win20250920081949.png new file mode 100644 index 00000000..917dda93 Binary files /dev/null and b/TestFiles/HC002-Hebrew-01.docxExpectation.png.diff.win20250920081949.png differ diff --git a/TestFiles/HC003-Hebrew-02.docxExpectation.png.diff.win20250920081752.png b/TestFiles/HC003-Hebrew-02.docxExpectation.png.diff.win20250920081752.png new file mode 100644 index 00000000..858e2935 Binary files /dev/null and b/TestFiles/HC003-Hebrew-02.docxExpectation.png.diff.win20250920081752.png differ diff --git a/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920081803.png b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920081803.png new file mode 100644 index 00000000..dfab261d Binary files /dev/null and b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920081803.png differ diff --git a/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920082004.png b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920082004.png new file mode 100644 index 00000000..dfab261d Binary files /dev/null and b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920082004.png differ diff --git a/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101006.png b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101006.png new file mode 100644 index 00000000..7fa7ca95 Binary files /dev/null and b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101006.png differ diff --git a/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101057.png b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101057.png new file mode 100644 index 00000000..7fa7ca95 Binary files /dev/null and b/TestFiles/HC006-Test-01.docxExpectation.png.diff.win20250920101057.png differ diff --git a/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920081816.png b/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920081816.png new file mode 100644 index 00000000..bbec3924 Binary files /dev/null and b/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920081816.png differ diff --git a/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920101008.png b/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920101008.png new file mode 100644 index 00000000..2edc77e6 Binary files /dev/null and b/TestFiles/HC007-Test-02.docxExpectation.png.diff.win20250920101008.png differ diff --git a/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920081757.png b/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920081757.png new file mode 100644 index 00000000..c18cb562 Binary files /dev/null and b/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920081757.png differ diff --git a/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920101001.png b/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920101001.png new file mode 100644 index 00000000..bb81421b Binary files /dev/null and b/TestFiles/HC009-Test-04.docxExpectation.png.diff.win20250920101001.png differ diff --git a/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920081932.png b/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920081932.png new file mode 100644 index 00000000..d2861235 Binary files /dev/null and b/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920081932.png differ diff --git a/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920101022.png b/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920101022.png new file mode 100644 index 00000000..dd03486e Binary files /dev/null and b/TestFiles/HC010-Test-05.docxExpectation.png.diff.win20250920101022.png differ diff --git a/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920081859.png b/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920081859.png new file mode 100644 index 00000000..9a825e9d Binary files /dev/null and b/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920081859.png differ diff --git a/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920101020.png b/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920101020.png new file mode 100644 index 00000000..e9ba4fc6 Binary files /dev/null and b/TestFiles/HC011-Test-06.docxExpectation.png.diff.win20250920101020.png differ diff --git a/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920081738.png b/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920081738.png new file mode 100644 index 00000000..0b6b9c7b Binary files /dev/null and b/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920081738.png differ diff --git a/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920100958.png b/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920100958.png new file mode 100644 index 00000000..a278cfb7 Binary files /dev/null and b/TestFiles/HC012-Test-07.docxExpectation.png.diff.win20250920100958.png differ diff --git a/TestFiles/HC014-RTL-Table-01.docxExpectation.png.diff.win20250920081937.png b/TestFiles/HC014-RTL-Table-01.docxExpectation.png.diff.win20250920081937.png new file mode 100644 index 00000000..aec71b03 Binary files /dev/null and b/TestFiles/HC014-RTL-Table-01.docxExpectation.png.diff.win20250920081937.png differ diff --git a/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920081956.png b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920081956.png new file mode 100644 index 00000000..22d36a7b Binary files /dev/null and b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920081956.png differ diff --git a/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920101033.png b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920101033.png new file mode 100644 index 00000000..c64d413a Binary files /dev/null and b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20250920101033.png differ diff --git a/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920081941.png b/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920081941.png new file mode 100644 index 00000000..fb2fe1c3 Binary files /dev/null and b/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920081941.png differ diff --git a/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920101027.png b/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920101027.png new file mode 100644 index 00000000..287b5c92 Binary files /dev/null and b/TestFiles/HC045-Italic.docxExpectation.png.diff.win20250920101027.png differ diff --git a/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920081834.png b/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920081834.png new file mode 100644 index 00000000..fae761be Binary files /dev/null and b/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920081834.png differ diff --git a/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920101016.png b/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920101016.png new file mode 100644 index 00000000..0727b6a1 Binary files /dev/null and b/TestFiles/HC046-BoldAndItalic.docxExpectation.png.diff.win20250920101016.png differ diff --git a/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920081829.png b/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920081829.png new file mode 100644 index 00000000..e28d43e8 Binary files /dev/null and b/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920081829.png differ diff --git a/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920101011.png b/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920101011.png new file mode 100644 index 00000000..5a3eeb35 Binary files /dev/null and b/TestFiles/HC048-Excerpt.docxExpectation.png.diff.win20250920101011.png differ diff --git a/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920081845.png b/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920081845.png new file mode 100644 index 00000000..8beea3f1 Binary files /dev/null and b/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920081845.png differ diff --git a/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920101018.png b/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920101018.png new file mode 100644 index 00000000..6e9f8642 Binary files /dev/null and b/TestFiles/HC053-Headings.docxExpectation.png.diff.win20250920101018.png differ diff --git a/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920081935.png b/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920081935.png new file mode 100644 index 00000000..8363d52c Binary files /dev/null and b/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920081935.png differ diff --git a/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920101025.png b/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920101025.png new file mode 100644 index 00000000..7fd2d84f Binary files /dev/null and b/TestFiles/HC055-GoogleDocsExport.docxExpectation.png.diff.win20250920101025.png differ diff --git a/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920081945.png b/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920081945.png new file mode 100644 index 00000000..8c0d8a86 Binary files /dev/null and b/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920081945.png differ diff --git a/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920101029.png b/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920101029.png new file mode 100644 index 00000000..b646cf15 Binary files /dev/null and b/TestFiles/HC061-Hyperlink-in-Field.docxExpectation.png.diff.win20250920101029.png differ