diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..08e9c4a3 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,15 @@ +# These are supported funding model platforms + +github: [Codeuctivity] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +buy_me_a_coffee: stesee +thanks_dev: # Replace with a single thanks.dev username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] \ No newline at end of file diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fd25cd99..c30b0e71 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,28 +1,27 @@ name: .NET build and test env: - CURRENT_VERSION: 9.0.${{ github.run_number }} + CURRENT_VERSION: 10.0.${{ github.run_number }} LAST_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} on: push: - pull_request: + paths-ignore: + - '*.md' jobs: build: if: | - github.event_name == 'push' || - (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) + github.event_name == 'push' runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Setup .NET uses: actions/setup-dotnet@v5 with: dotnet-version: | - 8.0.x 10.0.x - name: Restore dependencies run: dotnet restore @@ -31,27 +30,27 @@ jobs: - name: Test run: dotnet test --no-build --verbosity normal --configuration Release --logger "trx;LogFileName=${{ runner.workspace }}/OpenXmlPowerTools/TestResult/test_results.trx" - name: Upload build artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 if: matrix.os == 'ubuntu-latest' with: name: build-artifacts path: | OpenXmlPowerTools/bin/Release/ - name: Publish Unit Test Results - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 if: failure() with: name: TestResult path: "TestResult/**/*" deployRelease: - if: github.event_name == 'push' && github.ref == 'refs/heads/release' + if: github.ref == 'refs/heads/release' runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Download build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: name: build-artifacts - name: NugetPush @@ -69,13 +68,13 @@ jobs: gh release create ${{env.CURRENT_VERSION}} *.*nupkg --generate-notes deployTest: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Download build artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: name: build-artifacts - name: NugetPush @@ -83,12 +82,4 @@ jobs: NUGET_TOKEN_EXISTS: ${{ secrets.NUGET_TEST_TOKEN }} if: env.NUGET_TOKEN_EXISTS != '' run: | - ls dotnet nuget push *.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TEST_TOKEN}} --source https://apiint.nugettest.org/v3/index.json - - name: Github Prerelease - shell: bash - env: - GITHUB_TOKEN: ${{ github.TOKEN }} - if: env.GITHUB_TOKEN != '' - run: | - gh release create ${{env.CURRENT_VERSION}} *.*nupkg --prerelease --generate-notes diff --git a/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj b/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj index 0463d857..7bb1d39c 100644 --- a/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj +++ b/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj @@ -1,28 +1,23 @@  - 8.0 - net8.0;net10.0 + net10.0 true - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - all runtime; build; native; contentfiles; analyzers; buildtransitive - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/OpenXmlPowerTools.sln b/OpenXmlPowerTools.sln deleted file mode 100644 index 77971c1b..00000000 --- a/OpenXmlPowerTools.sln +++ /dev/null @@ -1,258 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenXmlPowerTools", "OpenXmlPowerTools\OpenXmlPowerTools.csproj", "{6F957FF3-AFCC-4D69-8FBC-71AE21BC45C9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChartUpdater01", "OpenXmlPowerToolsExamples\ChartUpdater01\ChartUpdater01.csproj", "{1B03D24F-FB08-42E1-BB25-2D1BB907991B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentBuilder01", "OpenXmlPowerToolsExamples\DocumentBuilder01\DocumentBuilder01.csproj", "{A8A6FCF0-CA4F-4637-8E66-D86603B92204}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentBuilder02", "OpenXmlPowerToolsExamples\DocumentBuilder02\DocumentBuilder02.csproj", "{BF8153AA-C390-4D00-98F2-083DEFEC7094}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentBuilder03", "OpenXmlPowerToolsExamples\DocumentBuilder03\DocumentBuilder03.csproj", "{BE635672-D3FD-42C5-96E3-EDE50E05CE29}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentBuilder04", "OpenXmlPowerToolsExamples\DocumentBuilder04\DocumentBuilder04.csproj", "{CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FieldRetriever01", "OpenXmlPowerToolsExamples\FieldRetriever01\FieldRetriever01.csproj", "{E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FormattingAssembler01", "OpenXmlPowerToolsExamples\FormattingAssembler01\FormattingAssembler01.csproj", "{6EAF15B6-98BE-428B-A018-A5266521551E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Formulas01", "OpenXmlPowerToolsExamples\Formulas01\Formulas01.csproj", "{618B95DB-3A70-4DC8-BD87-00F636F72453}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HtmlConverter01", "OpenXmlPowerToolsExamples\HtmlConverter01\HtmlConverter01.csproj", "{BC9E7408-508D-482D-8602-96E76ACBB5EA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ListItemRetriever01", "OpenXmlPowerToolsExamples\ListItemRetriever01\ListItemRetriever01.csproj", "{04935FA6-E48B-496F-8D6A-41A59232303D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MetricsGetter01", "OpenXmlPowerToolsExamples\MetricsGetter01\MetricsGetter01.csproj", "{ED37372C-DFBF-4720-BD4B-CE1415961038}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenXmlRegex01", "OpenXmlPowerToolsExamples\OpenXmlRegex01\OpenXmlRegex01.csproj", "{4330D46F-6703-4BA2-844D-177F722C0820}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PivotTables01", "OpenXmlPowerToolsExamples\PivotTables01\PivotTables01.csproj", "{6785A554-BBBB-480C-8E4D-9FE90DD91A46}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReferenceAdder01", "OpenXmlPowerToolsExamples\ReferenceAdder01\ReferenceAdder01.csproj", "{211F05D3-F8EE-497F-9DE9-AFFA0A72140D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RevisionAccepter01", "OpenXmlPowerToolsExamples\RevisionAccepter01\RevisionAccepter01.csproj", "{84823BA5-B860-4CAF-885E-981D7F121830}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TextReplacer01", "OpenXmlPowerToolsExamples\TextReplacer01\TextReplacer01.csproj", "{5CA29B44-C4A5-4310-9429-553F0BC9FC1D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TextReplacer02", "OpenXmlPowerToolsExamples\TextReplacer02\TextReplacer02.csproj", "{153E5218-E9C0-4ED8-9073-0802204C8B90}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentAssembler01", "OpenXmlPowerToolsExamples\DocumentAssembler01\DocumentAssembler01.csproj", "{EFE77658-EDD7-4597-8016-CBE4A18951B0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentAssembler", "OpenXmlPowerToolsExamples\DocumentAssembler\DocumentAssembler.csproj", "{2D081A36-48F9-4A09-8247-420682545492}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpreadsheetWriter01", "OpenXmlPowerToolsExamples\SpreadsheetWriter01\SpreadsheetWriter01.csproj", "{0911F996-DF86-4FB1-A1CE-0539599EC0E0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpreadsheetWriter02", "OpenXmlPowerToolsExamples\SpreadsheetWriter02\SpreadsheetWriter02.csproj", "{DF1D84AF-27B8-4F87-A673-CCFADC3AAF02}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenXmlPowerTools.Tests", "OpenXmlPowerTools.Tests\OpenXmlPowerTools.Tests.csproj", "{B1328B70-33B8-40E0-A729-38C34D659B5C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentAssembler02", "OpenXmlPowerToolsExamples\DocumentAssembler02\DocumentAssembler02.csproj", "{D6DFAC7C-82F4-4318-A9F0-6450D2945D96}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HtmlToWmlConverter01", "OpenXmlPowerToolsExamples\HtmlToWmlConverter01\HtmlToWmlConverter01.csproj", "{9E194D13-F5A0-4430-8F87-D74326457385}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DocumentAssembler03", "OpenXmlPowerToolsExamples\DocumentAssembler03\DocumentAssembler03.csproj", "{214F0E80-D2E3-4E19-A3FC-2BE15B3906B0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HtmlToWmlConverter02", "OpenXmlPowerToolsExamples\HtmlToWmlConverter02\HtmlToWmlConverter02.csproj", "{1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WmlToHtmlConverter01", "OpenXmlPowerToolsExamples\WmlToHtmlConverter01\WmlToHtmlConverter01.csproj", "{396D9209-0D9A-4E61-9471-04C71F6CA6B9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WmlToHtmlConverter02", "OpenXmlPowerToolsExamples\WmlToHtmlConverter02\WmlToHtmlConverter02.csproj", "{D4078011-2611-46A7-8A30-55E4AB8FA786}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmlDataRetriever01", "OpenXmlPowerToolsExamples\SmlDataRetriever01\SmlDataRetriever01.csproj", "{DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{A83D6B58-6D38-46AF-8C20-5CFC170A1063}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9AFB8C96-1E6E-483E-9882-75D2483E7076}" - ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - .github\workflows\cla.yml = .github\workflows\cla.yml - .github\dependabot.yml = .github\dependabot.yml - .github\workflows\dotnet.yml = .github\workflows\dotnet.yml - LICENSE.md = LICENSE.md - README.md = README.md - .github\workflows\stale.yml = .github\workflows\stale.yml - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MarkupSimplifierApp", "OpenXmlPowerToolsExamples\MarkupSimplifierApp\MarkupSimplifierApp.csproj", "{6731E031-9C81-48FB-97A7-0E945993BCE2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenXmlPowerToolsExamples", "OpenXmlPowerToolsExamples", "{AA7E2DBC-70B3-4F8A-AC47-4416CDA9F3DA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentAssembler04", "OpenXmlPowerToolsExamples\DocumentAssembler04\DocumentAssembler04.csproj", "{94E64B7D-BB4A-4478-B3BF-69F83C2FD379}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6F957FF3-AFCC-4D69-8FBC-71AE21BC45C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6F957FF3-AFCC-4D69-8FBC-71AE21BC45C9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6F957FF3-AFCC-4D69-8FBC-71AE21BC45C9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6F957FF3-AFCC-4D69-8FBC-71AE21BC45C9}.Release|Any CPU.Build.0 = Release|Any CPU - {1B03D24F-FB08-42E1-BB25-2D1BB907991B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1B03D24F-FB08-42E1-BB25-2D1BB907991B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1B03D24F-FB08-42E1-BB25-2D1BB907991B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1B03D24F-FB08-42E1-BB25-2D1BB907991B}.Release|Any CPU.Build.0 = Release|Any CPU - {A8A6FCF0-CA4F-4637-8E66-D86603B92204}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A8A6FCF0-CA4F-4637-8E66-D86603B92204}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A8A6FCF0-CA4F-4637-8E66-D86603B92204}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A8A6FCF0-CA4F-4637-8E66-D86603B92204}.Release|Any CPU.Build.0 = Release|Any CPU - {BF8153AA-C390-4D00-98F2-083DEFEC7094}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BF8153AA-C390-4D00-98F2-083DEFEC7094}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BF8153AA-C390-4D00-98F2-083DEFEC7094}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BF8153AA-C390-4D00-98F2-083DEFEC7094}.Release|Any CPU.Build.0 = Release|Any CPU - {BE635672-D3FD-42C5-96E3-EDE50E05CE29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE635672-D3FD-42C5-96E3-EDE50E05CE29}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE635672-D3FD-42C5-96E3-EDE50E05CE29}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE635672-D3FD-42C5-96E3-EDE50E05CE29}.Release|Any CPU.Build.0 = Release|Any CPU - {CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB}.Release|Any CPU.Build.0 = Release|Any CPU - {E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02}.Release|Any CPU.Build.0 = Release|Any CPU - {6EAF15B6-98BE-428B-A018-A5266521551E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6EAF15B6-98BE-428B-A018-A5266521551E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6EAF15B6-98BE-428B-A018-A5266521551E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6EAF15B6-98BE-428B-A018-A5266521551E}.Release|Any CPU.Build.0 = Release|Any CPU - {618B95DB-3A70-4DC8-BD87-00F636F72453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {618B95DB-3A70-4DC8-BD87-00F636F72453}.Debug|Any CPU.Build.0 = Debug|Any CPU - {618B95DB-3A70-4DC8-BD87-00F636F72453}.Release|Any CPU.ActiveCfg = Release|Any CPU - {618B95DB-3A70-4DC8-BD87-00F636F72453}.Release|Any CPU.Build.0 = Release|Any CPU - {BC9E7408-508D-482D-8602-96E76ACBB5EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BC9E7408-508D-482D-8602-96E76ACBB5EA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BC9E7408-508D-482D-8602-96E76ACBB5EA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BC9E7408-508D-482D-8602-96E76ACBB5EA}.Release|Any CPU.Build.0 = Release|Any CPU - {04935FA6-E48B-496F-8D6A-41A59232303D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {04935FA6-E48B-496F-8D6A-41A59232303D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {04935FA6-E48B-496F-8D6A-41A59232303D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {04935FA6-E48B-496F-8D6A-41A59232303D}.Release|Any CPU.Build.0 = Release|Any CPU - {ED37372C-DFBF-4720-BD4B-CE1415961038}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ED37372C-DFBF-4720-BD4B-CE1415961038}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ED37372C-DFBF-4720-BD4B-CE1415961038}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ED37372C-DFBF-4720-BD4B-CE1415961038}.Release|Any CPU.Build.0 = Release|Any CPU - {4330D46F-6703-4BA2-844D-177F722C0820}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4330D46F-6703-4BA2-844D-177F722C0820}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4330D46F-6703-4BA2-844D-177F722C0820}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4330D46F-6703-4BA2-844D-177F722C0820}.Release|Any CPU.Build.0 = Release|Any CPU - {6785A554-BBBB-480C-8E4D-9FE90DD91A46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6785A554-BBBB-480C-8E4D-9FE90DD91A46}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6785A554-BBBB-480C-8E4D-9FE90DD91A46}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6785A554-BBBB-480C-8E4D-9FE90DD91A46}.Release|Any CPU.Build.0 = Release|Any CPU - {211F05D3-F8EE-497F-9DE9-AFFA0A72140D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {211F05D3-F8EE-497F-9DE9-AFFA0A72140D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {211F05D3-F8EE-497F-9DE9-AFFA0A72140D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {211F05D3-F8EE-497F-9DE9-AFFA0A72140D}.Release|Any CPU.Build.0 = Release|Any CPU - {84823BA5-B860-4CAF-885E-981D7F121830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {84823BA5-B860-4CAF-885E-981D7F121830}.Debug|Any CPU.Build.0 = Debug|Any CPU - {84823BA5-B860-4CAF-885E-981D7F121830}.Release|Any CPU.ActiveCfg = Release|Any CPU - {84823BA5-B860-4CAF-885E-981D7F121830}.Release|Any CPU.Build.0 = Release|Any CPU - {5CA29B44-C4A5-4310-9429-553F0BC9FC1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5CA29B44-C4A5-4310-9429-553F0BC9FC1D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5CA29B44-C4A5-4310-9429-553F0BC9FC1D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5CA29B44-C4A5-4310-9429-553F0BC9FC1D}.Release|Any CPU.Build.0 = Release|Any CPU - {153E5218-E9C0-4ED8-9073-0802204C8B90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {153E5218-E9C0-4ED8-9073-0802204C8B90}.Debug|Any CPU.Build.0 = Debug|Any CPU - {153E5218-E9C0-4ED8-9073-0802204C8B90}.Release|Any CPU.ActiveCfg = Release|Any CPU - {153E5218-E9C0-4ED8-9073-0802204C8B90}.Release|Any CPU.Build.0 = Release|Any CPU - {EFE77658-EDD7-4597-8016-CBE4A18951B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EFE77658-EDD7-4597-8016-CBE4A18951B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EFE77658-EDD7-4597-8016-CBE4A18951B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EFE77658-EDD7-4597-8016-CBE4A18951B0}.Release|Any CPU.Build.0 = Release|Any CPU - {2D081A36-48F9-4A09-8247-420682545492}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2D081A36-48F9-4A09-8247-420682545492}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2D081A36-48F9-4A09-8247-420682545492}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2D081A36-48F9-4A09-8247-420682545492}.Release|Any CPU.Build.0 = Release|Any CPU - {0911F996-DF86-4FB1-A1CE-0539599EC0E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0911F996-DF86-4FB1-A1CE-0539599EC0E0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0911F996-DF86-4FB1-A1CE-0539599EC0E0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0911F996-DF86-4FB1-A1CE-0539599EC0E0}.Release|Any CPU.Build.0 = Release|Any CPU - {DF1D84AF-27B8-4F87-A673-CCFADC3AAF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DF1D84AF-27B8-4F87-A673-CCFADC3AAF02}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DF1D84AF-27B8-4F87-A673-CCFADC3AAF02}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DF1D84AF-27B8-4F87-A673-CCFADC3AAF02}.Release|Any CPU.Build.0 = Release|Any CPU - {B1328B70-33B8-40E0-A729-38C34D659B5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B1328B70-33B8-40E0-A729-38C34D659B5C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B1328B70-33B8-40E0-A729-38C34D659B5C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B1328B70-33B8-40E0-A729-38C34D659B5C}.Release|Any CPU.Build.0 = Release|Any CPU - {D6DFAC7C-82F4-4318-A9F0-6450D2945D96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D6DFAC7C-82F4-4318-A9F0-6450D2945D96}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D6DFAC7C-82F4-4318-A9F0-6450D2945D96}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D6DFAC7C-82F4-4318-A9F0-6450D2945D96}.Release|Any CPU.Build.0 = Release|Any CPU - {9E194D13-F5A0-4430-8F87-D74326457385}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9E194D13-F5A0-4430-8F87-D74326457385}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9E194D13-F5A0-4430-8F87-D74326457385}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9E194D13-F5A0-4430-8F87-D74326457385}.Release|Any CPU.Build.0 = Release|Any CPU - {214F0E80-D2E3-4E19-A3FC-2BE15B3906B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {214F0E80-D2E3-4E19-A3FC-2BE15B3906B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {214F0E80-D2E3-4E19-A3FC-2BE15B3906B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {214F0E80-D2E3-4E19-A3FC-2BE15B3906B0}.Release|Any CPU.Build.0 = Release|Any CPU - {1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4}.Release|Any CPU.Build.0 = Release|Any CPU - {396D9209-0D9A-4E61-9471-04C71F6CA6B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {396D9209-0D9A-4E61-9471-04C71F6CA6B9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {396D9209-0D9A-4E61-9471-04C71F6CA6B9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {396D9209-0D9A-4E61-9471-04C71F6CA6B9}.Release|Any CPU.Build.0 = Release|Any CPU - {D4078011-2611-46A7-8A30-55E4AB8FA786}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D4078011-2611-46A7-8A30-55E4AB8FA786}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D4078011-2611-46A7-8A30-55E4AB8FA786}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D4078011-2611-46A7-8A30-55E4AB8FA786}.Release|Any CPU.Build.0 = Release|Any CPU - {DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D}.Release|Any CPU.Build.0 = Release|Any CPU - {6731E031-9C81-48FB-97A7-0E945993BCE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6731E031-9C81-48FB-97A7-0E945993BCE2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6731E031-9C81-48FB-97A7-0E945993BCE2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6731E031-9C81-48FB-97A7-0E945993BCE2}.Release|Any CPU.Build.0 = Release|Any CPU - {94E64B7D-BB4A-4478-B3BF-69F83C2FD379}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {94E64B7D-BB4A-4478-B3BF-69F83C2FD379}.Debug|Any CPU.Build.0 = Debug|Any CPU - {94E64B7D-BB4A-4478-B3BF-69F83C2FD379}.Release|Any CPU.ActiveCfg = Release|Any CPU - {94E64B7D-BB4A-4478-B3BF-69F83C2FD379}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {1B03D24F-FB08-42E1-BB25-2D1BB907991B} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {A8A6FCF0-CA4F-4637-8E66-D86603B92204} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {BF8153AA-C390-4D00-98F2-083DEFEC7094} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {BE635672-D3FD-42C5-96E3-EDE50E05CE29} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {CE0ECABB-03AD-42CE-A5BD-D0CC4DCE35AB} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {E1FD7B15-FA09-4F7F-A30E-9FBD9F765D02} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {6EAF15B6-98BE-428B-A018-A5266521551E} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {618B95DB-3A70-4DC8-BD87-00F636F72453} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {BC9E7408-508D-482D-8602-96E76ACBB5EA} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {04935FA6-E48B-496F-8D6A-41A59232303D} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {ED37372C-DFBF-4720-BD4B-CE1415961038} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {4330D46F-6703-4BA2-844D-177F722C0820} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {6785A554-BBBB-480C-8E4D-9FE90DD91A46} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {211F05D3-F8EE-497F-9DE9-AFFA0A72140D} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {84823BA5-B860-4CAF-885E-981D7F121830} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {5CA29B44-C4A5-4310-9429-553F0BC9FC1D} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {153E5218-E9C0-4ED8-9073-0802204C8B90} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {EFE77658-EDD7-4597-8016-CBE4A18951B0} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {2D081A36-48F9-4A09-8247-420682545492} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {0911F996-DF86-4FB1-A1CE-0539599EC0E0} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {DF1D84AF-27B8-4F87-A673-CCFADC3AAF02} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {D6DFAC7C-82F4-4318-A9F0-6450D2945D96} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {9E194D13-F5A0-4430-8F87-D74326457385} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {214F0E80-D2E3-4E19-A3FC-2BE15B3906B0} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {1E75CB7D-2A4A-4B03-80A9-7B7D59B18BB4} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {396D9209-0D9A-4E61-9471-04C71F6CA6B9} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {D4078011-2611-46A7-8A30-55E4AB8FA786} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {DCE8EC51-1E58-49A0-82CF-5BE269FA0A9D} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {6731E031-9C81-48FB-97A7-0E945993BCE2} = {A83D6B58-6D38-46AF-8C20-5CFC170A1063} - {94E64B7D-BB4A-4478-B3BF-69F83C2FD379} = {AA7E2DBC-70B3-4F8A-AC47-4416CDA9F3DA} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {E623EFF5-2CA4-4FA0-B3AB-53F921DA212E} - EndGlobalSection -EndGlobal diff --git a/OpenXmlPowerTools.sln.DotSettings b/OpenXmlPowerTools.sln.DotSettings deleted file mode 100644 index bdfe054c..00000000 --- a/OpenXmlPowerTools.sln.DotSettings +++ /dev/null @@ -1,270 +0,0 @@ - - True - SOLUTION - <?xml version="1.0" encoding="utf-16"?><Profile name="Prudent Cleanup"><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSArrangeQualifiers>True</CSArrangeQualifiers><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSReformatCode>True</CSReformatCode><CSharpFormatDocComments>True</CSharpFormatDocComments><CSShortenReferences>True</CSShortenReferences><CSReorderTypeMembers>True</CSReorderTypeMembers><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="False" ArrangeBraces="False" ArrangeAttributes="True" ArrangeArgumentsStyle="True" /><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences></Profile> - Built-in: Full Cleanup - Prudent Cleanup - NotRequired - False - True - True - True - True - True - 1 - 1 - True - NEVER - True - True - 130 - CHOP_IF_LONG - RemoveIndent - RemoveIndent - <?xml version="1.0" encoding="utf-16"?> -<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> - <TypePattern DisplayName="Non-reorderable types"> - <TypePattern.Match> - <Or> - <And> - <Kind Is="Interface" /> - <Or> - <HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> - <HasAttribute Name="System.Runtime.InteropServices.ComImport" /> - </Or> - </And> - <Kind Is="Struct" /> - <HasAttribute Name="JetBrains.Annotations.NoReorderAttribute" /> - <HasAttribute Name="JetBrains.Annotations.NoReorder" /> - </Or> - </TypePattern.Match> - </TypePattern> - <TypePattern DisplayName="xUnit.net Test Classes" RemoveRegions="All"> - <TypePattern.Match> - <And> - <Kind Is="Class" /> - <HasMember> - <And> - <Kind Is="Method" /> - <HasAttribute Name="Xunit.FactAttribute" Inherited="True" /> - </And> - </HasMember> - </And> - </TypePattern.Match> - <Entry DisplayName="Setup/Teardown Methods"> - <Entry.Match> - <Or> - <Kind Is="Constructor" /> - <And> - <Kind Is="Method" /> - <ImplementsInterface Name="System.IDisposable" /> - </And> - </Or> - </Entry.Match> - <Entry.SortBy> - <Kind Order="Constructor" /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="All other members" /> - <Entry DisplayName="Test Methods" Priority="100"> - <Entry.Match> - <And> - <Kind Is="Method" /> - <HasAttribute Name="Xunit.FactAttribute" /> - </And> - </Entry.Match> - <Entry.SortBy> - <Name /> - </Entry.SortBy> - </Entry> - </TypePattern> - <TypePattern DisplayName="NUnit Test Fixtures" RemoveRegions="All"> - <TypePattern.Match> - <And> - <Kind Is="Class" /> - <HasAttribute Name="NUnit.Framework.TestFixtureAttribute" Inherited="True" /> - </And> - </TypePattern.Match> - <Entry DisplayName="Setup/Teardown Methods"> - <Entry.Match> - <And> - <Kind Is="Method" /> - <Or> - <HasAttribute Name="NUnit.Framework.SetUpAttribute" Inherited="True" /> - <HasAttribute Name="NUnit.Framework.TearDownAttribute" Inherited="True" /> - <HasAttribute Name="NUnit.Framework.FixtureSetUpAttribute" Inherited="True" /> - <HasAttribute Name="NUnit.Framework.FixtureTearDownAttribute" Inherited="True" /> - </Or> - </And> - </Entry.Match> - </Entry> - <Entry DisplayName="All other members" /> - <Entry DisplayName="Test Methods" Priority="100"> - <Entry.Match> - <And> - <Kind Is="Method" /> - <HasAttribute Name="NUnit.Framework.TestAttribute" /> - </And> - </Entry.Match> - <Entry.SortBy> - <Name /> - </Entry.SortBy> - </Entry> - </TypePattern> - <TypePattern DisplayName="Default Pattern"> - <Entry DisplayName="Public Delegates" Priority="100"> - <Entry.Match> - <And> - <Access Is="Public" /> - <Kind Is="Delegate" /> - </And> - </Entry.Match> - <Entry.SortBy> - <Name /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Public Enums" Priority="100"> - <Entry.Match> - <And> - <Access Is="Public" /> - <Kind Is="Enum" /> - </And> - </Entry.Match> - <Entry.SortBy> - <Name /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Static Fields and Constants"> - <Entry.Match> - <Or> - <Kind Is="Constant" /> - <And> - <Kind Is="Field" /> - <Static /> - </And> - </Or> - </Entry.Match> - <Entry.SortBy> - <Kind Order="Constant Field" /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Fields"> - <Entry.Match> - <And> - <Kind Is="Field" /> - <Not> - <Static /> - </Not> - </And> - </Entry.Match> - <Entry.SortBy> - <Readonly /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Constructors"> - <Entry.Match> - <Kind Is="Constructor" /> - </Entry.Match> - <Entry.SortBy> - <Static /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Properties, Indexers"> - <Entry.Match> - <Or> - <Kind Is="Property" /> - <Kind Is="Indexer" /> - </Or> - </Entry.Match> - <Entry.SortBy> - <Access /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="Interface Implementations" Priority="100"> - <Entry.Match> - <And> - <Kind Is="Member" /> - <ImplementsInterface /> - </And> - </Entry.Match> - <Entry.SortBy> - <ImplementsInterface /> - </Entry.SortBy> - </Entry> - <Entry DisplayName="All other members" /> - <Entry DisplayName="Nested Types"> - <Entry.Match> - <Kind Is="Type" /> - </Entry.Match> - </Entry> - </TypePattern> -</Patterns> - UseVarWhenEvident - UseVarWhenEvident - UseVarWhenEvident - -$FILENAME$ - -Copyright $CREATED_YEAR$ Thomas Barnekow - -Developer: Thomas Barnekow -Email: thomas<at/>barnekow<dot/>info - - - True - False - True - False - True - False - False - SHA - STA - UTF - <Configurator><ConnectList /></Configurator> - True - True - False - 4000 - True - C:\Users\BARNEKOWT\AppData\Local\JetBrains\Transient\ReSharperPlatformVs14\v08\SolutionCaches - True - True - True - True - True - True - True - True - True - True - True - True - 06/16/2017 18:30:31 - VS - <data /> - <data><IncludeFilters /><ExcludeFilters><Filter ModuleMask="DokuMate.WordAddIn" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.ExcelAddIn" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="VSTOContrib.*" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="*.AppData.*" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMasker" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Moq" ModuleVersionMask="*" ClassMask="*" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.App" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.MainWindow" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.ViewModelLocator" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.UpdaterModule" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Core" ModuleVersionMask="*" ClassMask="DokuMate.Core.ProcessFactory" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Core" ModuleVersionMask="*" ClassMask="DokuMate.Core.DokuMateException" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.Services.HttpClientAdapter" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.Services.UnexpectedUpdaterException" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.Services.ExpectedUpdaterException" FunctionMask="*" IsEnabled="True" /><Filter ModuleMask="DokuMate.Updater" ModuleVersionMask="*" ClassMask="DokuMate.Updater.Services.UpdaterException" FunctionMask="*" IsEnabled="True" /></ExcludeFilters></data> - <data><AttributeFilter ClassMask="System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute" IsEnabled="True" /></data> - 1.5 - True - True - anonymous - True - True - -235,-461 - 424 - 271.125 - 212 - 90.375 - True - False - False - True - Vertical - 1 - 1.1448525508114591 - True - True - C:\Users\BARNEKOWT\AppData\Local\JetBrains\Shared\vAny\Sessions - 326 - True \ No newline at end of file diff --git a/OpenXmlPowerTools.slnx b/OpenXmlPowerTools.slnx new file mode 100644 index 00000000..863a2fce --- /dev/null +++ b/OpenXmlPowerTools.slnx @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OpenXmlPowerTools/MetricsGetter.cs b/OpenXmlPowerTools/MetricsGetter.cs index b893334f..d7781da3 100644 --- a/OpenXmlPowerTools/MetricsGetter.cs +++ b/OpenXmlPowerTools/MetricsGetter.cs @@ -112,18 +112,11 @@ private static int _getTextWidth(SKTypeface typeface, FontStyle fs, decimal sz, { try { - var skFontStyle = SKFontStyle.Normal; - if (fs.HasFlag(FontStyle.Bold) && fs.HasFlag(FontStyle.Italic)) - skFontStyle = new SKFontStyle(SKFontStyleWeight.Bold, SKFontStyleWidth.Normal, SKFontStyleSlant.Italic); - else if (fs.HasFlag(FontStyle.Bold)) - skFontStyle = new SKFontStyle(SKFontStyleWeight.Bold, SKFontStyleWidth.Normal, SKFontStyleSlant.Upright); - else if (fs.HasFlag(FontStyle.Italic)) - skFontStyle = new SKFontStyle(SKFontStyleWeight.Normal, SKFontStyleWidth.Normal, SKFontStyleSlant.Italic); - - using var font = new SKFont(typeface, (float)sz / 2f); - using var paint = new SKPaint(font); - var bounds = new SKRect(); - paint.MeasureText(text, ref bounds); + var fallbackTypeface = fs == FontStyle.Bold + ? SKTypeface.FromFamilyName("Arial", SKFontStyle.Bold) + : SKTypeface.FromFamilyName("Arial", SKFontStyle.Normal); + using var font = new SKFont(typeface ?? fallbackTypeface, size: (float)sz / 2f); + font.MeasureText(text, out var bounds); return (int)bounds.Width; } catch diff --git a/OpenXmlPowerTools/OpenXmlPowerTools.csproj b/OpenXmlPowerTools/OpenXmlPowerTools.csproj index 12fb37c4..40b74e14 100644 --- a/OpenXmlPowerTools/OpenXmlPowerTools.csproj +++ b/OpenXmlPowerTools/OpenXmlPowerTools.csproj @@ -1,6 +1,6 @@  - net8.0;net10.0 + net10.0 true true https://github.com/Codeuctivity/OpenXmlPowerTools @@ -42,18 +42,14 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - diff --git a/OpenXmlPowerTools/docs/nugetReadme.md b/OpenXmlPowerTools/docs/nugetReadme.md index d22228ff..81f1bbaf 100644 --- a/OpenXmlPowerTools/docs/nugetReadme.md +++ b/OpenXmlPowerTools/docs/nugetReadme.md @@ -1,11 +1,6 @@ # OpenXmlPowerTools -[![.NET build and test](https://github.com/Codeuctivity/OpenXmlPowerTools/actions/workflows/dotnet.yml/badge.svg)](https://github.com/Codeuctivity/OpenXmlPowerTools/actions/workflows/dotnet.yml) [![Nuget](https://img.shields.io/nuget/v/Codeuctivity.OpenXmlPowerTools.svg)](https://www.nuget.org/packages/Codeuctivity.OpenXmlPowerTools/) - -## Focus of this fork - -- Linux, Windows and MacOs support -- Conversion of DOCX to HTML/CSS. +- Linux, Windows, and macOS support was added by this fork ## Example - Convert DOCX to HTML @@ -18,4 +13,4 @@ var settings = new WmlToHtmlConverterSettings("htmlPageTitle"); var html = WmlToHtmlConverter.ConvertToHtml(wordProcessingDocument, settings); var htmlString = html.ToString(SaveOptions.DisableFormatting); File.WriteAllText("./target.html", htmlString, Encoding.UTF8); -``` \ No newline at end of file +``` diff --git a/OpenXmlPowerToolsExamples/ChartUpdater01/ChartUpdater01.csproj b/OpenXmlPowerToolsExamples/ChartUpdater01/ChartUpdater01.csproj index af831c35..653c0318 100644 --- a/OpenXmlPowerToolsExamples/ChartUpdater01/ChartUpdater01.csproj +++ b/OpenXmlPowerToolsExamples/ChartUpdater01/ChartUpdater01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentAssembler/DocumentAssembler.csproj b/OpenXmlPowerToolsExamples/DocumentAssembler/DocumentAssembler.csproj index 39e2f059..0a806346 100644 --- a/OpenXmlPowerToolsExamples/DocumentAssembler/DocumentAssembler.csproj +++ b/OpenXmlPowerToolsExamples/DocumentAssembler/DocumentAssembler.csproj @@ -1,7 +1,7 @@  Exe - net8.0;net10.0 + net10.0 8.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentAssembler01/DocumentAssembler01.csproj b/OpenXmlPowerToolsExamples/DocumentAssembler01/DocumentAssembler01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentAssembler01/DocumentAssembler01.csproj +++ b/OpenXmlPowerToolsExamples/DocumentAssembler01/DocumentAssembler01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentAssembler02/DocumentAssembler02.csproj b/OpenXmlPowerToolsExamples/DocumentAssembler02/DocumentAssembler02.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentAssembler02/DocumentAssembler02.csproj +++ b/OpenXmlPowerToolsExamples/DocumentAssembler02/DocumentAssembler02.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentAssembler03/DocumentAssembler03.csproj b/OpenXmlPowerToolsExamples/DocumentAssembler03/DocumentAssembler03.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentAssembler03/DocumentAssembler03.csproj +++ b/OpenXmlPowerToolsExamples/DocumentAssembler03/DocumentAssembler03.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentAssembler04/DocumentAssembler04.csproj b/OpenXmlPowerToolsExamples/DocumentAssembler04/DocumentAssembler04.csproj index 6ed993fb..dd2b7503 100644 --- a/OpenXmlPowerToolsExamples/DocumentAssembler04/DocumentAssembler04.csproj +++ b/OpenXmlPowerToolsExamples/DocumentAssembler04/DocumentAssembler04.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentBuilder01/DocumentBuilder01.csproj b/OpenXmlPowerToolsExamples/DocumentBuilder01/DocumentBuilder01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentBuilder01/DocumentBuilder01.csproj +++ b/OpenXmlPowerToolsExamples/DocumentBuilder01/DocumentBuilder01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentBuilder02/DocumentBuilder02.csproj b/OpenXmlPowerToolsExamples/DocumentBuilder02/DocumentBuilder02.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentBuilder02/DocumentBuilder02.csproj +++ b/OpenXmlPowerToolsExamples/DocumentBuilder02/DocumentBuilder02.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentBuilder03/DocumentBuilder03.csproj b/OpenXmlPowerToolsExamples/DocumentBuilder03/DocumentBuilder03.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentBuilder03/DocumentBuilder03.csproj +++ b/OpenXmlPowerToolsExamples/DocumentBuilder03/DocumentBuilder03.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/DocumentBuilder04/DocumentBuilder04.csproj b/OpenXmlPowerToolsExamples/DocumentBuilder04/DocumentBuilder04.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/DocumentBuilder04/DocumentBuilder04.csproj +++ b/OpenXmlPowerToolsExamples/DocumentBuilder04/DocumentBuilder04.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/FieldRetriever01/FieldRetriever01.csproj b/OpenXmlPowerToolsExamples/FieldRetriever01/FieldRetriever01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/FieldRetriever01/FieldRetriever01.csproj +++ b/OpenXmlPowerToolsExamples/FieldRetriever01/FieldRetriever01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/FormattingAssembler01/FormattingAssembler01.csproj b/OpenXmlPowerToolsExamples/FormattingAssembler01/FormattingAssembler01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/FormattingAssembler01/FormattingAssembler01.csproj +++ b/OpenXmlPowerToolsExamples/FormattingAssembler01/FormattingAssembler01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/Formulas01/Formulas01.csproj b/OpenXmlPowerToolsExamples/Formulas01/Formulas01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/Formulas01/Formulas01.csproj +++ b/OpenXmlPowerToolsExamples/Formulas01/Formulas01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/HtmlConverter01/HtmlConverter01.csproj b/OpenXmlPowerToolsExamples/HtmlConverter01/HtmlConverter01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/HtmlConverter01/HtmlConverter01.csproj +++ b/OpenXmlPowerToolsExamples/HtmlConverter01/HtmlConverter01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/HtmlToWmlConverter01/HtmlToWmlConverter01.csproj b/OpenXmlPowerToolsExamples/HtmlToWmlConverter01/HtmlToWmlConverter01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/HtmlToWmlConverter01/HtmlToWmlConverter01.csproj +++ b/OpenXmlPowerToolsExamples/HtmlToWmlConverter01/HtmlToWmlConverter01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/HtmlToWmlConverter02/HtmlToWmlConverter02.csproj b/OpenXmlPowerToolsExamples/HtmlToWmlConverter02/HtmlToWmlConverter02.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/HtmlToWmlConverter02/HtmlToWmlConverter02.csproj +++ b/OpenXmlPowerToolsExamples/HtmlToWmlConverter02/HtmlToWmlConverter02.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/ListItemRetriever01/ListItemRetriever01.csproj b/OpenXmlPowerToolsExamples/ListItemRetriever01/ListItemRetriever01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/ListItemRetriever01/ListItemRetriever01.csproj +++ b/OpenXmlPowerToolsExamples/ListItemRetriever01/ListItemRetriever01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj b/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj index 833b69ae..e8ea0dc6 100644 --- a/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj +++ b/OpenXmlPowerToolsExamples/MarkupSimplifierApp/MarkupSimplifierApp.csproj @@ -2,14 +2,12 @@ Exe - net8.0;net10.0 - net8.0;net10.0 - 8.0 + net10.0 true - + diff --git a/OpenXmlPowerToolsExamples/MetricsGetter01/MetricsGetter01.csproj b/OpenXmlPowerToolsExamples/MetricsGetter01/MetricsGetter01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/MetricsGetter01/MetricsGetter01.csproj +++ b/OpenXmlPowerToolsExamples/MetricsGetter01/MetricsGetter01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/OpenXmlRegex01/OpenXmlRegex01.csproj b/OpenXmlPowerToolsExamples/OpenXmlRegex01/OpenXmlRegex01.csproj index 6921a0e8..93e70b06 100644 --- a/OpenXmlPowerToolsExamples/OpenXmlRegex01/OpenXmlRegex01.csproj +++ b/OpenXmlPowerToolsExamples/OpenXmlRegex01/OpenXmlRegex01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/OpenXmlRegex02/OpenXmlRegex02.csproj b/OpenXmlPowerToolsExamples/OpenXmlRegex02/OpenXmlRegex02.csproj index f65a2cc3..2ffbc140 100644 --- a/OpenXmlPowerToolsExamples/OpenXmlRegex02/OpenXmlRegex02.csproj +++ b/OpenXmlPowerToolsExamples/OpenXmlRegex02/OpenXmlRegex02.csproj @@ -1,7 +1,7 @@ Exe - net8.0;net10.0 + net10.0 diff --git a/OpenXmlPowerToolsExamples/PivotTables01/PivotTables01.csproj b/OpenXmlPowerToolsExamples/PivotTables01/PivotTables01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/PivotTables01/PivotTables01.csproj +++ b/OpenXmlPowerToolsExamples/PivotTables01/PivotTables01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/ReferenceAdder01/ReferenceAdder01.csproj b/OpenXmlPowerToolsExamples/ReferenceAdder01/ReferenceAdder01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/ReferenceAdder01/ReferenceAdder01.csproj +++ b/OpenXmlPowerToolsExamples/ReferenceAdder01/ReferenceAdder01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/RevisionAccepter01/RevisionAccepter01.csproj b/OpenXmlPowerToolsExamples/RevisionAccepter01/RevisionAccepter01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/RevisionAccepter01/RevisionAccepter01.csproj +++ b/OpenXmlPowerToolsExamples/RevisionAccepter01/RevisionAccepter01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/SmlDataRetriever01/SmlDataRetriever01.csproj b/OpenXmlPowerToolsExamples/SmlDataRetriever01/SmlDataRetriever01.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/SmlDataRetriever01/SmlDataRetriever01.csproj +++ b/OpenXmlPowerToolsExamples/SmlDataRetriever01/SmlDataRetriever01.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/SpreadsheetWriter01/SpreadsheetWriter01.csproj b/OpenXmlPowerToolsExamples/SpreadsheetWriter01/SpreadsheetWriter01.csproj index 915932e5..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/SpreadsheetWriter01/SpreadsheetWriter01.csproj +++ b/OpenXmlPowerToolsExamples/SpreadsheetWriter01/SpreadsheetWriter01.csproj @@ -1,9 +1,7 @@  Exe - net8.0;net10.0 - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/SpreadsheetWriter02/SpreadsheetWriter02.csproj b/OpenXmlPowerToolsExamples/SpreadsheetWriter02/SpreadsheetWriter02.csproj index 98d67ffb..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/SpreadsheetWriter02/SpreadsheetWriter02.csproj +++ b/OpenXmlPowerToolsExamples/SpreadsheetWriter02/SpreadsheetWriter02.csproj @@ -1,9 +1,7 @@  Exe - net8.0;net10.0 - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/TextReplacer01/TextReplacer01.csproj b/OpenXmlPowerToolsExamples/TextReplacer01/TextReplacer01.csproj index 915932e5..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/TextReplacer01/TextReplacer01.csproj +++ b/OpenXmlPowerToolsExamples/TextReplacer01/TextReplacer01.csproj @@ -1,9 +1,7 @@  Exe - net8.0;net10.0 - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/TextReplacer02/TextReplacer02.csproj b/OpenXmlPowerToolsExamples/TextReplacer02/TextReplacer02.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/TextReplacer02/TextReplacer02.csproj +++ b/OpenXmlPowerToolsExamples/TextReplacer02/TextReplacer02.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/WmlToHtmlConverter01/WmlToHtmlConverter01.csproj b/OpenXmlPowerToolsExamples/WmlToHtmlConverter01/WmlToHtmlConverter01.csproj index a8e89414..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/WmlToHtmlConverter01/WmlToHtmlConverter01.csproj +++ b/OpenXmlPowerToolsExamples/WmlToHtmlConverter01/WmlToHtmlConverter01.csproj @@ -1,9 +1,7 @@  Exe - net8.0;net10.0 - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/WmlToHtmlConverter02/WmlToHtmlConverter02.csproj b/OpenXmlPowerToolsExamples/WmlToHtmlConverter02/WmlToHtmlConverter02.csproj index 247b238e..3a6933c5 100644 --- a/OpenXmlPowerToolsExamples/WmlToHtmlConverter02/WmlToHtmlConverter02.csproj +++ b/OpenXmlPowerToolsExamples/WmlToHtmlConverter02/WmlToHtmlConverter02.csproj @@ -1,8 +1,7 @@  Exe - net8.0;net10.0 - 8.0 + net10.0 true diff --git a/OpenXmlPowerToolsExamples/WordAutomationUtilities/WordAutomationUtilities.csproj b/OpenXmlPowerToolsExamples/WordAutomationUtilities/WordAutomationUtilities.csproj index f65a2cc3..2ffbc140 100644 --- a/OpenXmlPowerToolsExamples/WordAutomationUtilities/WordAutomationUtilities.csproj +++ b/OpenXmlPowerToolsExamples/WordAutomationUtilities/WordAutomationUtilities.csproj @@ -1,7 +1,7 @@ Exe - net8.0;net10.0 + net10.0 diff --git a/README.md b/README.md index d12935be..a409e79d 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,15 @@ ## Focus of this fork +- Maintaining - Linux, Windows and MacOs support was added by this fork -- Conversion of DOCX to HTML/CSS -## Known missing features - Conversion of DOCX to HTML/CSS +## Conversion of DOCX to HTML/CSS - Known missing features - [floating settings of images are ignored](https://stackoverflow.com/questions/70277539/how-to-handle-floating-images-in-openxml-and-convert-to-html-equivalent/73639409#73639409) - [W.oMath](https://github.com/Codeuctivity/OpenXmlToHtml/issues/74) - many more - ## Example - Convert DOCX to HTML ``` csharp diff --git a/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703135818.png b/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703135818.png new file mode 100644 index 00000000..9048641b Binary files /dev/null and b/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703135818.png differ diff --git a/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703155117.png b/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703155117.png new file mode 100644 index 00000000..79477543 Binary files /dev/null and b/TestFiles/HC024-Tabs-01.docxExpectation.png.diff.win20260703155117.png differ diff --git a/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703135731.png b/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703135731.png new file mode 100644 index 00000000..9048641b Binary files /dev/null and b/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703135731.png differ diff --git a/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703155101.png b/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703155101.png new file mode 100644 index 00000000..79477543 Binary files /dev/null and b/TestFiles/HC025-Tabs-02.docxExpectation.png.diff.win20260703155101.png differ diff --git a/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703135711.png b/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703135711.png new file mode 100644 index 00000000..94e66b60 Binary files /dev/null and b/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703135711.png differ diff --git a/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703155115.png b/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703155115.png new file mode 100644 index 00000000..63417741 Binary files /dev/null and b/TestFiles/HC026-Tabs-03.docxExpectation.png.diff.win20260703155115.png differ diff --git a/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703135522.png b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703135522.png new file mode 100644 index 00000000..4fe2d012 Binary files /dev/null and b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703135522.png differ diff --git a/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703155104.png b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703155104.png new file mode 100644 index 00000000..ec7335df Binary files /dev/null and b/TestFiles/HC031-Complicated-Document.docxExpectation.png.diff.win20260703155104.png differ