diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 263066aa..9ccb6f91 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,6 +8,16 @@ body: value: | Thanks for helping improve MiniPdf. Please provide enough detail for us to reproduce the issue. + - type: dropdown + id: implementation + attributes: + label: MiniPdf implementation + description: Which language implementation is affected? + options: + - .NET (C#) + validations: + required: true + - type: input id: version attributes: diff --git a/.github/ISSUE_TEMPLATE/conversion_quality.yml b/.github/ISSUE_TEMPLATE/conversion_quality.yml index 40f191f6..060a57cc 100644 --- a/.github/ISSUE_TEMPLATE/conversion_quality.yml +++ b/.github/ISSUE_TEMPLATE/conversion_quality.yml @@ -8,6 +8,16 @@ body: value: | Use this when MiniPdf creates a PDF but the result is blank, incomplete, visually incorrect, or different from Office/LibreOffice output. + - type: dropdown + id: implementation + attributes: + label: MiniPdf implementation + description: Which language implementation is affected? + options: + - .NET (C#) + validations: + required: true + - type: dropdown id: source-format attributes: diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 56470ce5..c7534c9c 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -3,6 +3,17 @@ description: Report missing, unclear, outdated, or incorrect documentation. title: "[Docs]: " labels: ["documentation"] body: + - type: dropdown + id: implementation + attributes: + label: MiniPdf implementation + description: Which language implementation does the documentation cover? + options: + - .NET (C#) + - Not applicable + validations: + required: true + - type: dropdown id: doc-area attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 47fd6f3b..b8df2033 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -3,6 +3,16 @@ description: Suggest a new MiniPdf capability or improvement. title: "[Feature]: " labels: ["enhancement"] body: + - type: dropdown + id: implementation + attributes: + label: MiniPdf implementation + description: Which language implementation should this feature target? + options: + - .NET (C#) + validations: + required: true + - type: textarea id: problem attributes: diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 7d0e06c5..bc0e1e94 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -8,6 +8,16 @@ body: value: | For broader discussion, ideas, or open-ended design topics, GitHub Discussions may be a better place. + - type: dropdown + id: implementation + attributes: + label: MiniPdf implementation + description: Which language implementation is your question about? + options: + - .NET (C#) + validations: + required: true + - type: textarea id: question attributes: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..ebd7a909 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,22 @@ +## Summary + +Describe the problem and the intended behavior. Link the relevant issue or +discussion when one exists. + +## Validation + +List the exact commands run and their results. Include focused visual benchmark +scores or before-and-after images for rendering changes. + +## Checklist + +- [ ] The change is focused and does not include unrelated formatting or generated files. +- [ ] New or changed behavior has automated test coverage where practical. +- [ ] Relevant .NET checks pass. +- [ ] Public API and compatibility effects are documented. +- [ ] Security implications and untrusted-input behavior were considered. +- [ ] I have the right to submit every added source file, fixture, font, image, and other asset under its stated license. +- [ ] Third-party and generated material includes its source and license. +- [ ] Test documents contain no confidential information or personal data. +- [ ] User-facing documentation is updated, including translated README files when the English README changed. +- [ ] Large benchmark outputs are attached or stored as CI artifacts unless they are required canonical evidence. \ No newline at end of file diff --git a/.github/copilot-code-review.md b/.github/copilot-code-review.md deleted file mode 100644 index 94476f63..00000000 --- a/.github/copilot-code-review.md +++ /dev/null @@ -1,14 +0,0 @@ -You are a rigorous senior code reviewer tasked with preventing security vulnerabilities in code submissions. -Your assessment must be based on the code diffs of each commit. - -- Language: English -- Focus on .NET security policy and best practices -- Flag any potential SQL injection, XSS, path traversal, insecure deserialization, or other OWASP Top 10 risks -- Check for hardcoded secrets, credentials, or sensitive data exposure in application source code -- Verify proper input validation and output encoding -- Ensure secure file I/O patterns (no arbitrary file access) - -IMPORTANT: Do NOT flag the following as security issues: -- Using ${{ secrets.* }} in GitHub Actions workflows (this is the correct way to use secrets in CI) -- Changes to CI/CD configuration files (.yml/.yaml under .github/workflows/) unless they contain actual hardcoded credentials -- Changes to documentation files (.md) unless they expose sensitive information diff --git a/.github/skills/create-release/SKILL.md b/.github/skills/create-release/SKILL.md deleted file mode 100644 index 0a2337d2..00000000 --- a/.github/skills/create-release/SKILL.md +++ /dev/null @@ -1,163 +0,0 @@ ---- -name: create-release -description: "Create a new GitHub release for MiniPdf with CLI and GUI AOT binaries. Use when: publishing a release, creating a new version, bumping version, tagging a release, generating release notes from git diff." -argument-hint: "Optionally specify the new version number (e.g. v0.27.0)" ---- - -# Create MiniPdf Release - -Automate the full release cycle: compute version, commit, tag, generate release notes from git diff, and publish via `gh release create` so that CLI + GUI AOT workflows build and upload binaries automatically. - -## Prerequisites - -- All changes committed and pushed to `upstream main` -- `gh` CLI authenticated with repo write access -- Repository remote: `upstream` -> `mini-software/MiniPdf` - -## Version Convention - -| Component | Tag pattern | Trigger workflow | -|-----------|-------------|-----------------| -| Library + CLI + GUI | `v*` (e.g. `v0.26.0`) | `release-aot.yml` (CLI) + `release-aot-gui.yml` (GUI) + `nuget-publish.yml` | - -Version bumps follow `v{major}.{minor}.{patch}` — default increment is `+0.1.0` on the minor. - -## Procedure - -### 1. Determine Version - -```powershell -git tag --sort=-v:refname | Select-Object -First 1 -``` - -Parse the last tag, increment minor by 1, e.g. `v0.25.0` -> `v0.26.0`. -If user specifies a version, use that instead. - -### 2. Ensure Changes Are Committed and Pushed - -```powershell -git status --short -# If uncommitted changes exist, stage and commit them first -git push upstream main -``` - -### 3. Generate Diff Summary - -```powershell -git log {LAST_TAG}..HEAD --oneline -git diff {LAST_TAG} HEAD --stat -``` - -### 4. Create Tag - -```powershell -git tag {NEW_TAG} -git push upstream {NEW_TAG} -``` - -### 5. Create Release via `gh` - -Write release notes to a temp file, then create: - -```powershell -gh release create {NEW_TAG} --repo mini-software/MiniPdf --title "{NEW_TAG}" --notes-file release-notes.tmp -Remove-Item release-notes.tmp -Force -``` - -**IMPORTANT**: Do NOT use PowerShell here-strings (`@"..."@`) for multi-line notes -- they have escaping issues in the terminal. Instead, use `create_file` to write the notes file, then pass `--notes-file`. - -### 6. Verify Workflows Triggered - -```powershell -Start-Sleep 5 -gh run list --repo mini-software/MiniPdf --limit 4 --json name,status -q ".[] | {name,status}" -``` - -Expect to see: -- `Release AOT Binaries` — builds CLI for 6 platforms -- `Release GUI AOT Binaries` — builds GUI for 6 platforms -- `NuGet Publish` — publishes library to NuGet - -## Release Notes Template - -Use this structure for the release body (write via `create_file` to a temp file): - -```markdown -## What's New in {NEW_TAG} - -### Highlights - -- **Feature A** -- description -- **Fix B** -- description - -### Downloads - -| Platform | CLI | GUI | -|----------|-----|-----| -| Windows x64 | `minipdf-win-x64.zip` | `minipdf-gui-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | `minipdf-gui-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | `minipdf-gui-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | `minipdf-gui-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | `minipdf-gui-osx-x64.tar.gz` | -| macOS ARM64 | `minipdf-osx-arm64.tar.gz` | `minipdf-gui-osx-arm64.tar.gz` | - -### Changes since {LAST_TAG} - -{GIT_LOG_ONELINE} - -``` -{GIT_DIFF_STAT} -``` - -**Full Changelog**: https://github.com/mini-software/MiniPdf/compare/{LAST_TAG}...{NEW_TAG} -``` - -## Release Assets (auto-built) - -The following assets are built and uploaded automatically by GitHub Actions: - -### CLI (`release-aot.yml`) -| Artifact | Platform | -|----------|----------| -| `minipdf-win-x64.zip` | Windows x64 | -| `minipdf-win-arm64.zip` | Windows ARM64 | -| `minipdf-linux-x64.tar.gz` | Linux x64 | -| `minipdf-linux-arm64.tar.gz` | Linux ARM64 | -| `minipdf-osx-x64.tar.gz` | macOS x64 | -| `minipdf-osx-arm64.tar.gz` | macOS ARM64 | - -### GUI (`release-aot-gui.yml`) -| Artifact | Platform | Contents | -|----------|----------|----------| -| `minipdf-gui-win-x64.zip` | Windows x64 | exe + native DLLs | -| `minipdf-gui-win-arm64.zip` | Windows ARM64 | exe + native DLLs | -| `minipdf-gui-linux-x64.tar.gz` | Linux x64 | binary + .so libs | -| `minipdf-gui-linux-arm64.tar.gz` | Linux ARM64 | binary + .so libs | -| `minipdf-gui-osx-x64.tar.gz` | macOS x64 | binary + .dylib libs | -| `minipdf-gui-osx-arm64.tar.gz` | macOS ARM64 | binary + .dylib libs | - -**GUI packages must include native libraries** (libSkiaSharp, libHarfBuzzSharp, av_libglesv2) alongside the executable. The exe alone will not launch. - -## Fixing a Bad Release - -If a release needs to be recreated (e.g. workflow bug, wrong packaging): - -```powershell -# Delete remote release and tag -gh release delete {TAG} --repo mini-software/MiniPdf --yes --cleanup-tag - -# Delete and recreate local tag on latest commit -git tag -d {TAG} -git tag {TAG} -git push upstream {TAG} - -# Recreate release -gh release create {TAG} --repo mini-software/MiniPdf --title "{TAG}" --notes-file release-notes.tmp -``` - -## Rules - -- Never use `--force` on tags that other people may have fetched -- delete and recreate instead. -- Always verify both CLI and GUI workflows are triggered after creating a release. -- The system cannot auto `git push` per project policy -- always push explicitly. -- Clean up temp files (`release-notes.tmp`) after release creation. diff --git a/.github/skills/libreoffice-reference/SKILL.md b/.github/skills/libreoffice-reference/SKILL.md deleted file mode 100644 index 9ebad0d4..00000000 --- a/.github/skills/libreoffice-reference/SKILL.md +++ /dev/null @@ -1,119 +0,0 @@ ---- -name: libreoffice-reference -description: Look up Office -> PDF processing logic from local LibreOffice and Apache POI source trees, with Obsidian LLM WIKI notes as reusable cache. Use when: investigating how LibreOffice renders a document, how Apache POI models OOXML, aligning MiniPdf output with LibreOffice behavior, debugging a conversion mismatch, choosing a heuristic for docx/xlsx -> PDF, or any time the user asks "how does LibreOffice / POI handle X". ---- - -# Office Conversion Reference (Local Source + LLM WIKI) - -Local LibreOffice and Apache POI source trees are the primary references for Office conversion behavior. Obsidian notes are a reusable LLM WIKI cache for distilled findings, not a substitute for checking source when behavior matters. - -## Source Roots - -| Source | Default path | Environment override | Use for | -| --- | --- | --- | --- | -| LibreOffice | `D:\git\libreoffice-core` | `LIBREOFFICE_SOURCE_ROOT` | Renderer behavior, import/export filters, page layout, print/PDF output, font/layout decisions. | -| Apache POI | `D:\git\poi` | `POI_SOURCE_ROOT` | OOXML object model, schema interpretation, XWPF/XSSF implementation details. | - -When the question is "what does LibreOffice produce / how does it render", inspect LibreOffice source first. When the question is "what does this OOXML element mean / how is it modeled", inspect Apache POI source first. - -## Research Order - -1. Search the relevant local source tree with `scripts/search-source.ps1` or `rg`. -2. Read the smallest owning implementation or nearby test that controls the behavior. -3. Use existing Obsidian notes only as a cache or topic map, then verify important details against source. -4. If the finding is reusable, save a short LLM WIKI note with exact source file paths and a concise conclusion. - -## LLM WIKI - -Reusable research notes should go under the Obsidian LLM WIKI so future sessions can avoid repeating expensive source reads. - -Resolution order: - -1. `-WikiRoot ` on `scripts/save-wiki-note.ps1`. -2. `$env:OBSIDIAN_LLM_WIKI_ROOT`. -3. Fallback: `\Obsidian Vault\LLM WIKI`. - -Write a wiki note when the result is likely to be reused, for example a confirmed LibreOffice import path, a print-scaling rule, a POI schema interpretation, or a non-obvious mismatch between source and observed output. Keep notes short and cite source-relative files such as `sc/source/filter/oox/pagesettings.cxx` or `poi-ooxml/src/main/java/...`. - -## Supplementary Vaults - -Local Obsidian vaults contain structured notes on how Office documents are processed into PDF. Use them as cached context and topic maps. - -| Vault | Use for | -| --- | --- | -| `LibreOffice-to-PDF` | Cached notes about how LibreOffice renders DOCX/XLSX -> PDF (CLI, UNO, PDF export filter, layout, fonts). | -| `Apache-POI-Word` | Cached OOXML notes about Apache POI XWPF/HWPF behavior. | -| `Office-to-PDF` | Cross-tool comparisons / generic conversion notes, when this optional vault exists locally. | - -## When to consult this skill - -Load and consult this skill BEFORE designing a fix or heuristic when the task involves: - -- DOCX or XLSX -> PDF rendering parity with LibreOffice -- Page layout, margins, page size, scaling, headers/footers -- Styles, fonts, font fallback, font metrics -- Tables, images, drawings, anchors, wrapping -- PDF export options / behavior -- Any conversion bug where the expected output is "what LibreOffice produces" - -Skip when the task is unrelated to Office -> PDF rendering (build scripts, CI, README, etc.). - -## Vault Locations - -Vaults live under a single base directory. Resolution order: - -1. `-VaultRoot ` parameter on a script (explicit override; may be the base directory or a concrete vault directory). -2. `$env:OBSIDIAN_VAULT_ROOT` environment variable. -3. Fallback: `\Obsidian Vault` (i.e. `[Environment]::GetFolderPath('MyDocuments')` + `Obsidian Vault`). - -Under the resolved base, the vault subfolders are: - -```text -\LibreOffice-to-PDF\ -\Apache-POI-Word\ -\Office-to-PDF\ -``` - -For compatibility, the scripts also recognize the older LibreOffice folder name `LibreOffice-Word-to-PDF` if it exists instead. - -## Resources in this skill - -- [scripts/search-source.ps1](scripts/search-source.ps1) - regex search in local LibreOffice or Apache POI source. Supports `-Source LibreOffice|POI`. -- [scripts/save-wiki-note.ps1](scripts/save-wiki-note.ps1) - save distilled reusable findings into the Obsidian LLM WIKI. -- [reference/topic-map.md](reference/topic-map.md) - LibreOffice vault: folder -> topic table. -- [reference/apache-poi-topic-map.md](reference/apache-poi-topic-map.md) - Apache POI vault: XWPF / HWPF folder -> topic table. -- [reference/lookup-workflow.md](reference/lookup-workflow.md) - step-by-step procedure (source -> implementation/test -> optional wiki note). -- [scripts/list-vault.ps1](scripts/list-vault.ps1) - list notes that actually exist on disk (the MOC links many that do not). Supports `-Vault LibreOffice|POI|OfficeToPdf`. -- [scripts/search-vault.ps1](scripts/search-vault.ps1) - regex search with optional folder scoping. Supports `-Vault LibreOffice|POI|OfficeToPdf`. - -## Quick start - -```powershell -# Search LibreOffice source for Calc fit-to-page behavior -.\.github\skills\libreoffice-reference\scripts\search-source.ps1 -Source LibreOffice -Pattern "ScaleToPagesX|fitToPage" -Folder sc - -# Search Apache POI source for OOXML model behavior -.\.github\skills\libreoffice-reference\scripts\search-source.ps1 -Source POI -Pattern "XWPFStyle|styleId" -Folder poi-ooxml\src\main\java - -# Save a reusable finding to Obsidian LLM WIKI -"Short markdown finding with source file citations" | .\.github\skills\libreoffice-reference\scripts\save-wiki-note.ps1 -Title "Calc fitToPage import" -Source LibreOffice -Topic XLSX - -# Search cached LibreOffice notes when useful -.\.github\skills\libreoffice-reference\scripts\search-vault.ps1 -Pattern "sectPr|orientation" -Folder 13-Page-Layout - -# Search cached Apache POI notes when useful -.\.github\skills\libreoffice-reference\scripts\list-vault.ps1 -Vault POI -Folder 05-XWPF-Styles -.\.github\skills\libreoffice-reference\scripts\search-vault.ps1 -Vault POI -Pattern "XWPFStyle|styleId" -``` - -Then `read_file` the matching source file or note with the full path. Cite source-relative paths in conclusions, for example `sc/source/filter/oox/pagesettings.cxx` or `poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFStyle.java`. - -## Optional: Obsidian CLI - -If the user explicitly wants to interact with the live Obsidian app (open the note, append, search via the app), use the `obsidian-cli` skill. It needs `OBSIDIAN_API_KEY` from the Local REST API plugin. For read-only lookups during coding, direct file access is faster and does not require the app to be running. - -## Output guidance - -- Quote the relevant snippet (short) and cite the source-relative file path. -- Keep MiniPdf changes aligned with what LibreOffice source and observed output show. If source, wiki notes, and observed behavior disagree, flag it instead of silently choosing one. -- Do not copy large sections of source or vault notes into the repo; distill findings into the LLM WIKI when they are reusable. diff --git a/.github/skills/libreoffice-reference/reference/apache-poi-topic-map.md b/.github/skills/libreoffice-reference/reference/apache-poi-topic-map.md deleted file mode 100644 index 79936c6a..00000000 --- a/.github/skills/libreoffice-reference/reference/apache-poi-topic-map.md +++ /dev/null @@ -1,49 +0,0 @@ -# Apache POI (XWPF / HWPF) — Topic Map - -Snapshot of `Apache-POI-Word` vault. Use POI notes as the reference Java implementation of OOXML — useful when you need to know what an OOXML element *means* (independent of any renderer). - -## Vault root - -`\Apache-POI-Word\` - -The base is resolved by `scripts/_common.ps1` (see [SKILL.md](../SKILL.md#vault-locations) for details). Default: `\Obsidian Vault`. - -## Folder -> topic mapping - -| Folder | When to look here | -| --- | --- | -| `00-Index/` | MOC / map of content | -| `01-Overview/` | POI architecture overview, packages | -| `02-XWPF-Document/` | `XWPFDocument` lifecycle, package parts | -| `03-XWPF-Paragraphs-Runs/` | Paragraph / run model, properties cascade | -| `04-XWPF-Tables/` | Tables, rows, cells, table properties | -| `05-XWPF-Styles/` | Style definitions, character / paragraph / table styles | -| `06-XWPF-Headers-Footers/` | Headers, footers, sections | -| `07-XWPF-Numbering/` | Numbering definitions, abstract / concrete num | -| `08-XWPF-Images/` | Inline / anchored images, drawingML | -| `09-XWPF-Comments/` | Comments part | -| `10-XWPF-Footnotes-Endnotes/` | Footnotes / endnotes parts | -| `11-XWPF-Hyperlinks/` | Hyperlinks | -| `12-XWPF-SDT/` | Structured Document Tags (content controls) | -| `13-XWPF-Settings/` | Document settings | -| `14-XWPF-Extractors/` | Text extraction | -| `15-HWPF-Document/` | Legacy `.doc` document | -| `16-HWPF-Model/` | HWPF binary model | -| `17-HWPF-Usermodel/` | Usermodel API | -| `18-HWPF-SPRM/` | SPRM property model | -| `19-HWPF-Converters/` | HWPF -> HTML / FO converters | -| `20-Common-Concepts/` | Shared concepts across XWPF/HWPF | -| `21-Code-Examples/` | Worked examples | -| `22-Architecture/` | Cross-cutting architecture | - -## High-relevance folders for MiniPdf - -For DOCX parsing and OOXML interpretation: - -1. `03-XWPF-Paragraphs-Runs/` — paragraph / run property cascade -2. `05-XWPF-Styles/` — style resolution -3. `04-XWPF-Tables/` — table layout properties -4. `07-XWPF-Numbering/` — list numbering -5. `06-XWPF-Headers-Footers/` — section / header / footer model -6. `08-XWPF-Images/` — image anchoring -7. `12-XWPF-SDT/` — content controls diff --git a/.github/skills/libreoffice-reference/reference/lookup-workflow.md b/.github/skills/libreoffice-reference/reference/lookup-workflow.md deleted file mode 100644 index 42b5dbf4..00000000 --- a/.github/skills/libreoffice-reference/reference/lookup-workflow.md +++ /dev/null @@ -1,84 +0,0 @@ -# Lookup Workflow - -Step-by-step procedure for answering "how does LibreOffice / POI handle X?" using local source first, then cached Obsidian notes. - -## 1. Pick the source - -| Question shape | Source | -| --- | --- | -| "What does LibreOffice produce / how does it render?" | `LibreOffice` source at `D:\git\libreoffice-core` | -| "What does this OOXML element mean / how is it modeled?" | `POI` source at `D:\git\poi` | -| "Has this been researched already?" | Obsidian LLM WIKI or supplementary vaults | - -## 2. Search source - -Prefer a scoped source search: - -```powershell -.\.github\skills\libreoffice-reference\scripts\search-source.ps1 -Source LibreOffice -Pattern "ScaleToPagesX|fitToPage" -Folder sc -.\.github\skills\libreoffice-reference\scripts\search-source.ps1 -Source POI -Pattern "XWPFStyle|styleId" -Folder poi-ooxml\src\main\java -``` - -Useful LibreOffice folders: - -- `sc/` - Calc / XLSX import, print, PDF export, spreadsheet layout. -- `sw/` - Writer / DOCX layout and import behavior. -- `oox/`, `xmloff/`, `filter/` - OOXML and import/export plumbing. -- `vcl/`, `svx/`, `editeng/` - drawing, fonts, graphics, and text layout helpers. - -Useful POI folders: - -- `poi-ooxml/src/main/java/` - XWPF/XSSF usermodel and OOXML implementations. -- `poi-ooxml/src/test/` - behavior tests and edge-case examples. -- `poi/src/main/java/` - shared SS/HSSF model details. - -## 3. Read the owning implementation - -Use `read_file` on the source file with one wide nearby range. Prefer the function/class that directly computes the behavior over callers that only forward data. - -## 4. Check cached notes when useful - -The MOC may link planned notes that don't exist on disk. List the folder first if using supplementary vaults: - -```powershell -.\.github\skills\libreoffice-reference\scripts\list-vault.ps1 -Folder 13-Page-Layout -.\.github\skills\libreoffice-reference\scripts\list-vault.ps1 -Vault POI -Folder 05-XWPF-Styles - -.\.github\skills\libreoffice-reference\scripts\search-vault.ps1 -Pattern "sectPr|orientation" -Folder 13-Page-Layout -.\.github\skills\libreoffice-reference\scripts\search-vault.ps1 -Vault POI -Pattern "XWPFStyle|styleId" -``` - -## 5. Save reusable findings - -If the result is likely to be useful again, save a concise LLM WIKI note: - -```powershell -@" -## Finding - -LibreOffice imports `` into fit-to-pages mode and writes `ScaleToPagesX` from `fitToWidth`. - -## Evidence - -- `sc/source/filter/oox/pagesettings.cxx`: writes `PROP_ScaleToPagesX` from `mnFitToWidth` when fit-to-pages mode is enabled. - -## MiniPdf implication - -Apply the effective print scale to grid geometry and anchored drawing positions. -"@ | .\.github\skills\libreoffice-reference\scripts\save-wiki-note.ps1 -Title "Calc fitToPage import" -Source LibreOffice -Topic XLSX -``` - -## 6. Cite - -Reference source-relative paths so the user can find them, e.g. - -> Per `sc/source/filter/oox/pagesettings.cxx`, ... -> Per `poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFStyle.java`, ... - -## 7. Disagreement protocol - -If source, wiki notes, vault notes, or observed MiniPdf / soffice behavior disagree: - -- Do not silently pick one. -- Quote both, flag the discrepancy, and run a quick `soffice` repro when practical before changing code. -- Apache POI describes the spec; LibreOffice describes one implementation - they can legitimately differ. diff --git a/.github/skills/libreoffice-reference/reference/topic-map.md b/.github/skills/libreoffice-reference/reference/topic-map.md deleted file mode 100644 index 2322904a..00000000 --- a/.github/skills/libreoffice-reference/reference/topic-map.md +++ /dev/null @@ -1,57 +0,0 @@ -# LibreOffice Vault — Topic Map - -Snapshot of the structure of the local Obsidian vault `LibreOffice-to-PDF`. Use this as a quick lookup before searching the vault. - -> Note: The Map of Content (`00-Index/MOC - LibreOffice Word to PDF.md`) lists ~200 planned notes, but only a subset exist as real files on disk. Always verify with `scripts/list-vault.ps1` (or `grep_search`) before assuming a note is present. - -## Vault root - -`\LibreOffice-to-PDF\` - -The scripts also recognize the older folder name `LibreOffice-Word-to-PDF` if that is the one present locally. - -The base is resolved by `scripts/_common.ps1` (see [SKILL.md](../SKILL.md#vault-locations) for details). Default: `\Obsidian Vault`. - -## Folder -> topic mapping - -| Folder | When to look here | -| --- | --- | -| `00-Index/` | Map of Content; entry point for browsing | -| `01-Introduction/` | What LibreOffice is, format support, conversion overview, key concepts | -| `02-Installation/` | Install on Linux/Windows/macOS, headless setup, version compatibility | -| `03-CLI/` | `soffice` / `libreoffice` CLI: `--headless`, `--convert-to pdf`, `--outdir`, batch, exit codes, env vars | -| `04-UNO-API/` | UNO architecture, ServiceManager, Desktop, XComponent, XStorable, PropertyValue, filter names, URL conventions | -| `05-PDF-Export/` | PDF export filter, FilterData properties, PDF version, PDF/A, encryption, bookmarks, hyperlinks, embedded fonts, image compression, watermarks | -| `06-Python/` | python-docx, subprocess to soffice, `uno` module, FastAPI service, unoconv | -| `07-Java/` | JODConverter, OfficeManager, Spring Boot, Maven, ODF Toolkit, Java UNO bridge | -| `08-Basic-Macros/` | LibreOffice Basic, `CreateUnoService`, headless macros, security | -| `09-Batch/` | Shell/Python batch, parallelism, queues, resume after failure | -| `10-DOCX-Internals/` | OOXML structures as LibreOffice interprets them (relevant for MiniPdf parity) | -| `11-Styles/` | Paragraph / character / table style resolution | -| `12-Fonts/` | Font matching, embedding, fallback | -| `13-Page-Layout/` | Sections, margins, page size, orientation, columns | -| `14-Tables-Images/` | Table layout, image anchoring / wrapping | -| `15-Error-Handling/` | Common failure modes | -| `16-Performance/` | Performance characteristics | -| `17-Docker/` | Containerized deployment | -| `18-REST-API/` | REST wrappers around LibreOffice | -| `19-Testing/` | Conversion testing approaches | -| `20-Recipes/` | End-to-end recipes | - -## High-relevance folders for MiniPdf - -When the task is MiniPdf docx/xlsx -> PDF parity, prioritize in this order: - -1. `10-DOCX-Internals/` — what the OOXML actually means -2. `13-Page-Layout/` — page setup, sections, margins -3. `11-Styles/` — style cascade -4. `14-Tables-Images/` — tables, image anchors, wrapping -5. `12-Fonts/` — font fallback / metrics -6. `05-PDF-Export/` — output side (filter options, embedded fonts) -7. `15-Error-Handling/` — known gotchas - -## Search tips - -- Always scope `grep_search` with `includePattern` to a folder (or the whole vault) — see `scripts/search-vault.ps1`. -- The MOC uses Obsidian wikilinks (`[[NN - Topic]]`); the on-disk filename matches the link text plus `.md`. -- File numbering (`NN - Title`) is global; the same number appears under exactly one folder. diff --git a/.github/skills/libreoffice-reference/scripts/README.md b/.github/skills/libreoffice-reference/scripts/README.md deleted file mode 100644 index 40e31ac1..00000000 --- a/.github/skills/libreoffice-reference/scripts/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# Office Reference Scripts - -Helper PowerShell scripts for the `libreoffice-reference` skill. They search local LibreOffice / Apache POI source trees and manage cached Obsidian notes. - -| Script | Purpose | -| --- | --- | -| `search-source.ps1` | Regex search in the local LibreOffice or Apache POI source tree. | -| `save-wiki-note.ps1` | Save distilled reusable findings into the Obsidian LLM WIKI. | -| `list-vault.ps1` | List notes that actually exist on disk (optionally scoped to a folder). | -| `search-vault.ps1` | Regex search across the vault (optionally scoped to a folder). | - -## Source root resolution - -Resolved by `_common.ps1` in this order: - -| Source | Environment variable | Default | -| --- | --- | --- | -| `LibreOffice` | `LIBREOFFICE_SOURCE_ROOT` | `D:\git\libreoffice-core` | -| `POI` | `POI_SOURCE_ROOT` | `D:\git\poi` | - -Examples: - -```powershell -.\search-source.ps1 -Source LibreOffice -Pattern "ScaleToPagesX" -Folder sc -.\search-source.ps1 -Source POI -Pattern "XWPFStyle" -Folder poi-ooxml\src\main\java -``` - -## LLM WIKI resolution - -Reusable notes are saved under `\Office-Conversion\\...`. - -Resolution order: - -1. `-WikiRoot ` parameter on `save-wiki-note.ps1`. -2. `$env:OBSIDIAN_LLM_WIKI_ROOT`. -3. Fallback: `[Environment]::GetFolderPath('MyDocuments')` + `Obsidian Vault\LLM WIKI`. - -## Vault root resolution - -Resolved by `_common.ps1` in this order: - -1. `-VaultRoot ` parameter on the script. This may be the base directory or a concrete vault directory. -2. `$env:OBSIDIAN_VAULT_ROOT`. -3. Fallback: `[Environment]::GetFolderPath('MyDocuments')` + `Obsidian Vault`. - -All vault scripts accept: - -- `-Vault LibreOffice|POI|OfficeToPdf` (default `LibreOffice`) - selects the vault subfolder. -- `-VaultRoot ` - explicit base or vault override. - -Vault aliases (subfolder under the resolved base): - -| Alias | Subfolder | -| --- | --- | -| `LibreOffice` | `LibreOffice-to-PDF` (`LibreOffice-Word-to-PDF` is also recognized for compatibility) | -| `POI` | `Apache-POI-Word` | -| `OfficeToPdf` | `Office-to-PDF` | diff --git a/.github/skills/libreoffice-reference/scripts/_common.ps1 b/.github/skills/libreoffice-reference/scripts/_common.ps1 deleted file mode 100644 index 9fdf6362..00000000 --- a/.github/skills/libreoffice-reference/scripts/_common.ps1 +++ /dev/null @@ -1,80 +0,0 @@ -<# -.SYNOPSIS - Resolves a vault alias to a vault root path. -.DESCRIPTION - Internal helper used by list-vault.ps1 and search-vault.ps1. -#> -function Resolve-VaultRoot { - [CmdletBinding()] - param( - [ValidateSet('LibreOffice', 'POI', 'OfficeToPdf')] - [string]$Vault = 'LibreOffice', - [string]$VaultRoot - ) - - $base = if ($VaultRoot) { - $VaultRoot - } elseif ($env:OBSIDIAN_VAULT_ROOT) { - $env:OBSIDIAN_VAULT_ROOT - } else { - Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Obsidian Vault' - } - - $candidates = @(switch ($Vault) { - 'LibreOffice' { 'LibreOffice-to-PDF'; 'LibreOffice-Word-to-PDF' } - 'POI' { 'Apache-POI-Word' } - 'OfficeToPdf' { 'Office-to-PDF' } - }) - - if (Test-Path -LiteralPath $base -PathType Container) { - $baseLeaf = Split-Path -Leaf $base - if ($candidates -contains $baseLeaf) { return $base } - - foreach ($candidate in $candidates) { - $candidatePath = Join-Path $base $candidate - if (Test-Path -LiteralPath $candidatePath -PathType Container) { - return $candidatePath - } - } - } - - return Join-Path $base $candidates[0] -} - -function Resolve-SourceRoot { - [CmdletBinding()] - param( - [ValidateSet('LibreOffice', 'POI')] - [string]$Source = 'LibreOffice', - [string]$SourceRoot - ) - - if ($SourceRoot) { return $SourceRoot } - - switch ($Source) { - 'LibreOffice' { - if ($env:LIBREOFFICE_SOURCE_ROOT) { return $env:LIBREOFFICE_SOURCE_ROOT } - return 'D:\git\libreoffice-core' - } - 'POI' { - if ($env:POI_SOURCE_ROOT) { return $env:POI_SOURCE_ROOT } - return 'D:\git\poi' - } - } -} - -function Resolve-WikiRoot { - [CmdletBinding()] - param([string]$WikiRoot) - - if ($WikiRoot) { return $WikiRoot } - if ($env:OBSIDIAN_LLM_WIKI_ROOT) { return $env:OBSIDIAN_LLM_WIKI_ROOT } - - $base = if ($env:OBSIDIAN_VAULT_ROOT) { - $env:OBSIDIAN_VAULT_ROOT - } else { - Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'Obsidian Vault' - } - - return Join-Path $base 'LLM WIKI' -} diff --git a/.github/skills/libreoffice-reference/scripts/list-vault.ps1 b/.github/skills/libreoffice-reference/scripts/list-vault.ps1 deleted file mode 100644 index 53890206..00000000 --- a/.github/skills/libreoffice-reference/scripts/list-vault.ps1 +++ /dev/null @@ -1,41 +0,0 @@ -<# -.SYNOPSIS - List Office reference notes that exist on disk. -.PARAMETER Vault - Vault alias: LibreOffice (default) | POI | OfficeToPdf. -.PARAMETER Folder - Optional subfolder name (e.g. 13-Page-Layout). Lists the whole vault if omitted. -.PARAMETER VaultRoot - Explicit vault path; overrides -Vault when provided. -.EXAMPLE - .\list-vault.ps1 -.EXAMPLE - .\list-vault.ps1 -Folder 13-Page-Layout -.EXAMPLE - .\list-vault.ps1 -Vault POI -Folder 05-XWPF-Styles -#> -[CmdletBinding()] -param( - [ValidateSet('LibreOffice', 'POI', 'OfficeToPdf')] - [string]$Vault = 'LibreOffice', - [string]$Folder, - [string]$VaultRoot -) - -. (Join-Path $PSScriptRoot '_common.ps1') -$VaultRoot = Resolve-VaultRoot -Vault $Vault -VaultRoot $VaultRoot - -if (-not (Test-Path -LiteralPath $VaultRoot)) { - Write-Error "Vault not found: $VaultRoot" - exit 1 -} - -$root = if ($Folder) { Join-Path $VaultRoot $Folder } else { $VaultRoot } -if (-not (Test-Path -LiteralPath $root)) { - Write-Error "Folder not found: $root" - exit 1 -} - -Get-ChildItem -LiteralPath $root -Recurse -File -Filter *.md | - ForEach-Object { $_.FullName.Substring($VaultRoot.Length + 1) } | - Sort-Object diff --git a/.github/skills/libreoffice-reference/scripts/save-wiki-note.ps1 b/.github/skills/libreoffice-reference/scripts/save-wiki-note.ps1 deleted file mode 100644 index 9b1bcc02..00000000 --- a/.github/skills/libreoffice-reference/scripts/save-wiki-note.ps1 +++ /dev/null @@ -1,72 +0,0 @@ -<# -.SYNOPSIS - Save a reusable source-research note into the local Obsidian LLM WIKI. -.PARAMETER Title - Note title. Also used for the file name after removing invalid path characters. -.PARAMETER Source - Source alias for organization: LibreOffice | POI | OfficeToPdf. -.PARAMETER Topic - Optional short topic tag or folder label. -.PARAMETER WikiRoot - Explicit LLM WIKI root override. Defaults to OBSIDIAN_LLM_WIKI_ROOT or \LLM WIKI. -.PARAMETER Body - Markdown body. If omitted, the script reads markdown from the pipeline/stdin. -.PARAMETER Append - Append to an existing note instead of replacing it. -.EXAMPLE - "Finding text" | .\save-wiki-note.ps1 -Title "Calc fitToPage scaling" -Source LibreOffice -Topic XLSX -#> -[CmdletBinding()] -param( - [Parameter(Mandatory = $true)] - [string]$Title, - [ValidateSet('LibreOffice', 'POI', 'OfficeToPdf')] - [string]$Source = 'LibreOffice', - [string]$Topic, - [string]$WikiRoot, - [string]$Body, - [Parameter(ValueFromPipeline = $true)] - [string[]]$InputObject, - [switch]$Append -) - -. (Join-Path $PSScriptRoot '_common.ps1') -$WikiRoot = Resolve-WikiRoot -WikiRoot $WikiRoot -$folder = Join-Path (Join-Path $WikiRoot 'Office-Conversion') $Source -if ($Topic) { $folder = Join-Path $folder $Topic } - -New-Item -ItemType Directory -Path $folder -Force | Out-Null - -$invalidChars = [IO.Path]::GetInvalidFileNameChars() -join '' -$invalidPattern = '[{0}]' -f [Regex]::Escape($invalidChars) -$fileName = ([Regex]::Replace($Title, $invalidPattern, '-')).Trim() -if (-not $fileName) { $fileName = 'Untitled' } -$path = Join-Path $folder ($fileName + '.md') - -if (-not $Body) { - $Body = if ($InputObject) { - ($InputObject -join [Environment]::NewLine).TrimEnd() - } else { - ($input | Out-String).TrimEnd() - } -} - -$stamp = Get-Date -Format 'yyyy-MM-dd HH:mm:ss' -$content = @" ---- -title: $Title -source: $Source -topic: $Topic -created: $stamp ---- - -$Body -"@ - -if ($Append -and (Test-Path -LiteralPath $path)) { - Add-Content -LiteralPath $path -Value "`n`n## Update $stamp`n`n$Body" -Encoding UTF8 -} else { - Set-Content -LiteralPath $path -Value $content -Encoding UTF8 -} - -Write-Output $path diff --git a/.github/skills/libreoffice-reference/scripts/search-source.ps1 b/.github/skills/libreoffice-reference/scripts/search-source.ps1 deleted file mode 100644 index e72c43c8..00000000 --- a/.github/skills/libreoffice-reference/scripts/search-source.ps1 +++ /dev/null @@ -1,79 +0,0 @@ -<# -.SYNOPSIS - Regex-search the local LibreOffice or Apache POI source tree. -.PARAMETER Pattern - Regex pattern to search for (case-insensitive by default). -.PARAMETER Source - Source alias: LibreOffice (default) | POI. -.PARAMETER Folder - Optional subfolder to scope the search (for example, sc/source/filter/oox or poi-ooxml/src/main/java). -.PARAMETER SourceRoot - Explicit source root override; defaults to LIBREOFFICE_SOURCE_ROOT / POI_SOURCE_ROOT or the local D:\git paths. -.PARAMETER Glob - Optional ripgrep glob(s). Defaults to common source and markdown file types. -.PARAMETER MaxResults - Maximum result lines to print. Default 80. -.EXAMPLE - .\search-source.ps1 -Source LibreOffice -Pattern "ScaleToPagesX" -Folder sc -.EXAMPLE - .\search-source.ps1 -Source POI -Pattern "XWPFStyle" -Folder poi-ooxml/src/main/java -#> -[CmdletBinding()] -param( - [Parameter(Mandatory = $true)] - [string]$Pattern, - [ValidateSet('LibreOffice', 'POI')] - [string]$Source = 'LibreOffice', - [string]$Folder, - [string]$SourceRoot, - [string[]]$Glob, - [int]$MaxResults = 80 -) - -. (Join-Path $PSScriptRoot '_common.ps1') -$SourceRoot = Resolve-SourceRoot -Source $Source -SourceRoot $SourceRoot - -if (-not (Test-Path -LiteralPath $SourceRoot -PathType Container)) { - Write-Error "Source root not found: $SourceRoot" - exit 1 -} - -$root = if ($Folder) { Join-Path $SourceRoot $Folder } else { $SourceRoot } -if (-not (Test-Path -LiteralPath $root -PathType Container)) { - Write-Error "Folder not found: $root" - exit 1 -} - -if (-not $Glob -or $Glob.Count -eq 0) { - $Glob = @('*.cxx', '*.hxx', '*.h', '*.cpp', '*.java', '*.xml', '*.xcs', '*.mk', '*.md') -} - -$rg = Get-Command rg -ErrorAction SilentlyContinue -if ($rg) { - $rgArgs = @('--line-number', '--ignore-case', '--glob', '!.git/**') - foreach ($item in $Glob) { - $rgArgs += @('--glob', $item) - } - - $results = & $rg.Source @rgArgs -- $Pattern $root | - ForEach-Object { - if ($_.StartsWith($SourceRoot, [StringComparison]::OrdinalIgnoreCase)) { - $_.Substring($SourceRoot.Length + 1) - } else { - $_ - } - } - - $results | Select-Object -First $MaxResults - if ($results.Count -gt 0) { exit 0 } - exit 1 -} - -Get-ChildItem -LiteralPath $root -Recurse -File | - Where-Object { $Glob -contains ('*' + $_.Extension) } | - Select-String -Pattern $Pattern -CaseSensitive:$false | - Select-Object -First $MaxResults | - ForEach-Object { - $rel = $_.Path.Substring($SourceRoot.Length + 1) - "{0}:{1}: {2}" -f $rel, $_.LineNumber, $_.Line.Trim() - } diff --git a/.github/skills/libreoffice-reference/scripts/search-vault.ps1 b/.github/skills/libreoffice-reference/scripts/search-vault.ps1 deleted file mode 100644 index edb867a1..00000000 --- a/.github/skills/libreoffice-reference/scripts/search-vault.ps1 +++ /dev/null @@ -1,49 +0,0 @@ -<# -.SYNOPSIS - Regex-search an Office reference vault. -.PARAMETER Pattern - Regex pattern to search for (case-insensitive). -.PARAMETER Vault - Vault alias: LibreOffice (default) | POI | OfficeToPdf. -.PARAMETER Folder - Optional subfolder to scope the search (e.g. 13-Page-Layout). -.PARAMETER VaultRoot - Explicit vault path; overrides -Vault when provided. -.PARAMETER Context - Number of context lines to show around each match. Default 1. -.EXAMPLE - .\search-vault.ps1 -Pattern "sectPr|orientation" -Folder 13-Page-Layout -.EXAMPLE - .\search-vault.ps1 -Vault POI -Pattern "XWPFStyle|styleId" -#> -[CmdletBinding()] -param( - [Parameter(Mandatory = $true)] - [string]$Pattern, - [ValidateSet('LibreOffice', 'POI', 'OfficeToPdf')] - [string]$Vault = 'LibreOffice', - [string]$Folder, - [string]$VaultRoot, - [int]$Context = 1 -) - -. (Join-Path $PSScriptRoot '_common.ps1') -$VaultRoot = Resolve-VaultRoot -Vault $Vault -VaultRoot $VaultRoot - -if (-not (Test-Path -LiteralPath $VaultRoot)) { - Write-Error "Vault not found: $VaultRoot" - exit 1 -} - -$root = if ($Folder) { Join-Path $VaultRoot $Folder } else { $VaultRoot } -if (-not (Test-Path -LiteralPath $root)) { - Write-Error "Folder not found: $root" - exit 1 -} - -Get-ChildItem -LiteralPath $root -Recurse -File -Filter *.md | - Select-String -Pattern $Pattern -Context $Context, $Context -CaseSensitive:$false | - ForEach-Object { - $rel = $_.Path.Substring($VaultRoot.Length + 1) - "{0}:{1}: {2}" -f $rel, $_.LineNumber, $_.Line.Trim() - } diff --git a/.github/skills/sync-readme-translations/SKILL.md b/.github/skills/sync-readme-translations/SKILL.md deleted file mode 100644 index 621328f8..00000000 --- a/.github/skills/sync-readme-translations/SKILL.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: sync-readme-translations -description: "Sync changes from the English README.md to all translated README files. Use when: updating README translations, syncing README across languages, propagating README changes to other locales." -argument-hint: "Describe what changed in README.md that needs syncing" ---- - -# Sync README Translations - -Propagate content changes from the English `README.md` to all translated versions, preserving each language's natural phrasing. - -## Target Files - -| File | Language | -|------|----------| -| `documents/README.zh-CN.md` | 简体中文 (Simplified Chinese) | -| `documents/README.zh-TW.md` | 繁體中文 (Traditional Chinese) | -| `documents/README.ja.md` | 日本語 (Japanese) | -| `documents/README.ko.md` | 한국어 (Korean) | -| `documents/README.it.md` | Italiano (Italian) | -| `documents/README.fr.md` | Français (French) | - -## Procedure - -1. **Read the English README.md** to identify the changed sections. -2. **For each translated file**, read the corresponding section and apply the same change in that language. -3. **Preserve localized phrasing** — translate new/changed text naturally; do not produce literal word-for-word translations. -4. **Keep shared elements untranslated** — badges, image paths, links, HTML tags, table structure, and code blocks must stay identical across all files. -5. **Use `apply_patch`** to batch related edits while preserving each translated file's localized wording. -6. **Verify** that the number of edits matches the number of target files × changed sections. - -## Rules - -- Never remove or reorder sections that exist in a translated file but not in English — the structures are kept in sync. -- Benchmark numbers (scores, case counts) are language-neutral; copy them verbatim. -- If a section doesn't exist yet in a translated file, add it at the same position as in the English README. -- All paths in links/images are relative to the repo root and must not change. diff --git a/.github/tests/auto-reviewers.test.cjs b/.github/tests/auto-reviewers.test.cjs new file mode 100644 index 00000000..e36e406f --- /dev/null +++ b/.github/tests/auto-reviewers.test.cjs @@ -0,0 +1,215 @@ +const assert = require('node:assert/strict'); +const { readFileSync } = require('node:fs'); +const { resolve } = require('node:path'); +const { test } = require('node:test'); + +const workflow = readFileSync(resolve(__dirname, '..', 'workflows', 'auto-reviewers.yml'), 'utf8'); +const blocks = [...workflow.matchAll(/ script: \|\r?\n((?: [^\r\n]*(?:\r?\n|$)|\r?\n)+)/g)]; +assert.equal(blocks.length, 2, 'Expected the team-reading and reviewer-requesting scripts.'); +const AsyncFunction = Object.getPrototypeOf(async function () {}).constructor; +const scripts = blocks.map(match => new AsyncFunction( + 'github', 'context', 'core', 'process', + match[1].replace(/^ /gm, '') +)); +const context = { + repo: { owner: 'mini-software', repo: 'MiniPdf' }, + payload: { pull_request: { number: 1 } } +}; + +function harness(options = {}) { + const logs = []; + const core = { + info: message => logs.push(message), + notice: message => logs.push(message) + }; + const requested = (options.requested ?? []).map(login => ({ login })); + const reviews = options.reviews ?? (options.reviewed ?? []).map(login => ({ user: { login } })); + const batches = []; + const pull = { + state: 'open', + draft: false, + base: { ref: 'main' }, + user: { login: 'author' }, + ...options.pull + }; + const listReviews = async () => {}; + const listRequestedReviewers = async () => ({ data: { users: requested.slice(0, 30) } }); + const requestedPages = []; + const github = { + rest: { + pulls: { + get: async params => { + assert.ok(Number.isSafeInteger(params.pull_number)); + return { data: pull }; + }, + listRequestedReviewers, + listReviews, + requestReviewers: async ({ reviewers }) => { + if (options.error) { + throw options.error; + } + batches.push(reviewers); + if (options.omit) { + return; + } + if (options.reviewImmediately) { + reviews.push(...reviewers.map(login => ({ user: { login } }))); + } else { + requested.push(...reviewers.map(login => ({ login }))); + } + } + } + }, + paginate: async (method, params, map) => { + assert.equal(params.per_page, 100); + if (method === listRequestedReviewers) { + assert.equal(typeof map, 'function'); + const result = []; + for (let offset = 0; offset < requested.length || offset === 0; offset += params.per_page) { + const page = requested.slice(offset, offset + params.per_page); + requestedPages.push(page.length); + result.push(...map({ data: { users: page, teams: [] } })); + } + return result; + } + assert.equal(method, listReviews); + return [...reviews]; + } + }; + const run = (members, customContext = context, input = '') => scripts[1]( + github, customContext, core, + { env: { TEAM_REVIEWERS: JSON.stringify(members), INPUT_PR_NUMBER: input } } + ); + return { run, logs, batches, requestedPages }; +} + +test('team reader requires an explicit organization credential', async () => { + await assert.rejects(scripts[0]({}, context, {}, { env: {} }), /CORE_REVIEWERS_TOKEN/); +}); + +test('team reader dynamically paginates active members and excludes bots', async () => { + const listMembersInOrg = async () => {}; + const github = { + rest: { teams: { listMembersInOrg } }, + paginate: async (method, params) => { + assert.equal(method, listMembersInOrg); + assert.deepEqual(params, { + org: 'mini-software', team_slug: 'core-reviewers', per_page: 100 + }); + return [{ login: 'new-member', type: 'User' }, { login: 'bot', type: 'Bot' }]; + } + }; + const result = await scripts[0](github, context, { info() {} }, { + env: { CORE_REVIEWERS_TOKEN: 'test-only' } + }); + assert.deepEqual(JSON.parse(result), ['new-member']); + github.paginate = async () => []; + await assert.rejects(scripts[0](github, context, {}, { + env: { CORE_REVIEWERS_TOKEN: 'test-only' } + }), /no active human members/); +}); + +test('excludes the author, requested users, reviewed users and duplicate names case-insensitively', async () => { + const h = harness({ requested: ['requested'], reviewed: ['reviewed'] }); + await h.run(['AUTHOR', 'REQUESTED', 'REVIEWED', 'new-member', 'NEW-MEMBER']); + assert.deepEqual(h.batches, [['new-member']]); +}); + +test('requests all twenty eligible members in batches of at most fifteen', async () => { + const members = Array.from({ length: 20 }, (_, index) => `member-${index}`); + const h = harness(); + await h.run(members); + assert.deepEqual(h.batches.map(batch => batch.length), [15, 5]); + assert.deepEqual(h.batches.flat(), members); +}); + +test('initial and confirmation reads include every requested-reviewer page', async () => { + const requested = Array.from({ length: 130 }, (_, index) => `requested-${index}`); + const h = harness({ requested }); + await h.run([...requested, 'new-member']); + assert.deepEqual(h.batches, [['new-member']]); + assert.deepEqual(h.requestedPages, [100, 30, 100, 31]); +}); + +test('deleted review users do not break exclusion or confirmation', async () => { + const h = harness({ reviews: [{ user: null }, { user: { login: 'reviewed' } }] }); + await h.run(['reviewed', 'new-member']); + assert.deepEqual(h.batches, [['new-member']]); + assert.match(h.logs[0], /Requested 1/); +}); + +test('repeated events do not send duplicate review requests', async () => { + const h = harness(); + await h.run(['first', 'second']); + await h.run(['first', 'second', 'new-member']); + assert.deepEqual(h.batches, [['first', 'second'], ['new-member']]); +}); + +test('reports when no additional reviewer is eligible', async () => { + const h = harness(); + await h.run(['author']); + assert.deepEqual(h.batches, []); + assert.match(h.logs[0], /already been requested or reviewed/); +}); + +test('skips closed, draft and non-main PRs explicitly', async () => { + for (const pull of [{ state: 'closed' }, { draft: true }, { base: { ref: 'other' } }]) { + const h = harness({ pull }); + await h.run(['reviewer']); + assert.deepEqual(h.batches, []); + assert.match(h.logs[0], /Skipping/); + } +}); + +test('manual dispatch accepts a PR number and rejects invalid inputs', async () => { + const manualContext = { ...context, payload: {} }; + const h = harness(); + await h.run(['reviewer'], manualContext, '1'); + assert.deepEqual(h.batches, [['reviewer']]); + for (const input of ['', '-1', '0', '1.5', 'text', '9007199254740992']) { + await assert.rejects(h.run(['reviewer'], manualContext, input), /positive integer/); + } +}); + +test('API permission failures propagate instead of reporting success', async () => { + const error = new Error('Resource not accessible by integration'); + const h = harness({ error }); + await assert.rejects(h.run(['reviewer']), error); + assert.deepEqual(h.logs, []); +}); + +test('silently omitted API requests fail verification', async () => { + const h = harness({ omit: true }); + await assert.rejects(h.run(['reviewer']), /did not confirm review requests for: reviewer/); + assert.deepEqual(h.logs, []); +}); + +test('review completed during the request is counted as confirmed', async () => { + const h = harness({ reviewImmediately: true }); + await h.run(['reviewer']); + assert.match(h.logs[0], /Requested 1/); +}); + +test('malformed team output fails instead of treating it as an empty list', async () => { + await assert.rejects(scripts[1]( + { + rest: { pulls: { + get: async () => ({ data: { + state: 'open', draft: false, base: { ref: 'main' }, user: { login: 'author' } + } }), + listRequestedReviewers: async () => ({ data: { users: [] } }), + listReviews: async () => {} + } }, + paginate: async () => [] + }, + context, {}, { env: { TEAM_REVIEWERS: 'not-json' } } + ), SyntaxError); +}); + +test('fork-capable workflow never checks out or executes PR code', () => { + assert.match(workflow, /pull_request_target:/); + assert.match(workflow, /branches: \[main\]/); + assert.match(workflow, /pull-requests: write/); + assert.doesNotMatch(workflow, /actions\/checkout|head\.sha|head\.ref|pull_request\.title|pull_request\.body/); + assert.match(workflow, /github-token: \$\{\{ secrets\.CORE_REVIEWERS_TOKEN \}\}/); +}); diff --git a/.github/tests/review-approval-policy.test.cjs b/.github/tests/review-approval-policy.test.cjs new file mode 100644 index 00000000..92af8549 --- /dev/null +++ b/.github/tests/review-approval-policy.test.cjs @@ -0,0 +1,334 @@ +const assert = require('node:assert/strict'); +const { existsSync, readFileSync } = require('node:fs'); +const { resolve } = require('node:path'); +const { test } = require('node:test'); + +const workflow = readFileSync(resolve(__dirname, '..', 'workflows', 'review-approval-policy.yml'), 'utf8'); +const block = workflow.match(/ script: \|\r?\n((?: [^\r\n]*(?:\r?\n|$)|\r?\n)+)/); +assert.ok(block, 'Expected an embedded approval policy script.'); +const AsyncFunction = Object.getPrototypeOf(async function () {}).constructor; +const evaluate = new AsyncFunction('github', 'context', 'core', block[1].replace(/^ /gm, '')); + +function pull(number = 1, labels = [], sha = `sha-${number}`) { + return { + number, draft: false, head: { sha }, + user: { login: 'author' }, labels: labels.map(name => ({ name })) + }; +} + +function review(id, login, state = 'APPROVED', type = 'User') { + return { id, state, user: { login, type } }; +} + +function harness(pulls, reviews = {}, options = {}) { + const runs = [...(options.existingChecks ?? [])]; + const writes = []; + const creates = []; + const logs = []; + const errors = []; + const failed = []; + const permissionCalls = []; + const list = async () => {}; + const listReviews = async () => {}; + const listForRef = async () => {}; + let nextId = Math.max(0, ...runs.map(run => run.id)) + 1; + const github = { + rest: { + pulls: { list, listReviews }, + checks: { + listForRef, + create: async params => { + if (options.createError) { + throw options.createError; + } + const run = { ...params, id: nextId++, app: { slug: 'github-actions' } }; + runs.push(run); + creates.push(params); + writes.push({ ...run }); + return { data: run }; + }, + update: async params => { + if (options.startError && params.status === 'in_progress') { + throw options.startError; + } + if (options.failureUpdateError && params.conclusion === 'failure') { + throw options.failureUpdateError; + } + const run = runs.find(run => run.id === params.check_run_id); + assert.ok(run, 'Only an existing check run may be updated.'); + Object.assign(run, params); + writes.push({ ...run }); + return { data: run }; + } + }, + repos: { + getCollaboratorPermissionLevel: async ({ username }) => { + permissionCalls.push(username); + if (options.permissionError) { + throw options.permissionError; + } + return { data: { permission: options.permissions?.[username] ?? 'write' } }; + } + } + }, + paginate: async (method, params) => { + assert.equal(params.per_page, 100); + if (method === list) { + assert.equal(params.base, 'main'); + assert.equal(params.state, 'open'); + return pulls; + } + if (method === listForRef) { + assert.equal(params.check_name, 'Review approval policy'); + assert.equal(params.filter, 'all'); + return runs.filter(run => run.head_sha === params.ref); + } + assert.equal(method, listReviews); + const error = options.reviewErrors?.[params.pull_number] ?? options.reviewError; + if (error) { + throw error; + } + return [...(reviews[params.pull_number] ?? [])]; + } + }; + const context = { + repo: { owner: 'mini-software', repo: 'MiniPdf' }, + serverUrl: 'https://github.com', runId: 123, + payload: {} + }; + const run = () => evaluate(github, context, { + info: message => logs.push(message), + error: message => errors.push(message), + setFailed: message => failed.push(message) + }); + return { run, writes, creates, runs, logs, errors, failed, permissionCalls }; +} + +test('ordinary recommendation is neutral at zero approvals and succeeds at one', async () => { + for (const [reviews, expected] of [[[], 'neutral'], [[review(1, 'reviewer')], 'success']]) { + const h = harness([pull()], { 1: reviews }); + await h.run(); + assert.equal(h.writes[0].status, 'in_progress'); + assert.equal(h.writes.at(-1).status, 'completed'); + assert.equal(h.writes.at(-1).conclusion, expected); + assert.equal(h.writes.at(-1).name, 'Review approval policy'); + assert.match(h.writes.at(-1).output.summary, /Advisory only/); + assert.match(h.writes.at(-1).output.summary, /maintainers may merge without waiting/); + assert.deepEqual(h.failed, []); + } +}); + +test('major-change recommendation stays neutral below three approvals', async () => { + for (const count of [0, 1, 2, 3]) { + const h = harness([pull(1, ['MAJOR-CHANGE'])], { + 1: Array.from({ length: count }, (_, index) => review(index + 1, `reviewer-${index}`)) + }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, count === 3 ? 'success' : 'neutral'); + assert.deepEqual(h.failed, []); + if (count < 3) { + assert.match(h.writes.at(-1).output.summary, new RegExp(`${count}/3`)); + assert.match(h.writes.at(-1).output.title, /Review reminder/); + } + } +}); + +test('invited users, comments, author approvals, bots and Read users do not count', async () => { + const h = harness([pull(1, ['major-change'])], { + 1: [ + review(1, 'AUTHOR'), review(2, 'bot', 'APPROVED', 'Bot'), + review(3, 'read-user'), review(4, 'commenter', 'COMMENTED'), + review(5, 'valid') + ] + }, { permissions: { 'read-user': 'read' } }); + await h.run(); + assert.match(h.writes.at(-1).output.summary, /1\/3/); + assert.deepEqual(h.permissionCalls, ['read-user', 'valid']); +}); + +test('counts Write, Maintain and Admin approvals', async () => { + const h = harness([pull(1, ['major-change'])], { + 1: [review(1, 'writer'), review(2, 'maintainer'), review(3, 'admin')] + }, { permissions: { writer: 'write', maintainer: 'maintain', admin: 'admin' } }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, 'success'); +}); + +test('later dismissed or changes-requested reviews supersede earlier approvals', async () => { + for (const state of ['DISMISSED', 'CHANGES_REQUESTED']) { + const h = harness([pull()], { + 1: [review(2, 'REVIEWER', state), review(1, 'reviewer')] + }); + await h.run(); + assert.match(h.writes.at(-1).output.summary, /0\/1/); + } +}); + +test('comments do not cancel approvals and duplicate approvals count only once', async () => { + const h = harness([pull(1, ['major-change'])], { + 1: [review(1, 'reviewer'), review(2, 'REVIEWER'), review(3, 'Reviewer', 'COMMENTED')] + }); + await h.run(); + assert.match(h.writes.at(-1).output.summary, /1\/3/); +}); + +test('a new approval after a change request is counted', async () => { + const h = harness([pull()], { + 1: [review(1, 'reviewer', 'CHANGES_REQUESTED'), review(2, 'reviewer')] + }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, 'success'); +}); + +test('a label change raises the recommendation to a neutral reminder', async () => { + const current = pull(); + const h = harness([current], { 1: [review(1, 'reviewer')] }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, 'success'); + current.labels.push({ name: 'major-change' }); + await h.run(); + assert.equal(h.writes.at(-2).status, 'in_progress'); + assert.equal(h.writes.at(-1).conclusion, 'neutral'); + assert.match(h.writes.at(-1).output.summary, /1\/3/); + assert.equal(h.creates.length, 1); +}); + +test('PRs sharing a SHA preserve the higher recommendation without blocking', async () => { + const h = harness([pull(1, [], 'shared'), pull(2, ['major-change'], 'shared')], { + 1: [review(1, 'one')], + 2: [review(2, 'one'), review(3, 'two')] + }); + await h.run(); + assert.equal(h.writes.length, 2); + assert.equal(h.writes.at(-1).head_sha, 'shared'); + assert.equal(h.writes.at(-1).conclusion, 'neutral'); + assert.match(h.writes.at(-1).output.summary, /#2: 2\/3/); + assert.deepEqual(h.permissionCalls, ['one', 'two']); +}); + +test('all PRs sharing a SHA meeting recommendations produce success', async () => { + const h = harness([pull(1, [], 'shared'), pull(2, ['major-change'], 'shared')], { + 1: [review(1, 'one')], + 2: [review(2, 'one'), review(3, 'two'), review(4, 'three')] + }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, 'success'); +}); + +test('review and permission API failures fail the check and workflow explicitly', async () => { + for (const option of ['reviewError', 'permissionError']) { + const error = new Error('GitHub API access failed'); + const h = harness([pull()], { 1: [review(1, 'reviewer')] }, { [option]: error }); + await h.run(); + assert.deepEqual(h.writes.map(check => check.status), ['in_progress', 'completed']); + assert.equal(h.writes.at(-1).conclusion, 'failure'); + assert.match(h.writes.at(-1).output.summary, /GitHub API access failed/); + assert.equal(h.errors.length, 1); + assert.equal(h.failed.length, 1); + } +}); + +test('draft PRs are skipped and no open PRs are reported explicitly', async () => { + const draft = pull(); + draft.draft = true; + for (const pulls of [[], [draft]]) { + const h = harness(pulls); + await h.run(); + assert.deepEqual(h.writes, []); + assert.match(h.logs[0], /No open/); + } +}); + +test('check summaries obey the 65535-character limit', async () => { + const h = harness(Array.from({ length: 3000 }, (_, index) => pull(index + 1, ['major-change'], 'shared'))); + await h.run(); + assert.equal(h.writes.at(-1).output.summary.length, 65535); +}); + +test('refreshing more than 1000 times updates one check instead of appending statuses', async () => { + const h = harness([pull()], { 1: [review(1, 'reviewer')] }); + for (let iteration = 0; iteration < 1001; iteration++) { + await h.run(); + } + assert.equal(h.creates.length, 1); + assert.equal(h.runs.length, 1); + assert.equal(h.writes.length, 2002); + assert.equal(h.writes.at(-1).conclusion, 'success'); +}); + +test('a failed SHA does not prevent other SHA groups from refreshing', async () => { + const h = harness([pull(1), pull(2)], { 2: [review(1, 'valid')] }, { + reviewErrors: { 1: new Error('First SHA reviews unavailable') } + }); + await h.run(); + assert.equal(h.runs.find(run => run.head_sha === 'sha-1').conclusion, 'failure'); + assert.equal(h.runs.find(run => run.head_sha === 'sha-2').conclusion, 'success'); + assert.match(h.failed[0], /1 SHA group/); +}); + +test('failure to reset an existing success attempts an explicit failure update', async () => { + const existing = { + id: 42, head_sha: 'sha-1', external_id: 'minipdf-review-approval-policy', + app: { slug: 'github-actions' }, status: 'completed', conclusion: 'success' + }; + const h = harness([pull()], {}, { + existingChecks: [existing], startError: new Error('Cannot start refresh') + }); + await h.run(); + assert.equal(h.creates.length, 0); + assert.equal(h.runs[0].conclusion, 'failure'); + assert.equal(h.failed.length, 1); +}); + +test('failure to publish a failure is logged and still fails the workflow', async () => { + const h = harness([pull()], {}, { + reviewError: new Error('Review API unavailable'), + failureUpdateError: new Error('Check API unavailable') + }); + await h.run(); + assert.equal(h.errors.length, 2); + assert.match(h.errors[1], /Failed to publish failure/); + assert.equal(h.runs[0].status, 'in_progress'); + assert.equal(h.failed.length, 1); +}); + +test('check creation failures are explicit and do not prevent other SHA groups', async () => { + const h = harness([pull(1), pull(2)], {}, { createError: new Error('Check API unavailable') }); + await h.run(); + assert.equal(h.errors.length, 2); + assert.match(h.failed[0], /2 SHA group/); + assert.deepEqual(h.writes, []); +}); + +test('checks belonging to another app or external ID are not updated', async () => { + const existingChecks = [ + { id: 1, head_sha: 'sha-1', external_id: 'minipdf-review-approval-policy', app: { slug: 'other-app' } }, + { id: 2, head_sha: 'sha-1', external_id: 'other-check', app: { slug: 'github-actions' } } + ]; + const h = harness([pull()], {}, { existingChecks }); + await h.run(); + assert.equal(h.creates.length, 1); + assert.ok(h.writes.every(run => run.id === 3)); +}); + +test('deleted review users never count as eligible approvals', async () => { + const h = harness([pull()], { 1: [{ id: 1, state: 'APPROVED', user: null }, review(2, 'valid')] }); + await h.run(); + assert.equal(h.writes.at(-1).conclusion, 'success'); + assert.deepEqual(h.permissionCalls, ['valid']); +}); + +test('advisory workflow has only base-controlled triggers and no PR notifier', () => { + assert.match(workflow, /pull_request_target:/); + assert.match(workflow, /branches: \[main\]/); + assert.match(workflow, /schedule:/); + assert.match(workflow, /cron: '7,22,37,52 \* \* \* \*'/); + assert.match(workflow, /workflow_dispatch:/); + assert.match(workflow, /checks: write/); + assert.match(workflow, /pull-requests: read/); + assert.doesNotMatch(workflow, /actions\/checkout|\$\{\{[^}]*head\.(?:sha|ref)|download-artifact|secrets\.|pull_request_review:|workflow_run:|statuses: write|createCommitStatus/); + assert.equal(existsSync(resolve(__dirname, '..', 'workflows', 'review-changed.yml')), false); + assert.match(workflow, /No approving reviews are required to merge/); + assert.match(workflow, /conclusion: waiting.length > 0 \? 'neutral' : 'success'/); + assert.doesNotMatch(workflow, /action_required|native three-approval protection|Native rules require one approval/); +}); diff --git a/.github/workflows/auto-reviewers.yml b/.github/workflows/auto-reviewers.yml new file mode 100644 index 00000000..00f4cf1f --- /dev/null +++ b/.github/workflows/auto-reviewers.yml @@ -0,0 +1,125 @@ +name: Request core reviewers + +on: + pull_request_target: + branches: [main] + types: [opened, reopened, ready_for_review, synchronize] + workflow_dispatch: + inputs: + pull_request_number: + description: Open PR targeting main to refresh reviewers + required: true + type: string + +permissions: + pull-requests: write + +concurrency: + group: core-reviewers-${{ github.event.pull_request.number || inputs.pull_request_number }} + cancel-in-progress: false + +jobs: + request-reviewers: + if: github.event_name == 'workflow_dispatch' || !github.event.pull_request.draft + runs-on: ubuntu-latest + steps: + - name: Read current team members + id: team + uses: actions/github-script@v7 + env: + CORE_REVIEWERS_TOKEN: ${{ secrets.CORE_REVIEWERS_TOKEN }} + with: + github-token: ${{ secrets.CORE_REVIEWERS_TOKEN }} + result-encoding: string + script: | + if (!process.env.CORE_REVIEWERS_TOKEN) { + throw new Error('Configure CORE_REVIEWERS_TOKEN with organization Members: read permission.'); + } + + const members = await github.paginate(github.rest.teams.listMembersInOrg, { + org: context.repo.owner, + team_slug: 'core-reviewers', + per_page: 100 + }); + const reviewers = members + .filter(member => member.type !== 'Bot') + .map(member => member.login); + if (reviewers.length === 0) { + throw new Error('The core-reviewers team has no active human members.'); + } + core.info(`Loaded ${reviewers.length} active core reviewers.`); + return JSON.stringify(reviewers); + + - name: Request missing reviewers + uses: actions/github-script@v7 + env: + TEAM_REVIEWERS: ${{ steps.team.outputs.result }} + INPUT_PR_NUMBER: ${{ inputs.pull_request_number }} + with: + script: | + const input = context.payload.pull_request?.number ?? process.env.INPUT_PR_NUMBER; + const pull_number = Number(input); + if (!/^[1-9]\d*$/.test(String(input)) || !Number.isSafeInteger(pull_number)) { + throw new Error('A positive integer pull request number is required.'); + } + const params = { ...context.repo, pull_number }; + const { data: pull } = await github.rest.pulls.get(params); + if (pull.state !== 'open' || pull.draft || pull.base.ref !== 'main') { + core.notice('Skipping: the PR must be open, ready for review, and target main.'); + return; + } + + const requested = await github.paginate( + github.rest.pulls.listRequestedReviewers, + { ...params, per_page: 100 }, + response => response.data.users + ); + const reviews = await github.paginate(github.rest.pulls.listReviews, { + ...params, + per_page: 100 + }); + const excluded = new Set([ + pull.user.login, + ...requested.map(user => user.login), + ...reviews.filter(review => review.user).map(review => review.user.login) + ].map(login => login.toLowerCase())); + const reviewers = JSON.parse(process.env.TEAM_REVIEWERS); + const missing = []; + for (const login of reviewers) { + const key = login.toLowerCase(); + if (!excluded.has(key)) { + missing.push(login); + excluded.add(key); + } + } + if (missing.length === 0) { + core.info('All eligible team members have already been requested or reviewed.'); + return; + } + + // GitHub can omit reviewers from oversized requests, so limit each batch. + for (let offset = 0; offset < missing.length; offset += 15) { + await github.rest.pulls.requestReviewers({ + ...params, + reviewers: missing.slice(offset, offset + 15) + }); + } + + const updated = await github.paginate( + github.rest.pulls.listRequestedReviewers, + { ...params, per_page: 100 }, + response => response.data.users + ); + const updatedReviews = await github.paginate(github.rest.pulls.listReviews, { + ...params, + per_page: 100 + }); + const confirmed = new Set([ + ...updated.map(user => user.login), + ...updatedReviews.filter(review => review.user).map(review => review.user.login) + ].map(login => login.toLowerCase())); + const unconfirmed = missing.filter(login => !confirmed.has(login.toLowerCase())); + if (unconfirmed.length > 0) { + throw new Error(`GitHub did not confirm review requests for: ${unconfirmed.join(', ')}`); + } + core.info(`Requested ${missing.length} additional core reviewers.`); diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 057cf05e..c7e062e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,22 @@ permissions: pull-requests: read jobs: + review-workflow-tests: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Test reviewer automation and approval policy + run: node --test .github/tests/auto-reviewers.test.cjs .github/tests/review-approval-policy.test.cjs + build: runs-on: ubuntu-latest @@ -37,6 +53,11 @@ jobs: with: dotnet-version: '9.0.x' + - name: Install CJK TrueType font + run: | + sudo apt-get update + sudo apt-get install --yes fonts-wqy-microhei + - name: Restore dependencies run: dotnet restore @@ -56,99 +77,34 @@ jobs: name: test-results path: '**/test-results.trx' - ai-security-scan: - if: github.event_name == 'pull_request' - runs-on: ubuntu-latest - needs: build + docx-font-tests: + runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 with: - fetch-depth: 0 + dotnet-version: '9.0.x' - - name: Get PR diff - id: diff - run: | - DIFF=$(git diff origin/${{ github.base_ref }}...HEAD -- '*.cs' '*.csproj' || true) - if [ -z "$DIFF" ]; then - echo "No code changes detected." - echo "skip=true" >> $GITHUB_OUTPUT - else - # Save diff to file to avoid shell escaping issues - echo "$DIFF" > /tmp/pr_diff.txt - echo "skip=false" >> $GITHUB_OUTPUT - fi - - - name: AI Security Review - if: steps.diff.outputs.skip != 'true' - env: - AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} - AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }} - AZURE_OPENAI_DEPLOYMENT: ${{ secrets.AZURE_OPENAI_DEPLOYMENT }} + - name: Verify required DOCX fonts + shell: pwsh run: | - DIFF=$(cat /tmp/pr_diff.txt) - - # Truncate diff if too large (max ~12000 chars to fit in context) - if [ ${#DIFF} -gt 12000 ]; then - DIFF="${DIFF:0:12000}... [truncated]" - fi - - INSTRUCTIONS=$(cat .github/copilot-code-review.md 2>/dev/null || echo "Review for security issues.") - - API_VERSION="2025-01-01-preview" - URL="${AZURE_OPENAI_ENDPOINT%/}/openai/deployments/${AZURE_OPENAI_DEPLOYMENT}/chat/completions?api-version=${API_VERSION}" - - # Build JSON payload safely using jq - PAYLOAD=$(jq -n \ - --arg instructions "$INSTRUCTIONS" \ - --arg diff "$DIFF" \ - '{ - messages: [ - { role: "system", content: $instructions }, - { role: "user", content: ("Review this code diff for security vulnerabilities in APPLICATION SOURCE CODE ONLY. Respond ONLY with a JSON object (no markdown, no code blocks): {\"passed\": true/false, \"issues\": [\"description1\", \"description2\"]}. Set passed=true if no security issues found in application code, passed=false only for real security concerns like SQL injection, XSS, path traversal, hardcoded credentials in source code, etc. Do NOT flag CI/CD workflow configuration or documentation changes as issues.\n\nDiff:\n" + $diff) } - ], - temperature: 0.1 - }') - - RESPONSE=$(curl -s "$URL" \ - -H "Content-Type: application/json" \ - -H "api-key: $AZURE_OPENAI_API_KEY" \ - -d "$PAYLOAD") - - # Extract content - CONTENT=$(echo "$RESPONSE" | jq -r '.choices[0].message.content // empty') - - if [ -z "$CONTENT" ]; then - echo "::error::Failed to get AI review response" - echo "$RESPONSE" | jq . - exit 1 - fi - - echo "=== AI Security Review Result ===" - echo "$CONTENT" - echo "=================================" - - # Parse JSON from response: strip markdown code blocks, then parse with jq - CLEAN_CONTENT=$(echo "$CONTENT" | sed '/^```/d') - # Use 'if .passed then "true" else "false" end' to handle boolean false correctly - PASSED=$(echo "$CLEAN_CONTENT" | jq -r 'if .passed == true then "true" elif .passed == false then "false" else "unknown" end' 2>/dev/null) - - if [ "$PASSED" = "false" ]; then - echo "" - echo "::error::AI Security Review FAILED - security issues detected" - echo "$CLEAN_CONTENT" | jq -r '.issues[]?' 2>/dev/null | while read -r issue; do - echo "::warning::$issue" - done - exit 1 - elif [ "$PASSED" = "true" ]; then - echo "" - echo "✅ AI Security Review PASSED - no security issues found" - else - echo "::warning::Could not parse AI review result, treating as FAIL for safety" - exit 1 - fi - - - name: Skip notice - if: steps.diff.outputs.skip == 'true' - run: echo "✅ No code changes to review" + $fontDirectory = Join-Path $env:WINDIR 'Fonts' + foreach ($font in @('cambria.ttc', 'cambriab.ttf', 'cambriaz.ttf', 'seguisym.ttf', 'seguiemj.ttf')) { + if (-not (Test-Path -LiteralPath (Join-Path $fontDirectory $font))) { + throw "Required DOCX test font is unavailable: $font" + } + } + + - name: Test DOCX rendering with system fonts + run: dotnet test tests/MiniPdf.Tests/MiniPdf.Tests.csproj --configuration Release --filter "FullyQualifiedName~Docx|FullyQualifiedName~SystemFontTheoryAttributeTests" --verbosity normal --logger "trx;LogFileName=docx-font-results.trx" + + - name: Upload DOCX test results + uses: actions/upload-artifact@v4 + if: always() + with: + name: docx-font-test-results + path: '**/docx-font-results.trx' diff --git a/.github/workflows/nuget-publish-cli.yml b/.github/workflows/nuget-publish-cli.yml index 4ca7be6f..f27e9adb 100644 --- a/.github/workflows/nuget-publish-cli.yml +++ b/.github/workflows/nuget-publish-cli.yml @@ -22,6 +22,11 @@ jobs: with: dotnet-version: '9.0.x' + - name: Install CJK TrueType font + run: | + sudo apt-get update + sudo apt-get install --yes fonts-wqy-microhei + - name: Restore dependencies run: dotnet restore diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index 5371a543..39dfebda 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -3,6 +3,12 @@ name: NuGet Publish on: release: types: [ published ] + workflow_dispatch: + inputs: + version: + description: Release version without the v prefix + required: true + type: string permissions: contents: read @@ -11,17 +17,24 @@ jobs: publish: runs-on: ubuntu-latest # Only run for v* tags, skip cli-v* tags - if: startsWith(github.ref_name, 'v') && !startsWith(github.ref_name, 'cli-v') + if: (startsWith(github.ref_name, 'v') && !startsWith(github.ref_name, 'cli-v')) || inputs.version != '' steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref }} - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '9.0.x' + - name: Install CJK TrueType font + run: | + sudo apt-get update + sudo apt-get install --yes fonts-wqy-microhei + - name: Restore dependencies run: dotnet restore @@ -33,8 +46,10 @@ jobs: - name: Extract version from tag id: version + env: + INPUT_VERSION: ${{ inputs.version }} run: | - VERSION="${GITHUB_REF_NAME#v}" + VERSION="${INPUT_VERSION:-${GITHUB_REF_NAME#v}}" if [ -z "$VERSION" ]; then echo "::error::Could not extract version from GITHUB_REF_NAME='$GITHUB_REF_NAME'" exit 1 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3d2f1fce..2bcabdd0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -38,8 +38,21 @@ jobs: curl -L -o MiniPdf.Web/MiniPdf.Web.Client/wwwroot/fonts/NotoSansSC-Regular.ttf \ "https://github.com/google/fonts/raw/main/ofl/notosanssc/NotoSansSC%5Bwght%5D.ttf" + - name: Resolve MiniPdf NuGet version + id: minipdf-version + shell: pwsh + run: | + $index = Invoke-RestMethod 'https://api.nuget.org/v3-flatcontainer/minipdf/index.json' + $version = $index.versions | + Where-Object { $_ -notmatch '-' } | + Select-Object -Last 1 + if (-not $version) { + throw 'Could not resolve the latest stable MiniPdf version from NuGet.' + } + "version=$version" >> $env:GITHUB_OUTPUT + - name: Publish Blazor WASM - run: dotnet publish MiniPdf.Web/MiniPdf.Web.Client/MiniPdf.Web.Client.csproj -c Release -o publish + run: dotnet publish MiniPdf.Web/MiniPdf.Web.Client/MiniPdf.Web.Client.csproj -c Release -o publish -p:Version=${{ steps.minipdf-version.outputs.version }} - name: Remove pre-compressed files (GitHub Pages does not support content negotiation) run: find publish/wwwroot -name '*.br' -o -name '*.gz' | xargs rm -f diff --git a/.github/workflows/release-aot-gui.yml b/.github/workflows/release-aot-gui.yml index 5b138773..2e27c6d9 100644 --- a/.github/workflows/release-aot-gui.yml +++ b/.github/workflows/release-aot-gui.yml @@ -4,13 +4,18 @@ on: release: types: [ published ] workflow_dispatch: + inputs: + version: + description: Release version without the v prefix + required: true + type: string permissions: contents: write jobs: build: - if: startsWith(github.ref_name, 'v') || github.event_name == 'workflow_dispatch' + if: startsWith(github.ref_name, 'v') || inputs.version != '' strategy: fail-fast: false @@ -29,6 +34,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref }} - uses: actions/setup-dotnet@v4 with: { dotnet-version: '9.0.x' } @@ -49,8 +56,10 @@ jobs: - name: Extract version from tag id: version shell: bash + env: + INPUT_VERSION: ${{ inputs.version }} run: | - VERSION="${GITHUB_REF_NAME#gui-v}" + VERSION="${INPUT_VERSION:-${GITHUB_REF_NAME#gui-v}}" VERSION="${VERSION#v}" if [ -z "$VERSION" ] || [ "$VERSION" = "$GITHUB_REF_NAME" ]; then VERSION="0.0.1"; fi echo "VERSION=$VERSION" >> $GITHUB_OUTPUT @@ -82,11 +91,7 @@ jobs: tar -czf ${{ matrix.artifact }} -C dist . - name: Upload release asset - if: github.event_name == 'release' uses: softprops/action-gh-release@v2 - with: { files: '${{ matrix.artifact }}' } - - - name: Upload build artifact - if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v4 - with: { name: '${{ matrix.artifact }}', path: '${{ matrix.artifact }}' } + with: + files: ${{ matrix.artifact }} + tag_name: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref_name }} diff --git a/.github/workflows/release-aot.yml b/.github/workflows/release-aot.yml index 68c7e664..8ced5322 100644 --- a/.github/workflows/release-aot.yml +++ b/.github/workflows/release-aot.yml @@ -4,13 +4,18 @@ on: release: types: [ published ] workflow_dispatch: + inputs: + version: + description: Release version without the v prefix + required: true + type: string permissions: contents: write jobs: build: - if: startsWith(github.ref_name, 'v') || github.event_name == 'workflow_dispatch' + if: startsWith(github.ref_name, 'v') || inputs.version != '' strategy: fail-fast: false @@ -29,6 +34,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref }} - uses: actions/setup-dotnet@v4 with: { dotnet-version: '9.0.x' } @@ -49,8 +56,10 @@ jobs: - name: Extract version from tag id: version shell: bash + env: + INPUT_VERSION: ${{ inputs.version }} run: | - VERSION="${GITHUB_REF_NAME#v}" + VERSION="${INPUT_VERSION:-${GITHUB_REF_NAME#v}}" if [ -z "$VERSION" ] || [ "$VERSION" = "$GITHUB_REF_NAME" ]; then VERSION="0.0.1"; fi echo "VERSION=$VERSION" >> $GITHUB_OUTPUT @@ -75,11 +84,7 @@ jobs: tar -czf ${{ matrix.artifact }} -C publish minipdf - name: Upload release asset - if: github.event_name == 'release' uses: softprops/action-gh-release@v2 - with: { files: '${{ matrix.artifact }}' } - - - name: Upload build artifact - if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v4 - with: { name: '${{ matrix.artifact }}', path: '${{ matrix.artifact }}' } + with: + files: ${{ matrix.artifact }} + tag_name: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..6d8768d6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,129 @@ +name: Release MiniPdf + +on: + workflow_dispatch: + inputs: + version: + description: Stable semantic version without the v prefix (for example, 0.38.6) + required: true + type: string + +permissions: + actions: write + contents: write + +concurrency: + group: release-minipdf + cancel-in-progress: false + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: main + fetch-depth: 0 + + - name: Validate version + shell: pwsh + env: + VERSION: ${{ inputs.version }} + run: | + if ($env:VERSION -notmatch '^\d+\.\d+\.\d+$') { + throw "Version must use stable semantic version format, for example 0.38.6." + } + + $tag = "v$env:VERSION" + if (git tag --list $tag) { + throw "Tag $tag already exists." + } + + - name: Update citation metadata + shell: pwsh + env: + VERSION: ${{ inputs.version }} + run: | + $citationPath = 'CITATION.cff' + $citation = [IO.File]::ReadAllText($citationPath) + $versionPattern = [regex]::new('(?m)^version:\s*.*$') + $datePattern = [regex]::new('(?m)^date-released:\s*.*$') + + $citation = $versionPattern.Replace( + $citation, "version: $env:VERSION", 1) + $citation = $datePattern.Replace( + $citation, + "date-released: `"$([DateTime]::UtcNow.ToString('yyyy-MM-dd'))`"", + 1) + + [IO.File]::WriteAllText( + $citationPath, + $citation, + [Text.UTF8Encoding]::new($false)) + + $changedFiles = @(git diff --name-only) + if ($changedFiles.Count -ne 1 -or $changedFiles[0] -ne $citationPath) { + throw "Expected only $citationPath to change; found: $($changedFiles -join ', ')" + } + + git diff --check + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + + - name: Install CJK TrueType font + run: | + sudo apt-get update + sudo apt-get install --yes fonts-wqy-microhei + + - name: Restore dependencies + run: dotnet restore + + - name: Build release candidate + run: dotnet build --no-restore --configuration Release + + - name: Test release candidate + run: dotnet test --no-build --configuration Release --verbosity normal + + - name: Commit citation metadata + env: + VERSION: ${{ inputs.version }} + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + git add CITATION.cff + git commit -m "chore: prepare v$VERSION release" + git push origin HEAD:main + + - name: Publish GitHub release + env: + GH_TOKEN: ${{ github.token }} + VERSION: ${{ inputs.version }} + run: | + gh release create "v$VERSION" \ + --repo "$GITHUB_REPOSITORY" \ + --target "$(git rev-parse HEAD)" \ + --title "v$VERSION" \ + --generate-notes \ + --fail-on-no-commits \ + --latest + + - name: Start release artifact workflows + env: + GH_TOKEN: ${{ github.token }} + VERSION: ${{ inputs.version }} + run: | + gh workflow run release-aot.yml --ref main -f version="$VERSION" + gh workflow run release-aot-gui.yml --ref main -f version="$VERSION" + gh workflow run nuget-publish.yml --ref main -f version="$VERSION" + + - name: Summarize release + env: + VERSION: ${{ inputs.version }} + run: | + echo "### MiniPdf v$VERSION published" >> "$GITHUB_STEP_SUMMARY" + echo "Existing AOT, GUI, NuGet, and Zenodo workflows will process the release." >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/review-approval-policy.yml b/.github/workflows/review-approval-policy.yml new file mode 100644 index 00000000..fe83ed75 --- /dev/null +++ b/.github/workflows/review-approval-policy.yml @@ -0,0 +1,151 @@ +name: Review approval policy + +on: + pull_request_target: + branches: [main] + types: [opened, reopened, synchronize, ready_for_review, converted_to_draft, labeled, unlabeled, edited, closed] + schedule: + - cron: '7,22,37,52 * * * *' + workflow_dispatch: + +permissions: + pull-requests: read + checks: write + +concurrency: + group: review-approval-policy + cancel-in-progress: false + +jobs: + check-approvals: + runs-on: ubuntu-latest + steps: + - name: Refresh approval requirements + uses: actions/github-script@v7 + with: + script: | + const checkName = 'Review approval policy'; + const externalId = 'minipdf-review-approval-policy'; + const pulls = await github.paginate(github.rest.pulls.list, { + ...context.repo, + state: 'open', + base: 'main', + per_page: 100 + }); + const groups = new Map(); + for (const pull of pulls.filter(pull => !pull.draft)) { + const group = groups.get(pull.head.sha) ?? []; + group.push(pull); + groups.set(pull.head.sha, group); + } + if (groups.size === 0) { + core.info('No open, ready-for-review PRs target main.'); + return; + } + const permissions = new Map(); + const failed = []; + for (const [sha, group] of groups) { + let check; + try { + const existing = await github.paginate(github.rest.checks.listForRef, { + ...context.repo, + ref: sha, + check_name: checkName, + filter: 'all', + per_page: 100 + }); + check = existing.find(run => + run.app?.slug === 'github-actions' && run.external_id === externalId + ); + const start = { + ...context.repo, + status: 'in_progress', + details_url: `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`, + output: { + title: 'Checking review recommendations', + summary: 'Review counts are reminders only. No approving reviews are required to merge.' + } + }; + if (check) { + await github.rest.checks.update({ ...start, check_run_id: check.id }); + } else { + ({ data: check } = await github.rest.checks.create({ + ...start, name: checkName, head_sha: sha, external_id: externalId + })); + } + + const results = []; + for (const pull of group) { + const recommended = pull.labels.some(label => label.name.toLowerCase() === 'major-change') ? 3 : 1; + const reviews = await github.paginate(github.rest.pulls.listReviews, { + ...context.repo, + pull_number: pull.number, + per_page: 100 + }); + const latest = new Map(); + for (const review of reviews.sort((left, right) => left.id - right.id)) { + if (review.user && ['APPROVED', 'CHANGES_REQUESTED', 'DISMISSED'].includes(review.state)) { + latest.set(review.user.login.toLowerCase(), review); + } + } + let approvals = 0; + for (const [login, review] of latest) { + if (review.state !== 'APPROVED' || review.user.type === 'Bot' || + login === pull.user.login.toLowerCase()) { + continue; + } + if (!permissions.has(login)) { + const { data } = await github.rest.repos.getCollaboratorPermissionLevel({ + ...context.repo, + username: review.user.login + }); + permissions.set(login, ['write', 'maintain', 'admin'].includes(data.permission)); + } + if (permissions.get(login)) { + approvals++; + } + } + results.push({ number: pull.number, recommended, approvals }); + } + + // Check runs are shared by PRs with the same head SHA. + const waiting = results.filter(result => result.approvals < result.recommended); + const summary = results + .map(result => `#${result.number}: ${result.approvals}/${result.recommended} recommended eligible approvals`) + .join('\n'); + await github.rest.checks.update({ + ...context.repo, + check_run_id: check.id, + status: 'completed', + conclusion: waiting.length > 0 ? 'neutral' : 'success', + output: { + title: waiting.length > 0 ? 'Review reminder: recommended approvals not yet reached' : 'Review recommendations met', + summary: `${summary}\n\nAdvisory only: maintainers may merge without waiting for these recommendations. This check must not be required for merging.`.slice(0, 65535) + } + }); + core.info(summary); + } catch (error) { + const message = error instanceof Error ? error.message : String(error); + core.error(`Approval refresh failed for ${sha}: ${message}`); + failed.push(sha); + if (check) { + try { + await github.rest.checks.update({ + ...context.repo, + check_run_id: check.id, + status: 'completed', + conclusion: 'failure', + output: { + title: 'Advisory approval refresh failed', + summary: `Unable to evaluate current approvals: ${message}\nReview reminders are unavailable. Review approval counts do not gate merges.`.slice(0, 65535) + } + }); + } catch (reportError) { + core.error(`Failed to publish failure for ${sha}: ${String(reportError)}`); + } + } + } + } + if (failed.length > 0) { + core.setFailed(`Approval refresh failed for ${failed.length} SHA group(s): ${failed.join(', ')}`); + } diff --git a/.gitignore b/.gitignore index 6855b896..079b75a8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,12 +2,45 @@ **/bin/ **/obj/ **/target/ +**/__pycache__/ +**/.mypy_cache/ +**/.pytest_cache/ +**/.ruff_cache/ +**/*.egg-info/ +**/build/ +**/dist/ +**/node_modules/ +**/*.node +**/*.tgz ## IDE .vs/ *.user *.suo +## Local assistant configuration +**/AGENTS.md +**/CLAUDE.md +**/GEMINI.md +**/.claude/ +**/.copilot/ +**/.codex/ +**/.cursor/ +**/.windsurf/ +/.github/copilot*.md +/.github/agents/ +/.github/prompts/ +/.github/skills/ + +## Local project notes +/CODE_OF_CONDUCT.md +/CONTRIBUTING.md +/FEATURE_PARITY.md +/GOVERNANCE.md +/MAINTAINERS.md +/ROADMAP.md +/SECURITY.md + ## OS Thumbs.db Desktop.ini @@ -48,3 +81,10 @@ MiniPdf.Web/MiniPdf.Web.Client/wwwroot/fonts/ /tests/Issue_Files/minipdf_docx_new /tests/Issue_Files/minipdf_xlsx /tests/Issue_Files/minipdf_pptx +/tests/MiniPdf.Benchmark/reports/ +/tests/MiniPdf.Benchmark/reports_docx/ +/tests/Issue_Files/reports_xlsx/ +/tests/Issue_Files/reports_docx/ +/tests/Issue_Files/reports_pptx/ +/artifacts/* +/tests/Issue_Files/office_docx diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index e69de29b..00000000 diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index cf8649ff..00000000 --- a/AGENTS.md +++ /dev/null @@ -1,32 +0,0 @@ -- English -- No Emoji -- .NET security policy -- System can't auto git push - -## Documentation Workflow - -When updating README.md or documentation, sync the corresponding translated README files under `documents/` in the same change. Keep API examples, CLI examples, command tables, benchmark numbers, and report links aligned across languages. - -## Issue Summary Workflow -When user says "summary on issue #N", use `gh issue comment N --body-file -` -to post a summary of completed work to the GitHub issue. - -## Testing Workflow - -After making code changes, run the relevant validation before reporting completion. - -### Unit Tests -```powershell -dotnet test tests/MiniPdf.Tests -``` - - - -### Single File / Filtered Run -```powershell -scripts/Run-Benchmark.ps1 -Filter "border" # only cases containing "border" -scripts/Run-Benchmark_docx.ps1 -Filter "heading" -scripts/Run-Benchmark_issues.ps1 -Filter "sa8000" # -Filter is mandatory for issues -``` - - diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..e91cf2b7 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,22 @@ +cff-version: 1.2.0 +message: "If you use MiniPdf in your work, please cite it using the metadata from this file." +title: MiniPdf +type: software +doi: 10.5281/zenodo.22057294 +version: 0.43.2 +date-released: "2026-10-24" +authors: + - family-names: Lin + given-names: WEI-HAN + alias: shps951023 +abstract: "A minimal, lightweight .NET library for converting Excel, Word, and PowerPoint files to PDF." +keywords: + - PDF + - Excel + - Word + - PowerPoint + - document conversion + - .NET +license: Apache-2.0 +repository-code: "https://github.com/mini-software/MiniPdf" +url: "https://mini-software.github.io/MiniPdf/" diff --git a/MiniPdf.Api/Program.cs b/MiniPdf.Api/Program.cs index e4da5892..7aed6cdd 100644 --- a/MiniPdf.Api/Program.cs +++ b/MiniPdf.Api/Program.cs @@ -36,18 +36,30 @@ CREATE TABLE IF NOT EXISTS request_log ( file_size INTEGER NOT NULL, duration_ms INTEGER NOT NULL, success INTEGER NOT NULL - ) + ); + CREATE TABLE IF NOT EXISTS missing_font_log ( + request_id INTEGER NOT NULL, + font_family TEXT COLLATE NOCASE NOT NULL, + occurrence_count INTEGER NOT NULL CHECK (occurrence_count > 0), + PRIMARY KEY (request_id, font_family), + FOREIGN KEY (request_id) REFERENCES request_log(id) ON DELETE CASCADE + ); + CREATE INDEX IF NOT EXISTS idx_missing_font_family + ON missing_font_log(font_family); """; cmd.ExecuteNonQuery(); } -void LogRequest(string ipHash, string fileType, long fileSize, long durationMs, bool success) +void LogRequest(string ipHash, string fileType, long fileSize, long durationMs, bool success, + IReadOnlyList missingFonts) { try { using var conn = new SqliteConnection(connStr); conn.Open(); + using var transaction = conn.BeginTransaction(); using var cmd = conn.CreateCommand(); + cmd.Transaction = transaction; cmd.CommandText = "INSERT INTO request_log (timestamp, ip_hash, file_type, file_size, duration_ms, success) VALUES (@ts, @ip, @ft, @fs, @d, @s)"; cmd.Parameters.AddWithValue("@ts", DateTime.UtcNow.ToString("o")); cmd.Parameters.AddWithValue("@ip", ipHash); @@ -56,6 +68,20 @@ void LogRequest(string ipHash, string fileType, long fileSize, long durationMs, cmd.Parameters.AddWithValue("@d", durationMs); cmd.Parameters.AddWithValue("@s", success ? 1 : 0); cmd.ExecuteNonQuery(); + + cmd.Parameters.Clear(); + cmd.CommandText = "SELECT last_insert_rowid()"; + var requestId = (long)(cmd.ExecuteScalar() ?? 0L); + cmd.CommandText = "INSERT INTO missing_font_log (request_id, font_family, occurrence_count) VALUES (@requestId, @fontFamily, @occurrenceCount)"; + foreach (var missingFont in missingFonts) + { + cmd.Parameters.Clear(); + cmd.Parameters.AddWithValue("@requestId", requestId); + cmd.Parameters.AddWithValue("@fontFamily", missingFont.FontFamily); + cmd.Parameters.AddWithValue("@occurrenceCount", missingFont.OccurrenceCount); + cmd.ExecuteNonQuery(); + } + transaction.Commit(); } catch { /* non-critical */ } } @@ -85,7 +111,9 @@ string HashIp(string ip) // --- IP-based rate limiting: 10 requests per day per IP, 10 MB max --- const int MaxRequestsPerDay = 10; const long MaxFileSizeBytes = 10 * 1024 * 1024; // 10 MB +const int MaxConcurrentConversions = 3; var ipRequestCounts = new ConcurrentDictionary(); +var conversionSlots = new SemaphoreSlim(MaxConcurrentConversions, MaxConcurrentConversions); string GetClientIp(HttpContext ctx) { @@ -114,6 +142,22 @@ bool TryConsumeRateLimit(string ip) return entry.Count <= MaxRequestsPerDay; } +app.MapGet("/api/status", (HttpContext ctx) => +{ + ctx.Response.Headers["Cache-Control"] = "no-store"; + var activeConversions = MaxConcurrentConversions - conversionSlots.CurrentCount; + var isBusy = activeConversions >= MaxConcurrentConversions; + + return Results.Ok(new + { + status = isBusy ? "busy" : "available", + available = !isBusy, + isBusy, + activeConversions, + maxConcurrentConversions = MaxConcurrentConversions + }); +}); + if (app.Environment.IsDevelopment()) { app.MapGet("/test", () => Results.Content(""" @@ -189,15 +233,6 @@ bool TryConsumeRateLimit(string ip) return Results.BadRequest("File size exceeds the 10 MB limit."); } - // Enforce IP-based rate limit (10 per day) - var clientIp = GetClientIp(ctx); - if (!TryConsumeRateLimit(clientIp)) - { - return Results.Json( - new { error = "Rate limit exceeded. Maximum 10 conversions per day per IP." }, - statusCode: 429); - } - var ext = Path.GetExtension(file.FileName); if (!ext.Equals(".xlsx", StringComparison.OrdinalIgnoreCase) && !ext.Equals(".docx", StringComparison.OrdinalIgnoreCase) && @@ -206,28 +241,59 @@ bool TryConsumeRateLimit(string ip) return Results.BadRequest("Only .xlsx, .docx, and .pptx files are supported."); } - var sw = Stopwatch.StartNew(); - var ipHash = HashIp(clientIp); + var clientIp = GetClientIp(ctx); + if (!await conversionSlots.WaitAsync(0)) + { + return Results.Json( + new { error = "Cloud API is busy. Please try again later or use browser mode." }, + statusCode: StatusCodes.Status503ServiceUnavailable); + } + try { - using var stream = file.OpenReadStream(); - byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); + // Enforce IP-based rate limit (10 per day) + if (!TryConsumeRateLimit(clientIp)) + { + return Results.Json( + new { error = "Rate limit exceeded. Maximum 10 conversions per day per IP." }, + statusCode: 429); + } - sw.Stop(); - LogRequest(ipHash, ext.ToLowerInvariant(), file.Length, sw.ElapsedMilliseconds, true); + var sw = Stopwatch.StartNew(); + var ipHash = HashIp(clientIp); + var diagnostics = new MiniPdfConversionDiagnostics(); + try + { + using var stream = file.OpenReadStream(); + byte[] pdfBytes = MiniPdf.ConvertToPdf(stream, new MiniPdfConversionOptions + { + Diagnostics = diagnostics, + }); - return Results.File(pdfBytes, "application/pdf", "output.pdf"); + sw.Stop(); + LogRequest(ipHash, ext.ToLowerInvariant(), file.Length, sw.ElapsedMilliseconds, true, + diagnostics.MissingFonts); + + return Results.File(pdfBytes, "application/pdf", "output.pdf"); + } + catch (Exception) + { + sw.Stop(); + LogRequest(ipHash, ext.ToLowerInvariant(), file.Length, sw.ElapsedMilliseconds, false, + diagnostics.MissingFonts); + throw; + } } - catch (Exception) + finally { - sw.Stop(); - LogRequest(ipHash, ext.ToLowerInvariant(), file.Length, sw.ElapsedMilliseconds, false); - throw; + conversionSlots.Release(); } }).DisableAntiforgery(); -app.MapGet("/api/stats", () => +app.MapGet("/api/stats", (HttpContext ctx) => { + ctx.Response.Headers["Cache-Control"] = "no-store"; + try { using var conn = new SqliteConnection(connStr); @@ -298,7 +364,33 @@ GROUP BY file_type } } - return Results.Ok(new { totalCount, totalAvgMs, daily, byType }); + using var missingFontCmd = conn.CreateCommand(); + missingFontCmd.CommandText = """ + SELECT missing_font_log.font_family, + SUM(missing_font_log.occurrence_count) AS occurrences, + COUNT(DISTINCT missing_font_log.request_id) AS affected_conversions + FROM missing_font_log + INNER JOIN request_log ON request_log.id = missing_font_log.request_id + WHERE request_log.timestamp >= datetime('now', '-30 days') + GROUP BY missing_font_log.font_family + ORDER BY occurrences DESC, missing_font_log.font_family + LIMIT 50 + """; + var missingFonts = new List(); + using (var reader4 = missingFontCmd.ExecuteReader()) + { + while (reader4.Read()) + { + missingFonts.Add(new + { + fontFamily = reader4.GetString(0), + occurrences = reader4.GetInt64(1), + affectedConversions = reader4.GetInt64(2), + }); + } + } + + return Results.Ok(new { totalCount, totalAvgMs, daily, byType, missingFonts }); } catch (Exception ex) { diff --git a/MiniPdf.Api/startup.sh b/MiniPdf.Api/startup.sh index a03bc285..4c671d2e 100644 --- a/MiniPdf.Api/startup.sh +++ b/MiniPdf.Api/startup.sh @@ -50,6 +50,13 @@ else echo "[startup] Fonts already present, skipping download." fi +# DRIT.Drawing discovers Linux fonts from the standard per-user font directory. +DRIT_FONT_DIR="/home/.local/share/fonts" +mkdir -p "$DRIT_FONT_DIR" +find "$FONT_DIR" -maxdepth 1 \( -name '*.ttf' -o -name '*.ttc' -o -name '*.otf' \) \ + -exec ln -sf {} "$DRIT_FONT_DIR/" \; +fc-cache -f "$DRIT_FONT_DIR" >/dev/null 2>&1 || true + # Start the application cd /home/site/wwwroot exec dotnet MiniPdf.Api.dll diff --git a/MiniPdf.Web/MiniPdf.Web.Client/I18n.cs b/MiniPdf.Web/MiniPdf.Web.Client/I18n.cs index 3bc4343c..3eb716b4 100644 --- a/MiniPdf.Web/MiniPdf.Web.Client/I18n.cs +++ b/MiniPdf.Web/MiniPdf.Web.Client/I18n.cs @@ -80,7 +80,28 @@ public string T(string key) ["ApiPrivacy"] = "No files are stored on the API server. All uploaded files are converted in memory and immediately discarded.", ["ApiSourceCode"] = "The API is fully open source. View the source code on", ["ApiAlternative"] = "If the result is still not satisfactory, you can try the local CLI tool or NuGet package, or", - ["ApiStatsNote"] = "The API uses a local SQLite database to track usage statistics (processing time per request, daily request count). No file content is stored.", + ["ApiStatsNote"] = "The API stores request metrics and unresolved font family names in local SQLite. No file content is stored.", + ["ApiStatusChecking"] = "Checking Cloud API availability...", + ["ApiStatusAvailable"] = "Cloud API is available.", + ["ApiStatusBusy"] = "Cloud API is busy right now. Please try again later or switch to Browser mode.", + ["ApiStatusUnavailable"] = "Cloud API is currently unavailable. You can switch to Browser mode.", + ["ApiStatusRefresh"] = "Check Cloud API status again", + ["ApiRateLimitExceeded"] = "Daily Cloud API limit reached for this IP. Please switch to Browser mode or try again tomorrow.", + ["ApiStatsTitle"] = "Cloud API stats", + ["ApiStatsRefresh"] = "Refresh Cloud API stats", + ["ApiStatsLoading"] = "Loading API stats...", + ["ApiStatsUnavailable"] = "API stats are unavailable right now.", + ["ApiStatsTotal"] = "total conversions", + ["ApiStatsAverage"] = "average time", + ["ApiStatsToday"] = "today", + ["ApiStatsSuccessRate"] = "today success rate", + ["ApiStatsCurrentLoad"] = "current load", + ["ApiMissingFontsTitle"] = "Missing fonts (last 30 days)", + ["ApiMissingFontsHint"] = "Upload these font families to improve API rendering.", + ["LocalMissingFontsTitle"] = "Fonts missing for this file", + ["LocalMissingFontsHint"] = "Upload these font families above, then convert again.", + ["MissingFontOccurrences"] = "occurrences", + ["MissingFontConversions"] = "conversions", }, ["zh-CN"] = new() { @@ -121,7 +142,28 @@ public string T(string key) ["ApiPrivacy"] = "API 服务器不会保存任何文件。所有上传的文件均在内存中转换后立即丢弃。", ["ApiSourceCode"] = "API 完全开源,源代码可在以下地址查看:", ["ApiAlternative"] = "如果转换效果仍不理想,可以尝试本地 CLI 工具或 NuGet 包安装,或者", - ["ApiStatsNote"] = "API 使用本地 SQLite 数据库统计使用情况(每次请求处理时间、每日请求次数),不会存储任何文件内容。", + ["ApiStatsNote"] = "API 使用本地 SQLite 保存请求统计和未解析的字体系列名称,不会存储任何文件内容。", + ["ApiStatusChecking"] = "正在检查云端 API 是否可用...", + ["ApiStatusAvailable"] = "云端 API 当前可用。", + ["ApiStatusBusy"] = "云端 API 目前较忙,请稍后再试,或切换到浏览器模式。", + ["ApiStatusUnavailable"] = "云端 API 目前不可用,可以切换到浏览器模式。", + ["ApiStatusRefresh"] = "重新检查云端 API 状态", + ["ApiRateLimitExceeded"] = "此 IP 今日云端 API 次数已用完,请切换到浏览器模式或明天再试。", + ["ApiStatsTitle"] = "云端 API 统计", + ["ApiStatsRefresh"] = "刷新云端 API 统计", + ["ApiStatsLoading"] = "正在加载 API 统计...", + ["ApiStatsUnavailable"] = "暂时无法取得 API 统计数据。", + ["ApiStatsTotal"] = "累计转换", + ["ApiStatsAverage"] = "平均耗时", + ["ApiStatsToday"] = "今日转换", + ["ApiStatsSuccessRate"] = "今日成功率", + ["ApiStatsCurrentLoad"] = "当前负载", + ["ApiMissingFontsTitle"] = "缺失字体(最近 30 天)", + ["ApiMissingFontsHint"] = "上传这些字体系列可改善 API 渲染效果。", + ["LocalMissingFontsTitle"] = "此文件缺少的字体", + ["LocalMissingFontsHint"] = "请在上方上传这些字体后重新转换。", + ["MissingFontOccurrences"] = "次使用", + ["MissingFontConversions"] = "次转换", }, ["zh-TW"] = new() { @@ -162,7 +204,28 @@ public string T(string key) ["ApiPrivacy"] = "API 伺服器不會儲存任何檔案。所有上傳的檔案均在記憶體中轉換後立即丟棄。", ["ApiSourceCode"] = "API 完全開源,原始碼可在以下位置查看:", ["ApiAlternative"] = "如果轉換效果仍不理想,可以嘗試本地 CLI 工具或 NuGet 套件安裝,或者", - ["ApiStatsNote"] = "API 使用本地 SQLite 資料庫統計使用情況(每次請求處理時間、每日請求次數),不會儲存任何檔案內容。", + ["ApiStatsNote"] = "API 使用本地 SQLite 儲存請求統計和未解析的字型系列名稱,不會儲存任何檔案內容。", + ["ApiStatusChecking"] = "正在檢查雲端 API 是否可用...", + ["ApiStatusAvailable"] = "雲端 API 目前可用。", + ["ApiStatusBusy"] = "雲端 API 目前較忙,請稍後再試,或切換到瀏覽器模式。", + ["ApiStatusUnavailable"] = "雲端 API 目前不可用,可以切換到瀏覽器模式。", + ["ApiStatusRefresh"] = "重新檢查雲端 API 狀態", + ["ApiRateLimitExceeded"] = "此 IP 今日雲端 API 次數已用完,請切換到瀏覽器模式或明天再試。", + ["ApiStatsTitle"] = "雲端 API 統計", + ["ApiStatsRefresh"] = "重新整理雲端 API 統計", + ["ApiStatsLoading"] = "正在載入 API 統計...", + ["ApiStatsUnavailable"] = "暫時無法取得 API 統計資料。", + ["ApiStatsTotal"] = "累計轉換", + ["ApiStatsAverage"] = "平均耗時", + ["ApiStatsToday"] = "今日轉換", + ["ApiStatsSuccessRate"] = "今日成功率", + ["ApiStatsCurrentLoad"] = "目前負載", + ["ApiMissingFontsTitle"] = "缺少字型(最近 30 天)", + ["ApiMissingFontsHint"] = "上傳這些字型系列可改善 API 轉換效果。", + ["LocalMissingFontsTitle"] = "此檔案缺少的字型", + ["LocalMissingFontsHint"] = "請在上方上傳這些字型後重新轉換。", + ["MissingFontOccurrences"] = "次使用", + ["MissingFontConversions"] = "次轉換", }, ["ja"] = new() { @@ -203,7 +266,28 @@ public string T(string key) ["ApiPrivacy"] = "API サーバーにファイルは保存されません。アップロードされたファイルはメモリ内で変換され、即座に破棄されます。", ["ApiSourceCode"] = "API は完全にオープンソースです。ソースコードはこちらで確認できます:", ["ApiAlternative"] = "結果がまだ満足できない場合は、ローカル CLI ツールまたは NuGet パッケージをお試しいただくか、", - ["ApiStatsNote"] = "API はローカルの SQLite データベースを使用して使用状況を追跡しています(リクエストごとの処理時間、日次リクエスト数)。ファイル内容は保存されません。", + ["ApiStatsNote"] = "API はリクエスト統計と未解決のフォントファミリー名をローカル SQLite に保存します。ファイル内容は保存されません。", + ["ApiStatusChecking"] = "Cloud API の可用性を確認しています...", + ["ApiStatusAvailable"] = "Cloud API は利用可能です。", + ["ApiStatusBusy"] = "Cloud API は現在混み合っています。後でもう一度お試しいただくか、ブラウザモードに切り替えてください。", + ["ApiStatusUnavailable"] = "Cloud API は現在利用できません。ブラウザモードに切り替えることができます。", + ["ApiStatusRefresh"] = "Cloud API の状態を再確認", + ["ApiRateLimitExceeded"] = "この IP の Cloud API 日次制限に達しました。ブラウザモードに切り替えるか、明日もう一度お試しください。", + ["ApiStatsTitle"] = "Cloud API 統計", + ["ApiStatsRefresh"] = "Cloud API 統計を更新", + ["ApiStatsLoading"] = "API 統計を読み込み中...", + ["ApiStatsUnavailable"] = "API 統計は現在利用できません。", + ["ApiStatsTotal"] = "総変換数", + ["ApiStatsAverage"] = "平均時間", + ["ApiStatsToday"] = "本日", + ["ApiStatsSuccessRate"] = "本日の成功率", + ["ApiStatsCurrentLoad"] = "現在の負荷", + ["ApiMissingFontsTitle"] = "不足フォント(過去30日)", + ["ApiMissingFontsHint"] = "これらのフォントを追加すると API の描画品質が向上します。", + ["LocalMissingFontsTitle"] = "このファイルで不足しているフォント", + ["LocalMissingFontsHint"] = "上でフォントをアップロードしてから再変換してください。", + ["MissingFontOccurrences"] = "回使用", + ["MissingFontConversions"] = "件の変換", }, ["ko"] = new() { @@ -244,7 +328,28 @@ public string T(string key) ["ApiPrivacy"] = "API 서버에 파일이 저장되지 않습니다. 업로드된 파일은 메모리에서 변환 후 즉시 삭제됩니다.", ["ApiSourceCode"] = "API는 완전히 오픈 소스입니다. 소스 코드는 여기에서 확인할 수 있습니다:", ["ApiAlternative"] = "결과가 만족스럽지 않다면 로컬 CLI 도구 또는 NuGet 패키지를 사용하거나,", - ["ApiStatsNote"] = "API는 로컬 SQLite 데이터베이스를 사용하여 사용 통계를 추적합니다(요청별 처리 시간, 일일 요청 수). 파일 내용은 저장되지 않습니다.", + ["ApiStatsNote"] = "API는 요청 통계와 확인되지 않은 글꼴 패밀리 이름을 로컬 SQLite에 저장합니다. 파일 내용은 저장되지 않습니다.", + ["ApiStatusChecking"] = "Cloud API 사용 가능 여부를 확인하는 중...", + ["ApiStatusAvailable"] = "Cloud API를 사용할 수 있습니다.", + ["ApiStatusBusy"] = "Cloud API가 현재 혼잡합니다. 나중에 다시 시도하거나 브라우저 모드로 전환하세요.", + ["ApiStatusUnavailable"] = "Cloud API를 현재 사용할 수 없습니다. 브라우저 모드로 전환할 수 있습니다.", + ["ApiStatusRefresh"] = "Cloud API 상태 다시 확인", + ["ApiRateLimitExceeded"] = "이 IP의 Cloud API 일일 한도에 도달했습니다. 브라우저 모드로 전환하거나 내일 다시 시도하세요.", + ["ApiStatsTitle"] = "Cloud API 통계", + ["ApiStatsRefresh"] = "Cloud API 통계 새로 고침", + ["ApiStatsLoading"] = "API 통계 로드 중...", + ["ApiStatsUnavailable"] = "현재 API 통계를 사용할 수 없습니다.", + ["ApiStatsTotal"] = "전체 변환", + ["ApiStatsAverage"] = "평균 시간", + ["ApiStatsToday"] = "오늘", + ["ApiStatsSuccessRate"] = "오늘 성공률", + ["ApiStatsCurrentLoad"] = "현재 부하", + ["ApiMissingFontsTitle"] = "누락 글꼴 (최근 30일)", + ["ApiMissingFontsHint"] = "이 글꼴을 업로드하면 API 렌더링 품질이 향상됩니다.", + ["LocalMissingFontsTitle"] = "이 파일에 누락된 글꼴", + ["LocalMissingFontsHint"] = "위에서 글꼴을 업로드한 후 다시 변환하세요.", + ["MissingFontOccurrences"] = "회 사용", + ["MissingFontConversions"] = "건 변환", }, ["fr"] = new() { @@ -285,7 +390,28 @@ public string T(string key) ["ApiPrivacy"] = "Aucun fichier n'est stocké sur le serveur API. Tous les fichiers téléchargés sont convertis en mémoire et immédiatement supprimés.", ["ApiSourceCode"] = "L'API est entièrement open source. Consultez le code source sur", ["ApiAlternative"] = "Si le résultat n'est toujours pas satisfaisant, vous pouvez essayer l'outil CLI local ou le package NuGet, ou", - ["ApiStatsNote"] = "L'API utilise une base de données SQLite locale pour suivre les statistiques d'utilisation (temps de traitement par requête, nombre de requêtes quotidiennes). Aucun contenu de fichier n'est stocké.", + ["ApiStatsNote"] = "L’API stocke les métriques de requête et les noms de familles de polices non résolues dans SQLite local. Aucun contenu de fichier n’est stocké.", + ["ApiStatusChecking"] = "Vérification de la disponibilité de l'API Cloud...", + ["ApiStatusAvailable"] = "L'API Cloud est disponible.", + ["ApiStatusBusy"] = "L'API Cloud est très sollicitée actuellement. Réessayez plus tard ou passez en mode Navigateur.", + ["ApiStatusUnavailable"] = "L'API Cloud est actuellement indisponible. Vous pouvez passer en mode Navigateur.", + ["ApiStatusRefresh"] = "Revérifier l'état de l'API Cloud", + ["ApiRateLimitExceeded"] = "La limite quotidienne de l'API Cloud est atteinte pour cette IP. Passez en mode Navigateur ou réessayez demain.", + ["ApiStatsTitle"] = "Statistiques API Cloud", + ["ApiStatsRefresh"] = "Actualiser les statistiques API Cloud", + ["ApiStatsLoading"] = "Chargement des statistiques API...", + ["ApiStatsUnavailable"] = "Les statistiques API sont indisponibles pour le moment.", + ["ApiStatsTotal"] = "conversions totales", + ["ApiStatsAverage"] = "temps moyen", + ["ApiStatsToday"] = "aujourd'hui", + ["ApiStatsSuccessRate"] = "taux de réussite aujourd'hui", + ["ApiStatsCurrentLoad"] = "charge actuelle", + ["ApiMissingFontsTitle"] = "Polices manquantes (30 derniers jours)", + ["ApiMissingFontsHint"] = "Ajoutez ces familles pour améliorer le rendu de l’API.", + ["LocalMissingFontsTitle"] = "Polices manquantes pour ce fichier", + ["LocalMissingFontsHint"] = "Ajoutez ces polices ci-dessus, puis relancez la conversion.", + ["MissingFontOccurrences"] = "occurrences", + ["MissingFontConversions"] = "conversions", }, ["it"] = new() { @@ -326,7 +452,28 @@ public string T(string key) ["ApiPrivacy"] = "Nessun file viene archiviato sul server API. Tutti i file caricati vengono convertiti in memoria e immediatamente eliminati.", ["ApiSourceCode"] = "L'API è completamente open source. Visualizza il codice sorgente su", ["ApiAlternative"] = "Se il risultato non è ancora soddisfacente, puoi provare lo strumento CLI locale o il pacchetto NuGet, oppure", - ["ApiStatsNote"] = "L'API utilizza un database SQLite locale per tracciare le statistiche di utilizzo (tempo di elaborazione per richiesta, conteggio richieste giornaliere). Nessun contenuto di file viene archiviato.", + ["ApiStatsNote"] = "L’API salva le metriche delle richieste e i nomi delle famiglie di font non risolte in SQLite locale. Nessun contenuto dei file viene salvato.", + ["ApiStatusChecking"] = "Verifica della disponibilità dell'API Cloud...", + ["ApiStatusAvailable"] = "L'API Cloud è disponibile.", + ["ApiStatusBusy"] = "L'API Cloud è occupata in questo momento. Riprova più tardi o passa alla modalità Browser.", + ["ApiStatusUnavailable"] = "L'API Cloud non è attualmente disponibile. Puoi passare alla modalità Browser.", + ["ApiStatusRefresh"] = "Ricontrolla lo stato dell'API Cloud", + ["ApiRateLimitExceeded"] = "Limite giornaliero dell'API Cloud raggiunto per questo IP. Passa alla modalità Browser o riprova domani.", + ["ApiStatsTitle"] = "Statistiche API Cloud", + ["ApiStatsRefresh"] = "Aggiorna statistiche API Cloud", + ["ApiStatsLoading"] = "Caricamento statistiche API...", + ["ApiStatsUnavailable"] = "Le statistiche API non sono disponibili al momento.", + ["ApiStatsTotal"] = "conversioni totali", + ["ApiStatsAverage"] = "tempo medio", + ["ApiStatsToday"] = "oggi", + ["ApiStatsSuccessRate"] = "tasso di successo oggi", + ["ApiStatsCurrentLoad"] = "carico attuale", + ["ApiMissingFontsTitle"] = "Font mancanti (ultimi 30 giorni)", + ["ApiMissingFontsHint"] = "Carica queste famiglie per migliorare il rendering API.", + ["LocalMissingFontsTitle"] = "Font mancanti per questo file", + ["LocalMissingFontsHint"] = "Carica questi font qui sopra e ripeti la conversione.", + ["MissingFontOccurrences"] = "occorrenze", + ["MissingFontConversions"] = "conversioni", }, }; } diff --git a/MiniPdf.Web/MiniPdf.Web.Client/Pages/Converter.razor b/MiniPdf.Web/MiniPdf.Web.Client/Pages/Converter.razor index ba439576..f585011a 100644 --- a/MiniPdf.Web/MiniPdf.Web.Client/Pages/Converter.razor +++ b/MiniPdf.Web/MiniPdf.Web.Client/Pages/Converter.razor @@ -25,6 +25,7 @@

MiniPdf

+ NuGet v@(MiniPdfVersion)

@L.T("Subtitle") — @L.T("PoweredBy") MiniPdf

@@ -39,6 +40,28 @@ + @if (useApi && apiStatusMessage is not null) + { +
+ @if (apiStatus == ApiStatusKind.Checking) + { + + } + else if (apiStatus == ApiStatusKind.Available) + { + + } + else + { + + } + @apiStatusMessage + +
+ } +
@L.T("ApiStatsNote")
+
+
+ @L.T("ApiStatsTitle") + +
+ @if (isApiStatsLoading) + { +
+ + @L.T("ApiStatsLoading") +
+ } + else if (apiStatsError is not null) + { +
@apiStatsError
+ } + else if (apiStats is not null) + { +
+
+ @apiStats.TotalCount + @L.T("ApiStatsTotal") +
+
+ @FormatDuration(apiStats.TotalAvgMs) + @L.T("ApiStatsAverage") +
+
+ @TodayApiCount + @L.T("ApiStatsToday") +
+
+ @ApiSuccessRateText + @L.T("ApiStatsSuccessRate") +
+
+ @ApiLoadText + @L.T("ApiStatsCurrentLoad") +
+
+ @if (apiStats.MissingFonts.Count > 0) + { +
+ @L.T("ApiMissingFontsTitle") + @L.T("ApiMissingFontsHint") +
+ @foreach (var font in apiStats.MissingFonts) + { +
+ @font.FontFamily + @font.Occurrences @L.T("MissingFontOccurrences") + @font.AffectedConversions @L.T("MissingFontConversions") +
+ } +
+
+ } + } +
@L.T("ApiAlternative") @L.T("OpenIssue") @@ -192,6 +276,22 @@ @L.T("FontWarning")
+ @if (localMissingFonts.Count > 0) + { +
+ @L.T("LocalMissingFontsTitle") + @L.T("LocalMissingFontsHint") +
+ @foreach (var font in localMissingFonts) + { +
+ @font.FontFamily + @font.OccurrenceCount @L.T("MissingFontOccurrences") +
+ } +
+
+ }
@L.T("PrivacyNote") @@ -203,12 +303,23 @@
@code { - private const string ApiUrl = "https://minipdf-api.azurewebsites.net/api/convert"; + private const string ApiBaseUrl = "https://minipdf-api.azurewebsites.net"; + private const string ApiUrl = ApiBaseUrl + "/api/convert"; + private const string ApiStatusUrl = ApiBaseUrl + "/api/status"; + private const string ApiStatsUrl = ApiBaseUrl + "/api/stats"; + private const string DefaultFontCacheKey = "NotoSansSC-Regular.ttf"; + private static readonly string MiniPdfVersion = + typeof(MiniSoftware.MiniPdf).Assembly + .GetCustomAttributes(typeof(System.Reflection.AssemblyInformationalVersionAttribute), false) + .OfType() + .FirstOrDefault()?.InformationalVersion.Split('+')[0] + ?? typeof(MiniSoftware.MiniPdf).Assembly.GetName().Version?.ToString(3) + ?? "unknown"; private IBrowserFile? selectedFile; private bool isConverting; private bool isDragOver; - private bool useApi; + private bool useApi = true; private string? errorMessage; private string? successMessage; private static bool _fontLoaded; @@ -217,15 +328,39 @@ private bool fontLoadSuccess; private int fontProgress; private string? customFontName; - - private bool CanConvert => selectedFile is not null && !isConverting; + private IReadOnlyList localMissingFonts = Array.Empty(); + private ApiStatusKind apiStatus = ApiStatusKind.Unknown; + private string? apiStatusMessage; + private ApiStatsResponse? apiStats; + private bool isApiStatsLoading; + private string? apiStatsError; + private int apiActiveConversions; + private int apiMaxConcurrentConversions; + + private bool CanConvert => selectedFile is not null && !isConverting && !IsApiBlocked; private string FileExt => selectedFile is not null ? Path.GetExtension(selectedFile.Name).ToLowerInvariant().TrimStart('.') : ""; + private ApiDailyStats? TodayApiStats => apiStats?.Daily.FirstOrDefault(d => d.Date == DateTime.UtcNow.ToString("yyyy-MM-dd")); + private int TodayApiCount => TodayApiStats?.Count ?? 0; + private string ApiSuccessRateText => TodayApiStats is { Count: > 0 } today + ? $"{today.SuccessCount * 100.0 / today.Count:F0}%" + : "-"; + private string ApiLoadText => apiMaxConcurrentConversions > 0 + ? $"{apiActiveConversions}/{apiMaxConcurrentConversions}" + : "-"; + private bool IsApiBlocked => useApi && apiStatus is ApiStatusKind.Checking or ApiStatusKind.Busy or ApiStatusKind.Unavailable; + private string ApiStatusCss => apiStatus switch + { + ApiStatusKind.Checking => "loading", + ApiStatusKind.Available => "success", + _ => "warning" + }; - protected override void OnInitialized() + protected override async Task OnInitializedAsync() { L.OnLanguageChanged += StateHasChanged; + await Task.WhenAll(CheckApiStatus(), LoadApiStats()); } public void Dispose() @@ -247,6 +382,7 @@ { errorMessage = null; successMessage = null; + localMissingFonts = Array.Empty(); selectedFile = e.File; var ext = Path.GetExtension(selectedFile.Name).ToLowerInvariant(); @@ -260,11 +396,14 @@ private void HandleDragEnter() => isDragOver = true; private void HandleDragLeave() => isDragOver = false; - private void SetMode(bool api) + private async Task SetMode(bool api) { useApi = api; errorMessage = null; successMessage = null; + + if (useApi) + await Task.WhenAll(CheckApiStatus(), LoadApiStats()); } private async Task ConvertFile() @@ -280,9 +419,20 @@ try { if (useApi) + { + await CheckApiStatus(); + if (apiStatus is ApiStatusKind.Busy or ApiStatusKind.Unavailable) + { + errorMessage = apiStatusMessage; + return; + } + await ConvertViaApi(); + } else + { await ConvertLocal(); + } } catch (Exception ex) { @@ -309,13 +459,143 @@ if (!response.IsSuccessStatusCode) { var errorText = await response.Content.ReadAsStringAsync(); - throw new Exception(errorText); + throw new Exception(GetApiErrorMessage(response, errorText)); } var pdfBytes = await response.Content.ReadAsByteArrayAsync(); var outputName = Path.GetFileNameWithoutExtension(selectedFile.Name) + ".pdf"; await JS.InvokeVoidAsync("downloadFile", outputName, "application/pdf", pdfBytes); successMessage = $"{outputName} {L.T("DownloadSuccess")}"; + await LoadApiStats(); + } + + private async Task CheckApiStatus() + { + apiStatus = ApiStatusKind.Checking; + apiStatusMessage = L.T("ApiStatusChecking"); + StateHasChanged(); + + try + { + using var response = await Http.GetAsync(ApiStatusUrl); + if (response.StatusCode == System.Net.HttpStatusCode.ServiceUnavailable || + response.StatusCode == System.Net.HttpStatusCode.TooManyRequests) + { + apiStatus = ApiStatusKind.Busy; + apiStatusMessage = L.T("ApiStatusBusy"); + return; + } + + response.EnsureSuccessStatusCode(); + var status = await response.Content.ReadFromJsonAsync(); + if (status is null) + { + apiStatus = ApiStatusKind.Unavailable; + apiStatusMessage = L.T("ApiStatusUnavailable"); + return; + } + + apiActiveConversions = status.ActiveConversions; + apiMaxConcurrentConversions = status.MaxConcurrentConversions; + + apiStatus = status.IsBusy || !status.Available + ? ApiStatusKind.Busy + : ApiStatusKind.Available; + apiStatusMessage = apiStatus == ApiStatusKind.Available + ? L.T("ApiStatusAvailable") + : L.T("ApiStatusBusy"); + } + catch + { + apiStatus = ApiStatusKind.Unavailable; + apiStatusMessage = L.T("ApiStatusUnavailable"); + } + finally + { + StateHasChanged(); + } + } + + private async Task LoadApiStats() + { + isApiStatsLoading = true; + apiStatsError = null; + StateHasChanged(); + + try + { + apiStats = await Http.GetFromJsonAsync(ApiStatsUrl); + if (apiStats is null) + apiStatsError = L.T("ApiStatsUnavailable"); + } + catch + { + apiStatsError = L.T("ApiStatsUnavailable"); + } + finally + { + isApiStatsLoading = false; + StateHasChanged(); + } + } + + private string GetApiErrorMessage(HttpResponseMessage response, string errorText) + { + if (response.StatusCode == System.Net.HttpStatusCode.ServiceUnavailable) + { + apiStatus = ApiStatusKind.Busy; + apiStatusMessage = L.T("ApiStatusBusy"); + return apiStatusMessage; + } + + if (response.StatusCode == System.Net.HttpStatusCode.TooManyRequests) + return L.T("ApiRateLimitExceeded"); + + return string.IsNullOrWhiteSpace(errorText) ? response.ReasonPhrase ?? response.StatusCode.ToString() : errorText; + } + + private sealed record ApiStatusResponse(bool Available, bool IsBusy, int ActiveConversions, int MaxConcurrentConversions); + + private sealed class ApiStatsResponse + { + public int TotalCount { get; set; } + public int TotalAvgMs { get; set; } + public List Daily { get; set; } = []; + public List ByType { get; set; } = []; + public List MissingFonts { get; set; } = []; + } + + private sealed class ApiDailyStats + { + public string Date { get; set; } = ""; + public int Count { get; set; } + public int AvgMs { get; set; } + public int MinMs { get; set; } + public int MaxMs { get; set; } + public int SuccessCount { get; set; } + } + + private sealed class ApiFileTypeStats + { + public string FileType { get; set; } = ""; + public int Count { get; set; } + public int AvgMs { get; set; } + } + + private sealed class ApiMissingFontStats + { + public string FontFamily { get; set; } = ""; + public long Occurrences { get; set; } + public long AffectedConversions { get; set; } + } + + private enum ApiStatusKind + { + Unknown, + Checking, + Available, + Busy, + Unavailable } private async Task ConvertLocal() @@ -324,44 +604,60 @@ if (!_fontLoaded) { isFontLoading = true; - fontStatus = L.T("LoadingFont"); + fontStatus = L.T("CheckingFontCache"); StateHasChanged(); await Task.Yield(); try { - var request = new HttpRequestMessage(HttpMethod.Get, "fonts/NotoSansSC-Regular.ttf"); - request.SetBrowserResponseStreamingEnabled(true); - using var response = await Http.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); - response.EnsureSuccessStatusCode(); - - var totalBytes = response.Content.Headers.ContentLength ?? -1; - using var contentStream = await response.Content.ReadAsStreamAsync(); - using var fontMs = new MemoryStream(); - var buffer = new byte[81920]; - long totalRead = 0; - int read; - - while ((read = await contentStream.ReadAsync(buffer)) > 0) + var fontBytes = await JS.InvokeAsync("fontCache_get", DefaultFontCacheKey); + if (fontBytes is { Length: > 0 }) { - fontMs.Write(buffer, 0, read); - totalRead += read; - if (totalBytes > 0) - { - fontProgress = (int)Math.Min(99, totalRead * 100 / totalBytes); - fontStatus = string.Format(L.T("FontDownloadProgress"), fontProgress, FormatSize(totalRead), FormatSize(totalBytes)); - } - else + MiniSoftware.MiniPdf.RegisterFont("NotoSansSC", fontBytes); + fontLoadSuccess = true; + fontStatus = "✓ " + L.T("FontLoadedFromCache"); + } + else + { + fontStatus = L.T("LoadingFont"); + StateHasChanged(); + + var request = new HttpRequestMessage(HttpMethod.Get, "fonts/NotoSansSC-Regular.ttf"); + request.SetBrowserResponseStreamingEnabled(true); + using var response = await Http.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); + response.EnsureSuccessStatusCode(); + + var hasEncodedBody = response.Content.Headers.ContentEncoding.Count > 0; + var totalBytes = hasEncodedBody ? -1 : response.Content.Headers.ContentLength ?? -1; + using var contentStream = await response.Content.ReadAsStreamAsync(); + using var fontMs = new MemoryStream(); + var buffer = new byte[81920]; + long totalRead = 0; + int read; + + while ((read = await contentStream.ReadAsync(buffer)) > 0) { - fontStatus = $"{L.T("LoadingFont")} ({FormatSize(totalRead)})"; + fontMs.Write(buffer, 0, read); + totalRead += read; + if (totalBytes > 0) + { + fontProgress = (int)Math.Min(99, totalRead * 100 / totalBytes); + fontStatus = string.Format(L.T("FontDownloadProgress"), fontProgress, FormatSize(totalRead), FormatSize(totalBytes)); + } + else + { + fontStatus = $"{L.T("LoadingFont")} ({FormatSize(totalRead)})"; + } + StateHasChanged(); } - StateHasChanged(); - } - fontProgress = 100; - MiniSoftware.MiniPdf.RegisterFont("NotoSansSC", fontMs.ToArray()); - fontLoadSuccess = true; - fontStatus = "✓ " + L.T("FontLoaded"); + fontProgress = 100; + fontBytes = fontMs.ToArray(); + MiniSoftware.MiniPdf.RegisterFont("NotoSansSC", fontBytes); + _ = await JS.InvokeAsync("fontCache_set", DefaultFontCacheKey, fontBytes); + fontLoadSuccess = true; + fontStatus = "✓ " + L.T("FontLoaded"); + } } catch { @@ -378,7 +674,12 @@ await stream.CopyToAsync(ms); ms.Position = 0; - byte[] pdfBytes = MiniSoftware.MiniPdf.ConvertToPdf(ms); + var diagnostics = new MiniPdfConversionDiagnostics(); + byte[] pdfBytes = MiniSoftware.MiniPdf.ConvertToPdf(ms, new MiniPdfConversionOptions + { + Diagnostics = diagnostics, + }); + localMissingFonts = diagnostics.MissingFonts; var outputName = Path.GetFileNameWithoutExtension(selectedFile.Name) + ".pdf"; await JS.InvokeVoidAsync("downloadFile", outputName, "application/pdf", pdfBytes); @@ -419,4 +720,13 @@ return $"{bytes / 1024.0:F1} KB"; return $"{bytes} B"; } + + private static string FormatDuration(int milliseconds) + { + if (milliseconds <= 0) + return "-"; + if (milliseconds >= 1000) + return $"{milliseconds / 1000.0:F1} s"; + return $"{milliseconds} ms"; + } } diff --git a/MiniPdf.Web/MiniPdf.Web.Client/_Imports.razor b/MiniPdf.Web/MiniPdf.Web.Client/_Imports.razor index 4ed187b6..135ab6eb 100644 --- a/MiniPdf.Web/MiniPdf.Web.Client/_Imports.razor +++ b/MiniPdf.Web/MiniPdf.Web.Client/_Imports.razor @@ -7,5 +7,6 @@ @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.AspNetCore.Components.WebAssembly.Http @using Microsoft.JSInterop +@using MiniSoftware @using MiniPdf.Web.Client @using MiniPdf.Web.Client.Layout diff --git a/MiniPdf.Web/MiniPdf.Web.Client/wwwroot/app.css b/MiniPdf.Web/MiniPdf.Web.Client/wwwroot/app.css index 06275055..b0a861d1 100644 --- a/MiniPdf.Web/MiniPdf.Web.Client/wwwroot/app.css +++ b/MiniPdf.Web/MiniPdf.Web.Client/wwwroot/app.css @@ -101,6 +101,24 @@ h1:focus { outline: none; } letter-spacing: -.02em; } +.package-version { + padding: .2rem .45rem; + border: 1px solid var(--border); + border-radius: 6px; + color: var(--text-secondary); + font-size: .68rem; + font-weight: 600; + line-height: 1; + text-decoration: none; + transition: border-color var(--transition), color var(--transition), background var(--transition); +} + +.package-version:hover { + border-color: var(--accent); + background: var(--accent-light); + color: var(--accent); +} + .subtitle { color: var(--text-secondary); font-size: .9rem; @@ -186,6 +204,71 @@ h1:focus { outline: none; } color: #16a34a; } +/* ===== API Status ===== */ +.api-status { + display: flex; + align-items: center; + justify-content: center; + gap: .45rem; + margin-bottom: 1rem; + padding: .55rem .75rem; + font-size: .8rem; + border-radius: 8px; +} + +.api-status svg { + flex-shrink: 0; +} + +.api-status.loading { + color: #1d4ed8; + background: #eff6ff; + border: 1px solid #bfdbfe; +} + +.api-status.loading .spinner { + border-color: rgba(29, 78, 216, .2); + border-top-color: #1d4ed8; +} + +.api-status.success { + color: #15803d; + background: #f0fdf4; + border: 1px solid #bbf7d0; +} + +.api-status.warning { + color: #92400e; + background: #fef3c7; + border: 1px solid #fde68a; +} + +.api-status-refresh { + display: inline-flex; + align-items: center; + justify-content: center; + width: 24px; + height: 24px; + margin-left: auto; + border: 1px solid currentColor; + border-radius: 6px; + background: transparent; + color: inherit; + cursor: pointer; + opacity: .75; + transition: opacity var(--transition), background var(--transition); +} + +.api-status-refresh:hover:not(:disabled) { + opacity: 1; + background: rgba(255, 255, 255, .45); +} + +.api-status-refresh:disabled { + cursor: not-allowed; + opacity: .45; +} + /* ===== Drop Zone ===== */ .drop-zone { position: relative; @@ -520,6 +603,160 @@ h1:focus { outline: none; } } .api-stats svg { flex-shrink: 0; color: #9333ea; margin-top: 1px; } +.api-stats-panel { + padding: .75rem; + background: #f8fafc; + border: 1px solid var(--border); + border-radius: 10px; +} + +.api-stats-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: .75rem; + margin-bottom: .65rem; + font-size: .82rem; + font-weight: 700; + color: var(--text); +} + +.api-stats-refresh { + display: inline-flex; + align-items: center; + justify-content: center; + width: 24px; + height: 24px; + border: 1px solid var(--border); + border-radius: 6px; + background: var(--card); + color: var(--text-secondary); + cursor: pointer; + transition: border-color var(--transition), color var(--transition), background var(--transition); +} + +.api-stats-refresh:hover:not(:disabled) { + border-color: var(--accent); + color: var(--accent); + background: var(--accent-light); +} + +.api-stats-refresh:disabled { + cursor: not-allowed; + opacity: .45; +} + +.api-stats-state { + display: flex; + align-items: center; + justify-content: center; + gap: .45rem; + min-height: 48px; + font-size: .8rem; + color: var(--text-secondary); +} + +.api-stats-state .spinner { + border-color: rgba(100, 116, 139, .2); + border-top-color: var(--text-secondary); +} + +.api-stats-state.warning { + color: #92400e; +} + +.api-stats-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: .5rem; +} + +.api-stat-item { + min-width: 0; + padding: .55rem .5rem; + background: var(--card); + border: 1px solid var(--border); + border-radius: 8px; + text-align: left; +} + +.api-stat-item.wide { + grid-column: 1 / -1; +} + +.api-stat-item strong { + display: block; + font-size: 1rem; + line-height: 1.2; + color: var(--text); + overflow-wrap: anywhere; +} + +.api-stat-item span { + display: block; + margin-top: .2rem; + font-size: .72rem; + line-height: 1.25; + color: var(--text-secondary); +} + +.missing-fonts-section { + margin-top: .75rem; + padding-top: .7rem; + border-top: 1px solid var(--border); + font-size: .78rem; +} + +.missing-fonts-section.local { + margin: .75rem 0; + padding: .75rem; + border: 1px solid #f59e0b; + border-radius: 8px; + background: #fffbeb; +} + +.missing-fonts-section > strong, +.missing-fonts-hint { + display: block; +} + +.missing-fonts-hint { + margin-top: .2rem; + color: var(--text-secondary); +} + +.missing-fonts-list { + margin-top: .55rem; + border-top: 1px solid var(--border); +} + +.missing-font-row { + display: grid; + grid-template-columns: minmax(0, 1fr) auto auto; + gap: .65rem; + align-items: center; + padding: .4rem 0; + border-bottom: 1px solid var(--border); + color: var(--text-secondary); +} + +.missing-font-name { + min-width: 0; + color: var(--text); + font-weight: 600; + overflow-wrap: anywhere; +} + +@media (max-width: 480px) { + .missing-font-row { + grid-template-columns: minmax(0, 1fr) auto; + } + + .missing-font-row span:last-child:not(.missing-font-name) { + grid-column: 1 / -1; + } +} + .api-alternative { color: #92400e; background: #fef3c7; diff --git a/MiniPdf.Web/MiniPdf.Web/Program.cs b/MiniPdf.Web/MiniPdf.Web/Program.cs index 6e198657..d76f0e83 100644 --- a/MiniPdf.Web/MiniPdf.Web/Program.cs +++ b/MiniPdf.Web/MiniPdf.Web/Program.cs @@ -3,6 +3,7 @@ var builder = WebApplication.CreateBuilder(args); builder.Services.AddSingleton(); +builder.Services.AddScoped(_ => new HttpClient()); builder.Services.AddRazorComponents() .AddInteractiveWebAssemblyComponents(); diff --git a/README.md b/README.md index a36cd404..67697f25 100644 --- a/README.md +++ b/README.md @@ -1,1796 +1,179 @@ -
+ +**Office-to-PDF conversion for .NET.** +

NuGet -NuGet Downloads -GitHub stars +GitHub stars +DOI License

-

-English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
- - ---- -
- Your Stars or Donations can make MiniPDF better -
+English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français ---- +**[Online Demo](https://mini-software.github.io/MiniPdf/)** · **[Releases](https://github.com/mini-software/MiniPdf/releases)** · **[Report an issue](https://github.com/mini-software/MiniPdf/issues)** -A minimal, lightweight .NET library for converting office files to PDF. +Contributions are welcome. See [Contributing](#quick-contribution). -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion
-👉 **[Online Demo](https://mini-software.github.io/MiniPdf/)** — Try it in your browser, no install required. - -> ⚠️ Due to limited fonts available in the browser, the rendering results may not be optimal. For the best experience, please test locally on your machine. +Convert XLSX, DOCX, and PPTX files with the .NET library, command-line tool, +or standalone Native AOT builds. Microsoft Office, LibreOffice, Adobe Acrobat, +and COM automation are not required at runtime. -## Features +## .NET overview -- **Excel-to-PDF** — Convert `.xlsx` files to PDF -- **Word-to-PDF** — Convert `.docx` files to PDF -- **PowerPoint-to-PDF** — Convert `.pptx` files to PDF -- **Minimal dependencies** — Lightweight; relies almost entirely on built-in .NET APIs -- **Serverless-ready** — No COM, no Office installation, no Adobe Acrobat — runs anywhere .NET runs -- **Native AOT** — Pre-compiled standalone binaries for Windows / Linux / macOS; no .NET runtime required -- **Valid PDF 1.4** output -- **100% open-source & free** — Apache 2.0 licensed, commercial use welcome; just keep the attribution. PRs & contributions are even better! -- **Chart** — Not currently supported well - -> **Note:** MiniPdf currently only handles basic conversions. Complex or highly customized Office documents may not convert perfectly. If you encounter compatibility issues, please [open an Issue](https://github.com/shps951023/MiniPdf/issues) or submit a Pull Request — contributions are very welcome! - -## Reference -- Trained small LLM by `Apache POI` + `LibreOffice` -- AI development by `GitHub Copilot` + `Claude Code` +| Implementation | Inputs | Interfaces | Maturity | Documentation | Visual results | +|---|---|---|---|---|---| +| .NET | XLSX, DOCX, PPTX | Library, CLI, Native AOT binaries | Stable | **[.NET guide](documents/README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | -## Getting Started +## Quick start -### Install via NuGet +### Install the library ```bash dotnet add package MiniPdf ``` -## Usage - -```csharp -using MiniSoftware; - -// Excel to PDF -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word to PDF -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint to PDF -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// File to byte array -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// Render selected Excel sheets by name or 1-based index (null renders all sheets) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// Compress and adjust Excel layout for large or wide sheets -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// Stream to byte array -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## Custom Fonts - -If your environment has limited system fonts (for example, containers or Blazor WASM), register fonts before conversion. - ```csharp using MiniSoftware; -// Register one or more fonts at app startup. -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -Notes: - -- Supported input bytes are TrueType `.ttf` and TrueType Collection `.ttc`. -- Register fonts once during startup to avoid duplicate registrations. -- Registered fonts are prioritized before system fonts. - -## CLI Tool - -MiniPdf also provides a command-line tool — **MiniPdf.Cli** — for quick conversion without writing code. +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -### Experimental Rust Version - -An experimental Rust rewrite is available under [minipdf-rs](minipdf-rs). It contains a `minipdf` library crate and a Rust CLI with the same basic command shape as the .NET tool. The Rust version currently supports basic `.xlsx` and `.docx` text extraction and PDF generation, and is not yet feature-equivalent with the .NET implementation. +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### Install +### Use the command line ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### Usage - -```bash -# Convert Excel to PDF (output: data.pdf) -minipdf data.xlsx - -# Convert Word to PDF -minipdf report.docx +Standalone builds run without an installed .NET runtime. Download a +Native AOT binary from [Releases](https://github.com/mini-software/MiniPdf/releases). -# Convert PowerPoint to PDF -minipdf slides.pptx +## Usage examples -# Specify output path -minipdf report.docx -o /path/to/output.pdf +### Convert streams -# Register custom fonts (for containers / headless environments) -minipdf report.docx --fonts ./Fonts - -# Render selected Excel sheets by name or 1-based index -minipdf data.xlsx --sheets Summary,2 - -# Compress PDF content streams for large outputs -minipdf data.xlsx --compress - -# Render a bounded Excel preview -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# Adjust Excel layout for large or wide sheets -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# Target more worksheet rows per PDF page -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### Commands - -| Command | Description | -|---------|-------------| -| `minipdf ` | Convert `.xlsx` / `.docx` / `.pptx` to PDF | -| `minipdf convert -o ` | Convert with explicit output path | -| `minipdf convert --compress` | Compress PDF content streams | -| `minipdf data.xlsx --max-rows --max-columns ` | Render a bounded Excel preview | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | Fit and scale Excel layout | -| `minipdf data.xlsx --rows-per-page ` | Target more Excel rows per PDF page | -| `minipdf --version` | Show version | -| `minipdf --help` | Show help | - -### Native AOT Standalone Binaries - -MiniPdf.Cli supports **Native AOT** (Ahead-of-Time) compilation — C# code is compiled directly into native machine code at build time, just like C/C++, producing a standalone executable. No .NET runtime or JIT compiler is needed at run time. - -**Advantages:** - -- **Zero dependencies** — no .NET SDK or runtime needed on the target machine -- **Instant startup** — native machine code, no JIT warm-up -- **Small footprint** — single-file binary, easy to distribute and deploy -- **CI/CD friendly** — download and run in any pipeline without installing .NET +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -**Download:** grab the binary for your platform from the [GitHub Releases](https://github.com/shps951023/MiniPdf/releases) page. +### Select Excel sheets and control layout -| Platform | File | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**Usage (example on Linux / macOS):** - -```bash -# Download & extract -tar -xzf minipdf-linux-x64.tar.gz - -# Convert -./minipdf report.docx -o report.pdf -``` - -**Usage (example on Windows):** +```csharp +using MiniSoftware; -```powershell -# Extract the zip, then run -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## Benchmark - -MiniPdf output is compared against MiniExcel and Office 365 as the reference renderers across **373 test cases**. +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](documents/README.nuget.md#conversion-options) +for the complete list. -| Report | Cases | 🟢 Excellent (≥90%) | 🟡 Acceptable (70%–90%) | 🔴 Needs Improvement (<70%) | Average Score | -|---|---|---|---|---|---| -| XLSX to PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX to PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX Files | 2 | 1 | 1 | 0 | 83.8% | -| **Total** | **373** | **354** | **19** | **0** | **97.2%** | - -Scoring: text similarity 40% + visual similarity 40% + page count 20% - -### Detailed Comparison Reports - -- [XLSX Benchmark Report](tests/MiniPdf.Benchmark/reports/comparison_report.md) — XLSX conversion test cases -- [DOCX Benchmark Report](tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — DOCX conversion test cases -- [Issue Files Xlsx Report](tests/Issue_Files/reports_xlsx/comparison_report.md) — Real-world issue file test cases -- [Issue Files Docx Report](tests/Issue_Files/reports_docx/comparison_report.md) — Real-world issue file test cases - -### Visual Comparison - -All test cases comparing MiniPdf output vs MiniExcel / Office 365 reference. Page 1 shown for multi-page results. +### Set Word page size and margins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - - +```csharp +using MiniSoftware; +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` +`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](documents/README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](documents/README.nuget.md) and +[CLI reference](documents/README.nuget.cli.md) for more examples and options. +## Why MiniPdf +- **No office suite required**: conversion runs inside your application or CLI. +- **Small deployment surface**: minimal dependencies and no external process. +- **Server and CI friendly**: works in containers, cloud services, and pipelines. +- **Open development**: Apache 2.0 licensed with reproducible visual benchmarks. +MiniPdf targets practical document conversion, not complete Microsoft Office +layout compatibility. Complex templates may render differently; use the online +demo or benchmark reports to evaluate representative files. + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## Project resources +| Resource | Description | +|---|---| +| [Online demo](https://mini-software.github.io/MiniPdf/) | Try conversion in a browser | +| [.NET documentation](documents/README.nuget.md) | Stable library and CLI usage | +| [CLI reference](documents/README.nuget.cli.md) | Commands, fonts, compression, and Excel preview options | +| [.NET XLSX benchmark](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | Visual comparison results for spreadsheets | +| [.NET DOCX benchmark](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | Visual comparison results for documents | +| [GitHub releases](https://github.com/mini-software/MiniPdf/releases) | Packages and standalone binaries | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | Bugs, compatibility reports, and feature requests | ## License -This project is licensed under the [Apache License 2.0](LICENSE). +[Apache License 2.0](LICENSE). Commercial use is welcome diff --git a/documents/README.fr.md b/documents/README.fr.md index 3edcb17b..7e2d653e 100644 --- a/documents/README.fr.md +++ b/documents/README.fr.md @@ -1,3330 +1,176 @@ -
+ +**Bibliothèques et outils en ligne de commande Office-vers-PDF légers, rapides et natifs pour .NET.** +

NuGet -Téléchargements NuGet -GitHub stars -Licence +GitHub stars +DOI +License

-

+ English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
---- +**[Démo en ligne](https://mini-software.github.io/MiniPdf/)** · **[Versions](https://github.com/mini-software/MiniPdf/releases)** · **[Signaler un problème](https://github.com/mini-software/MiniPdf/issues)** -Une bibliothèque .NET minimale et légère pour convertir des fichiers Office en PDF. +Votre étoile ou votre don peut améliorer MiniPdf. -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+🤝 **Nous recherchons des co-développeurs :** [Contribuer rapidement](#quick-contribution) -👉 **[Démo en ligne](https://mini-software.github.io/MiniPdf/)** — Essayez directement dans votre navigateur, aucune installation requise. + -> ⚠️ En raison des polices limitées disponibles dans le navigateur, le rendu peut ne pas être optimal. Pour de meilleurs résultats, veuillez tester localement sur votre machine. -## Fonctionnalités -- **Excel → PDF** — Convertit les fichiers `.xlsx` en PDF -- **Word → PDF** — Convertit les fichiers `.docx` en PDF -- **PowerPoint → PDF** — Convertit les fichiers `.pptx` en PDF -- **Dépendances minimales** — Conception légère, repose presque entièrement sur les API .NET intégrées -- **Prêt pour le serverless** — Pas de COM, pas d'installation d'Office, pas d'Adobe Acrobat — fonctionne partout où .NET fonctionne -- **Native AOT** — Binaires autonomes précompilés pour Windows / Linux / macOS ; aucun runtime .NET requis -- **Sortie PDF 1.4** valide -- **100 % open-source & gratuit** — Licence Apache 2.0, usage commercial bienvenu ; il suffit de conserver l'attribution. Les PR et contributions sont les bienvenues ! -- **Graphiques** — Pas encore bien pris en charge +MiniPdf convertit directement les documents Office en PDF sans nécessiter Microsoft Office, LibreOffice, Adobe Acrobat ni automatisation COM à l'exécution. -> **Remarque :** MiniPdf ne gère actuellement que les conversions de base. Les documents Office complexes ou très personnalisés peuvent ne pas être convertis parfaitement. Si vous rencontrez des problèmes de compatibilité, n'hésitez pas à [ouvrir une Issue](https://github.com/shps951023/MiniPdf/issues) ou à soumettre une Pull Request — les contributions sont les bienvenues ! +## .NET -## Références -- Trained small LLM by `Apache POI` + `LibreOffice` -- AI development by `GitHub Copilot` + `Claude Code` +| Implémentation | Entrées | Interfaces | Maturité | Documentation | Résultats visuels | +|---|---|---|---|---|---| +| .NET | XLSX, DOCX, PPTX | Bibliothèque, CLI, binaires Native AOT | Stable | **[Guide .NET](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | -## Démarrage +## Démarrage rapide -### Installation via NuGet +### .NET ```bash dotnet add package MiniPdf ``` -## Utilisation - -```csharp -using MiniSoftware; - -// Excel vers PDF -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word vers PDF -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint vers PDF -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// Fichier vers tableau d'octets -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// Rend les feuilles Excel indiquees par nom ou index 1-based (null rend toutes les feuilles) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// Compresser et ajuster la mise en page des grands ou larges fichiers Excel -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// Flux vers tableau d'octets -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## Polices personnalisees - -Si votre environnement dispose de peu de polices systeme (par exemple conteneurs ou Blazor WASM), enregistrez les polices avant la conversion. - ```csharp using MiniSoftware; -// Il est recommande d'enregistrer une ou plusieurs polices au demarrage -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -Notes: - -- Les donnees de police supportees sont TrueType `.ttf` et TrueType Collection `.ttc`. -- Enregistrez les polices une seule fois au demarrage pour eviter les doublons. -- Les polices enregistrees sont prioritaires sur les polices systeme. - -## Outil CLI +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -MiniPdf fournit également un outil en ligne de commande — **MiniPdf.Cli** — pour convertir rapidement des fichiers sans écrire de code. +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### Installation +Pour la ligne de commande : ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### Utilisation - -```bash -# Convertir Excel en PDF (sortie : data.pdf) -minipdf data.xlsx - -# Convertir Word en PDF -minipdf report.docx - -# Convertir PowerPoint en PDF -minipdf slides.pptx +Pour l'utilisation, consultez le [guide .NET](README.nuget.md). -# Spécifier le chemin de sortie -minipdf report.docx -o /path/to/output.pdf +## Usage examples -# Enregistrer des polices personnalisées (pour conteneurs / environnements headless) -minipdf report.docx --fonts ./Fonts +### Convert streams -# Rendre les feuilles Excel indiquees par nom ou index 1-based -minipdf data.xlsx --sheets Summary,2 - -# Compresser les flux de contenu PDF pour les sorties volumineuses -minipdf data.xlsx --compress - -# Rendre un apercu Excel limite -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# Ajuster la mise en page des grands ou larges fichiers Excel -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# Viser davantage de lignes de feuille par page PDF -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### Commandes +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -| Commande | Description | -|---------|-------------| -| `minipdf ` | Convertir `.xlsx` / `.docx` / `.pptx` en PDF | -| `minipdf convert -o ` | Convertir avec chemin de sortie explicite | -| `minipdf convert --compress` | Compresser les flux de contenu PDF | -| `minipdf data.xlsx --max-rows --max-columns ` | Rendre un apercu Excel limite | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | Ajuster et mettre a l'echelle la mise en page Excel | -| `minipdf data.xlsx --rows-per-page ` | Viser davantage de lignes Excel par page PDF | -| `minipdf --version` | Afficher la version | -| `minipdf --help` | Afficher l'aide | +### Select Excel sheets and control layout -### Binaires autonomes Native AOT - -MiniPdf.Cli prend en charge la compilation **Native AOT** (Ahead-of-Time) — le code C# est compilé directement en code machine natif lors du build, comme en C/C++, produisant un exécutable autonome. Aucun runtime .NET ni compilateur JIT n'est nécessaire à l'exécution. - -**Avantages :** - -- **Zéro dépendance** — aucun SDK ou runtime .NET nécessaire sur la machine cible -- **Démarrage instantané** — code machine natif, pas de préchauffage JIT -- **Empreinte réduite** — binaire en fichier unique, facile à distribuer et déployer -- **Compatible CI/CD** — téléchargez et exécutez dans n'importe quel pipeline sans installer .NET - -**Téléchargement :** récupérez le binaire correspondant à votre plateforme sur la page [GitHub Releases](https://github.com/shps951023/MiniPdf/releases). - -| Plateforme | Fichier | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**Utilisation (exemple sous Linux / macOS) :** - -```bash -# Télécharger et extraire -tar -xzf minipdf-linux-x64.tar.gz - -# Convertir -./minipdf report.docx -o report.pdf -``` - -**Utilisation (exemple sous Windows) :** +```csharp +using MiniSoftware; -```powershell -# Extraire le zip, puis exécuter -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## Benchmark - -La sortie de MiniPdf est comparée à MiniExcel et Office 365 comme moteurs de rendu de référence sur **373 cas de test**. - -| Rapport | Cas | 🟢 Excellent (≥90%) | 🟡 Acceptable (70%–90%) | 🔴 À améliorer (<70%) | Score moyen | -|---|---|---|---|---|---| -| XLSX → PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX → PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX Fichiers | 2 | 1 | 1 | 0 | 83.8% | -| **Total** | **373** | **354** | **19** | **0** | **97.2%** | - -Notation : similarité texte 40% + similarité visuelle 40% + nombre de pages 20% - -### Rapports de comparaison détaillés - -- [Rapport Benchmark XLSX](../tests/MiniPdf.Benchmark/reports/comparison_report.md) — Cas de test conversion XLSX -- [Rapport Benchmark DOCX](../tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — Cas de test conversion DOCX -- [Rapport Fichiers Issue XLSX](../tests/Issue_Files/reports_xlsx/comparison_report.md) — Cas de test avec fichiers Issue réels -- [Rapport Fichiers Issue DOCX](../tests/Issue_Files/reports_docx/comparison_report.md) — Cas de test avec fichiers Issue réels +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### Comparaison visuelle +### Set Word page size and margins -Tous les cas de test comparant la sortie MiniPdf à la référence MiniExcel / Office 365. La page 1 est affichée pour les résultats multi-pages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Référence)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### Benchmark DOCX - -La sortie DOCX de MiniPdf est comparée à MiniExcel et Office 365 comme moteurs de rendu de référence sur **180 cas de test classiques**. - -| Catégorie | Nombre | Seuil | -|---|---|---| -| 🟢 Excellent | 175 | ≥ 90% | -| 🟡 Acceptable | 16 | 70% – 90% | -| 🔴 À améliorer | 0 | < 70% | - -**Score moyen global : 96.9%** (similarité textuelle 40% + similarité visuelle 40% + nombre de pages 20%) - -#### Comparaison visuelle DOCX +```csharp +using MiniSoftware; -Tous les cas de test DOCX comparant la sortie MiniPdf à la référence MiniExcel / Office 365. La page 1 est affichée pour les résultats multi-pages. +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## Pourquoi MiniPdf +- **Aucune suite Office requise** : la conversion s'exécute dans l'application ou la CLI. +- **Déploiement réduit** : peu de dépendances et aucun processus externe. +- **Adapté aux serveurs et à la CI** : fonctionne dans les conteneurs, services cloud et pipelines. +MiniPdf vise une conversion pratique des documents, et non une compatibilité totale avec la mise en page de Microsoft Office. Les modèles complexes peuvent être rendus différemment ; utilisez la démo en ligne ou les rapports de benchmark pour évaluer des fichiers représentatifs. + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## Ressources du projet +| Ressource | Description | +|---|---| +| [Démo en ligne](https://mini-software.github.io/MiniPdf/) | Tester la conversion dans le navigateur | +| [Documentation .NET](README.nuget.md) | Utilisation de la bibliothèque stable et de la CLI | +| [Benchmark XLSX .NET](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | Résultats visuels pour les feuilles de calcul | +| [Benchmark DOCX .NET](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | Résultats visuels pour les documents | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | Paquets et binaires autonomes | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | Bogues, rapports de compatibilité et demandes de fonctionnalités | ## Licence -Ce projet est sous licence [Apache License 2.0](../LICENSE). +[Apache License 2.0](../LICENSE). L'utilisation commerciale est la bienvenue. diff --git a/documents/README.it.md b/documents/README.it.md index 38449fcc..0a43392c 100644 --- a/documents/README.it.md +++ b/documents/README.it.md @@ -1,3330 +1,176 @@ -
+ +**Librerie e strumenti da riga di comando Office-to-PDF leggeri, veloci e nativi per .NET.** +

NuGet -Download NuGet -GitHub stars -Licenza +GitHub stars +DOI +License

-

+ English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
---- +**[Demo online](https://mini-software.github.io/MiniPdf/)** · **[Release](https://github.com/mini-software/MiniPdf/releases)** · **[Segnala un problema](https://github.com/mini-software/MiniPdf/issues)** -Una libreria .NET minimale e leggera per convertire file Office in PDF. +La tua stella o donazione può rendere MiniPdf migliore. -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+🤝 **Cerchiamo co-sviluppatori:** [Contribuisci subito](#quick-contribution) -👉 **[Demo online](https://mini-software.github.io/MiniPdf/)** — Provalo nel browser, nessuna installazione richiesta. + -> ⚠️ A causa dei font limitati disponibili nel browser, i risultati del rendering potrebbero non essere ottimali. Per la migliore esperienza, si consiglia di testare localmente sul proprio computer. -## Funzionalità -- **Excel → PDF** — Converte file `.xlsx` in PDF -- **Word → PDF** — Converte file `.docx` in PDF -- **PowerPoint → PDF** — Converte file `.pptx` in PDF -- **Dipendenze minime** — Design leggero, utilizza quasi esclusivamente le API .NET integrate -- **Pronto per il serverless** — Nessun COM, nessuna installazione di Office, nessun Adobe Acrobat — funziona ovunque .NET funzioni -- **Native AOT** — Binari standalone precompilati per Windows / Linux / macOS; nessun runtime .NET richiesto -- **Output PDF 1.4** valido -- **100% open-source e gratuito** — Licenza Apache 2.0, uso commerciale libero; basta mantenere l'attribuzione. PR e contributi sono benvenuti! -- **Grafici** — Attualmente non ben supportati +MiniPdf converte direttamente i documenti Office in PDF senza richiedere Microsoft Office, LibreOffice, Adobe Acrobat o automazione COM durante l'esecuzione. -> **Nota:** MiniPdf attualmente gestisce solo le conversioni di base. Documenti Office complessi o altamente personalizzati potrebbero non essere convertiti perfettamente. Se riscontri problemi di compatibilità, [apri una Issue](https://github.com/shps951023/MiniPdf/issues) o invia una Pull Request — i contributi sono molto graditi! +## .NET -## Riferimenti -- Trained small LLM by `Apache POI` + `LibreOffice` -- AI development by `GitHub Copilot` + `Claude Code` +| Implementazione | Input | Interfacce | Maturità | Documentazione | Risultati visivi | +|---|---|---|---|---|---| +| .NET | XLSX, DOCX, PPTX | Libreria, CLI, binari Native AOT | Stabile | **[Guida .NET](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | -## Iniziare +## Avvio rapido -### Installazione tramite NuGet +### .NET ```bash dotnet add package MiniPdf ``` -## Utilizzo - -```csharp -using MiniSoftware; - -// Excel in PDF -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word in PDF -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint in PDF -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// Da file a array di byte -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// Renderizza i fogli Excel indicati per nome o indice 1-based (null renderizza tutti i fogli) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// Comprimi e regola il layout di fogli Excel grandi o larghi -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// Da stream a array di byte -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## Font personalizzati - -Se l'ambiente ha pochi font di sistema (ad esempio container o Blazor WASM), registra i font prima della conversione. - ```csharp using MiniSoftware; -// Si consiglia di registrare uno o piu font all'avvio dell'app -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -Note: - -- I byte supportati sono TrueType `.ttf` e TrueType Collection `.ttc`. -- Registra i font una sola volta all'avvio per evitare registrazioni duplicate. -- I font registrati hanno priorita rispetto ai font di sistema. - -## Strumento CLI +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -MiniPdf fornisce anche uno strumento da riga di comando — **MiniPdf.Cli** — per convertire rapidamente i file senza scrivere codice. +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### Installazione +Per la riga di comando: ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### Utilizzo - -```bash -# Converti Excel in PDF (output: data.pdf) -minipdf data.xlsx - -# Converti Word in PDF -minipdf report.docx - -# Converti PowerPoint in PDF -minipdf slides.pptx +Per l'uso, consulta la [guida .NET](README.nuget.md). -# Specifica il percorso di output -minipdf report.docx -o /path/to/output.pdf +## Usage examples -# Registra font personalizzati (per container / ambienti headless) -minipdf report.docx --fonts ./Fonts +### Convert streams -# Renderizza fogli Excel indicati per nome o indice 1-based -minipdf data.xlsx --sheets Summary,2 - -# Comprimi gli stream di contenuto PDF per output grandi -minipdf data.xlsx --compress - -# Renderizza un'anteprima Excel limitata -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# Regola il layout di fogli Excel grandi o larghi -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# Punta a piu righe del foglio per pagina PDF -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### Comandi +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -| Comando | Descrizione | -|---------|-------------| -| `minipdf ` | Converti `.xlsx` / `.docx` / `.pptx` in PDF | -| `minipdf convert -o ` | Converti con percorso di output esplicito | -| `minipdf convert --compress` | Comprimi gli stream di contenuto PDF | -| `minipdf data.xlsx --max-rows --max-columns ` | Renderizza un'anteprima Excel limitata | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | Adatta e scala il layout Excel | -| `minipdf data.xlsx --rows-per-page ` | Punta a piu righe Excel per pagina PDF | -| `minipdf --version` | Mostra la versione | -| `minipdf --help` | Mostra l'aiuto | +### Select Excel sheets and control layout -### Binari standalone Native AOT - -MiniPdf.Cli supporta la compilazione **Native AOT** (Ahead-of-Time) — il codice C# viene compilato direttamente in codice macchina nativo in fase di build, proprio come C/C++, producendo un eseguibile standalone. Non è necessario alcun runtime .NET o compilatore JIT in fase di esecuzione. - -**Vantaggi:** - -- **Zero dipendenze** — nessun .NET SDK o runtime necessario sulla macchina di destinazione -- **Avvio istantaneo** — codice macchina nativo, nessun riscaldamento JIT -- **Dimensioni ridotte** — binario a file singolo, facile da distribuire e deployare -- **Adatto a CI/CD** — scarica ed esegui in qualsiasi pipeline senza installare .NET - -**Download:** scarica il binario per la tua piattaforma dalla pagina [GitHub Releases](https://github.com/shps951023/MiniPdf/releases). - -| Piattaforma | File | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**Utilizzo (esempio su Linux / macOS):** - -```bash -# Scarica ed estrai -tar -xzf minipdf-linux-x64.tar.gz - -# Converti -./minipdf report.docx -o report.pdf -``` - -**Utilizzo (esempio su Windows):** +```csharp +using MiniSoftware; -```powershell -# Estrai lo zip, poi esegui -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## Benchmark - -L'output di MiniPdf viene confrontato con MiniExcel e Office 365 come renderer di riferimento su **373 casi di test**. - -| Report | Casi | 🟢 Eccellente (≥90%) | 🟡 Accettabile (70%–90%) | 🔴 Da migliorare (<70%) | Punteggio medio | -|---|---|---|---|---|---| -| XLSX → PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX → PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX File | 2 | 1 | 1 | 0 | 83.8% | -| **Totale** | **373** | **354** | **19** | **0** | **97.2%** | - -Punteggio: similarità testo 40% + similarità visiva 40% + conteggio pagine 20% - -### Rapporti di confronto dettagliati - -- [Report Benchmark XLSX](../tests/MiniPdf.Benchmark/reports/comparison_report.md) — Casi di test conversione XLSX -- [Report Benchmark DOCX](../tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — Casi di test conversione DOCX -- [Report File Issue XLSX](../tests/Issue_Files/reports_xlsx/comparison_report.md) — Casi di test con file Issue reali -- [Report File Issue DOCX](../tests/Issue_Files/reports_docx/comparison_report.md) — Casi di test con file Issue reali +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### Confronto visivo +### Set Word page size and margins -Tutti i casi di test che confrontano l'output di MiniPdf con il riferimento MiniExcel / Office 365. Per i risultati multipagina viene mostrata la pagina 1. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Riferimento)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### Benchmark DOCX - -L'output DOCX di MiniPdf viene confrontato con MiniExcel e Office 365 come renderer di riferimento su **180 casi di test classici**. - -| Categoria | Conteggio | Soglia | -|---|---|---| -| 🟢 Eccellente | 175 | ≥ 90% | -| 🟡 Accettabile | 16 | 70% – 90% | -| 🔴 Da migliorare | 0 | < 70% | - -**Punteggio medio complessivo: 96.9%** (similarità testo 40% + similarità visiva 40% + conteggio pagine 20%) - -#### Confronto visivo DOCX +```csharp +using MiniSoftware; -Tutti i casi di test DOCX che confrontano l'output di MiniPdf con il riferimento MiniExcel / Office 365. Per i risultati multipagina viene mostrata la pagina 1. +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## Perché MiniPdf +- **Nessuna suite Office richiesta**: la conversione viene eseguita nell'applicazione o nella CLI. +- **Distribuzione essenziale**: poche dipendenze e nessun processo esterno. +- **Adatto a server e CI**: funziona in container, servizi cloud e pipeline. +MiniPdf punta alla conversione pratica dei documenti, non alla compatibilità completa con il layout di Microsoft Office. I modelli complessi possono essere visualizzati diversamente; usa la demo online o i report di benchmark per valutare file rappresentativi. + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## Risorse del progetto +| Risorsa | Descrizione | +|---|---| +| [Demo online](https://mini-software.github.io/MiniPdf/) | Prova la conversione nel browser | +| [Documentazione .NET](README.nuget.md) | Uso della libreria stabile e della CLI | +| [Benchmark XLSX .NET](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | Risultati visivi per i fogli di calcolo | +| [Benchmark DOCX .NET](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | Risultati visivi per i documenti | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | Pacchetti e binari autonomi | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | Bug, problemi di compatibilità e richieste di funzionalità | ## Licenza -Questo progetto è concesso in licenza con [Apache License 2.0](../LICENSE). +[Apache License 2.0](../LICENSE). L'uso commerciale è benvenuto. diff --git a/documents/README.ja.md b/documents/README.ja.md index 705a655e..de494ba6 100644 --- a/documents/README.ja.md +++ b/documents/README.ja.md @@ -1,3330 +1,176 @@ -
+ +**.NET 向けの軽量・高速・ネイティブな Office-to-PDF ライブラリおよびコマンドラインツール。** +

NuGet -NuGet ダウンロード数 -GitHub stars -ライセンス +GitHub stars +DOI +License

-

+ English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
---- +**[オンラインデモ](https://mini-software.github.io/MiniPdf/)** · **[リリース](https://github.com/mini-software/MiniPdf/releases)** · **[問題を報告](https://github.com/mini-software/MiniPdf/issues)** -Office ファイルを PDF に変換するための、ミニマルで軽量な .NET ライブラリです。 +スターや寄付が MiniPdf をより良くします。 -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+🤝 **共同開発者を募集中:**[すぐに貢献する](#quick-contribution) -👉 **[オンラインデモ](https://mini-software.github.io/MiniPdf/)** — インストール不要、ブラウザですぐにお試しいただけます。 + -> ⚠️ ブラウザで利用可能なフォントが限られているため、レンダリング結果が最適でない場合があります。最良の結果を得るには、ローカル環境でテストしてください。 -## 機能 -- **Excel → PDF 変換** — `.xlsx` ファイルを PDF に変換 -- **Word → PDF 変換** — `.docx` ファイルを PDF に変換 -- **PowerPoint → PDF 変換** — `.pptx` ファイルを PDF に変換 -- **最小限の依存関係** — 軽量設計、ほぼ .NET 組み込み API のみを使用 -- **サーバーレス対応** — COM 不要、Office インストール不要、Adobe Acrobat 不要 — .NET があればどこでも動作 -- **Native AOT** — Windows / Linux / macOS 向けのプリコンパイル済みスタンドアロンバイナリ。.NET ランタイムのインストール不要 -- **有効な PDF 1.4** 形式で出力 -- **完全オープンソース&無料** — Apache 2.0 ライセンス、商用利用自由、帰属表示のみでOK。PR・コントリビュート大歓迎! -- **グラフ** — 現在は十分にサポートされていません +MiniPdf は、実行時に Microsoft Office、LibreOffice、Adobe Acrobat、COM オートメーションを必要とせず、Office 文書を直接 PDF に変換します。 -> **注意:** MiniPdf は現在、基本的な変換のみ対応しています。複雑またはカスタマイズされた Office ドキュメントは、完全に変換できない場合があります。互換性の問題が見つかった場合は、[Issue を作成](https://github.com/shps951023/MiniPdf/issues)するか、Pull Request を送信してください。コントリビューション大歓迎です! +## .NET -## 参考 -- `Apache POI` + `LibreOffice` で小型参照モデルをトレーニング -- AI 開発に `GitHub Copilot` + `Claude Code` を使用 +| 実装 | 入力 | インターフェイス | 成熟度 | ドキュメント | 視覚結果 | +|---|---|---|---|---|---| +| .NET | XLSX、DOCX、PPTX | ライブラリ、CLI、Native AOT バイナリ | 安定版 | **[.NET ガイド](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | -## はじめに +## クイックスタート -### NuGet でインストール +### .NET ```bash dotnet add package MiniPdf ``` -## 使用方法 - -```csharp -using MiniSoftware; - -// Excel を PDF に -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word を PDF に -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint を PDF に -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// ファイルからバイト配列へ -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// 名前または 1-based インデックスで指定した Excel シートをレンダリング(null ならすべてのシート) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// 大きいまたは横長の Excel シートを圧縮し、レイアウトを調整 -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// ストリームからバイト配列へ -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## カスタムフォント - -システムフォントが少ない環境(例: コンテナ、Blazor WASM)では、変換前にフォントを登録してください。 - ```csharp using MiniSoftware; -// アプリ起動時に1つ以上のフォントを登録することを推奨 -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -補足: - -- 入力できるフォントバイトは TrueType `.ttf` と TrueType Collection `.ttc` です。 -- 重複登録を避けるため、起動時に一度だけ登録することを推奨します。 -- 登録したフォントはシステムフォントより優先して使用されます。 - -## CLI ツール +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -MiniPdf はコマンドラインツール **MiniPdf.Cli** も提供しています。コードを書かずにファイルを素早く変換できます。 +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### インストール +コマンドラインを使う場合: ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### 使い方 - -```bash -# Excel を PDF に変換(出力: data.pdf) -minipdf data.xlsx - -# Word を PDF に変換 -minipdf report.docx - -# PowerPoint を PDF に変換 -minipdf slides.pptx +使用方法については [.NET ガイド](README.nuget.md) をご覧ください。 -# 出力パスを指定 -minipdf report.docx -o /path/to/output.pdf +## Usage examples -# カスタムフォントを登録(コンテナ/ヘッドレス環境向け) -minipdf report.docx --fonts ./Fonts +### Convert streams -# 名前または 1-based インデックスで指定した Excel シートをレンダリング -minipdf data.xlsx --sheets Summary,2 - -# 大きい出力向けに PDF コンテンツストリームを圧縮 -minipdf data.xlsx --compress - -# 範囲を制限した Excel プレビューをレンダリング -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# 大きいまたは横長の Excel シートのレイアウトを調整 -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# 1ページあたりのワークシート行数を増やす -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### コマンド一覧 +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -| コマンド | 説明 | -|---------|-------------| -| `minipdf ` | `.xlsx` / `.docx` / `.pptx` を PDF に変換 | -| `minipdf convert -o ` | 出力パスを指定して変換 | -| `minipdf convert --compress` | PDF コンテンツストリームを圧縮 | -| `minipdf data.xlsx --max-rows --max-columns ` | 範囲を制限した Excel プレビューをレンダリング | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | Excel レイアウトをフィットおよびスケール | -| `minipdf data.xlsx --rows-per-page ` | 1ページあたりの Excel 行数を増やす | -| `minipdf --version` | バージョンを表示 | -| `minipdf --help` | ヘルプを表示 | +### Select Excel sheets and control layout -### Native AOT スタンドアロンバイナリ - -MiniPdf.Cli は **Native AOT**(Ahead-of-Time、事前コンパイル)をサポートしています — ビルド時に C# コードを C/C++ と同様にネイティブマシンコードへ直接コンパイルし、スタンドアロンの実行ファイルを生成します。実行時に .NET ランタイムや JIT コンパイラは不要です。 - -**メリット:** - -- **依存関係ゼロ** — ターゲットマシンに .NET SDK やランタイムのインストール不要 -- **即時起動** — ネイティブマシンコード、JIT ウォームアップなし -- **軽量** — シングルファイルバイナリ、配布・デプロイが容易 -- **CI/CD フレンドリー** — ダウンロードしてすぐ実行、パイプラインに .NET のインストール不要 - -**ダウンロード:** [GitHub Releases](https://github.com/shps951023/MiniPdf/releases) ページからお使いのプラットフォーム用のバイナリをダウンロードしてください。 - -| プラットフォーム | ファイル | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**使用方法(Linux / macOS の例):** - -```bash -# ダウンロードして展開 -tar -xzf minipdf-linux-x64.tar.gz - -# 変換 -./minipdf report.docx -o report.pdf -``` - -**使用方法(Windows の例):** +```csharp +using MiniSoftware; -```powershell -# zip を展開して実行 -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## ベンチマーク - -MiniPdf の出力は MiniExcel および Office 365 をリファレンスレンダラーとして **373 件のテストケース**で比較されています。 - -| レポート | 件数 | 🟢 優秀 (≥90%) | 🟡 許容範囲 (70%–90%) | 🔴 要改善 (<70%) | 平均スコア | -|---|---|---|---|---|---| -| XLSX → PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX → PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX ファイル | 2 | 1 | 1 | 0 | 83.8% | -| **合計** | **373** | **354** | **19** | **0** | **97.2%** | - -スコアリング:テキスト類似度 40% + 視覚類似度 40% + ページ数 20% - -### 詳細比較レポート - -- [XLSX ベンチマークレポート](../tests/MiniPdf.Benchmark/reports/comparison_report.md) — XLSX 変換テストケース -- [DOCX ベンチマークレポート](../tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — DOCX 変換テストケース -- [Issue XLSX ファイルレポート](../tests/Issue_Files/reports_xlsx/comparison_report.md) — 実際の Issue ファイルテストケース -- [Issue DOCX ファイルレポート](../tests/Issue_Files/reports_docx/comparison_report.md) — 実際の Issue ファイルテストケース +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### ビジュアル比較 +### Set Word page size and margins -全テストケースの MiniPdf 出力と MiniExcel / Office 365 リファレンスの比較。複数ページの場合は1ページ目を表示。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365(リファレンス)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### DOCX ベンチマーク - -MiniPdf DOCX の出力は MiniExcel および Office 365 をリファレンスレンダラーとして **180 件のクラシックテストケース**で比較されています。 - -| カテゴリ | 件数 | しきい値 | -|---|---|---| -| 🟢 優秀 | 175 | ≥ 90% | -| 🟡 許容範囲 | 16 | 70% – 90% | -| 🔴 要改善 | 0 | < 70% | - -**総合平均スコア: 96.9%**(テキスト類似度 40% + 視覚類似度 40% + ページ数 20%) - -#### DOCX ビジュアル比較 +```csharp +using MiniSoftware; -全 DOCX テストケースの MiniPdf 出力と MiniExcel / Office 365 リファレンスの比較。複数ページの場合は1ページ目を表示。 +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## MiniPdf を選ぶ理由 +- **Office スイート不要**:変換はアプリケーションまたは CLI 内で実行されます。 +- **小さなデプロイ構成**:依存関係が少なく、外部プロセスも不要です。 +- **サーバーと CI に対応**:コンテナー、クラウドサービス、パイプラインで利用できます。 +MiniPdf は実用的な文書変換を目的としており、Microsoft Office のレイアウトを完全に再現するものではありません。複雑なテンプレートは表示が異なる場合があるため、オンラインデモやベンチマークレポートで代表的なファイルを評価してください。 + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## プロジェクトリソース +| リソース | 説明 | +|---|---| +| [オンラインデモ](https://mini-software.github.io/MiniPdf/) | ブラウザーで変換を試す | +| [.NET ドキュメント](README.nuget.md) | 安定版ライブラリと CLI の使用方法 | +| [.NET XLSX ベンチマーク](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | スプレッドシートの視覚比較結果 | +| [.NET DOCX ベンチマーク](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | 文書の視覚比較結果 | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | パッケージと単体バイナリ | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | バグ、互換性レポート、機能リクエスト | ## ライセンス -このプロジェクトは [Apache License 2.0](../LICENSE) でライセンスされています。 +[Apache License 2.0](../LICENSE) で提供されています。商用利用を歓迎します。 diff --git a/documents/README.ko.md b/documents/README.ko.md index edc92c7b..8f3192ee 100644 --- a/documents/README.ko.md +++ b/documents/README.ko.md @@ -1,3330 +1,176 @@ -
+ +**.NET용 경량·고속·네이티브 Office-to-PDF 라이브러리와 명령줄 도구입니다.** +

NuGet -NuGet 다운로드 -GitHub stars -라이선스 +GitHub stars +DOI +License

-

+ English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
---- +**[온라인 데모](https://mini-software.github.io/MiniPdf/)** · **[릴리스](https://github.com/mini-software/MiniPdf/releases)** · **[문제 보고](https://github.com/mini-software/MiniPdf/issues)** -Office 파일을 PDF로 변환하는 최소한의 경량 .NET 라이브러리입니다. +스타 또는 후원으로 MiniPdf를 더 좋게 만들 수 있습니다. -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+🤝 **공동 개발자를 찾고 있습니다:** [빠르게 기여하기](#quick-contribution) -👉 **[온라인 데모](https://mini-software.github.io/MiniPdf/)** — 설치 없이 브라우저에서 바로 체험하세요. + -> ⚠️ 브라우저에서 사용할 수 있는 글꼴이 제한되어 있어 렌더링 결과가 최적이 아닐 수 있습니다. 최상의 결과를 위해 로컬 환경에서 테스트해 주세요. -## 기능 -- **Excel → PDF 변환** — `.xlsx` 파일을 PDF로 변환 -- **Word → PDF 변환** — `.docx` 파일을 PDF로 변환 -- **PowerPoint → PDF 변환** — `.pptx` 파일을 PDF로 변환 -- **최소 의존성** — 경량 설계, 거의 .NET 내장 API만 사용 -- **서버리스 지원** — COM 불필요, Office 설치 불필요, Adobe Acrobat 불필요 — .NET만 있으면 어디서든 실행 -- **Native AOT** — Windows / Linux / macOS용 사전 컴파일된 독립 실행 바이너리, .NET 런타임 설치 불필요 -- **유효한 PDF 1.4** 형식 출력 -- **100% 오픈소스 & 무료** — Apache 2.0 라이선스, 상업적 사용 자유, 출처 표기만 하면 OK. PR 기여 환영! -- **차트** — 현재 충분히 지원되지 않음 +MiniPdf는 런타임에 Microsoft Office, LibreOffice, Adobe Acrobat 또는 COM 자동화 없이 Office 문서를 PDF로 직접 변환합니다. -> **참고:** MiniPdf는 현재 기본적인 변환만 처리할 수 있습니다. 복잡하거나 고도로 맞춤 설정된 Office 문서는 완벽하게 변환되지 않을 수 있습니다. 호환성 문제가 발생하면 [Issue를 등록](https://github.com/shps951023/MiniPdf/issues)하거나 Pull Request를 제출해 주세요. 기여를 환영합니다! +## .NET -## 참고 자료 -- `Apache POI` + `LibreOffice`로 소형 참조 모델 훈련 -- AI 개발에 `GitHub Copilot` + `Claude Code` 사용 +| 구현 | 입력 | 인터페이스 | 성숙도 | 문서 | 시각적 결과 | +|---|---|---|---|---|---| +| .NET | XLSX, DOCX, PPTX | 라이브러리, CLI, Native AOT 바이너리 | 안정 | **[.NET 가이드](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | -## 시작하기 +## 빠른 시작 -### NuGet으로 설치 +### .NET ```bash dotnet add package MiniPdf ``` -## 사용 방법 - -```csharp -using MiniSoftware; - -// Excel을 PDF로 -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word를 PDF로 -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint를 PDF로 -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// 파일에서 바이트 배열로 -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// 이름 또는 1-based 인덱스로 지정한 Excel 시트 렌더링(null이면 모든 시트) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// 크거나 넓은 Excel 시트의 출력 압축 및 레이아웃 조정 -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// 스트림에서 바이트 배열로 -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## 사용자 지정 글꼴 - -시스템 글꼴이 제한된 환경(예: 컨테이너, Blazor WASM)에서는 변환 전에 글꼴을 등록하세요. - ```csharp using MiniSoftware; -// 앱 시작 시 하나 이상의 글꼴 등록을 권장 -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -참고: - -- 입력 바이트는 TrueType `.ttf` 및 TrueType Collection `.ttc`를 지원합니다. -- 중복 등록을 피하려면 시작 시 한 번만 등록하는 것을 권장합니다. -- 등록된 글꼴은 시스템 글꼴보다 우선 적용됩니다. - -## CLI 도구 +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -MiniPdf는 커맨드라인 도구 **MiniPdf.Cli**도 제공합니다. 코드 작성 없이 빠르게 파일을 변환할 수 있습니다. +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### 설치 +명령줄 사용: ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### 사용법 - -```bash -# Excel을 PDF로 변환 (출력: data.pdf) -minipdf data.xlsx - -# Word를 PDF로 변환 -minipdf report.docx - -# PowerPoint를 PDF로 변환 -minipdf slides.pptx +사용 방법은 [.NET 가이드](README.nuget.md)를 참조하세요. -# 출력 경로 지정 -minipdf report.docx -o /path/to/output.pdf +## Usage examples -# 사용자 정의 글꼴 등록 (컨테이너/헤드리스 환경용) -minipdf report.docx --fonts ./Fonts +### Convert streams -# 이름 또는 1-based 인덱스로 지정한 Excel 시트 렌더링 -minipdf data.xlsx --sheets Summary,2 - -# 큰 출력용 PDF 콘텐츠 스트림 압축 -minipdf data.xlsx --compress - -# 제한된 Excel 미리보기 렌더링 -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# 크거나 넓은 Excel 시트 레이아웃 조정 -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# PDF 페이지당 더 많은 워크시트 행을 목표로 설정 -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### 명령어 +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -| 명령어 | 설명 | -|---------|-------------| -| `minipdf ` | `.xlsx` / `.docx` / `.pptx`를 PDF로 변환 | -| `minipdf convert -o ` | 출력 경로를 지정하여 변환 | -| `minipdf convert --compress` | PDF 콘텐츠 스트림 압축 | -| `minipdf data.xlsx --max-rows --max-columns ` | 제한된 Excel 미리보기 렌더링 | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | Excel 레이아웃 맞춤 및 배율 조정 | -| `minipdf data.xlsx --rows-per-page ` | PDF 페이지당 더 많은 Excel 행을 목표로 설정 | -| `minipdf --version` | 버전 표시 | -| `minipdf --help` | 도움말 표시 | +### Select Excel sheets and control layout -### Native AOT 독립 실행 바이너리 - -MiniPdf.Cli는 **Native AOT**(Ahead-of-Time, 사전 컴파일)를 지원합니다 — 빌드 시 C# 코드를 C/C++처럼 네이티브 머신 코드로 직접 컴파일하여 독립 실행 파일을 생성합니다. 실행 시 .NET 런타임이나 JIT 컴파일러가 필요하지 않습니다. - -**장점:** - -- **의존성 제로** — 대상 머신에 .NET SDK 또는 런타임 설치 불필요 -- **즉시 시작** — 네이티브 머신 코드, JIT 워밍업 없음 -- **경량** — 단일 파일 바이너리, 배포 및 전달 용이 -- **CI/CD 친화적** — 다운로드 후 바로 실행, 파이프라인에 .NET 설치 불필요 - -**다운로드:** [GitHub Releases](https://github.com/shps951023/MiniPdf/releases) 페이지에서 플랫폼에 맞는 바이너리를 다운로드하세요. - -| 플랫폼 | 파일 | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**사용 방법 (Linux / macOS 예시):** - -```bash -# 다운로드 및 압축 해제 -tar -xzf minipdf-linux-x64.tar.gz - -# 변환 -./minipdf report.docx -o report.pdf -``` - -**사용 방법 (Windows 예시):** +```csharp +using MiniSoftware; -```powershell -# zip 압축 해제 후 실행 -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## 벤치마크 - -MiniPdf 출력은 MiniExcel 및 Office 365를 참조 렌더러로 사용하여 **373개 테스트 케이스**에서 비교됩니다. - -| 리포트 | 케이스 수 | 🟢 우수 (≥90%) | 🟡 허용 (70%–90%) | 🔴 개선 필요 (<70%) | 평균 점수 | -|---|---|---|---|---|---| -| XLSX → PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX → PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX 파일 | 2 | 1 | 1 | 0 | 83.8% | -| **합계** | **373** | **354** | **19** | **0** | **97.2%** | - -점수 산정: 텍스트 유사도 40% + 시각 유사도 40% + 페이지 수 20% - -### 상세 비교 보고서 - -- [XLSX 벤치마크 보고서](../tests/MiniPdf.Benchmark/reports/comparison_report.md) — XLSX 변환 테스트 케이스 -- [DOCX 벤치마크 보고서](../tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — DOCX 변환 테스트 케이스 -- [Issue XLSX 파일 보고서](../tests/Issue_Files/reports_xlsx/comparison_report.md) — 실제 Issue 파일 테스트 케이스 -- [Issue DOCX 파일 보고서](../tests/Issue_Files/reports_docx/comparison_report.md) — 실제 Issue 파일 테스트 케이스 +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### 시각적 비교 +### Set Word page size and margins -모든 테스트 케이스에서 MiniPdf 출력과 MiniExcel / Office 365 참조를 비교합니다. 여러 페이지인 경우 1페이지만 표시합니다. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (참조)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### DOCX 벤치마크 - -MiniPdf DOCX 출력은 MiniExcel 및 Office 365를 참조 렌더러로 사용하여 **60개 클래식 테스트 케이스**에서 비교됩니다. - -| 카테고리 | 수량 | 임계값 | -|---|---|---| -| 🟢 우수 | 175 | ≥ 90% | -| 🟡 허용 | 16 | 70% – 90% | -| 🔴 개선 필요 | 0 | < 70% | - -**전체 평균 점수: 96.9%** (텍스트 유사도 40% + 시각 유사도 40% + 페이지 수 20%) - -#### DOCX 시각적 비교 +```csharp +using MiniSoftware; -모든 DOCX 테스트 케이스에서 MiniPdf 출력과 MiniExcel / Office 365 참조를 비교합니다. 여러 페이지인 경우 1페이지만 표시합니다. +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## MiniPdf를 선택하는 이유 +- **Office 제품군 불필요**: 애플리케이션 또는 CLI 내부에서 변환합니다. +- **간결한 배포**: 의존성이 적고 외부 프로세스가 필요하지 않습니다. +- **서버 및 CI 친화적**: 컨테이너, 클라우드 서비스 및 파이프라인에서 실행됩니다. +MiniPdf는 실용적인 문서 변환을 목표로 하며 Microsoft Office 레이아웃을 완전히 재현하지는 않습니다. 복잡한 템플릿은 다르게 렌더링될 수 있으므로 온라인 데모나 벤치마크 보고서로 대표 파일을 평가하세요. + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## 프로젝트 리소스 +| 리소스 | 설명 | +|---|---| +| [온라인 데모](https://mini-software.github.io/MiniPdf/) | 브라우저에서 변환 체험 | +| [.NET 문서](README.nuget.md) | 안정 버전 라이브러리 및 CLI 사용법 | +| [.NET XLSX 벤치마크](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | 스프레드시트 시각 비교 결과 | +| [.NET DOCX 벤치마크](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | 문서 시각 비교 결과 | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | 패키지 및 독립 실행형 바이너리 | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | 버그, 호환성 보고 및 기능 요청 | ## 라이선스 -이 프로젝트는 [Apache License 2.0](../LICENSE)에 따라 라이선스가 부여됩니다. +[Apache License 2.0](../LICENSE)에 따라 제공됩니다. 상업적 사용을 환영합니다. diff --git a/documents/README.nuget.cli.md b/documents/README.nuget.cli.md index 4e1a5c6f..e0a98353 100644 --- a/documents/README.nuget.cli.md +++ b/documents/README.nuget.cli.md @@ -1,9 +1,9 @@ [![NuGet](https://img.shields.io/nuget/v/MiniPdf.Cli.svg)](https://www.nuget.org/packages/MiniPdf.Cli) [![NuGet Downloads](https://img.shields.io/nuget/dt/MiniPdf.Cli.svg)](https://www.nuget.org/packages/MiniPdf.Cli) -[![GitHub stars](https://img.shields.io/github/stars/shps951023/MiniPdf?logo=github)](https://github.com/shps951023/MiniPdf) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/shps951023/MiniPdf/blob/main/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/mini-software/MiniPdf?logo=github)](https://github.com/mini-software/MiniPdf) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/mini-software/MiniPdf/blob/main/LICENSE) -A command-line tool to convert Excel (`.xlsx`), Word (`.docx`), and PowerPoint (`.pptx`) files to PDF. +A command-line tool to convert Excel (`.xlsx`), Word (`.docx`), and PowerPoint (`.pptx`) files to PDF. Powered by [MiniPdf](https://www.nuget.org/packages/MiniPdf) — zero-dependency, pure .NET. ## Install @@ -33,8 +33,12 @@ minipdf report.docx --fonts ./Fonts # Compress PDF content streams for large outputs minipdf data.xlsx --compress +# Reduce memory for large simple XLSX tables using temporary disk storage +minipdf data.xlsx --low-memory --compress + # Render a bounded Excel preview minipdf data.xlsx --max-rows 200 --max-columns 20 --compress + ``` ## Commands @@ -44,12 +48,19 @@ minipdf data.xlsx --max-rows 200 --max-columns 20 --compress | `minipdf ` | Convert `.xlsx` / `.docx` / `.pptx` to PDF | | `minipdf convert -o ` | Convert with explicit output path | | `minipdf convert --compress` | Compress PDF content streams | +| `minipdf data.xlsx --low-memory` | Use opt-in disk-backed XLSX conversion | | `minipdf data.xlsx --max-rows --max-columns ` | Render a bounded Excel preview | | `minipdf --version` | Show version | | `minipdf --help` | Show help | ## Features +`--low-memory` preserves the default conversion path when omitted. It requires +writable OS temporary storage and supports simple XLSX tables only. Unsupported +worksheet features and options produce an explicit error; there is no automatic +high-memory fallback. See the [library guide](README.nuget.md#low-memory-xlsx-conversion-opt-in) +for supported features and limitations. + - No COM, no Office installation, no LibreOffice — runs anywhere .NET runs - Single command, zero config - Custom font registration for headless / container environments @@ -59,5 +70,5 @@ minipdf data.xlsx --max-rows 200 --max-columns 20 --compress ## Links - Library package: [MiniPdf on NuGet](https://www.nuget.org/packages/MiniPdf) -- Source code: https://github.com/shps951023/MiniPdf -- License: [Apache-2.0](https://github.com/shps951023/MiniPdf/blob/main/LICENSE) \ No newline at end of file +- Source code: https://github.com/mini-software/MiniPdf +- License: [Apache-2.0](https://github.com/mini-software/MiniPdf/blob/main/LICENSE) \ No newline at end of file diff --git a/documents/README.nuget.md b/documents/README.nuget.md index ef161cba..79ace9b9 100644 --- a/documents/README.nuget.md +++ b/documents/README.nuget.md @@ -1,13 +1,16 @@ [![NuGet](https://img.shields.io/nuget/v/MiniPdf.svg)](https://www.nuget.org/packages/MiniPdf) [![NuGet Downloads](https://img.shields.io/nuget/dt/MiniPdf.svg)](https://www.nuget.org/packages/MiniPdf) -[![GitHub stars](https://img.shields.io/github/stars/shps951023/MiniPdf?logo=github)](https://github.com/shps951023/MiniPdf) -[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/shps951023/MiniPdf/blob/main/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/mini-software/MiniPdf?logo=github)](https://github.com/mini-software/MiniPdf) +[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/mini-software/MiniPdf/blob/main/LICENSE) -English | [简体中文](README.zh-CN.md) | [繁体中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Italiano](README.it.md) | [Français](README.fr.md) +# MiniPdf for .NET -A minimal, lightweight .NET library for converting office files to PDF. +The stable MiniPdf implementation for converting Office files to PDF from .NET +applications or the command line. +It runs without Microsoft Office, LibreOffice, Adobe Acrobat, or COM automation. -Online Demo: https://mini-software.github.io/MiniPdf/ +[Project home](https://github.com/mini-software/MiniPdf) · +[Online demo](https://mini-software.github.io/MiniPdf/) ## Features @@ -16,6 +19,7 @@ Online Demo: https://mini-software.github.io/MiniPdf/ - PowerPoint to PDF conversion (`.pptx`) - Minimal dependencies — lightweight; relies almost entirely on built-in .NET APIs - Serverless-ready — no COM, no Office installation, no Adobe Acrobat — runs anywhere .NET runs +- .NET library, global tool, and standalone Native AOT binaries - Valid PDF 1.4 output - 100% open-source & free — Apache 2.0 licensed, commercial use welcome; just keep the attribution. PRs & contributions are even better! @@ -28,6 +32,7 @@ dotnet add package MiniPdf ## Usage ```csharp +using System.IO; using MiniSoftware; // Excel to PDF @@ -42,29 +47,141 @@ MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); // File to byte array byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); -// Render selected Excel sheets by name or 1-based index (null renders all sheets) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); +// Render selected Excel sheets by name or 1-based index +MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary", "Details" }, + SheetIndexes = new[] { 1, 3 }, +}); // Stream to byte array using var stream = File.OpenRead("data.xlsx"); byte[] pdfBytesFromStream = MiniPdf.ConvertToPdf(stream); + +// Stream directly to another stream without allocating the complete PDF byte array +stream.Position = 0; +using var output = File.Create("output.pdf"); +MiniPdf.ConvertToPdf(stream, output); ``` +### Conversion Options + +```csharp +MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary", "Details" }, + Compress = true, + FitToPage = true, + Landscape = true, + PrintScale = 70, + RowsPerPage = 80, +}); + +MiniPdf.ConvertToPdf("report.docx", "custom-layout.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` + +Sheet selection and Excel layout options apply to XLSX input. `PageSize` and +`Margins` apply to DOCX input and use PDF points (72 points = 1 inch). `Compress` +controls PDF content-stream compression for every supported format. + +### Low-memory XLSX conversion (opt-in) + +```csharp +using var input = File.OpenRead("large-table.xlsx"); +using var output = File.Create("large-table.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` + +`LowMemory` defaults to `false`; the existing conversion path is unchanged. +The opt-in mode streams worksheet XML to temporary storage, keeps rows and +completed pages on disk, and writes PDF content one page at a time. It reuses +the existing layout and font embedding logic, including Unicode text, cell +styles, number formats, column widths, wrapping and horizontal pagination. +Both file and stream overloads support it. Non-seekable inputs are spooled to +disk instead of memory. Temporary files are deleted when conversion finishes +or fails. + +This first version supports simple tables. It throws `NotSupportedException` +rather than silently falling back for formulas, merged cells, conditional +formatting, drawings/charts/images, Excel tables, hyperlinks, headers/footers, +worksheet extensions, custom/hidden row heights, vertical centering, print +areas/titles, and fit-to-height pagination. Worksheet feature restrictions +apply to the entire workbook, including unselected sheets. `MaxRows`, +`MaxColumns` and `RowsPerPage` are not supported in this mode. + +Use a file or output stream to avoid retaining the final PDF. Overloads that +return `byte[]` still allocate the complete output. Writable OS temporary +storage is required; disk use increases, and extra I/O can slow conversion. This is disk-backed +low-memory conversion, not a single-pass/no-disk pipeline. Offset indexes, +workbook/style metadata and font resources still consume memory proportional +to their size, and a single unusually large row or page can increase the peak. +This mode is not suitable for hosts without writable temporary storage. + +To measure the .NET implementation locally (PowerShell 7 and Python required): + +```powershell +.\scripts\Measure-DotNet-XlsxMemory.ps1 -RowCounts 20000,60000 +``` + +The script runs each mode in a separate process, verifies identical PDF hashes, +records peak working sets and elapsed times under `artifacts/xlsx-low-memory`, +and requires at least a 30% peak working-set reduction on the largest generated +eight-column case. This is a regression benchmark, not a guarantee for every +workbook. + +### Custom Fonts + +Register TrueType `.ttf` or `.ttc` fonts once at application startup when the +host has limited system fonts, such as a container or Blazor WebAssembly app. + +```csharp +MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); +MiniPdf.ConvertToPdf("report.docx", "report.pdf"); +``` + +Registrations are process-wide. `MiniPdf.ClearRegisteredFonts()` removes them when +the same process needs a different font set for a later conversion. + +## Command Line + +Install the .NET global tool: + +```bash +dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +``` + +Standalone Native AOT binaries for Windows, Linux, and macOS are available on +the [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) page. +See the [CLI reference](https://github.com/mini-software/MiniPdf/blob/main/documents/README.nuget.cli.md) +for commands and options. + ## Benchmark -MiniPdf output is compared against LibreOffice as the reference renderer across 373 test cases. +MiniPdf output is compared against Microsoft 365 as the primary reference and +LibreOffice as the auxiliary reference. Use the reports below to evaluate +representative spreadsheets and documents. Detailed reports: -- [XLSX Benchmark Report](https://github.com/mini-software/MiniPdf/blob/main/tests/MiniPdf.Benchmark/reports/comparison_report.md) -- [DOCX Benchmark Report](https://github.com/mini-software/MiniPdf/blob/main/tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) -- [Issue Files Xlsx Report](https://github.com/mini-software/MiniPdf/blob/main/tests/Issue_Files/reports_xlsx/comparison_report.md) -- [Issue Files Docx Report](https://github.com/mini-software/MiniPdf/blob/main/tests/Issue_Files/reports_docx/comparison_report.md) +- [XLSX Benchmark Report](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) +- [DOCX Benchmark Report](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) +- [Issue Files XLSX Report](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=xlsx) +- [Issue Files DOCX Report](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=docx) ## Links -- Source code: https://github.com/shps951023/MiniPdf -- License: [Apache-2.0](https://github.com/shps951023/MiniPdf/blob/main/LICENSE) \ No newline at end of file +- Project portal: https://github.com/mini-software/MiniPdf +- .NET CLI: https://www.nuget.org/packages/MiniPdf.Cli +- API source: https://github.com/mini-software/MiniPdf/blob/main/src/MiniPdf/MiniPdf.cs +- License: [Apache-2.0](https://github.com/mini-software/MiniPdf/blob/main/LICENSE) \ No newline at end of file diff --git a/documents/README.zh-CN.md b/documents/README.zh-CN.md index c558dca4..0bc97463 100644 --- a/documents/README.zh-CN.md +++ b/documents/README.zh-CN.md @@ -1,3344 +1,176 @@ -
+ +**轻量、快速且原生的 Office 转 PDF 库和命令行工具,支持 .NET。** +

NuGet -NuGet 下载次数 -GitHub stars -许可证 -

-

-English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français +GitHub stars +DOI +License

-
- ---- - -一个极简、轻量化的 .NET 库,用于将 Office 文件转换为 PDF。 -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -👉 **[在线演示](https://mini-software.github.io/MiniPdf/)** — 在浏览器中快速体验,无需安装。 +**[在线演示](https://mini-software.github.io/MiniPdf/)** · **[版本发布](https://github.com/mini-software/MiniPdf/releases)** · **[报告问题](https://github.com/mini-software/MiniPdf/issues)** -> ⚠️ 由于浏览器可用字体有限,渲染效果可能不够理想。建议在本地电脑上测试以获得最佳效果。 +你的 Star 或捐赠能让 MiniPdf 变得更好。 ---- +🤝 **寻找共同开发者:**[快速贡献](#quick-contribution) -
-

- QQ群 - - 1群 : 813100564 / - 2群 : 579033769 / - 3群 : 625362917 / - 4群 : 907750429 -

---- -## 功能特性 -- **Excel 转 PDF** — 将 `.xlsx` 文件转换为 PDF -- **Word 转 PDF** — 将 `.docx` 文件转换为 PDF -- **PowerPoint 转 PDF** — 将 `.pptx` 文件转换为 PDF -- **极少依赖** — 轻量化设计,几乎仅使用 .NET 内置 API -- **Serverless 就绪** — 无需 COM、无需安装 Office、无需 Adobe Acrobat — 有 .NET 即可运行 -- **Native AOT** — 预编译独立二进制文件,支持 Windows / Linux / macOS,无需安装 .NET 运行时 -- **标准 PDF 1.4** 格式输出 -- **完全开源免费** — 基于 Apache 2.0 协议,可自由商用,无任何限制,注明出处即可。欢迎提交 PR 一起贡献! -- **图表** — 目前支持尚不完善 +MiniPdf 无需在运行时安装 Microsoft Office、LibreOffice、Adobe Acrobat 或使用 COM 自动化,即可将 Office 文档直接转换为 PDF。 -> **注意:** MiniPdf 目前只能处理基本的转换需求。对于复杂或高度自定义的 Office 文档,转换效果可能不够理想。如果您遇到兼容性问题,欢迎[提交 Issue](https://github.com/shps951023/MiniPdf/issues) 或发起 Pull Request,一起让项目变得更好! +## .NET -## 参考 -- 使用 `Apache POI` + `LibreOffice` 训练参考小模型 -- AI 开发使用 `GitHub Copilot` + `Claude Code` +| 实现 | 输入 | 接口 | 成熟度 | 文档 | 视觉结果 | +|---|---|---|---|---|---| +| .NET | XLSX、DOCX、PPTX | 库、CLI、Native AOT 二进制文件 | 稳定 | **[.NET 指南](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | ## 快速开始 -### 通过 NuGet 安装 +### .NET ```bash dotnet add package MiniPdf ``` -## 使用方式 - -```csharp -using MiniSoftware; - -// Excel 转 PDF -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word 转 PDF -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint 转 PDF -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// 文件转字节数组 -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// 按名称或 1-based 索引渲染指定的 Excel 工作表(null 会渲染所有工作表) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// 压缩并调整大型或宽 Excel 工作表的版面 -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// 流转字节数组 -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## 自定义字体 - -如果运行环境系统字体有限(例如容器或 Blazor WASM),请在转换前先注册字体。 - ```csharp using MiniSoftware; -// 建议在应用启动时注册一个或多个字体 -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -说明: - -- 支持传入 TrueType `.ttf` 和 TrueType Collection `.ttc` 字体字节。 -- 建议仅在启动阶段注册一次,避免重复注册。 -- 已注册字体会优先于系统字体参与匹配。 +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -## 命令行工具 - -MiniPdf 还提供命令行工具 **MiniPdf.Cli**,无需编写代码即可快速转换文件。 +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### 安装 +命令行用法: ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### 使用方式 - -```bash -# 将 Excel 转为 PDF(输出: data.pdf) -minipdf data.xlsx - -# 将 Word 转为 PDF -minipdf report.docx - -# 将 PowerPoint 转为 PDF -minipdf slides.pptx - -# 指定输出路径 -minipdf report.docx -o /path/to/output.pdf - -# 注册自定义字体(适用于容器/无头环境) -minipdf report.docx --fonts ./Fonts +使用方式请查看 [.NET 指南](README.nuget.md) -# 按名称或 1-based 索引渲染指定的 Excel 工作表 -minipdf data.xlsx --sheets Summary,2 +## Usage examples -# 为大型输出压缩 PDF 内容流 -minipdf data.xlsx --compress +### Convert streams -# 渲染有边界的 Excel 预览 -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# 调整大型或宽 Excel 工作表的版面 -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# 目标是每页容纳更多工作表行 -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### 命令说明 - -| 命令 | 说明 | -|---------|-------------| -| `minipdf ` | 将 `.xlsx` / `.docx` / `.pptx` 转换为 PDF | -| `minipdf convert -o ` | 转换并指定输出路径 | -| `minipdf convert --compress` | 压缩 PDF 内容流 | -| `minipdf data.xlsx --max-rows --max-columns ` | 渲染有边界的 Excel 预览 | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | 适配并缩放 Excel 版面 | -| `minipdf data.xlsx --rows-per-page ` | 目标是每页容纳更多 Excel 行 | -| `minipdf --version` | 显示版本 | -| `minipdf --help` | 显示帮助 | - -### Native AOT 独立二进制文件 - -MiniPdf.Cli 支持 **Native AOT**(Ahead-of-Time,预编译)— 在构建阶段将 C# 代码直接编译为原生机器码,如同 C/C++ 编译一样,生成独立的可执行文件。运行时无需 .NET 运行时或 JIT 编译器。 - -**优势:** - -- **零依赖** — 目标机器无需安装 .NET SDK 或运行时 -- **即时启动** — 原生机器码,无 JIT 预热 -- **体积小巧** — 单文件二进制,便于分发和部署 -- **CI/CD 友好** — 下载即可运行,无需在流水线中安装 .NET - -**下载:** 从 [GitHub Releases](https://github.com/shps951023/MiniPdf/releases) 页面下载对应平台的二进制文件。 - -| 平台 | 文件 | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**使用方式(Linux / macOS 示例):** +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -```bash -# 下载并解压 -tar -xzf minipdf-linux-x64.tar.gz - -# 转换 -./minipdf report.docx -o report.pdf -``` +### Select Excel sheets and control layout -**使用方式(Windows 示例):** +```csharp +using MiniSoftware; -```powershell -# 解压 zip 后运行 -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## 基准测试 - -MiniPdf 的输出与 MiniExcel 及 Office 365 作为参考渲染器进行对比,共 **373 个测试用例**。 - -| 报告 | 用例数 | 🟢 优秀 (≥90%) | 🟡 可接受 (70%–90%) | 🔴 待改进 (<70%) | 平均分 | -|---|---|---|---|---|---| -| XLSX 转 PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX 转 PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX 文件 | 2 | 1 | 1 | 0 | 83.8% | -| **合计** | **373** | **354** | **19** | **0** | **97.2%** | - -评分方式:文本相似度 40% + 视觉相似度 40% + 页数 20% +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### 详细对比报告 +### Set Word page size and margins -- [XLSX 基准测试报告](tests/MiniPdf.Benchmark/reports/comparison_report.md) — XLSX 转换测试用例 -- [DOCX 基准测试报告](tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — DOCX 转换测试用例 -- [Issue XLSX 文件报告](tests/Issue_Files/reports_xlsx/comparison_report.md) — 实际 Issue 文件测试用例 -- [Issue DOCX 文件报告](tests/Issue_Files/reports_docx/comparison_report.md) — 实际 Issue 文件测试用例 - -### 视觉对比 - -所有测试用例对比 MiniPdf 输出与 MiniExcel / Office 365 参考。多页结果仅显示第 1 页。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365(参考)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### DOCX 基准测试 - -MiniPdf DOCX 的输出与 MiniExcel 及 Office 365 作为参考渲染器进行对比,涵盖 **180 个经典测试用例**。 - -| 类别 | 数量 | 阈值 | -|---|---|---| -| 🟢 优秀 | 175 | ≥ 90% | -| 🟡 可接受 | 16 | 70% – 90% | -| 🔴 待改进 | 0 | < 70% | - -**整体平均分: 96.9%**(文本相似度 40% + 视觉相似度 40% + 页数 20%) - -#### DOCX 视觉对比 +```csharp +using MiniSoftware; -所有 DOCX 测试用例对比 MiniPdf 输出与 MiniExcel / Office 365 参考。多页结果仅显示第 1 页。 +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## 为什么选择 MiniPdf +- **无需 Office 套件**:转换直接在应用程序或 CLI 内运行。 +- **部署精简**:依赖少,无需外部进程。 +- **适合服务器与 CI**:可用于容器、云服务和流水线。 +MiniPdf 专注于实用文档转换,不追求完全复制 Microsoft Office 版式。复杂模板的渲染可能有所不同,请使用在线演示或基准报告评估代表性文件。 + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## 项目资源 +| 资源 | 说明 | +|---|---| +| [在线演示](https://mini-software.github.io/MiniPdf/) | 在浏览器中试用转换 | +| [.NET 文档](README.nuget.md) | 稳定版库与 CLI 用法 | +| [.NET XLSX 基准](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | 电子表格视觉比较结果 | +| [.NET DOCX 基准](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | 文档视觉比较结果 | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | 软件包与独立二进制文件 | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | 缺陷、兼容性报告和功能建议 | ## 许可证 -本项目基于 [Apache License 2.0](LICENSE) 授权。 +采用 [Apache License 2.0](../LICENSE)。欢迎商业使用。 diff --git a/documents/README.zh-TW.md b/documents/README.zh-TW.md index 2dfe7073..032ee40a 100644 --- a/documents/README.zh-TW.md +++ b/documents/README.zh-TW.md @@ -1,3330 +1,176 @@ -
+ +**輕量、快速且原生的 Office 轉 PDF 程式庫與命令列工具,支援 .NET。** +

NuGet -NuGet 下載次數 -GitHub stars -授權條款 +GitHub stars +DOI +License

-

+ English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Italiano | Français -

-
---- +**[線上展示](https://mini-software.github.io/MiniPdf/)** · **[版本發布](https://github.com/mini-software/MiniPdf/releases)** · **[回報問題](https://github.com/mini-software/MiniPdf/issues)** -一個極簡、輕量化的 .NET 函式庫,用於將 Office 檔案轉換為 PDF。 +你的 Star 或捐款能讓 MiniPdf 更好。 -
-MiniPdf Demo — Excel/Word/PowerPoint to PDF conversion -
+🤝 **尋找共同開發者:**[快速貢獻](#quick-contribution) -👉 **[線上示範](https://mini-software.github.io/MiniPdf/)** — 在瀏覽器中快速體驗,無需安裝。 + -> ⚠️ 由於瀏覽器可用字體有限,渲染效果可能不夠理想。建議在本地電腦上測試以獲得最佳效果。 -## 功能特色 -- **Excel 轉 PDF** — 將 `.xlsx` 檔案轉換為 PDF -- **Word 轉 PDF** — 將 `.docx` 檔案轉換為 PDF -- **PowerPoint 轉 PDF** — 將 `.pptx` 檔案轉換為 PDF -- **極少相依性** — 輕量化設計,幾乎僅使用 .NET 內建 API -- **Serverless 就緒** — 無需 COM、無需安裝 Office、無需 Adobe Acrobat — 有 .NET 即可運行 -- **Native AOT** — 預編譯獨立二進位檔,支援 Windows / Linux / macOS,無需安裝 .NET 執行階段 -- **標準 PDF 1.4** 格式輸出 -- **完全開源免費** — 基於 Apache 2.0 授權,可自由商用,無任何限制,註明出處即可。歡迎提交 PR 一起貢獻! -- **圖表** — 目前支援尚不完善 +MiniPdf 不需要在執行階段安裝 Microsoft Office、LibreOffice、Adobe Acrobat 或使用 COM 自動化,即可直接將 Office 文件轉換為 PDF。 -> **注意:** MiniPdf 目前只能處理基本的轉換需求。對於複雜或高度自訂的 Office 文件,轉換結果可能不夠理想。如果您遇到相容性問題,歡迎[提交 Issue](https://github.com/shps951023/MiniPdf/issues) 或發起 Pull Request,一起讓專案變得更好! +## .NET -## 參考 -- 使用 `Apache POI` + `LibreOffice` 訓練參考小模型 -- AI 開發使用 `GitHub Copilot` + `Claude Code` +| 實作 | 輸入 | 介面 | 成熟度 | 文件 | 視覺結果 | +|---|---|---|---|---|---| +| .NET | XLSX、DOCX、PPTX | 程式庫、CLI、Native AOT 二進位檔 | 穩定 | **[.NET 指南](README.nuget.md)** | **[XLSX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx)**
**[DOCX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx)**
**[PPTX](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=issue&format=pptx)** | ## 快速開始 -### 透過 NuGet 安裝 +### .NET ```bash dotnet add package MiniPdf ``` -## 使用方式 - -```csharp -using MiniSoftware; - -// Excel 轉 PDF -MiniPdf.ConvertToPdf("data.xlsx", "output.pdf"); - -// Word 轉 PDF -MiniPdf.ConvertToPdf("report.docx", "output.pdf"); - -// PowerPoint 轉 PDF -MiniPdf.ConvertToPdf("slides.pptx", "output.pdf"); - -// 檔案轉位元組陣列 -byte[] pdfBytes = MiniPdf.ConvertToPdf("data.xlsx"); - -// 依名稱或 1-based 索引渲染指定的 Excel 工作表(null 會渲染所有工作表) -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheets: new[] { "Summary", "Details" }); -MiniPdf.ConvertToPdf("data.xlsx", "selected.pdf", sheetIndexes: new[] { 1, 3 }); - -// 壓縮並調整大型或寬 Excel 工作表的版面 -MiniPdf.ConvertToPdf("data.xlsx", "compact.pdf", new MiniPdfConversionOptions -{ - Compress = true, - FitToPage = true, - Landscape = true, - PrintScale = 70, - RowsPerPage = 80, -}); - -// 串流轉位元組陣列 -using var stream = File.OpenRead("data.xlsx"); -byte[] pdfBytes = MiniPdf.ConvertToPdf(stream); -``` - -## 自訂字體 - -如果執行環境的系統字體有限(例如容器或 Blazor WASM),請在轉換前先註冊字體。 - ```csharp using MiniSoftware; -// 建議在應用程式啟動時註冊一個或多個字體 -MiniPdf.RegisterFont("NotoSansSC", File.ReadAllBytes("Fonts/NotoSansSC-Regular.ttf")); -MiniPdf.RegisterFont("NotoColorEmoji", File.ReadAllBytes("Fonts/NotoColorEmoji.ttf")); - +MiniPdf.ConvertToPdf("workbook.xlsx", "workbook.pdf"); MiniPdf.ConvertToPdf("report.docx", "report.pdf"); -``` - -說明: - -- 支援傳入 TrueType `.ttf` 與 TrueType Collection `.ttc` 字體位元組。 -- 建議只在啟動階段註冊一次,避免重複註冊。 -- 已註冊字體會優先於系統字體進行匹配。 - -## 命令列工具 +MiniPdf.ConvertToPdf("slides.pptx", "slides.pdf"); -MiniPdf 還提供命令列工具 **MiniPdf.Cli**,無需撰寫程式碼即可快速轉換檔案。 +byte[] pdfBytes = MiniPdf.ConvertToPdf("report.docx"); +``` -### 安裝 +命令列用法: ```bash dotnet tool install --global MiniPdf.Cli +minipdf report.docx -o report.pdf +minipdf workbook.xlsx -o workbook.pdf --compress +minipdf slides.pptx -o slides.pdf +minipdf --help ``` -### 使用方式 - -```bash -# 將 Excel 轉為 PDF(輸出: data.pdf) -minipdf data.xlsx - -# 將 Word 轉為 PDF -minipdf report.docx - -# 將 PowerPoint 轉為 PDF -minipdf slides.pptx +使用方式請參閱 [.NET 指南](README.nuget.md)。 -# 指定輸出路徑 -minipdf report.docx -o /path/to/output.pdf +## Usage examples -# 註冊自訂字體(適用於容器/無頭環境) -minipdf report.docx --fonts ./Fonts +### Convert streams -# 依名稱或 1-based 索引渲染指定的 Excel 工作表 -minipdf data.xlsx --sheets Summary,2 - -# 為大型輸出壓縮 PDF 內容串流 -minipdf data.xlsx --compress - -# 渲染有範圍限制的 Excel 預覽 -minipdf data.xlsx --max-rows 200 --max-columns 20 --compress - -# 調整大型或寬 Excel 工作表的版面 -minipdf data.xlsx --fit-to-page --landscape --scale 70 +```csharp +using System.IO; +using MiniSoftware; -# 目標是每頁容納更多工作表列 -minipdf data.xlsx --rows-per-page 80 --compress +using var input = File.OpenRead("report.docx"); +using var output = File.Create("stream-output.pdf"); +MiniPdf.ConvertToPdf(input, output); ``` -### 命令說明 +Dispose the input and output streams in the calling code. Use the overload returning +`byte[]` when an in-memory result is needed. -| 命令 | 說明 | -|---------|-------------| -| `minipdf ` | 將 `.xlsx` / `.docx` / `.pptx` 轉換為 PDF | -| `minipdf convert -o ` | 轉換並指定輸出路徑 | -| `minipdf convert --compress` | 壓縮 PDF 內容串流 | -| `minipdf data.xlsx --max-rows --max-columns ` | 渲染有範圍限制的 Excel 預覽 | -| `minipdf data.xlsx --fit-to-page --landscape --scale ` | 適配並縮放 Excel 版面 | -| `minipdf data.xlsx --rows-per-page ` | 目標是每頁容納更多 Excel 列 | -| `minipdf --version` | 顯示版本 | -| `minipdf --help` | 顯示說明 | +### Select Excel sheets and control layout -### Native AOT 獨立二進位檔 - -MiniPdf.Cli 支援 **Native AOT**(Ahead-of-Time,預編譯)— 在建置階段將 C# 程式碼直接編譯為原生機器碼,如同 C/C++ 編譯一樣,產生獨立的可執行檔。執行時無需 .NET 執行階段或 JIT 編譯器。 - -**優勢:** - -- **零相依性** — 目標機器無需安裝 .NET SDK 或執行階段 -- **即時啟動** — 原生機器碼,無 JIT 預熱 -- **體積精巧** — 單檔二進位,便於散佈和部署 -- **CI/CD 友善** — 下載即可執行,無需在流水線中安裝 .NET - -**下載:** 從 [GitHub Releases](https://github.com/shps951023/MiniPdf/releases) 頁面下載對應平台的二進位檔。 - -| 平台 | 檔案 | -|----------|------| -| Windows x64 | `minipdf-win-x64.zip` | -| Windows ARM64 | `minipdf-win-arm64.zip` | -| Linux x64 | `minipdf-linux-x64.tar.gz` | -| Linux ARM64 | `minipdf-linux-arm64.tar.gz` | -| macOS x64 | `minipdf-osx-x64.tar.gz` | -| macOS ARM64 (Apple Silicon) | `minipdf-osx-arm64.tar.gz` | - -**使用方式(Linux / macOS 範例):** - -```bash -# 下載並解壓 -tar -xzf minipdf-linux-x64.tar.gz - -# 轉換 -./minipdf report.docx -o report.pdf -``` - -**使用方式(Windows 範例):** +```csharp +using MiniSoftware; -```powershell -# 解壓 zip 後執行 -.\minipdf.exe report.docx -o report.pdf +MiniPdf.ConvertToPdf("workbook.xlsx", "summary.pdf", new MiniPdfConversionOptions +{ + Sheets = new[] { "Summary" }, + Landscape = true, + FitToPage = true, + Compress = true, +}); ``` -## 基準測試 - -MiniPdf 的輸出與 MiniExcel 及 Office 365 作為參考渲染器進行對比,共 **373 個測試案例**。 - -| 報告 | 案例數 | 🟢 優秀 (≥90%) | 🟡 可接受 (70%–90%) | 🔴 待改進 (<70%) | 平均分 | -|---|---|---|---|---|---| -| XLSX 轉 PDF | 191 | 175 | 16 | 0 | 96.9% | -| DOCX 轉 PDF | 180 | 178 | 2 | 0 | 97.6% | -| Issue XLSX 檔案 | 2 | 1 | 1 | 0 | 83.8% | -| **合計** | **373** | **354** | **19** | **0** | **97.2%** | - -評分方式:文字相似度 40% + 視覺相似度 40% + 頁數 20% - -### 詳細對比報告 - -- [XLSX 基準測試報告](../tests/MiniPdf.Benchmark/reports/comparison_report.md) — XLSX 轉換測試案例 -- [DOCX 基準測試報告](../tests/MiniPdf.Benchmark/reports_docx/comparison_report.md) — DOCX 轉換測試案例 -- [Issue XLSX 檔案報告](../tests/Issue_Files/reports_xlsx/comparison_report.md) — 實際 Issue 檔案測試案例 -- [Issue DOCX 檔案報告](../tests/Issue_Files/reports_docx/comparison_report.md) — 實際 Issue 檔案測試案例 +Sheet names, 1-based `SheetIndexes`, orientation, print scale, and fit-to-page +options apply to XLSX input. See the [conversion options](README.nuget.md#conversion-options) +for the complete list. -### 視覺對比 +### Set Word page size and margins -所有測試案例對比 MiniPdf 輸出與 MiniExcel / Office 365 參考。多頁結果僅顯示第 1 頁。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365(參考)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic151Multilingual greetings 🟢 93.5%
classic152Emoji sampler 🟢 91.1%
classic153Currency symbols 🟢 98.5%
classic154Math symbols 🟢 95.7%
classic155Diacritical marks 🟢 99.8%
classic156Rtl bidi text 🟡 84.0%
classic157Cjk extended 🟢 91.3%
classic158Emoji skin tones 🟢 99.3%
classic159Zwj emoji 🟢 90.6%
classic160Punctuation marks 🟢 94.4%
classic161Box drawing 🟢 95.0%
classic162Cjk emoji styled 🟡 86.5%
classic163Cyrillic alphabets 🟢 99.6%
classic164Indic scripts 🟡 87.4%
classic165Southeast asian 🟢 96.0%
classic166Emoji progress 🟢 98.6%
classic167Musical symbols 🟢 90.0%
classic168Mixed ltr rtl styled 🟢 94.5%
classic169Korean invoice 🟡 88.4%
classic170Emoji dashboard 🟢 96.3%
classic171Ipa phonetic 🟢 97.6%
classic172Emoji timeline 🟢 95.3%
classic173African languages 🟢 90.8%
classic174Technical symbols 🟢 94.4%
classic175Multiscript catalog 🟢 92.6%
classic176Combining characters 🟢 94.5%
classic177Emoji calendar 🟡 88.4%
classic178Caucasus ethiopic 🟢 96.9%
classic179Emoji inventory 🟢 91.0%
classic180Polyglot paragraph 🟢 93.6%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
- - - -### DOCX 基準測試 - -MiniPdf DOCX 的輸出與 MiniExcel 及 Office 365 作為參考渲染器進行對比,涵蓋 **180 個經典測試案例**。 - -| 類別 | 數量 | 閾值 | -|---|---|---| -| 🟢 優秀 | 175 | ≥ 90% | -| 🟡 可接受 | 16 | 70% – 90% | -| 🔴 待改進 | 0 | < 70% | - -**整體平均分: 96.9%**(文字相似度 40% + 視覺相似度 40% + 頁數 20%) - -#### DOCX 視覺對比 +```csharp +using MiniSoftware; -所有 DOCX 測試案例對比 MiniPdf 輸出與 MiniExcel / Office 365 參考。多頁結果僅顯示第 1 頁。 +MiniPdf.ConvertToPdf("report.docx", "a4-report.pdf", new MiniPdfConversionOptions +{ + PageSize = MiniPdfPageSize.A4, + Margins = new MiniPdfMargins(left: 36, top: 48, right: 36, bottom: 48), +}); +``` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfMiniExcel / Office 365 (Reference)
classic01Basic table with headers 🟢 99.9%
classic02Multiple worksheets 🟢 99.8%
classic03Empty workbook 🟢 100.0%
classic04Single cell 🟢 100.0%
classic05Wide table 🟢 99.8%
classic06Tall table 🟢 97.8%
classic07Numbers only 🟢 100.0%
classic08Mixed text and numbers 🟢 99.9%
classic09Long text 🟢 98.4%
classic10Special xml characters 🟢 99.9%
classic11Sparse rows 🟢 100.0%
classic12Sparse columns 🟢 99.9%
classic13Date strings 🟢 99.9%
classic14Decimal numbers 🟢 99.9%
classic15Negative numbers 🟢 99.9%
classic16Percentage strings 🟢 99.4%
classic17Currency strings 🟢 99.9%
classic18Large dataset 🟢 95.7%
classic19Single column list 🟢 99.9%
classic20All empty cells 🟢 100.0%
classic21Header only 🟢 99.9%
classic22Long sheet name 🟢 99.9%
classic23Unicode text 🟢 91.3%
classic24Red text 🟢 99.9%
classic25Multiple colors 🟢 99.8%
classic26Inline strings 🟢 99.9%
classic27Single row 🟢 99.9%
classic28Duplicate values 🟢 99.9%
classic29Formula results 🟢 99.9%
classic30Mixed empty and filled sheets 🟢 100.0%
classic31Bold header row 🟢 99.9%
classic31Bold header row 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic32Right aligned numbers 🟢 99.9%
classic33Centered text 🟢 99.9%
classic33Centered text 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic34Explicit column widths 🟢 99.9%
classic35Explicit row heights 🟢 99.5%
classic35Explicit row heights 🟢 99.5%
classic36Merged cells 🟢 99.9%
classic36Merged cells 🟢 99.9%
classic37Freeze panes 🟢 99.6%
classic37Freeze panes 🟢 99.6%
classic38Hyperlink cell 🟢 99.9%
classic38Hyperlink cell 🟢 99.9%
classic39Financial table 🟢 99.8%
classic39Financial table 🟢 99.8%
classic40Scientific notation 🟢 99.9%
classic40Scientific notation 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic41Integer vs float 🟢 99.9%
classic42Boolean values 🟢 99.6%
classic42Boolean values 🟢 99.6%
classic43Inventory report 🟢 99.5%
classic43Inventory report 🟢 99.5%
classic44Employee roster 🟢 98.0%
classic44Employee roster 🟢 98.0%
classic45Sales by region 🟢 99.9%
classic45Sales by region 🟢 99.9%
classic46Grade book 🟢 99.6%
classic46Grade book 🟢 99.6%
classic47Time series 🟢 99.3%
classic47Time series 🟢 99.3%
classic48Survey results 🟢 99.6%
classic48Survey results 🟢 99.6%
classic49Contact list 🟢 98.5%
classic49Contact list 🟢 98.5%
classic50Budget vs actuals 🟢 99.6%
classic50Budget vs actuals 🟢 99.6%
classic51Product catalog 🟢 98.5%
classic51Product catalog 🟢 98.5%
classic52Pivot summary 🟢 99.6%
classic52Pivot summary 🟢 99.6%
classic53Invoice 🟢 99.5%
classic53Invoice 🟢 99.5%
classic54Multi level header 🟢 99.8%
classic54Multi level header 🟢 99.8%
classic55Error values 🟢 99.8%
classic55Error values 🟢 99.8%
classic56Alternating row colors 🟢 99.6%
classic56Alternating row colors 🟢 99.6%
classic57Cjk only 🟢 91.1%
classic57Cjk only 🟢 91.1%
classic58Mixed numeric formats 🟢 99.5%
classic58Mixed numeric formats 🟢 99.5%
classic59Multi sheet summary 🟢 99.9%
classic59Multi sheet summary 🟢 99.9%
classic60Large wide table 🟢 97.4%
classic60Large wide table 🟢 97.4%
classic61Product card with image 🟢 99.9%
classic62Company logo header 🟢 99.6%
classic63Two products side by side 🟢 99.8%
classic64Employee directory with photo 🟢 99.1%
classic65Inventory with product photos 🟢 99.4%
classic66Invoice with logo 🟢 99.2%
classic67Real estate listing 🟢 99.8%
classic68Restaurant menu 🟢 98.6%
classic69Image only sheet 🟢 100.0%
classic70Product catalog with images 🟢 99.2%
classic71Multi sheet with images 🟢 99.8%
classic72Bar chart image with data 🟢 99.5%
classic73Event flyer with banner 🟢 99.6%
classic74Dashboard with kpi image 🟢 97.9%
classic75Certificate with seal 🟢 99.5%
classic76Product image grid 🟢 99.7%
classic77News article with hero image 🟢 99.6%
classic78Small icon per row 🟢 99.2%
classic79Wide panoramic banner 🟢 99.8%
classic80Portrait tall image 🟢 99.8%
classic81Step by step with images 🟢 99.7%
classic82Before after images 🟢 99.4%
classic83Color swatch palette 🟢 99.4%
classic84Travel destination cards 🟢 99.6%
classic85Lab results with image 🟢 99.2%
classic86Software screenshot features 🟢 98.7%
classic87Sports results with logos 🟢 99.8%
classic88Image after data 🟢 99.7%
classic89Nutrition label with image 🟢 99.5%
classic90Project status with milestones 🟢 99.0%
classic91Simple bar chart 🟢 96.6%
classic92Horizontal bar chart 🟢 96.9%
classic93Line chart 🟢 93.2%
classic94Pie chart 🟢 97.2%
classic95Area chart 🟡 76.4%
classic96Scatter chart 🟢 94.8%
classic97Doughnut chart 🟢 97.5%
classic98Radar chart 🟢 95.1%
classic99Bubble chart 🟢 92.0%
classic100Stacked bar chart 🟢 95.0%
classic101Percent stacked bar 🟢 93.6%
classic102Line chart with markers 🟢 93.0%
classic103Pie chart with labels 🟡 86.9%
classic104Combo bar line chart 🟡 81.6%
classic1053d bar chart 🟡 85.8%
classic1063d pie chart 🟢 96.7%
classic107Multi series line 🟡 80.6%
classic108Stacked area chart 🟢 94.4%
classic109Scatter with trendline 🟢 92.3%
classic110Chart with legend 🟡 84.7%
classic111Chart with axis labels 🟢 92.1%
classic112Multiple charts 🟡 85.4%
classic113Chart sheet 🟡 86.4%
classic114Chart large dataset 🟢 91.6%
classic115Chart negative values 🟢 92.1%
classic116Percent stacked area 🟢 93.8%
classic117Stock ohlc chart 🟡 80.9%
classic118Bar chart custom colors 🟢 95.5%
classic119Dashboard multi charts 🟢 92.1%
classic120Chart with date axis 🟡 76.1%
classic121Thin borders 🟢 99.7%
classic122Thick outer thin inner 🟢 99.6%
classic123Dashed borders 🟢 99.1%
classic124Colored borders 🟢 99.7%
classic125Solid fills 🟢 99.2%
classic126Dark header 🟢 99.5%
classic127Font styles 🟢 99.6%
classic128Font sizes 🟢 99.0%
classic129Alignment combos 🟢 99.8%
classic130Wrap and indent 🟢 99.5%
classic131Number formats 🟢 99.6%
classic132Striped table 🟢 99.0%
classic133Gradient rows 🟢 99.6%
classic134Heatmap 🟢 98.8%
classic135Bottom border only 🟢 99.8%
classic136Financial report styled 🟢 99.3%
classic137Checkerboard 🟢 98.4%
classic138Color grid 🟢 99.4%
classic139Pattern fills 🟢 99.2%
classic140Rotated text 🟢 98.1%
classic141Mixed edge borders 🟢 99.7%
classic142Styled invoice 🟢 98.3%
classic143Colored tabs 🟢 100.0%
classic144Note style cells 🟢 99.6%
classic145Status badges 🟢 99.1%
classic146Double border table 🟢 99.6%
classic147Multi sheet styled 🟢 99.7%
classic148Frozen styled grid 🟢 97.3%
classic149Merged styled sections 🟢 98.7%
classic150Kitchen sink styles 🟢 97.5%
classic181Feedback tracker with images 🟢 99.4%
classic182Dense long text columns 🟢 96.5%
classic183Mixed content grid 🟢 99.4%
classic184Wide narrow columns 🟢 98.4%
classic185Tall rows vertical align 🟢 99.7%
classic186Multi sheet image report 🟢 99.6%
classic187Bug report with screenshots 🟢 98.2%
classic188Merged header with images 🟢 99.5%
classic189Alternating image text rows 🟢 95.3%
classic190Dashboard kpi images 🟢 99.5%
classic191Payroll calculator 🟡 89.5%
+`PageSize` and `Margins` apply to DOCX input. Dimensions use PDF points: +72 points equal one inch. They do not override XLSX worksheet or PPTX slide sizes. - +### Reduce memory for large, simple Excel tables +```csharp +using System.IO; +using MiniSoftware; +using var input = File.OpenRead("workbook.xlsx"); +using var output = File.Create("low-memory.pdf"); +MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions +{ + LowMemory = true, + Compress = true, +}); +``` +Low-memory XLSX conversion requires writable temporary storage. Features such +as formulas, merged cells, and drawings are unsupported and return an error; there is no +automatic fallback. Read the [supported features and limitations](README.nuget.md#low-memory-xlsx-conversion-opt-in) +before enabling it. Returning `byte[]` still retains the complete PDF in memory. +### Provide fonts for headless hosts +```csharp +using System.IO; +using MiniSoftware; +MiniPdf.RegisterFont("Arial", File.ReadAllBytes(Path.Combine("Fonts", "arial.ttf"))); +MiniPdf.ConvertToPdf("report.docx", "font-report.pdf"); +``` +Supply licensed `.ttf` or `.ttc` files that contain the required glyphs. +Register fonts once at application startup: registrations are process-wide. +MiniPdf does not distribute these font files. +See the [.NET library guide](README.nuget.md) and +[CLI reference](README.nuget.cli.md) for more examples and options. +## 為什麼選擇 MiniPdf +- **不需要 Office 套件**:轉換直接在應用程式或 CLI 內執行。 +- **精簡部署**:相依套件少,不需要外部程序。 +- **適合伺服器與 CI**:可用於容器、雲端服務與工作流程。 +MiniPdf 專注於實用文件轉換,不追求完整複製 Microsoft Office 版面。複雜範本的呈現可能不同,請使用線上展示或基準報告評估代表性檔案。 + +## Contributing +Submit changes through [pull requests](https://github.com/mini-software/MiniPdf/pulls). +For bug reports, include a small input file and the steps needed to reproduce the problem. +## 專案資源 +| 資源 | 說明 | +|---|---| +| [線上展示](https://mini-software.github.io/MiniPdf/) | 在瀏覽器中試用轉換 | +| [.NET 文件](README.nuget.md) | 穩定版程式庫與 CLI 用法 | +| [.NET XLSX 基準](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=xlsx) | 試算表視覺比較結果 | +| [.NET DOCX 基準](https://mini-software.github.io/minipdf-web-page/?language=dotnet&suite=classic&format=docx) | 文件視覺比較結果 | +| [GitHub Releases](https://github.com/mini-software/MiniPdf/releases) | 套件與獨立二進位檔 | +| [Issues](https://github.com/mini-software/MiniPdf/issues) | 錯誤、相容性報告與功能建議 | -## 授權條款 +## 授權 -本專案基於 [Apache License 2.0](../LICENSE) 授權。 +採用 [Apache License 2.0](../LICENSE)。歡迎商業使用。 diff --git a/minipdf-rs/Cargo.lock b/minipdf-rs/Cargo.lock deleted file mode 100644 index 97a7f3b9..00000000 --- a/minipdf-rs/Cargo.lock +++ /dev/null @@ -1,375 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "adler2" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" - -[[package]] -name = "anstream" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" - -[[package]] -name = "anstyle-parse" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys", -] - -[[package]] -name = "arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" -dependencies = [ - "derive_arbitrary", -] - -[[package]] -name = "bumpalo" -version = "3.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "clap" -version = "4.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" - -[[package]] -name = "colorchoice" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" - -[[package]] -name = "crc32fast" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" - -[[package]] -name = "derive_arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "displaydoc" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "flate2" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "hashbrown" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "indexmap" -version = "2.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - -[[package]] -name = "log" -version = "0.4.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" - -[[package]] -name = "memchr" -version = "2.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4" - -[[package]] -name = "minipdf" -version = "0.1.0" -dependencies = [ - "roxmltree", - "thiserror", - "zip", -] - -[[package]] -name = "minipdf-cli" -version = "0.1.0" -dependencies = [ - "clap", - "minipdf", -] - -[[package]] -name = "miniz_oxide" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" -dependencies = [ - "adler2", - "simd-adler32", -] - -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - -[[package]] -name = "proc-macro2" -version = "1.0.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "roxmltree" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" - -[[package]] -name = "simd-adler32" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "syn" -version = "2.0.118" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "thiserror" -version = "2.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "unicode-ident" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "windows-sys" -version = "0.61.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" -dependencies = [ - "windows-link", -] - -[[package]] -name = "zip" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50" -dependencies = [ - "arbitrary", - "crc32fast", - "crossbeam-utils", - "displaydoc", - "flate2", - "indexmap", - "memchr", - "thiserror", - "zopfli", -] - -[[package]] -name = "zopfli" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249" -dependencies = [ - "bumpalo", - "crc32fast", - "log", - "simd-adler32", -] diff --git a/minipdf-rs/Cargo.toml b/minipdf-rs/Cargo.toml deleted file mode 100644 index fbc6efb0..00000000 --- a/minipdf-rs/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[workspace] -members = [ - "crates/minipdf", - "crates/minipdf-cli", -] -resolver = "2" - -[workspace.package] -version = "0.1.0" -edition = "2021" -license = "Apache-2.0" -repository = "https://github.com/mini-software/MiniPdf" - -[workspace.dependencies] -clap = { version = "4.5", features = ["derive"] } -roxmltree = "0.20" -thiserror = "2" -zip = { version = "2.2", default-features = false, features = ["deflate"] } \ No newline at end of file diff --git a/minipdf-rs/README.md b/minipdf-rs/README.md deleted file mode 100644 index 773b1b3d..00000000 --- a/minipdf-rs/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# MiniPdf Rust - -This directory contains the experimental Rust implementation of MiniPdf. It is an independent Rust workspace with a reusable `minipdf` library crate and a `minipdf` CLI binary. - -The first implementation focuses on proving the end-to-end shape: detect `.xlsx` and `.docx` ZIP packages, extract basic workbook/document text, render simple PDF pages, and keep the CLI close to the existing .NET tool. - -## Layout - -```text -minipdf-rs/ -├── Cargo.toml -└── crates/ - ├── minipdf/ # Library API and conversion engine - └── minipdf-cli/ # CLI binary named minipdf -``` - -## Commands - -```powershell -cd minipdf-rs -cargo fmt --check -cargo clippy --workspace --all-targets -- -D warnings -cargo test --workspace -cargo run -p minipdf-cli -- convert path\to\input.xlsx -o output.pdf -cargo run -p minipdf-cli -- path\to\input.docx -``` - -## Current Scope - -- Supports `.xlsx` and `.docx` package detection. -- Extracts shared strings and basic worksheet cell values from `.xlsx`. -- Extracts paragraph text from `.docx`. -- Writes valid PDF 1.4 files using built-in Helvetica fonts. -- Supports the existing CLI shape: shorthand input, `convert`, `-o/--output`, and `--fonts`. - -## Known Gaps - -This is not yet feature-equivalent with the .NET implementation. The next quality milestones are Unicode font embedding, XLSX styles/merged cells/page setup, DOCX table/style/layout support, images, and benchmark integration against the existing LibreOffice comparison pipeline. \ No newline at end of file diff --git a/minipdf-rs/crates/minipdf-cli/Cargo.toml b/minipdf-rs/crates/minipdf-cli/Cargo.toml deleted file mode 100644 index 648b0815..00000000 --- a/minipdf-rs/crates/minipdf-cli/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] -name = "minipdf-cli" -version.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -description = "Experimental Rust CLI for MiniPdf Office-to-PDF conversion." - -[[bin]] -name = "minipdf" -path = "src/main.rs" - -[dependencies] -clap.workspace = true -minipdf = { path = "../minipdf" } \ No newline at end of file diff --git a/minipdf-rs/crates/minipdf-cli/src/main.rs b/minipdf-rs/crates/minipdf-cli/src/main.rs deleted file mode 100644 index b6d782d3..00000000 --- a/minipdf-rs/crates/minipdf-cli/src/main.rs +++ /dev/null @@ -1,119 +0,0 @@ -use std::fs; -use std::path::{Path, PathBuf}; - -use clap::{Parser, Subcommand}; - -#[derive(Debug, Parser)] -#[command(name = "minipdf")] -#[command(version)] -#[command(about = "Convert Excel/Word files to PDF with the experimental Rust MiniPdf engine.")] -struct Cli { - #[command(subcommand)] - command: Option, - - #[arg(value_name = "INPUT")] - input: Option, - - #[arg(short, long, value_name = "OUTPUT")] - output: Option, - - #[arg(long, value_name = "DIR")] - fonts: Option, -} - -#[derive(Debug, Subcommand)] -enum Commands { - Convert(ConvertArgs), -} - -#[derive(Debug, Parser)] -struct ConvertArgs { - #[arg(value_name = "INPUT")] - input: PathBuf, - - #[arg(short, long, value_name = "OUTPUT")] - output: Option, - - #[arg(long, value_name = "DIR")] - fonts: Option, -} - -fn main() { - let cli = Cli::parse(); - let result = match cli.command { - Some(Commands::Convert(args)) => run_convert(args.input, args.output, args.fonts), - None => { - let Some(input) = cli.input else { - eprintln!("Error: input file is required. Use --help for usage."); - std::process::exit(1); - }; - run_convert(input, cli.output, cli.fonts) - } - }; - - if let Err(err) = result { - eprintln!("Error: {err}"); - std::process::exit(1); - } -} - -fn run_convert( - input: PathBuf, - output: Option, - fonts: Option, -) -> minipdf::Result<()> { - if !input.exists() { - return Err(minipdf::MiniPdfError::InvalidInput(format!( - "file not found: {}", - input.display() - ))); - } - - let ext = input - .extension() - .and_then(|ext| ext.to_str()) - .map(|ext| ext.to_ascii_lowercase()) - .unwrap_or_default(); - if ext != "xlsx" && ext != "docx" { - return Err(minipdf::MiniPdfError::InvalidInput(format!( - "unsupported file type '.{ext}'. Supported: .xlsx, .docx" - ))); - } - - if let Some(font_dir) = fonts { - register_fonts_from_dir(&font_dir)?; - } - - let output = output.unwrap_or_else(|| input.with_extension("pdf")); - minipdf::convert_to_pdf(&input, &output)?; - println!("{}", output.display()); - Ok(()) -} - -fn register_fonts_from_dir(font_dir: &Path) -> minipdf::Result<()> { - if !font_dir.is_dir() { - return Err(minipdf::MiniPdfError::InvalidInput(format!( - "font directory not found: {}", - font_dir.display() - ))); - } - - for entry in fs::read_dir(font_dir)? { - let entry = entry?; - let path = entry.path(); - let ext = path - .extension() - .and_then(|ext| ext.to_str()) - .map(|ext| ext.to_ascii_lowercase()); - if matches!(ext.as_deref(), Some("ttf" | "ttc" | "otf")) { - let name = path - .file_stem() - .and_then(|name| name.to_str()) - .unwrap_or("font") - .to_owned(); - minipdf::register_font(name, fs::read(path)?); - } - } - - Ok(()) -} diff --git a/minipdf-rs/crates/minipdf/Cargo.toml b/minipdf-rs/crates/minipdf/Cargo.toml deleted file mode 100644 index 67cfc23c..00000000 --- a/minipdf-rs/crates/minipdf/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[package] -name = "minipdf" -version.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -description = "Experimental Rust implementation of MiniPdf Office-to-PDF conversion." - -[dependencies] -roxmltree.workspace = true -thiserror.workspace = true -zip.workspace = true \ No newline at end of file diff --git a/minipdf-rs/crates/minipdf/src/docx.rs b/minipdf-rs/crates/minipdf/src/docx.rs deleted file mode 100644 index 788fea89..00000000 --- a/minipdf-rs/crates/minipdf/src/docx.rs +++ /dev/null @@ -1,168 +0,0 @@ -use std::io::Cursor; - -use zip::ZipArchive; - -use crate::pdf::{PdfColor, PdfDocument}; -use crate::{read_zip_text, Result}; - -const PAGE_WIDTH: f32 = 595.28; -const PAGE_HEIGHT: f32 = 841.89; -const MARGIN: f32 = 54.0; -const BODY_FONT_SIZE: f32 = 11.0; -const LINE_HEIGHT: f32 = 16.0; - -pub(crate) fn convert_docx_bytes(input: &[u8]) -> Result> { - let paragraphs = read_docx_paragraphs(input)?; - let mut doc = PdfDocument::new(); - render_docx(&mut doc, ¶graphs); - Ok(doc.to_bytes()) -} - -fn read_docx_paragraphs(input: &[u8]) -> Result> { - let cursor = Cursor::new(input); - let mut archive = ZipArchive::new(cursor)?; - let Some(document_xml) = read_zip_text(&mut archive, "word/document.xml")? else { - return Ok(vec!["Empty DOCX document".to_owned()]); - }; - - let xml = roxmltree::Document::parse(&document_xml)?; - let mut paragraphs = Vec::new(); - - for paragraph in xml.descendants().filter(|node| node.has_tag_name("p")) { - let mut text = String::new(); - for node in paragraph.descendants() { - if node.has_tag_name("t") { - if let Some(value) = node.text() { - text.push_str(value); - } - } else if node.has_tag_name("tab") { - text.push('\t'); - } else if node.has_tag_name("br") { - text.push('\n'); - } - } - - if !text.trim().is_empty() { - paragraphs.push(text); - } - } - - if paragraphs.is_empty() { - paragraphs.push("Empty DOCX document".to_owned()); - } - - Ok(paragraphs) -} - -fn render_docx(doc: &mut PdfDocument, paragraphs: &[String]) { - let mut page_index = doc.pages().len(); - doc.add_page(PAGE_WIDTH, PAGE_HEIGHT); - let mut y = PAGE_HEIGHT - MARGIN - BODY_FONT_SIZE; - let max_width = PAGE_WIDTH - MARGIN * 2.0; - - for paragraph in paragraphs { - let lines = wrap_text(paragraph, max_width, BODY_FONT_SIZE); - for line in lines { - if y < MARGIN { - page_index = doc.pages().len(); - doc.add_page(PAGE_WIDTH, PAGE_HEIGHT); - y = PAGE_HEIGHT - MARGIN - BODY_FONT_SIZE; - } - let page = doc.page_mut(page_index).expect("page index is valid"); - page.add_text(line, MARGIN, y, BODY_FONT_SIZE, PdfColor::BLACK, false); - y -= LINE_HEIGHT; - } - y -= LINE_HEIGHT * 0.35; - } -} - -fn wrap_text(text: &str, max_width: f32, font_size: f32) -> Vec { - let text = text.replace('\t', " "); - let mut lines = Vec::new(); - - for forced_line in text.lines() { - let mut current = String::new(); - for word in forced_line.split_whitespace() { - let candidate = if current.is_empty() { - word.to_owned() - } else { - format!("{current} {word}") - }; - - if crate::text_width(&candidate, font_size) <= max_width { - current = candidate; - } else { - if !current.is_empty() { - lines.push(current); - } - current = String::new(); - append_wrapped_word(&mut lines, &mut current, word, max_width, font_size); - } - } - - if current.is_empty() { - lines.push(String::new()); - } else { - lines.push(current); - } - } - - lines -} - -fn append_wrapped_word( - lines: &mut Vec, - current: &mut String, - word: &str, - max_width: f32, - font_size: f32, -) { - if crate::text_width(word, font_size) <= max_width { - current.push_str(word); - return; - } - - for chunk in split_word_to_width(word, max_width, font_size) { - if !current.is_empty() { - lines.push(std::mem::take(current)); - } - current.push_str(&chunk); - } -} - -fn split_word_to_width(word: &str, max_width: f32, font_size: f32) -> Vec { - let mut chunks = Vec::new(); - let mut current = String::new(); - - for ch in word.chars() { - let mut candidate = current.clone(); - candidate.push(ch); - if !current.is_empty() && crate::text_width(&candidate, font_size) > max_width { - chunks.push(std::mem::take(&mut current)); - } - current.push(ch); - } - - if !current.is_empty() { - chunks.push(current); - } - - chunks -} - -#[cfg(test)] -mod tests { - use super::wrap_text; - - #[test] - fn wraps_unspaced_text_without_truncating() { - let text = "abcdefghijklmnopqrstuvwxyz"; - let lines = wrap_text(text, 40.0, 12.0); - - assert!(lines.len() > 1); - assert_eq!(lines.concat(), text); - assert!(lines - .iter() - .all(|line| crate::text_width(line, 12.0) <= 40.0)); - } -} diff --git a/minipdf-rs/crates/minipdf/src/lib.rs b/minipdf-rs/crates/minipdf/src/lib.rs deleted file mode 100644 index febf48b7..00000000 --- a/minipdf-rs/crates/minipdf/src/lib.rs +++ /dev/null @@ -1,197 +0,0 @@ -mod docx; -mod office; -mod pdf; -mod xlsx; - -use std::fs; -use std::io::{Cursor, Read, Seek}; -use std::path::Path; -use std::sync::{Mutex, OnceLock}; - -pub use office::OfficeFormat; -pub use pdf::{PdfColor, PdfDocument}; -use zip::ZipArchive; - -#[derive(Debug, thiserror::Error)] -pub enum MiniPdfError { - #[error("I/O error: {0}")] - Io(#[from] std::io::Error), - #[error("ZIP package error: {0}")] - Zip(#[from] zip::result::ZipError), - #[error("XML parse error: {0}")] - Xml(#[from] roxmltree::Error), - #[error("unsupported or unknown Office document format")] - UnsupportedFormat, - #[error("invalid input: {0}")] - InvalidInput(String), -} - -pub type Result = std::result::Result; - -#[derive(Debug, Clone)] -pub struct RegisteredFont { - pub name: String, - pub data: Vec, -} - -static REGISTERED_FONTS: OnceLock>> = OnceLock::new(); - -pub fn register_font(name: impl Into, font_data: impl Into>) { - let fonts = REGISTERED_FONTS.get_or_init(|| Mutex::new(Vec::new())); - let mut fonts = fonts.lock().expect("font registry lock poisoned"); - fonts.push(RegisteredFont { - name: name.into(), - data: font_data.into(), - }); -} - -pub fn registered_fonts() -> Vec { - let Some(fonts) = REGISTERED_FONTS.get() else { - return Vec::new(); - }; - fonts.lock().expect("font registry lock poisoned").clone() -} - -pub fn convert_to_pdf(input_path: impl AsRef, output_path: impl AsRef) -> Result<()> { - let pdf = convert_to_pdf_bytes(input_path)?; - fs::write(output_path, pdf)?; - Ok(()) -} - -pub fn convert_to_pdf_bytes(input_path: impl AsRef) -> Result> { - let input_path = input_path.as_ref(); - let bytes = fs::read(input_path)?; - match input_path - .extension() - .and_then(|ext| ext.to_str()) - .map(|ext| ext.to_ascii_lowercase()) - { - Some(ext) if ext == "docx" => docx::convert_docx_bytes(&bytes), - Some(ext) if ext == "xlsx" => xlsx::convert_xlsx_bytes(&bytes), - _ => convert_bytes_to_pdf(&bytes), - } -} - -pub fn convert_bytes_to_pdf(input: &[u8]) -> Result> { - match detect_office_format(input)? { - OfficeFormat::Docx => docx::convert_docx_bytes(input), - OfficeFormat::Xlsx => xlsx::convert_xlsx_bytes(input), - OfficeFormat::Unknown => Err(MiniPdfError::UnsupportedFormat), - } -} - -pub fn detect_office_format(input: &[u8]) -> Result { - let cursor = Cursor::new(input); - office::detect_office_format(cursor) -} - -fn read_zip_text( - archive: &mut ZipArchive, - path: &str, -) -> Result> { - let Ok(mut file) = archive.by_name(path) else { - return Ok(None); - }; - let mut text = String::new(); - file.read_to_string(&mut text)?; - Ok(Some(text)) -} - -fn text_width(text: &str, font_size: f32) -> f32 { - text.chars() - .map(|ch| if ch.is_ascii() { 0.5 } else { 0.9 }) - .sum::() - * font_size -} - -fn truncate_to_width(text: &str, max_width: f32, font_size: f32) -> String { - if text_width(text, font_size) <= max_width { - return text.to_owned(); - } - - let ellipsis = "..."; - let mut result = String::new(); - for ch in text.chars() { - let candidate = format!("{result}{ch}{ellipsis}"); - if text_width(&candidate, font_size) > max_width { - break; - } - result.push(ch); - } - result.push_str(ellipsis); - result -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn writes_basic_pdf_document() { - let mut doc = PdfDocument::new(); - let page = doc.add_page(595.28, 841.89); - page.add_text( - "Hello from Rust MiniPdf", - 72.0, - 760.0, - 14.0, - PdfColor::BLACK, - false, - ); - - let pdf = doc.to_bytes(); - assert!(pdf.starts_with(b"%PDF-1.4")); - assert!(pdf.ends_with(b"%%EOF\n")); - } - - #[test] - fn declares_pdf_stream_lengths_exactly() { - let mut doc = PdfDocument::new(); - let page = doc.add_page(595.28, 841.89); - page.add_text("Hello", 72.0, 760.0, 14.0, PdfColor::BLACK, false); - - let pdf = doc.to_bytes(); - let mut offset = 0; - let mut checked_streams = 0; - - while let Some(relative_length_pos) = find_bytes(&pdf[offset..], b"/Length ") { - let length_start = offset + relative_length_pos + b"/Length ".len(); - let length_end = length_start - + pdf[length_start..] - .iter() - .position(|byte| !byte.is_ascii_digit()) - .expect("stream length is terminated"); - let declared_length = std::str::from_utf8(&pdf[length_start..length_end]) - .expect("stream length is ASCII") - .parse::() - .expect("stream length is numeric"); - - let stream_marker_pos = length_end - + find_bytes(&pdf[length_end..], b"stream\n") - .expect("stream marker follows length"); - let stream_start = stream_marker_pos + b"stream\n".len(); - let stream_end = stream_start - + find_bytes(&pdf[stream_start..], b"\nendstream") - .expect("endstream marker follows stream data"); - - assert_eq!(declared_length, stream_end - stream_start); - checked_streams += 1; - offset = stream_end + b"\nendstream".len(); - } - - assert!(checked_streams > 0); - } - - #[test] - fn truncates_text_to_fit_width() { - let text = truncate_to_width("abcdefghijklmnopqrstuvwxyz", 40.0, 12.0); - assert!(text.ends_with("...")); - assert!(text_width(&text, 12.0) <= 40.0); - } - - fn find_bytes(haystack: &[u8], needle: &[u8]) -> Option { - haystack - .windows(needle.len()) - .position(|window| window == needle) - } -} diff --git a/minipdf-rs/crates/minipdf/src/office.rs b/minipdf-rs/crates/minipdf/src/office.rs deleted file mode 100644 index c3e0eeb6..00000000 --- a/minipdf-rs/crates/minipdf/src/office.rs +++ /dev/null @@ -1,27 +0,0 @@ -use std::io::{Read, Seek}; - -use zip::ZipArchive; - -use crate::Result; - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum OfficeFormat { - Unknown, - Xlsx, - Docx, -} - -pub(crate) fn detect_office_format(reader: R) -> Result { - let mut archive = ZipArchive::new(reader)?; - for index in 0..archive.len() { - let file = archive.by_index(index)?; - let name = file.name().replace('\\', "/"); - if name.starts_with("word/") { - return Ok(OfficeFormat::Docx); - } - if name.starts_with("xl/") { - return Ok(OfficeFormat::Xlsx); - } - } - Ok(OfficeFormat::Unknown) -} diff --git a/minipdf-rs/crates/minipdf/src/pdf.rs b/minipdf-rs/crates/minipdf/src/pdf.rs deleted file mode 100644 index 319b0052..00000000 --- a/minipdf-rs/crates/minipdf/src/pdf.rs +++ /dev/null @@ -1,285 +0,0 @@ -#[derive(Debug, Clone, Copy, PartialEq)] -pub struct PdfColor { - pub r: f32, - pub g: f32, - pub b: f32, -} - -impl PdfColor { - pub const BLACK: Self = Self::new(0.0, 0.0, 0.0); - pub const WHITE: Self = Self::new(1.0, 1.0, 1.0); - pub const LIGHT_GRAY: Self = Self::new(0.92, 0.92, 0.92); - pub const TABLE_HEADER: Self = Self::new(0.86, 0.91, 0.96); - - pub const fn new(r: f32, g: f32, b: f32) -> Self { - Self { r, g, b } - } -} - -#[derive(Debug, Clone)] -enum PdfOp { - Text { - text: String, - x: f32, - y: f32, - font_size: f32, - color: PdfColor, - bold: bool, - }, - Rect { - x: f32, - y: f32, - width: f32, - height: f32, - color: PdfColor, - }, - Line { - x1: f32, - y1: f32, - x2: f32, - y2: f32, - color: PdfColor, - width: f32, - }, -} - -#[derive(Debug, Clone)] -pub struct PdfPage { - pub width: f32, - pub height: f32, - ops: Vec, -} - -impl PdfPage { - fn new(width: f32, height: f32) -> Self { - Self { - width, - height, - ops: Vec::new(), - } - } - - pub fn add_text( - &mut self, - text: impl Into, - x: f32, - y: f32, - font_size: f32, - color: PdfColor, - bold: bool, - ) { - self.ops.push(PdfOp::Text { - text: text.into(), - x, - y, - font_size, - color, - bold, - }); - } - - pub fn add_rect(&mut self, x: f32, y: f32, width: f32, height: f32, color: PdfColor) { - self.ops.push(PdfOp::Rect { - x, - y, - width, - height, - color, - }); - } - - pub fn add_line(&mut self, x1: f32, y1: f32, x2: f32, y2: f32, color: PdfColor, width: f32) { - self.ops.push(PdfOp::Line { - x1, - y1, - x2, - y2, - color, - width, - }); - } -} - -#[derive(Debug, Default, Clone)] -pub struct PdfDocument { - pages: Vec, -} - -impl PdfDocument { - pub fn new() -> Self { - Self { pages: Vec::new() } - } - - pub fn add_page(&mut self, width: f32, height: f32) -> &mut PdfPage { - self.pages.push(PdfPage::new(width, height)); - self.pages.last_mut().expect("page was just pushed") - } - - pub fn pages(&self) -> &[PdfPage] { - &self.pages - } - - pub fn page_mut(&mut self, index: usize) -> Option<&mut PdfPage> { - self.pages.get_mut(index) - } - - pub fn to_bytes(&self) -> Vec { - let mut objects: Vec> = Vec::new(); - let page_count = self.pages.len(); - - objects.push(b"<< /Type /Catalog /Pages 2 0 R >>".to_vec()); - objects.push(Vec::new()); - objects.push(b"<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>".to_vec()); - objects.push(b"<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica-Bold >>".to_vec()); - - let mut page_ids = Vec::with_capacity(page_count); - for (page_index, page) in self.pages.iter().enumerate() { - let content_id = 5 + page_index * 2; - let page_id = content_id + 1; - page_ids.push(page_id); - - let mut content = write_content_stream(page); - if content.ends_with(b"\n") { - content.pop(); - } - - let mut content_object = Vec::new(); - content_object - .extend_from_slice(format!("<< /Length {} >>\nstream\n", content.len()).as_bytes()); - content_object.extend_from_slice(&content); - content_object.extend_from_slice(b"\nendstream"); - objects.push(content_object); - - let page_object = format!( - "<< /Type /Page /Parent 2 0 R /MediaBox [0 0 {:.2} {:.2}] /Resources << /Font << /F1 3 0 R /F2 4 0 R >> >> /Contents {} 0 R >>", - page.width, page.height, content_id - ); - objects.push(page_object.into_bytes()); - } - - let kids = page_ids - .iter() - .map(|id| format!("{id} 0 R")) - .collect::>() - .join(" "); - objects[1] = format!("<< /Type /Pages /Kids [{kids}] /Count {page_count} >>").into_bytes(); - - write_objects(objects) - } -} - -fn write_objects(objects: Vec>) -> Vec { - let mut pdf = Vec::new(); - pdf.extend_from_slice(b"%PDF-1.4\n%\xE2\xE3\xCF\xD3\n"); - - let mut offsets = Vec::with_capacity(objects.len()); - for (index, object) in objects.iter().enumerate() { - offsets.push(pdf.len()); - pdf.extend_from_slice(format!("{} 0 obj\n", index + 1).as_bytes()); - pdf.extend_from_slice(object); - pdf.extend_from_slice(b"\nendobj\n"); - } - - let xref_start = pdf.len(); - pdf.extend_from_slice(format!("xref\n0 {}\n", objects.len() + 1).as_bytes()); - pdf.extend_from_slice(b"0000000000 65535 f \n"); - for offset in offsets { - pdf.extend_from_slice(format!("{offset:010} 00000 n \n").as_bytes()); - } - pdf.extend_from_slice( - format!( - "trailer\n<< /Size {} /Root 1 0 R >>\nstartxref\n{}\n%%EOF\n", - objects.len() + 1, - xref_start - ) - .as_bytes(), - ); - pdf -} - -fn write_content_stream(page: &PdfPage) -> Vec { - let mut content = String::new(); - for op in &page.ops { - match op { - PdfOp::Text { - text, - x, - y, - font_size, - color, - bold, - } => { - let font = if *bold { "F2" } else { "F1" }; - content.push_str(&format!( - "BT /{font} {:.2} Tf {:.3} {:.3} {:.3} rg {:.2} {:.2} Td ({}) Tj ET\n", - font_size, - clamp_color(color.r), - clamp_color(color.g), - clamp_color(color.b), - x, - y, - escape_pdf_text(text) - )); - } - PdfOp::Rect { - x, - y, - width, - height, - color, - } => { - content.push_str(&format!( - "{:.3} {:.3} {:.3} rg {:.2} {:.2} {:.2} {:.2} re f\n", - clamp_color(color.r), - clamp_color(color.g), - clamp_color(color.b), - x, - y, - width, - height - )); - } - PdfOp::Line { - x1, - y1, - x2, - y2, - color, - width, - } => { - content.push_str(&format!( - "{:.3} {:.3} {:.3} RG {:.2} w {:.2} {:.2} m {:.2} {:.2} l S\n", - clamp_color(color.r), - clamp_color(color.g), - clamp_color(color.b), - width, - x1, - y1, - x2, - y2 - )); - } - } - } - content.into_bytes() -} - -fn clamp_color(value: f32) -> f32 { - value.clamp(0.0, 1.0) -} - -fn escape_pdf_text(text: &str) -> String { - let mut result = String::new(); - for ch in text.chars() { - match ch { - '(' => result.push_str("\\("), - ')' => result.push_str("\\)"), - '\\' => result.push_str("\\\\"), - '\n' | '\r' | '\t' => result.push(' '), - ch if ch.is_control() => result.push(' '), - ch if ch.is_ascii() => result.push(ch), - _ => result.push('?'), - } - } - result -} diff --git a/minipdf-rs/crates/minipdf/src/xlsx.rs b/minipdf-rs/crates/minipdf/src/xlsx.rs deleted file mode 100644 index 837eec14..00000000 --- a/minipdf-rs/crates/minipdf/src/xlsx.rs +++ /dev/null @@ -1,318 +0,0 @@ -use std::collections::HashMap; -use std::io::Cursor; - -use zip::ZipArchive; - -use crate::pdf::{PdfColor, PdfDocument}; -use crate::{read_zip_text, truncate_to_width, Result}; - -const PAGE_WIDTH: f32 = 841.89; -const PAGE_HEIGHT: f32 = 595.28; -const MARGIN: f32 = 36.0; -const TITLE_FONT_SIZE: f32 = 14.0; -const CELL_FONT_SIZE: f32 = 8.0; -const ROW_HEIGHT: f32 = 19.0; -const COL_WIDTH: f32 = 92.0; - -#[derive(Debug, Clone)] -struct SheetData { - name: String, - rows: Vec>, -} - -pub(crate) fn convert_xlsx_bytes(input: &[u8]) -> Result> { - let sheets = read_xlsx_sheets(input)?; - let mut doc = PdfDocument::new(); - render_xlsx(&mut doc, &sheets); - Ok(doc.to_bytes()) -} - -fn read_xlsx_sheets(input: &[u8]) -> Result> { - let cursor = Cursor::new(input); - let mut archive = ZipArchive::new(cursor)?; - let shared_strings = read_shared_strings(&mut archive)?; - let sheet_paths = read_sheet_paths(&mut archive)?; - let mut sheets = Vec::new(); - - for (name, path) in sheet_paths { - let Some(sheet_xml) = read_zip_text(&mut archive, &path)? else { - continue; - }; - let rows = read_sheet_rows(&sheet_xml, &shared_strings)?; - sheets.push(SheetData { name, rows }); - } - - if sheets.is_empty() { - if let Some(sheet_xml) = read_zip_text(&mut archive, "xl/worksheets/sheet1.xml")? { - sheets.push(SheetData { - name: "Sheet1".to_owned(), - rows: read_sheet_rows(&sheet_xml, &shared_strings)?, - }); - } - } - - if sheets.is_empty() { - sheets.push(SheetData { - name: "Workbook".to_owned(), - rows: vec![vec!["Empty XLSX workbook".to_owned()]], - }); - } - - Ok(sheets) -} - -fn read_shared_strings( - archive: &mut ZipArchive, -) -> Result> { - let Some(shared_xml) = read_zip_text(archive, "xl/sharedStrings.xml")? else { - return Ok(Vec::new()); - }; - let xml = roxmltree::Document::parse(&shared_xml)?; - let strings = xml - .descendants() - .filter(|node| node.has_tag_name("si")) - .map(|si| { - si.descendants() - .filter(|node| node.has_tag_name("t")) - .filter_map(|node| node.text()) - .collect::() - }) - .collect(); - Ok(strings) -} - -fn read_sheet_paths( - archive: &mut ZipArchive, -) -> Result> { - let rels = read_workbook_relationships(archive)?; - let Some(workbook_xml) = read_zip_text(archive, "xl/workbook.xml")? else { - return Ok(Vec::new()); - }; - let workbook = roxmltree::Document::parse(&workbook_xml)?; - let mut result = Vec::new(); - - for (index, sheet) in workbook - .descendants() - .filter(|node| node.has_tag_name("sheet")) - .enumerate() - { - let name = sheet.attribute("name").unwrap_or("Sheet").to_owned(); - let rel_id = sheet - .attributes() - .find(|attr| attr.name() == "id") - .map(|attr| attr.value().to_owned()); - let path = rel_id - .and_then(|id| rels.get(&id).cloned()) - .unwrap_or_else(|| format!("xl/worksheets/sheet{}.xml", index + 1)); - result.push((name, normalize_xl_path(&path))); - } - - Ok(result) -} - -fn read_workbook_relationships( - archive: &mut ZipArchive, -) -> Result> { - let Some(rels_xml) = read_zip_text(archive, "xl/_rels/workbook.xml.rels")? else { - return Ok(HashMap::new()); - }; - let rels_doc = roxmltree::Document::parse(&rels_xml)?; - let mut rels = HashMap::new(); - for rel in rels_doc - .descendants() - .filter(|node| node.has_tag_name("Relationship")) - { - let Some(id) = rel.attribute("Id") else { - continue; - }; - let Some(target) = rel.attribute("Target") else { - continue; - }; - rels.insert(id.to_owned(), target.to_owned()); - } - Ok(rels) -} - -fn normalize_xl_path(path: &str) -> String { - let path = path.replace('\\', "/"); - if let Some(stripped) = path.strip_prefix('/') { - stripped.to_owned() - } else if path.starts_with("xl/") { - path - } else { - format!("xl/{path}") - } -} - -fn read_sheet_rows(sheet_xml: &str, shared_strings: &[String]) -> Result>> { - let xml = roxmltree::Document::parse(sheet_xml)?; - let mut rows = Vec::new(); - - for row in xml.descendants().filter(|node| node.has_tag_name("row")) { - let mut cells: Vec<(usize, String)> = Vec::new(); - for cell in row.children().filter(|node| node.has_tag_name("c")) { - let col = cell - .attribute("r") - .and_then(column_index_from_ref) - .unwrap_or(cells.len()); - let value = read_cell_value(cell, shared_strings); - cells.push((col, value)); - } - - let width = cells - .iter() - .map(|(col, _)| *col) - .max() - .map(|col| col + 1) - .unwrap_or(0); - let mut row_values = vec![String::new(); width]; - for (col, value) in cells { - if let Some(slot) = row_values.get_mut(col) { - *slot = value; - } - } - if row_values.iter().any(|value| !value.is_empty()) { - rows.push(row_values); - } - } - - Ok(rows) -} - -fn read_cell_value(cell: roxmltree::Node<'_, '_>, shared_strings: &[String]) -> String { - let cell_type = cell.attribute("t"); - if cell_type == Some("inlineStr") { - return cell - .descendants() - .filter(|node| node.has_tag_name("t")) - .filter_map(|node| node.text()) - .collect::(); - } - - let value = cell - .children() - .find(|node| node.has_tag_name("v")) - .and_then(|node| node.text()) - .unwrap_or(""); - - if cell_type == Some("s") { - return value - .parse::() - .ok() - .and_then(|index| shared_strings.get(index).cloned()) - .unwrap_or_default(); - } - - value.to_owned() -} - -fn column_index_from_ref(cell_ref: &str) -> Option { - let mut col = 0usize; - let mut seen_letter = false; - for ch in cell_ref.chars().filter(|ch| ch.is_ascii_alphabetic()) { - seen_letter = true; - col = col * 26 + (ch.to_ascii_uppercase() as usize - 'A' as usize + 1); - } - seen_letter.then_some(col.saturating_sub(1)) -} - -fn render_xlsx(doc: &mut PdfDocument, sheets: &[SheetData]) { - for sheet in sheets { - render_sheet(doc, sheet); - } -} - -fn render_sheet(doc: &mut PdfDocument, sheet: &SheetData) { - let mut page_index = doc.pages().len(); - doc.add_page(PAGE_WIDTH, PAGE_HEIGHT); - let mut y = PAGE_HEIGHT - MARGIN - TITLE_FONT_SIZE; - let max_cols = ((PAGE_WIDTH - MARGIN * 2.0) / COL_WIDTH).floor() as usize; - - let page = doc.page_mut(page_index).expect("page index is valid"); - page.add_text( - &sheet.name, - MARGIN, - y, - TITLE_FONT_SIZE, - PdfColor::BLACK, - true, - ); - y -= ROW_HEIGHT * 1.4; - - for (row_index, row) in sheet.rows.iter().enumerate() { - if y < MARGIN + ROW_HEIGHT { - page_index = doc.pages().len(); - doc.add_page(PAGE_WIDTH, PAGE_HEIGHT); - y = PAGE_HEIGHT - MARGIN - ROW_HEIGHT; - } - - let page = doc.page_mut(page_index).expect("page index is valid"); - - let is_header = row_index == 0; - for (col_index, cell_value) in row.iter().enumerate().take(max_cols) { - let x = MARGIN + col_index as f32 * COL_WIDTH; - let fill = if is_header { - PdfColor::TABLE_HEADER - } else { - PdfColor::WHITE - }; - page.add_rect(x, y - 4.0, COL_WIDTH, ROW_HEIGHT, fill); - page.add_line( - x, - y - 4.0, - x + COL_WIDTH, - y - 4.0, - PdfColor::LIGHT_GRAY, - 0.5, - ); - page.add_line( - x, - y - 4.0, - x, - y - 4.0 + ROW_HEIGHT, - PdfColor::LIGHT_GRAY, - 0.5, - ); - - let text = truncate_to_width(cell_value, COL_WIDTH - 6.0, CELL_FONT_SIZE); - page.add_text( - text, - x + 3.0, - y + 1.0, - CELL_FONT_SIZE, - PdfColor::BLACK, - is_header, - ); - } - let right = MARGIN + row.len().min(max_cols) as f32 * COL_WIDTH; - page.add_line( - MARGIN, - y - 4.0 + ROW_HEIGHT, - right, - y - 4.0 + ROW_HEIGHT, - PdfColor::LIGHT_GRAY, - 0.5, - ); - page.add_line( - right, - y - 4.0, - right, - y - 4.0 + ROW_HEIGHT, - PdfColor::LIGHT_GRAY, - 0.5, - ); - y -= ROW_HEIGHT; - } -} - -#[cfg(test)] -mod tests { - use super::column_index_from_ref; - - #[test] - fn parses_excel_column_references() { - assert_eq!(column_index_from_ref("A1"), Some(0)); - assert_eq!(column_index_from_ref("Z9"), Some(25)); - assert_eq!(column_index_from_ref("AA10"), Some(26)); - } -} diff --git a/scripts/Invoke-LanguageVisualBenchmark.ps1 b/scripts/Invoke-LanguageVisualBenchmark.ps1 new file mode 100644 index 00000000..1a66471e --- /dev/null +++ b/scripts/Invoke-LanguageVisualBenchmark.ps1 @@ -0,0 +1,295 @@ +<# +.SYNOPSIS + Runs one MiniPdf implementation against the repository's visual benchmark fixtures. +.DESCRIPTION + Uses Microsoft 365 as the primary scored reference and LibreOffice as the + required auxiliary reference. Outputs are isolated below + artifacts/-benchmark//. +.EXAMPLE + .\scripts\Run-DotNet-VisualBenchmark.ps1 -Suite classic -Format xlsx -MaxCases 1 + .\scripts\Run-DotNet-VisualBenchmark.ps1 -Suite issue -Format pptx -Filter "Asian Pacific" +#> +param( + [Parameter(Mandatory = $true)] + [ValidateSet("dotnet")] + [string]$Language, + [ValidateSet("classic", "issue")] + [string]$Suite = "classic", + [ValidateSet("xlsx", "docx", "pptx")] + [string]$Format = "xlsx", + [ValidateSet("o365", "office", "libre")] + [string]$Engine = "o365", + [string]$Filter, + [int]$MaxCases = 0, + [int]$MaxComparePages = 0, + [double]$MinimumScore = 0.95, + [string]$SourceDir, + [string]$CandidateDir, + [string]$ReferenceDir, + [string]$AuxiliaryReferenceDir, + [string]$ReportDir, + [string]$ArtifactRoot, + [switch]$SkipCandidate, + [switch]$SkipBuild, + [switch]$SkipReference, + [switch]$ForceReference +) +$ErrorActionPreference = "Stop" +$RepoRoot = Split-Path -Parent $PSScriptRoot +if ($MaxCases -lt 0) { throw "MaxCases cannot be negative." } +if ($MaxComparePages -lt 0) { throw "MaxComparePages cannot be negative." } +if ($MinimumScore -lt 0.0 -or $MinimumScore -gt 1.0) { + throw "MinimumScore must be between 0.0 and 1.0." +} +function Resolve-RepoPath([string]$PathValue) { + if ([System.IO.Path]::IsPathRooted($PathValue)) { return $PathValue } + return Join-Path $RepoRoot $PathValue +} +function Get-RepoRelativePath([string]$PathValue) { + $FullRepoRoot = [System.IO.Path]::GetFullPath($RepoRoot).TrimEnd("\", "/") + $FullPath = [System.IO.Path]::GetFullPath($PathValue) + $RepoPrefix = $FullRepoRoot + [System.IO.Path]::DirectorySeparatorChar + if (-not $FullPath.StartsWith($RepoPrefix, [System.StringComparison]::OrdinalIgnoreCase)) { + throw "Path '$PathValue' is outside repository root '$RepoRoot'." + } + return $FullPath.Substring($RepoPrefix.Length).Replace("\", "/") +} +function Write-Json([object]$Value, [string]$Path) { + $Json = $Value | ConvertTo-Json -Depth 8 + [System.IO.File]::WriteAllText($Path, $Json, [System.Text.UTF8Encoding]::new($false)) +} +function Assert-CommandSucceeded([string]$Description) { + if ($LASTEXITCODE -ne 0) { throw "$Description failed with exit code $LASTEXITCODE." } +} +function Find-Command([string]$Name) { + return (Get-Command $Name -ErrorAction Stop).Source +} +function Find-Python { + $RelativePath = if ($IsWindows) { ".venv/Scripts/python.exe" } else { ".venv/bin/python" } + $Candidate = Join-Path $RepoRoot $RelativePath + if (Test-Path -LiteralPath $Candidate) { return $Candidate } + return Find-Command "python" +} +function Test-Pdf([string]$Path) { + if (-not (Test-Path -LiteralPath $Path -PathType Leaf)) { return $false } + $Bytes = [System.IO.File]::ReadAllBytes($Path) + return $Bytes.Length -ge 5 -and [System.Text.Encoding]::ASCII.GetString($Bytes, 0, 5) -eq "%PDF-" +} +$Defaults = @{ + "classic:xlsx" = @{ + Source = "tests/MiniPdf.Scripts/output" + LibreReference = "tests/MiniPdf.Benchmark/reference_pdfs" + OfficeReference = "tests/MiniPdf.Benchmark/office_pdfs" + LibreReferenceScript = "tests/MiniPdf.Benchmark/generate_reference_pdfs.py" + OfficeReferenceScript = "tests/MiniPdf.Benchmark/generate_office_pdfs.py" + SourceArgument = "--xlsx-dir" + OfficeLabel = "Microsoft 365 Excel Reference" + } + "classic:docx" = @{ + Source = "tests/MiniPdf.Scripts/output_docx" + LibreReference = "tests/MiniPdf.Benchmark/reference_pdfs_docx" + OfficeReference = "tests/MiniPdf.Benchmark/office_pdfs_docx" + LibreReferenceScript = "tests/MiniPdf.Benchmark/generate_reference_pdfs_docx.py" + OfficeReferenceScript = "tests/MiniPdf.Benchmark/generate_office_pdfs_docx.py" + SourceArgument = "--docx-dir" + OfficeLabel = "Microsoft 365 Word Reference" + } + "issue:xlsx" = @{ + Source = "tests/Issue_Files/xlsx" + LibreReference = "tests/Issue_Files/reference_xlsx" + OfficeReference = "tests/Issue_Files/office_xlsx" + LibreReferenceScript = "tests/MiniPdf.Benchmark/generate_reference_pdfs.py" + OfficeReferenceScript = "tests/MiniPdf.Benchmark/generate_office_pdfs.py" + SourceArgument = "--xlsx-dir" + OfficeLabel = "Microsoft 365 Excel Reference" + } + "issue:docx" = @{ + Source = "tests/Issue_Files/docx" + LibreReference = "tests/Issue_Files/reference_docx" + OfficeReference = "tests/Issue_Files/office_docx" + LibreReferenceScript = "tests/MiniPdf.Benchmark/generate_reference_pdfs_docx.py" + OfficeReferenceScript = "tests/MiniPdf.Benchmark/generate_office_pdfs_docx.py" + SourceArgument = "--docx-dir" + OfficeLabel = "Microsoft 365 Word Reference" + } + "issue:pptx" = @{ + Source = "tests/Issue_Files/pptx" + LibreReference = "tests/Issue_Files/reference_pptx" + OfficeReference = "tests/Issue_Files/office_pptx" + LibreReferenceScript = "tests/MiniPdf.Benchmark/generate_reference_pdfs_pptx.py" + OfficeReferenceScript = "tests/MiniPdf.Benchmark/generate_office_pdfs_pptx.py" + SourceArgument = "--pptx-dir" + OfficeLabel = "Microsoft 365 PowerPoint Reference" + } +} +$Config = $Defaults["$Suite`:$Format"] +if (-not $Config) { + throw "No $Language benchmark fixtures are configured for suite=$Suite format=$Format." +} +if ($Engine -eq "libre") { + Write-Warning "-Engine libre is retained for compatibility. Microsoft 365 remains the primary scored reference; LibreOffice is auxiliary." +} +$SourceDir = Resolve-RepoPath $(if ($SourceDir) { $SourceDir } else { $Config.Source }) +$ReferenceDir = Resolve-RepoPath $(if ($ReferenceDir) { $ReferenceDir } else { $Config.OfficeReference }) +$AuxiliaryReferenceDir = Resolve-RepoPath $(if ($AuxiliaryReferenceDir) { $AuxiliaryReferenceDir } else { $Config.LibreReference }) +$ArtifactRoot = Resolve-RepoPath $(if ($ArtifactRoot) { $ArtifactRoot } else { "artifacts/$Language-benchmark/$Suite/$Format" }) +$CandidateDir = Resolve-RepoPath $(if ($CandidateDir) { $CandidateDir } else { Join-Path $ArtifactRoot "candidates" }) +$ReportDir = Resolve-RepoPath $(if ($ReportDir) { $ReportDir } else { Join-Path $ArtifactRoot "report" }) +$ComparisonManifest = Join-Path $ReportDir "comparison_manifest.json" +$CoverageManifest = Join-Path $ReportDir "benchmark_coverage.json" +$SourceFiles = @(Get-ChildItem -LiteralPath $SourceDir -File -Filter "*.$Format" | Where-Object { + -not $Filter -or $_.BaseName -like "*$Filter*" +} | Sort-Object Name) +if ($MaxCases -gt 0) { + $SourceFiles = @($SourceFiles | Select-Object -First $MaxCases) +} +if ($SourceFiles.Count -eq 0) { + throw "No .$Format files matched '$Filter' in $SourceDir" +} +if (Test-Path -LiteralPath $ReportDir) { + Remove-Item -LiteralPath $ReportDir -Recurse -Force +} +New-Item -ItemType Directory -Force -Path $CandidateDir, $ReferenceDir, $AuxiliaryReferenceDir, $ReportDir | Out-Null +$SelectedCases = @($SourceFiles | ForEach-Object { + [pscustomobject]@{ + name = $_.BaseName + case_id = $_.BaseName + suite = $Suite + format = $Format + source_path = Get-RepoRelativePath $_.FullName + conversion_status = "pending" + conversion_exit_code = $null + candidate_exists = $false + reference_exists = $false + auxiliary_reference_exists = $false + } +}) +$CaseSources = @{} +for ($Index = 0; $Index -lt $SelectedCases.Count; $Index++) { + $CaseSources[$SelectedCases[$Index].case_id] = $SourceFiles[$Index].FullName +} +Write-Json ([pscustomobject]@{ cases = $SelectedCases }) $ComparisonManifest +$Tools = @{} +if (-not $SkipCandidate -and -not $SkipBuild) { + switch ($Language) { + "dotnet" { + $Tools.dotnet = Find-Command "dotnet" + & $Tools.dotnet build (Join-Path $RepoRoot "src/MiniPdf.Cli/MiniPdf.Cli.csproj") -c Release + Assert-CommandSucceeded ".NET CLI build" + } + } +} +if (-not $SkipCandidate) { + switch ($Language) { + "dotnet" { + if (-not $Tools.dotnet) { $Tools.dotnet = Find-Command "dotnet" } + $Tools.cli = Get-ChildItem (Join-Path $RepoRoot "src/MiniPdf.Cli/bin/Release") -Recurse -Filter "MiniPdf.Cli.dll" | + Where-Object FullName -Match 'net9\.0' | Select-Object -First 1 -ExpandProperty FullName + } + } + if ((-not $Tools.cli -or -not (Test-Path -LiteralPath $Tools.cli))) { + throw "$Language CLI artifact was not found. Run without -SkipBuild first." + } + foreach ($Case in $SelectedCases) { + $InputPath = $CaseSources[$Case.case_id] + $OutputPath = Join-Path $CandidateDir ($Case.name + ".pdf") + if (Test-Path -LiteralPath $OutputPath) { Remove-Item -LiteralPath $OutputPath -Force } + switch ($Language) { + "dotnet" { & $Tools.dotnet $Tools.cli $InputPath -o $OutputPath } + } + $Case.conversion_exit_code = $LASTEXITCODE + $Case.candidate_exists = Test-Pdf $OutputPath + $Case.conversion_status = if ($LASTEXITCODE -eq 0 -and $Case.candidate_exists) { "passed" } else { "failed" } + } +} else { + foreach ($Case in $SelectedCases) { + $OutputPath = Join-Path $CandidateDir ($Case.name + ".pdf") + $Case.candidate_exists = Test-Pdf $OutputPath + $Case.conversion_status = if ($Case.candidate_exists) { "passed" } else { "failed" } + } +} +if (-not $SkipReference) { + $Python = Find-Python + $OfficeReferenceScript = Resolve-RepoPath $Config.OfficeReferenceScript + $LibreReferenceScript = Resolve-RepoPath $Config.LibreReferenceScript + $ReferenceFilters = if ($MaxCases -gt 0) { @($SourceFiles.BaseName) } else { @($Filter) } + foreach ($ReferenceFilter in $ReferenceFilters) { + $Providers = @( + [pscustomobject]@{ Script = $OfficeReferenceScript; Directory = $ReferenceDir; Label = $Config.OfficeLabel }, + [pscustomobject]@{ Script = $LibreReferenceScript; Directory = $AuxiliaryReferenceDir; Label = "LibreOffice" } + ) + foreach ($Provider in $Providers) { + $ReferenceArgs = @($Provider.Script, $Config.SourceArgument, $SourceDir, "--pdf-dir", $Provider.Directory) + if ($ReferenceFilter) { $ReferenceArgs += @("--filter", $ReferenceFilter) } + if ($ForceReference) { $ReferenceArgs += "--force" } + & $Python -X utf8 @ReferenceArgs + Assert-CommandSucceeded "$($Provider.Label) generation" + } + } +} +foreach ($Case in $SelectedCases) { + $Case.reference_exists = Test-Pdf (Join-Path $ReferenceDir ($Case.name + ".pdf")) + $Case.auxiliary_reference_exists = Test-Pdf (Join-Path $AuxiliaryReferenceDir ($Case.name + ".pdf")) +} +$PassedConversions = @($SelectedCases | Where-Object conversion_status -eq "passed").Count +$MissingReferences = @($SelectedCases | Where-Object reference_exists -eq $false).Count +$MissingAuxiliaryReferences = @($SelectedCases | Where-Object auxiliary_reference_exists -eq $false).Count +$Coverage = [pscustomobject]@{ + language = $Language + suite = $Suite + format = $Format + reference_engine = "o365" + reference_label = $Config.OfficeLabel + auxiliary_reference_engine = "libreoffice" + auxiliary_reference_label = "LibreOffice (auxiliary)" + fixture_scope = "shared-on-disk-fixtures" + executes_dotnet_xunit = $false + max_compare_pages = $MaxComparePages + selected_cases = $SelectedCases.Count + passed_conversions = $PassedConversions + failed_conversions = $SelectedCases.Count - $PassedConversions + missing_references = $MissingReferences + missing_auxiliary_references = $MissingAuxiliaryReferences + comparison_completed = $false + comparison_results = 0 + average_score = $null + cases = $SelectedCases +} +Write-Json $Coverage $CoverageManifest +$Python = Find-Python +$CompareArgs = @( + (Join-Path $RepoRoot "tests/MiniPdf.Benchmark/compare_pdfs.py"), + "--minipdf-dir", $CandidateDir, + "--reference-dir", $ReferenceDir, + "--auxiliary-dir", $AuxiliaryReferenceDir, + "--report-dir", $ReportDir, + "--manifest", $ComparisonManifest, + "--report-scope", "$Language-$Suite-$Format", + "--candidate-label", "$Language MiniPdf", + "--reference-label", $Config.OfficeLabel, + "--auxiliary-label", "LibreOffice", + "--composite-images", + "--heatmaps" +) +if ($MaxComparePages -gt 0) { $CompareArgs += @("--max-pages", $MaxComparePages) } +& $Python -X utf8 @CompareArgs +Assert-CommandSucceeded "$Language visual comparison" +$ParsedResults = Get-Content (Join-Path $ReportDir "comparison_report.json") -Raw | ConvertFrom-Json +if ($ParsedResults.PSObject.Properties.Name -contains "results") { + $ParsedResults = $ParsedResults.results +} +$Results = @($ParsedResults | ForEach-Object { $_ }) +$Scores = @($Results | Where-Object { $null -ne $_.overall_score }) +$Coverage.comparison_completed = $true +$Coverage.comparison_results = ($Results | Measure-Object).Count +$Coverage.average_score = if ($Scores.Count -gt 0) { + ($Scores | Measure-Object -Property overall_score -Average).Average +} else { $null } +Write-Json $Coverage $CoverageManifest +$BelowThreshold = @($Results | Where-Object { $null -eq $_.overall_score -or $_.overall_score -lt $MinimumScore }) +Write-Host "$Language benchmark: suite=$Suite format=$Format selected=$($SelectedCases.Count), converted=$PassedConversions, missing O365 references=$MissingReferences, missing LibreOffice references=$MissingAuxiliaryReferences" +Write-Host "Coverage: $CoverageManifest" +Write-Host "Report: $(Join-Path $ReportDir 'comparison_report.md')" +if ($PassedConversions -ne $SelectedCases.Count -or $MissingReferences -gt 0 -or $MissingAuxiliaryReferences -gt 0 -or $BelowThreshold.Count -gt 0) { + throw "$Language benchmark failed: conversion failures=$($SelectedCases.Count - $PassedConversions), missing O365 references=$MissingReferences, missing LibreOffice references=$MissingAuxiliaryReferences, below MinimumScore=$($BelowThreshold.Count)." +} diff --git a/scripts/Measure-DotNet-XlsxMemory.ps1 b/scripts/Measure-DotNet-XlsxMemory.ps1 new file mode 100644 index 00000000..eab47e28 --- /dev/null +++ b/scripts/Measure-DotNet-XlsxMemory.ps1 @@ -0,0 +1,109 @@ +#requires -Version 7.0 +<# +.SYNOPSIS + Measures isolated-process peak working sets and verifies identical XLSX PDF output. +.EXAMPLE + .\scripts\Measure-DotNet-XlsxMemory.ps1 -RowCounts 20000,60000 +#> +param( + [ValidateNotNullOrEmpty()] + [int[]]$RowCounts = @(20000, 60000) +) + +$ErrorActionPreference = "Stop" +$RepoRoot = Split-Path -Parent $PSScriptRoot +$OutputDir = Join-Path $RepoRoot "artifacts\xlsx-low-memory\memory" +$Project = Join-Path $RepoRoot "src\MiniPdf.Cli\MiniPdf.Cli.csproj" +$Cli = Join-Path $RepoRoot "src\MiniPdf.Cli\bin\Release\net9.0\MiniPdf.Cli.dll" +$Dotnet = (Get-Command dotnet -ErrorAction Stop).Source +if ($RowCounts | Where-Object { $_ -lt 1 -or $_ -gt 1048576 }) { + throw "RowCounts must be between 1 and 1048576." +} +New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null +& $Dotnet build $Project -c Release --no-restore *> (Join-Path $OutputDir "build.log") +if ($LASTEXITCODE -ne 0) { throw "CLI build failed. See $OutputDir\build.log." } + +$Generator = @' +import io, pathlib, sys, zipfile +directory = pathlib.Path(sys.argv[1]) +ns = "http://schemas.openxmlformats.org/spreadsheetml/2006/main" +for count in map(int, sys.argv[2:]): + with zipfile.ZipFile(directory / f"table-{count}.xlsx", "w", zipfile.ZIP_DEFLATED) as z: + z.writestr("xl/workbook.xml", f'') + with io.TextIOWrapper(z.open("xl/sharedStrings.xml", "w"), encoding="utf-8") as out: + out.write(f'') + for i in range(1, count+1): + out.write(f'Record {i:08d}') + out.write('') + with io.TextIOWrapper(z.open("xl/worksheets/sheet1.xml", "w"), encoding="utf-8") as out: + out.write(f'') + for i in range(1, count+1): + out.write(f'{i-1}') + for col in "BCDEFGH": + out.write(f'{i*10+ord(col)}') + out.write('') + out.write('') +'@ +$Generator | python - $OutputDir @RowCounts +if ($LASTEXITCODE -ne 0) { throw "Generating the memory benchmark workbooks failed." } + +$Results = @() +foreach ($Rows in ($RowCounts | Sort-Object -Unique)) { + foreach ($LowMemory in @($false, $true)) { + $Mode = if ($LowMemory) { "low-memory" } else { "default" } + $Pdf = Join-Path $OutputDir "table-$Rows-$Mode.pdf" + $Info = [System.Diagnostics.ProcessStartInfo]::new($Dotnet) + $Info.UseShellExecute = $false + $Info.RedirectStandardOutput = $true + $Info.RedirectStandardError = $true + foreach ($Argument in @($Cli, (Join-Path $OutputDir "table-$Rows.xlsx"), "-o", $Pdf)) { + $Info.ArgumentList.Add($Argument) + } + if ($LowMemory) { $Info.ArgumentList.Add("--low-memory") } + $Process = [System.Diagnostics.Process]::new() + $Process.StartInfo = $Info + $Timer = [System.Diagnostics.Stopwatch]::StartNew() + $Peak = 0L + $Started = $false + try { + $Started = $Process.Start() + if (-not $Started) { throw "Could not start the conversion process." } + $Stdout = $Process.StandardOutput.ReadToEndAsync() + $Stderr = $Process.StandardError.ReadToEndAsync() + while (-not $Process.HasExited) { + $Process.Refresh() + $Peak = [Math]::Max($Peak, $Process.PeakWorkingSet64) + Start-Sleep -Milliseconds 20 + } + $Process.WaitForExit() + $Timer.Stop() + $Output = $Stdout.GetAwaiter().GetResult() + $ErrorOutput = $Stderr.GetAwaiter().GetResult() + [System.IO.File]::WriteAllText((Join-Path $OutputDir "table-$Rows-$Mode.log"), $Output + $ErrorOutput) + if ($Process.ExitCode -ne 0) { throw "Conversion failed: $ErrorOutput" } + if ($Peak -eq 0) { throw "No memory sample was captured." } + $Result = [pscustomobject]@{ + Rows = $Rows + Columns = 8 + Mode = $Mode + PeakWorkingSetBytes = $Peak + Seconds = [Math]::Round($Timer.Elapsed.TotalSeconds, 3) + PdfBytes = (Get-Item -LiteralPath $Pdf).Length + Sha256 = (Get-FileHash -LiteralPath $Pdf -Algorithm SHA256).Hash + } + $Results += $Result + $Result | Format-List + } + finally { + if ($Started -and -not $Process.HasExited) { Stop-Process -Id $Process.Id } + $Process.Dispose() + } + } + $Pair = @($Results | Where-Object Rows -eq $Rows) + if ($Pair[0].Sha256 -ne $Pair[1].Sha256) { throw "PDF output differs for $Rows rows." } +} +$Results | ConvertTo-Json | Set-Content (Join-Path $OutputDir "results.json") -Encoding utf8 +$Largest = @($Results | Where-Object Rows -eq ($RowCounts | Measure-Object -Maximum).Maximum) +$Ratio = $Largest[1].PeakWorkingSetBytes / $Largest[0].PeakWorkingSetBytes +if ($Ratio -gt 0.7) { throw "LowMemory must reduce peak working set by at least 30% on the largest case; ratio was $Ratio." } +Write-Host ("Largest-case peak working-set reduction: {0:P1}" -f (1 - $Ratio)) diff --git a/scripts/Publish-VisualBenchmarkPages.ps1 b/scripts/Publish-VisualBenchmarkPages.ps1 new file mode 100644 index 00000000..9bb90403 --- /dev/null +++ b/scripts/Publish-VisualBenchmarkPages.ps1 @@ -0,0 +1,174 @@ +[CmdletBinding(SupportsShouldProcess)] +param( + [string]$ArtifactsRoot = (Join-Path (Split-Path $PSScriptRoot -Parent) "artifacts"), + [string]$DestinationRoot = (Join-Path (Split-Path (Split-Path $PSScriptRoot -Parent) -Parent) "minipdf-web-page"), + [switch]$Clean, + [switch]$IncludeCompositeImages +) + +$ErrorActionPreference = "Stop" + +function Get-RelativeWebPath { + param( + [Parameter(Mandatory)] [string]$BasePath, + [Parameter(Mandatory)] [string]$Path + ) + + return [System.IO.Path]::GetRelativePath($BasePath, $Path).Replace("\", "/") +} + +function Copy-ReportDirectory { + param( + [Parameter(Mandatory)] [System.IO.FileInfo]$ReportFile, + [Parameter(Mandatory)] [array]$Results, + [Parameter(Mandatory)] [string]$Language, + [Parameter(Mandatory)] [string]$Suite, + [Parameter(Mandatory)] [string]$Format, + [Parameter(Mandatory)] [string]$AssetsRoot + ) + + $ReportDirectory = $ReportFile.Directory.FullName + $TargetDirectory = Join-Path $AssetsRoot "$Language/$Suite/$Format" + New-Item -ItemType Directory -Path $TargetDirectory -Force | Out-Null + + foreach ($FileName in @("comparison_report.json", "comparison_report.md", "benchmark_coverage.json", "comparison_manifest.json")) { + $SourceFile = Join-Path $ReportDirectory $FileName + if (Test-Path $SourceFile -PathType Leaf) { + Copy-Item $SourceFile (Join-Path $TargetDirectory $FileName) -Force + } + } + + $ImageNames = @($Results.diff_images | ForEach-Object { + @($_.minipdf_img, $_.reference_img, $_.auxiliary_img, $_.heatmap_img) + } | Where-Object { $_ } | Sort-Object -Unique) + $CompositeNames = if ($IncludeCompositeImages) { + @($Results.diff_images.composite_img | Where-Object { $_ } | Sort-Object -Unique) + } else { + @() + } + + foreach ($AssetGroup in @( + [pscustomobject]@{ Directory = "images"; Names = $ImageNames }, + [pscustomobject]@{ Directory = "side-by-side"; Names = $CompositeNames } + )) { + if ($AssetGroup.Names.Count -eq 0) { continue } + $SourceDirectory = Join-Path $ReportDirectory $AssetGroup.Directory + $TargetAssetDirectory = Join-Path $TargetDirectory $AssetGroup.Directory + New-Item -ItemType Directory -Path $TargetAssetDirectory -Force | Out-Null + foreach ($AssetName in $AssetGroup.Names) { + $SourceAsset = Join-Path $SourceDirectory $AssetName + if (Test-Path $SourceAsset -PathType Leaf) { + Copy-Item $SourceAsset (Join-Path $TargetAssetDirectory $AssetName) -Force + } else { + Write-Warning "Referenced benchmark asset not found: $SourceAsset" + } + } + } + + return $TargetDirectory +} + +$ArtifactsRoot = [System.IO.Path]::GetFullPath($ArtifactsRoot) +$DestinationRoot = [System.IO.Path]::GetFullPath($DestinationRoot) +$RepoRoot = Split-Path $PSScriptRoot -Parent + +if (-not (Test-Path $ArtifactsRoot -PathType Container)) { + throw "Artifacts directory not found: $ArtifactsRoot" +} +if (-not (Test-Path (Join-Path $DestinationRoot ".git") -PathType Container)) { + throw "GitHub Pages repository not found: $DestinationRoot" +} + +$ReportSources = @(Get-ChildItem $ArtifactsRoot -Filter "comparison_report.json" -File -Recurse | ForEach-Object { + if ($_.FullName -match "[\\/]artifacts[\\/](?[^\\/]+)-benchmark[\\/](?classic|issue)[\\/](?xlsx|docx|pptx)[\\/]report[\\/]comparison_report\.json$") { + [pscustomobject]@{ + File = $_ + Language = $Matches.language + Suite = $Matches.suite + Format = $Matches.format + } + } +}) + +$LegacyDotNetReports = @( + [pscustomobject]@{ Path = "tests/MiniPdf.Benchmark/reports/comparison_report.json"; Suite = "classic"; Format = "xlsx" }, + [pscustomobject]@{ Path = "tests/MiniPdf.Benchmark/reports_docx/comparison_report.json"; Suite = "classic"; Format = "docx" }, + [pscustomobject]@{ Path = "tests/Issue_Files/reports_pptx/comparison_report.json"; Suite = "issue"; Format = "pptx" } +) +foreach ($LegacyReport in $LegacyDotNetReports) { + $LegacyPath = Join-Path $RepoRoot $LegacyReport.Path + if (Test-Path $LegacyPath -PathType Leaf) { + $ReportSources += [pscustomobject]@{ + File = Get-Item $LegacyPath + Language = "dotnet" + Suite = $LegacyReport.Suite + Format = $LegacyReport.Format + } + } +} + +if ($ReportSources.Count -eq 0) { + throw "No language benchmark reports found under $ArtifactsRoot" +} + +$DataRoot = Join-Path $DestinationRoot "data" +$AssetsRoot = Join-Path $DestinationRoot "assets/benchmarks" +if ($Clean) { + foreach ($GeneratedPath in @($DataRoot, $AssetsRoot)) { + if (Test-Path $GeneratedPath) { + Remove-Item $GeneratedPath -Recurse -Force + } + } +} +New-Item -ItemType Directory -Path $DataRoot -Force | Out-Null +New-Item -ItemType Directory -Path $AssetsRoot -Force | Out-Null + +$PublishedReports = foreach ($ReportSource in $ReportSources) { + $ReportFile = $ReportSource.File + $Language = $ReportSource.Language + $Suite = $ReportSource.Suite + $Format = $ReportSource.Format + $Results = @(Get-Content $ReportFile.FullName -Raw | ConvertFrom-Json) + if ($Results.Count -eq 1 -and $Results[0].PSObject.Properties.Name -contains "results") { + $Results = @($Results[0].results) + } + + $Scores = @($Results | Where-Object { $null -ne $_.overall_score }) + $AverageScore = if ($Scores.Count -gt 0) { + [Math]::Round(($Scores | Measure-Object -Property overall_score -Average).Average, 6) + } else { + $null + } + + if ($PSCmdlet.ShouldProcess("$Language/$Suite/$Format", "Publish visual benchmark report")) { + $TargetDirectory = Copy-ReportDirectory -ReportFile $ReportFile -Results $Results -Language $Language -Suite $Suite -Format $Format -AssetsRoot $AssetsRoot + } else { + $TargetDirectory = Join-Path $AssetsRoot "$Language/$Suite/$Format" + } + + [ordered]@{ + id = "$Language-$Suite-$Format" + language = $Language + suite = $Suite + format = $Format + cases = $Results.Count + scored_cases = $Scores.Count + average_score = $AverageScore + report = Get-RelativeWebPath -BasePath $DestinationRoot -Path (Join-Path $TargetDirectory "comparison_report.json") + coverage = Get-RelativeWebPath -BasePath $DestinationRoot -Path (Join-Path $TargetDirectory "benchmark_coverage.json") + assets = Get-RelativeWebPath -BasePath $DestinationRoot -Path $TargetDirectory + includes_composite_images = [bool]$IncludeCompositeImages + } +} + +$Manifest = [ordered]@{ + generated_at = [DateTime]::UtcNow.ToString("o") + reports = @($PublishedReports | Sort-Object language, suite, format) +} +$ManifestPath = Join-Path $DataRoot "manifest.json" +if ($PSCmdlet.ShouldProcess($ManifestPath, "Write benchmark manifest")) { + $Manifest | ConvertTo-Json -Depth 8 | Set-Content $ManifestPath -Encoding utf8 +} + +Write-Host "Published $($PublishedReports.Count) visual benchmark report(s) to $DestinationRoot" +Write-Host "Manifest: $ManifestPath" \ No newline at end of file diff --git a/scripts/Run-Benchmark.ps1 b/scripts/Run-Benchmark.ps1 index 2eb05288..2916ed2f 100644 --- a/scripts/Run-Benchmark.ps1 +++ b/scripts/Run-Benchmark.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - One-click benchmark: generate Excel → convert to PDF (MiniPdf + LibreOffice) → compare → report. + One-click benchmark: generate Excel -> convert to PDF (MiniPdf + Microsoft 365) -> compare -> report. .DESCRIPTION This script orchestrates the full MiniPdf self-evolution pipeline on Windows. @@ -10,6 +10,7 @@ .\scripts\Run-Benchmark.ps1 .\scripts\Run-Benchmark.ps1 -CompareOnly .\scripts\Run-Benchmark.ps1 -SkipReference + .\scripts\Run-Benchmark.ps1 -Filter "classic" -Engine libre -ForceReference -Heatmaps #> param( @@ -17,11 +18,12 @@ param( [switch]$SkipGenerate, [switch]$SkipMiniPdf, [switch]$SkipReference, + [switch]$ForceReference, [switch]$SkipInstall, [switch]$WithOffice, [switch]$SkipOffice, - [ValidateSet("libre", "office")] - [string]$Engine = "office", + [ValidateSet("libre", "office", "o365")] + [string]$Engine = "o365", [string]$Filter, [string]$SourceDir, [string]$MiniPdfDir, @@ -36,7 +38,9 @@ param( [double]$HeatmapGain = 5.0, [string]$CandidateLabel = "MiniPdf", [string]$ReferenceLabel, - [string]$OfficeLabel = "Office" + [string]$OfficeLabel = "Office", + [string]$PythonPath, + [switch]$NoOpen ) $ErrorActionPreference = "Continue" @@ -49,6 +53,18 @@ function Resolve-BenchmarkPath([string]$PathValue) { return Join-Path $ScriptRoot $PathValue } +if (-not $PythonPath) { + $PythonPath = @( + (Join-Path $ScriptRoot ".venv\Scripts\python.exe"), + (Join-Path $ScriptRoot ".venv/bin/python") + ) | Where-Object { Test-Path -LiteralPath $_ -PathType Leaf } | Select-Object -First 1 +} +if (-not $PythonPath) { + $pythonCommand = Get-Command python, python3 -ErrorAction SilentlyContinue | Select-Object -First 1 + $PythonPath = if ($pythonCommand) { $pythonCommand.Source } else { $null } +} +if (-not $PythonPath) { throw "Python 3.10+ was not found." } + Write-Host "`n============================================================" -ForegroundColor Cyan Write-Host " MiniPdf Self-Evolution Benchmark Pipeline" -ForegroundColor Cyan Write-Host "============================================================`n" -ForegroundColor Cyan @@ -56,7 +72,7 @@ Write-Host "============================================================`n" -For # Step 0: Install Python dependencies if (-not $SkipInstall) { Write-Host "[Step 0] Installing Python dependencies..." -ForegroundColor Yellow - pip install openpyxl pymupdf Pillow --quiet 2>$null + & $PythonPath -m pip install openpyxl Pillow pywin32 --quiet 2>$null if ($LASTEXITCODE -ne 0) { Write-Host " WARNING: pip install had issues. Continuing anyway..." -ForegroundColor DarkYellow } else { @@ -70,9 +86,10 @@ if ($CompareOnly) { $pyArgs += "--compare-only" } if ($SkipGenerate) { $pyArgs += "--skip-generate" } if ($SkipMiniPdf) { $pyArgs += "--skip-minipdf" } if ($SkipReference) { $pyArgs += "--skip-reference" } +if ($ForceReference) { $pyArgs += "--force-reference" } if ($WithOffice) { $pyArgs += "--with-office" } if ($SkipOffice) { $pyArgs += "--skip-office" } -if ($Engine -ne "office") { $pyArgs += "--engine"; $pyArgs += $Engine } +if ($Engine -ne "o365") { $pyArgs += "--engine"; $pyArgs += $Engine } if ($Filter) { $pyArgs += "--filter"; $pyArgs += $Filter } if ($SourceDir) { $pyArgs += "--source-dir"; $pyArgs += (Resolve-BenchmarkPath $SourceDir) } if ($MiniPdfDir) { $pyArgs += "--minipdf-dir"; $pyArgs += (Resolve-BenchmarkPath $MiniPdfDir) } @@ -92,10 +109,10 @@ if ($ReferenceLabel) { $pyArgs += "--reference-label"; $pyArgs += $ReferenceLabe if ($OfficeLabel -ne "Office") { $pyArgs += "--office-label"; $pyArgs += $OfficeLabel } # Run the benchmark pipeline -Write-Host "`n[Running] python run_benchmark.py $($pyArgs -join ' ')`n" -ForegroundColor Yellow +Write-Host "`n[Running] $PythonPath run_benchmark.py $($pyArgs -join ' ')`n" -ForegroundColor Yellow Push-Location $BenchmarkDir try { - python run_benchmark.py @pyArgs + & $PythonPath run_benchmark.py @pyArgs } finally { Pop-Location } @@ -105,13 +122,15 @@ $reportDirPath = if ($ReportDir) { Resolve-BenchmarkPath $ReportDir } else { Joi $reportPath = Join-Path $reportDirPath "comparison_report.md" if (Test-Path $reportPath) { Write-Host "`n[Done] Report: $reportPath" -ForegroundColor Green - Write-Host "Opening report..." -ForegroundColor Cyan - # Open in VS Code if available, otherwise notepad - $code = Get-Command code -ErrorAction SilentlyContinue - if ($code) { - code $reportPath - } else { - Start-Process notepad.exe -ArgumentList $reportPath + if (-not $NoOpen) { + Write-Host "Opening report..." -ForegroundColor Cyan + # Open in VS Code if available, otherwise notepad + $code = Get-Command code -ErrorAction SilentlyContinue + if ($code) { + code $reportPath + } else { + Start-Process notepad.exe -ArgumentList $reportPath + } } } else { Write-Host "`nNo report generated. Check the output above for errors." -ForegroundColor Red diff --git a/scripts/Run-Benchmark_docx.ps1 b/scripts/Run-Benchmark_docx.ps1 index b5f05847..1a9a2e1a 100644 --- a/scripts/Run-Benchmark_docx.ps1 +++ b/scripts/Run-Benchmark_docx.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - One-click DOCX benchmark: generate DOCX -> convert to PDF (MiniPdf + LibreOffice) -> compare -> report. + One-click DOCX benchmark: generate DOCX -> convert to PDF (MiniPdf + Microsoft 365) -> compare -> report. .DESCRIPTION This script orchestrates the full MiniPdf DOCX self-evolution pipeline on Windows. @@ -17,11 +17,12 @@ param( [switch]$SkipGenerate, [switch]$SkipMiniPdf, [switch]$SkipReference, + [switch]$ForceReference, [switch]$SkipInstall, [switch]$WithOffice, [switch]$SkipOffice, - [ValidateSet("libre", "office")] - [string]$Engine = "office", + [ValidateSet("libre", "office", "o365")] + [string]$Engine = "o365", [string]$Filter, [string]$SourceDir, [string]$MiniPdfDir, @@ -36,7 +37,9 @@ param( [double]$HeatmapGain = 5.0, [string]$CandidateLabel = "MiniPdf", [string]$ReferenceLabel, - [string]$OfficeLabel = "Office" + [string]$OfficeLabel = "Office", + [string]$PythonPath, + [switch]$NoOpen ) $ErrorActionPreference = "Continue" @@ -49,6 +52,18 @@ function Resolve-BenchmarkPath([string]$PathValue) { return Join-Path $ScriptRoot $PathValue } +if (-not $PythonPath) { + $PythonPath = @( + (Join-Path $ScriptRoot ".venv\Scripts\python.exe"), + (Join-Path $ScriptRoot ".venv/bin/python") + ) | Where-Object { Test-Path -LiteralPath $_ -PathType Leaf } | Select-Object -First 1 +} +if (-not $PythonPath) { + $pythonCommand = Get-Command python, python3 -ErrorAction SilentlyContinue | Select-Object -First 1 + $PythonPath = if ($pythonCommand) { $pythonCommand.Source } else { $null } +} +if (-not $PythonPath) { throw "Python 3.10+ was not found." } + Write-Host "`n============================================================" -ForegroundColor Cyan Write-Host " MiniPdf DOCX Benchmark Pipeline" -ForegroundColor Cyan Write-Host "============================================================`n" -ForegroundColor Cyan @@ -56,7 +71,7 @@ Write-Host "============================================================`n" -For # Step 0: Install Python dependencies if (-not $SkipInstall) { Write-Host "[Step 0] Installing Python dependencies..." -ForegroundColor Yellow - pip install python-docx pymupdf Pillow --quiet 2>$null + & $PythonPath -m pip install python-docx Pillow pywin32 --quiet 2>$null if ($LASTEXITCODE -ne 0) { Write-Host " WARNING: pip install had issues. Continuing anyway..." -ForegroundColor DarkYellow } else { @@ -70,9 +85,10 @@ if ($CompareOnly) { $pyArgs += "--compare-only" } if ($SkipGenerate) { $pyArgs += "--skip-generate" } if ($SkipMiniPdf) { $pyArgs += "--skip-minipdf" } if ($SkipReference) { $pyArgs += "--skip-reference" } +if ($ForceReference) { $pyArgs += "--force-reference" } if ($WithOffice) { $pyArgs += "--with-office" } if ($SkipOffice) { $pyArgs += "--skip-office" } -if ($Engine -ne "office") { $pyArgs += "--engine"; $pyArgs += $Engine } +if ($Engine -ne "o365") { $pyArgs += "--engine"; $pyArgs += $Engine } if ($Filter) { $pyArgs += "--filter"; $pyArgs += $Filter } if ($SourceDir) { $pyArgs += "--source-dir"; $pyArgs += (Resolve-BenchmarkPath $SourceDir) } if ($MiniPdfDir) { $pyArgs += "--minipdf-dir"; $pyArgs += (Resolve-BenchmarkPath $MiniPdfDir) } @@ -92,10 +108,10 @@ if ($ReferenceLabel) { $pyArgs += "--reference-label"; $pyArgs += $ReferenceLabe if ($OfficeLabel -ne "Office") { $pyArgs += "--office-label"; $pyArgs += $OfficeLabel } # Run the benchmark pipeline -Write-Host "`n[Running] python run_benchmark_docx.py $($pyArgs -join ' ')`n" -ForegroundColor Yellow +Write-Host "`n[Running] $PythonPath run_benchmark_docx.py $($pyArgs -join ' ')`n" -ForegroundColor Yellow Push-Location $BenchmarkDir try { - python run_benchmark_docx.py @pyArgs + & $PythonPath run_benchmark_docx.py @pyArgs } finally { Pop-Location } @@ -105,12 +121,14 @@ $reportDirPath = if ($ReportDir) { Resolve-BenchmarkPath $ReportDir } else { Joi $reportPath = Join-Path $reportDirPath "comparison_report.md" if (Test-Path $reportPath) { Write-Host "`n[Done] Report: $reportPath" -ForegroundColor Green - Write-Host "Opening report..." -ForegroundColor Cyan - $code = Get-Command code -ErrorAction SilentlyContinue - if ($code) { - code $reportPath - } else { - Start-Process notepad.exe -ArgumentList $reportPath + if (-not $NoOpen) { + Write-Host "Opening report..." -ForegroundColor Cyan + $code = Get-Command code -ErrorAction SilentlyContinue + if ($code) { + code $reportPath + } else { + Start-Process notepad.exe -ArgumentList $reportPath + } } } else { Write-Host "`nNo report generated. Check the output above for errors." -ForegroundColor Red diff --git a/scripts/Run-Benchmark_issues.ps1 b/scripts/Run-Benchmark_issues.ps1 index 5f4e2c9c..5a243df3 100644 --- a/scripts/Run-Benchmark_issues.ps1 +++ b/scripts/Run-Benchmark_issues.ps1 @@ -1,14 +1,15 @@ <# .SYNOPSIS - Benchmark Issue_Files: convert user-reported xlsx/docx to PDF (MiniPdf + LibreOffice) → compare → report. + Benchmark Issue_Files: convert user-reported XLSX/DOCX to PDF (MiniPdf + Microsoft 365) -> compare -> report. .DESCRIPTION - Converts files in tests/Issue_Files/xlsx and tests/Issue_Files/docx using both - MiniPdf and LibreOffice, then runs compare_pdfs.py to produce a comparison report. + Converts files in tests/Issue_Files/xlsx and tests/Issue_Files/docx using + MiniPdf and Microsoft 365 by default, then produces a comparison report. + Pass -Engine libre to use LibreOffice instead. When -Filter is omitted, all issue files (xlsx + docx) are processed. .EXAMPLE - .\scripts\Run-Benchmark_issues.ps1 # run ALL issue xlsx + docx + .\scripts\Run-Benchmark_issues.ps1 -All # run ALL issue xlsx + docx .\scripts\Run-Benchmark_issues.ps1 -Filter "sa8000" # only files matching "sa8000" .\scripts\Run-Benchmark_issues.ps1 -Filter "sa8000" -SkipReference .\scripts\Run-Benchmark_issues.ps1 -Filter "sa8000" -CompareOnly @@ -18,6 +19,7 @@ param( [string]$Filter, + [switch]$All, [switch]$CompareOnly, [switch]$SkipMiniPdf, [switch]$SkipReference, @@ -29,8 +31,9 @@ param( [switch]$Heatmaps, [int]$HeatmapThreshold = 12, [double]$HeatmapGain = 5.0, - [ValidateSet("libre", "office")] - [string]$Engine = "office" + [int]$MaxComparePages = 0, + [ValidateSet("libre", "office", "o365")] + [string]$Engine = "o365" ) $ErrorActionPreference = "Continue" @@ -50,7 +53,7 @@ $DocxIssueDir = Join-Path $IssueDir "docx" $MiniPdfXlsx = Join-Path $IssueDir "minipdf_xlsx" $MiniPdfDocx = Join-Path $IssueDir "minipdf_docx" -# LibreOffice reference output dirs +# Selected reference engine output dirs $RefXlsx = Join-Path $IssueDir "reference_xlsx" $RefDocx = Join-Path $IssueDir "reference_docx" @@ -58,6 +61,8 @@ $RefDocx = Join-Path $IssueDir "reference_docx" $OfficeXlsx = Join-Path $IssueDir "office_xlsx" $OfficeDocx = Join-Path $IssueDir "office_docx" +$ReferenceLabel = if ($Engine -in @('o365', 'office')) { 'Microsoft 365 Reference' } else { 'LibreOffice Reference' } + # Report dirs $ReportXlsx = Join-Path $IssueDir "reports_xlsx" $ReportDocx = Join-Path $IssueDir "reports_docx" @@ -66,6 +71,11 @@ Write-Host "`n============================================================" -For Write-Host " MiniPdf Issue Files Benchmark" -ForegroundColor Cyan Write-Host "============================================================`n" -ForegroundColor Cyan +if (-not $All -and -not $Filter) { + Write-Host "Specify -Filter for a focused issue run, or -All for the full issue benchmark." -ForegroundColor Red + exit 1 +} + if ($SingleFile) { Write-Host " MiniPdf mode: .NET single-file CLI ($SingleFileRid)" -ForegroundColor DarkCyan } else { @@ -199,10 +209,32 @@ function Show-ScoreDrops { } } +function Write-ComparisonManifest { + param( + [object[]]$Files, + [string]$ManifestPath, + [string]$Format + ) + + $cases = @($Files | Sort-Object BaseName | ForEach-Object { + [pscustomobject]@{ + name = $_.BaseName + case_id = $_.BaseName + format = $Format + } + }) + + [pscustomobject]@{ cases = $cases } | + ConvertTo-Json -Depth 5 | + Set-Content -Path $ManifestPath -Encoding UTF8 + + return $ManifestPath +} + # Step 0: Install Python dependencies if (-not $SkipInstall) { Write-Host "[Step 0] Installing Python dependencies..." -ForegroundColor Yellow - pip install openpyxl pymupdf python-docx Pillow --quiet 2>$null + pip install openpyxl python-docx Pillow pywin32 --quiet 2>$null if ($LASTEXITCODE -ne 0) { Write-Host " WARNING: pip install had issues. Continuing anyway..." -ForegroundColor DarkYellow } else { @@ -216,7 +248,8 @@ foreach ($d in @($MiniPdfXlsx, $MiniPdfDocx, $RefXlsx, $RefDocx, $OfficeXlsx, $O } # ── XLSX ── -$xlsxFiles = Get-ChildItem -Path $XlsxIssueDir -Filter "*.xlsx" -ErrorAction SilentlyContinue +$xlsxAllFiles = @(Get-ChildItem -Path $XlsxIssueDir -Filter "*.xlsx" -ErrorAction SilentlyContinue) +$xlsxFiles = $xlsxAllFiles if ($Filter) { $xlsxFiles = $xlsxFiles | Where-Object { $_.BaseName -like "*$Filter*" } } @@ -241,7 +274,7 @@ if ($xlsxFiles -and $xlsxFiles.Count -gt 0) { } if (-not $CompareOnly -and -not $SkipReference) { - if ($Engine -eq 'office') { + if ($Engine -in @('o365', 'office')) { Write-Host '[Step 2] Converting XLSX -> PDF (Office / Excel COM)...' -ForegroundColor Yellow Push-Location $BenchmarkDir try { @@ -277,11 +310,13 @@ if ($xlsxFiles -and $xlsxFiles.Count -gt 0) { Write-Host "[Step 3] Comparing XLSX PDFs..." -ForegroundColor Yellow $xlsxScoresBefore = Get-ReportScores -ReportDir $ReportXlsx - $compareArgs = @("compare_pdfs.py", "--minipdf-dir", $MiniPdfXlsx, "--reference-dir", $RefXlsx, "--report-dir", $ReportXlsx) + $xlsxManifest = Write-ComparisonManifest -Files $xlsxAllFiles -ManifestPath (Join-Path $ReportXlsx "comparison_manifest.json") -Format "xlsx" + $compareArgs = @("compare_pdfs.py", "--minipdf-dir", $MiniPdfXlsx, "--reference-dir", $RefXlsx, "--report-dir", $ReportXlsx, "--manifest", $xlsxManifest, "--report-scope", "issue-xlsx", "--reference-label", $ReferenceLabel) if ($WithOffice -and (Test-Path $OfficeXlsx)) { $compareArgs += @("--office-dir", $OfficeXlsx) } if ($Filter) { $compareArgs += @("--filter", $Filter) } + if ($MaxComparePages -gt 0) { $compareArgs += @("--max-pages", $MaxComparePages) } if ($Heatmaps) { $compareArgs += @("--heatmaps", "--heatmap-threshold", $HeatmapThreshold, "--heatmap-gain", $HeatmapGain) } @@ -297,7 +332,8 @@ if ($xlsxFiles -and $xlsxFiles.Count -gt 0) { } # ── DOCX ── -$docxFiles = Get-ChildItem -Path $DocxIssueDir -Filter "*.docx" -ErrorAction SilentlyContinue +$docxAllFiles = @(Get-ChildItem -Path $DocxIssueDir -Filter "*.docx" -ErrorAction SilentlyContinue) +$docxFiles = $docxAllFiles if ($Filter) { $docxFiles = $docxFiles | Where-Object { $_.BaseName -like "*$Filter*" } } @@ -322,7 +358,7 @@ if ($docxFiles -and $docxFiles.Count -gt 0) { } if (-not $CompareOnly -and -not $SkipReference) { - if ($Engine -eq 'office') { + if ($Engine -in @('o365', 'office')) { Write-Host '[Step 2] Converting DOCX -> PDF (Office / Word COM)...' -ForegroundColor Yellow Push-Location $BenchmarkDir try { @@ -358,7 +394,8 @@ if ($docxFiles -and $docxFiles.Count -gt 0) { Write-Host "[Step 3] Comparing DOCX PDFs..." -ForegroundColor Yellow $docxScoresBefore = Get-ReportScores -ReportDir $ReportDocx - $compareArgs = @("compare_pdfs.py", "--minipdf-dir", $MiniPdfDocx, "--reference-dir", $RefDocx, "--report-dir", $ReportDocx) + $docxManifest = Write-ComparisonManifest -Files $docxAllFiles -ManifestPath (Join-Path $ReportDocx "comparison_manifest.json") -Format "docx" + $compareArgs = @("compare_pdfs.py", "--minipdf-dir", $MiniPdfDocx, "--reference-dir", $RefDocx, "--report-dir", $ReportDocx, "--manifest", $docxManifest, "--report-scope", "issue-docx", "--reference-label", $ReferenceLabel) if ($WithOffice -and (Test-Path $OfficeDocx)) { $compareArgs += @("--office-dir", $OfficeDocx) } diff --git a/scripts/Run-Benchmark_pptx.ps1 b/scripts/Run-Benchmark_pptx.ps1 index 88a26ace..a3028251 100644 --- a/scripts/Run-Benchmark_pptx.ps1 +++ b/scripts/Run-Benchmark_pptx.ps1 @@ -48,7 +48,7 @@ Write-Host "============================================================`n" -For if (-not $SkipInstall) { Write-Host "[Step 0] Installing Python dependencies..." -ForegroundColor Yellow - pip install pymupdf Pillow --quiet 2>$null + pip install Pillow --quiet 2>$null if ($LASTEXITCODE -ne 0) { Write-Host " WARNING: pip install had issues. Continuing anyway..." -ForegroundColor DarkYellow } else { diff --git a/scripts/Run-DotNet-VisualBenchmark.ps1 b/scripts/Run-DotNet-VisualBenchmark.ps1 new file mode 100644 index 00000000..bb78cd33 --- /dev/null +++ b/scripts/Run-DotNet-VisualBenchmark.ps1 @@ -0,0 +1,2 @@ +param() +& (Join-Path $PSScriptRoot "Invoke-LanguageVisualBenchmark.ps1") -Language dotnet @args \ No newline at end of file diff --git a/scripts/Test-PdfMergeVisual.ps1 b/scripts/Test-PdfMergeVisual.ps1 new file mode 100644 index 00000000..850e6199 --- /dev/null +++ b/scripts/Test-PdfMergeVisual.ps1 @@ -0,0 +1,130 @@ +param( + [string]$OutputDir = "artifacts/issue62-merge-visual", + [switch]$Open +) + +$ErrorActionPreference = "Stop" + +$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..") +$resolvedOutputDir = Join-Path $repoRoot $OutputDir +$runnerDir = Join-Path $resolvedOutputDir "_visual-runner" +$miniPdfProject = Join-Path $repoRoot "src/MiniPdf/MiniPdf.csproj" + +New-Item -ItemType Directory -Force -Path $runnerDir | Out-Null + +$escapedProjectPath = [System.Security.SecurityElement]::Escape($miniPdfProject) + +@" + + + Exe + net8.0 + enable + enable + + + + + +"@ | Set-Content -Path (Join-Path $runnerDir "PdfMergeVisual.csproj") -Encoding UTF8 + +$escapedOutputDir = $resolvedOutputDir.Replace('"', '""') + +@" +using System.Globalization; +using System.Text; +using MiniSoftware; + +var outputDir = @"$escapedOutputDir"; +Directory.CreateDirectory(outputDir); + +var first = Path.Combine(outputDir, "source-a.pdf"); +var second = Path.Combine(outputDir, "source-b.pdf"); +var merged = Path.Combine(outputDir, "merged-bookmarks.pdf"); + +File.WriteAllBytes(first, CreateSamplePdf("Source A", "This PDF contributes pages 1 and 2.", 2)); +File.WriteAllBytes(second, CreateSamplePdf("Source B", "This PDF contributes pages 3 and 4.", 2)); + +MiniPdf.MergePdf(new[] { first, second }, merged, new PdfMergeOptions +{ + BookmarkTitles = new[] { "Source A", "Source B" }, + Bookmarks = new[] { new PdfBookmark("Source B - page 2", 3) } +}); + +Console.WriteLine($"Created: {merged}"); +Console.WriteLine("Open the PDF and check that the bookmark pane contains Source A, Source B, and Source B - page 2."); + +static byte[] CreateSamplePdf(string title, string body, int pageCount) +{ + using var stream = new MemoryStream(); + var offsets = new List { 0 }; + + void WriteRaw(string text) + { + var bytes = Encoding.Latin1.GetBytes(text); + stream.Write(bytes, 0, bytes.Length); + } + + void BeginObject(int objectNumber) + { + while (offsets.Count <= objectNumber) + offsets.Add(0); + offsets[objectNumber] = stream.Position; + WriteRaw($"{objectNumber} 0 obj\n"); + } + + WriteRaw("%PDF-1.4\n%\xe2\xe3\xcf\xd3\n"); + + BeginObject(1); + WriteRaw("<< /Type /Catalog /Pages 2 0 R >>\nendobj\n"); + + var pageObjects = Enumerable.Range(0, pageCount).Select(i => 5 + i * 2).ToArray(); + BeginObject(2); + WriteRaw($"<< /Type /Pages /Kids [{string.Join(" ", pageObjects.Select(n => $"{n} 0 R"))}] /Count {pageCount} >>\nendobj\n"); + + BeginObject(3); + WriteRaw("<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >>\nendobj\n"); + + for (var i = 0; i < pageCount; i++) + { + var contentObject = 4 + i * 2; + var pageObject = 5 + i * 2; + var content = $"BT /F1 18 Tf 50 730 Td ({EscapePdfString(title)}) Tj /F1 12 Tf 0 -32 Td ({EscapePdfString(body)}) Tj 0 -20 Td (Page {i + 1}) Tj ET\n"; + var contentBytes = Encoding.ASCII.GetBytes(content); + + BeginObject(contentObject); + WriteRaw($"<< /Length {contentBytes.Length} >>\nstream\n"); + stream.Write(contentBytes, 0, contentBytes.Length); + WriteRaw("endstream\nendobj\n"); + + BeginObject(pageObject); + WriteRaw($"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Resources << /Font << /F1 3 0 R >> >> /Contents {contentObject} 0 R >>\nendobj\n"); + } + + var xrefOffset = stream.Position; + WriteRaw("xref\n"); + WriteRaw($"0 {offsets.Count}\n"); + WriteRaw("0000000000 65535 f \n"); + for (var i = 1; i < offsets.Count; i++) + WriteRaw($"{offsets[i].ToString("D10", CultureInfo.InvariantCulture)} 00000 n \n"); + + WriteRaw("trailer\n"); + WriteRaw($"<< /Size {offsets.Count} /Root 1 0 R >>\n"); + WriteRaw("startxref\n"); + WriteRaw($"{xrefOffset}\n"); + WriteRaw("%%EOF\n"); + + return stream.ToArray(); +} + +static string EscapePdfString(string value) + => value.Replace("\\", "\\\\").Replace("(", "\\(").Replace(")", "\\)"); +"@ | Set-Content -Path (Join-Path $runnerDir "Program.cs") -Encoding UTF8 + +dotnet run --project (Join-Path $runnerDir "PdfMergeVisual.csproj") + +$mergedPdf = Join-Path $resolvedOutputDir "merged-bookmarks.pdf" +if ($Open) +{ + Start-Process $mergedPdf +} diff --git a/scripts/update_readme_docx_images.py b/scripts/update_readme_docx_images.py index 67555515..02f0c6f3 100644 --- a/scripts/update_readme_docx_images.py +++ b/scripts/update_readme_docx_images.py @@ -15,7 +15,7 @@ REPO_ROOT = Path(__file__).parent.parent README_PATH = REPO_ROOT / "README.md" REPORT_JSON = REPO_ROOT / "tests/MiniPdf.Benchmark/reports_docx/comparison_report.json" -IMAGE_DIR_REL = "tests/MiniPdf.Benchmark/reports_docx/images" +IMAGE_DIR_REL = "https://mini-software.github.io/minipdf-web-page/assets/benchmarks/dotnet/classic/docx/images" IMG_WIDTH = 320 # All README files with their image-path prefix diff --git a/scripts/update_readme_from_report.py b/scripts/update_readme_from_report.py index 992f67ba..431b9b57 100644 --- a/scripts/update_readme_from_report.py +++ b/scripts/update_readme_from_report.py @@ -6,6 +6,7 @@ import os REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +BENCHMARK_SITE = "https://mini-software.github.io/minipdf-web-page/" # --- Load all three report JSONs --- REPORT_PATHS = { @@ -184,49 +185,49 @@ def build_benchmark_section(lang): "README.md": { "path": os.path.join(REPO_ROOT, "README.md"), "lang": "en", - "img_prefix": "tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## Benchmark", "visual_heading": r"### Visual Comparison", }, "README.zh-CN.md": { "path": os.path.join(REPO_ROOT, "README.zh-CN.md"), "lang": "zh-CN", - "img_prefix": "tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## 基准测试", "visual_heading": r"### 视觉对比", }, "README.zh-TW.md": { "path": os.path.join(REPO_ROOT, "documents", "README.zh-TW.md"), "lang": "zh-TW", - "img_prefix": "../tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## 基準測試", "visual_heading": r"### 視覺對比", }, "README.ja.md": { "path": os.path.join(REPO_ROOT, "documents", "README.ja.md"), "lang": "ja", - "img_prefix": "../tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## ベンチマーク", "visual_heading": r"### ビジュアル比較", }, "README.ko.md": { "path": os.path.join(REPO_ROOT, "documents", "README.ko.md"), "lang": "ko", - "img_prefix": "../tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## 벤치마크", "visual_heading": r"### 시각적 비교", }, "README.it.md": { "path": os.path.join(REPO_ROOT, "documents", "README.it.md"), "lang": "it", - "img_prefix": "../tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## Benchmark", "visual_heading": r"### Confronto visivo", }, "README.fr.md": { "path": os.path.join(REPO_ROOT, "documents", "README.fr.md"), "lang": "fr", - "img_prefix": "../tests/MiniPdf.Benchmark/reports/images/", + "img_prefix": f"{BENCHMARK_SITE}assets/benchmarks/dotnet/classic/xlsx/images/", "benchmark_section_pattern": r"## Benchmark", "visual_heading": r"### Comparaison visuelle", }, @@ -354,6 +355,14 @@ def replace_benchmark_section(content, lang, file_key): } links_section = report_links.get(lang, report_links["en"]) + hosted_reports = { + f"{link_prefix}tests/MiniPdf.Benchmark/reports/comparison_report.md": f"{BENCHMARK_SITE}?language=dotnet&suite=classic&format=xlsx", + f"{link_prefix}tests/MiniPdf.Benchmark/reports_docx/comparison_report.md": f"{BENCHMARK_SITE}?language=dotnet&suite=classic&format=docx", + f"{link_prefix}tests/Issue_Files/reports_xlsx/comparison_report.md": f"{BENCHMARK_SITE}?language=dotnet&suite=issue&format=xlsx", + f"{link_prefix}tests/Issue_Files/reports_docx/comparison_report.md": f"{BENCHMARK_SITE}?language=dotnet&suite=issue&format=docx", + } + for local_report, hosted_report in hosted_reports.items(): + links_section = links_section.replace(local_report, hosted_report) visual_heading = config.get("visual_heading", r"### Visual Comparison") pattern_str = config.get("benchmark_section_pattern") diff --git a/scripts/update_readme_images.py b/scripts/update_readme_images.py index 36b84a50..aa525c07 100644 --- a/scripts/update_readme_images.py +++ b/scripts/update_readme_images.py @@ -15,7 +15,7 @@ REPO_ROOT = Path(__file__).parent.parent README_PATH = REPO_ROOT / "README.md" REPORT_JSON = REPO_ROOT / "tests/MiniPdf.Benchmark/reports/comparison_report.json" -IMAGE_DIR_REL = "tests/MiniPdf.Benchmark/reports/images" +IMAGE_DIR_REL = "https://mini-software.github.io/minipdf-web-page/assets/benchmarks/dotnet/classic/xlsx/images" IMG_WIDTH = 320 # ── score → emoji ────────────────────────────────────────────────────────────── diff --git a/src/MiniPdf.Cli/MiniPdf.Cli.csproj b/src/MiniPdf.Cli/MiniPdf.Cli.csproj index 17c91a91..69c1fb92 100644 --- a/src/MiniPdf.Cli/MiniPdf.Cli.csproj +++ b/src/MiniPdf.Cli/MiniPdf.Cli.csproj @@ -20,11 +20,11 @@ 0.1.0 0.1.0 shps951023 - A command-line tool to convert Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) files to PDF. Powered by MiniPdf — zero-dependency, pure .NET. + A command-line tool to convert Office files to PDF. Powered by MiniPdf. pdf;excel;xlsx;word;docx;powerpoint;pptx;converter;cli;tool;minipdf Apache-2.0 - https://github.com/shps951023/MiniPdf - https://github.com/shps951023/MiniPdf.git + https://github.com/mini-software/MiniPdf + https://github.com/mini-software/MiniPdf.git git README.nuget.cli.md icon.png diff --git a/src/MiniPdf.Cli/Program.cs b/src/MiniPdf.Cli/Program.cs index 982b1eae..ef8cefc4 100644 --- a/src/MiniPdf.Cli/Program.cs +++ b/src/MiniPdf.Cli/Program.cs @@ -32,6 +32,7 @@ private static int RunConvert(ReadOnlySpan args) string[]? sheets = null; int[]? sheetIndexes = null; bool compress = false; + bool lowMemory = false; int? maxRows = null; int? maxColumns = null; bool? landscape = null; @@ -57,6 +58,9 @@ private static int RunConvert(ReadOnlySpan args) case "--compress": compress = true; break; + case "--low-memory": + lowMemory = true; + break; case "--max-rows": if (i + 1 >= args.Length || !TryParsePositiveInt(args[++i], out var parsedMaxRows)) { @@ -169,6 +173,7 @@ private static int RunConvert(ReadOnlySpan args) Sheets = sheets, SheetIndexes = sheetIndexes, Compress = compress, + LowMemory = lowMemory, MaxRows = maxRows, MaxColumns = maxColumns, Landscape = landscape, @@ -259,6 +264,7 @@ private static void ShowConvertHelp() " --fonts Directory of .ttf/.ttc fonts to register", " --sheets Comma-separated Excel sheet names or 1-based indexes to render", " --compress Compress PDF content streams with FlateDecode", + " --low-memory Use disk-backed XLSX rows and pages (simple tables only)", " --max-rows Render only the first n rows from each Excel sheet or print area", " --max-columns Render only the first n columns from each Excel sheet or print area", " --landscape Render Excel sheets in landscape orientation", diff --git a/src/MiniPdf.Gui/App.axaml.cs b/src/MiniPdf.Gui/App.axaml.cs index 6bf7c16c..098e0d1b 100644 --- a/src/MiniPdf.Gui/App.axaml.cs +++ b/src/MiniPdf.Gui/App.axaml.cs @@ -2,6 +2,7 @@ using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; using MiniPdf.Gui.Views; +using System.Linq; namespace MiniPdf.Gui; @@ -16,7 +17,7 @@ public override void OnFrameworkInitializationCompleted() { if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) { - desktop.MainWindow = new MainWindow(); + desktop.MainWindow = new MainWindow(desktop.Args?.FirstOrDefault()); } base.OnFrameworkInitializationCompleted(); } diff --git a/src/MiniPdf.Gui/ViewModels/MainWindowViewModel.cs b/src/MiniPdf.Gui/ViewModels/MainWindowViewModel.cs index e0ee9e97..d05e0023 100644 --- a/src/MiniPdf.Gui/ViewModels/MainWindowViewModel.cs +++ b/src/MiniPdf.Gui/ViewModels/MainWindowViewModel.cs @@ -11,6 +11,8 @@ namespace MiniPdf.Gui.ViewModels; public partial class MainWindowViewModel : ObservableObject { + public VisualDiffViewModel VisualDiff { get; } = new(); + [ObservableProperty] private string _statusText = "Ready"; diff --git a/src/MiniPdf.Gui/ViewModels/VisualDiffViewModel.cs b/src/MiniPdf.Gui/ViewModels/VisualDiffViewModel.cs new file mode 100644 index 00000000..a4125cb7 --- /dev/null +++ b/src/MiniPdf.Gui/ViewModels/VisualDiffViewModel.cs @@ -0,0 +1,314 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.IO; +using System.Linq; +using System.Text.Json; +using Avalonia.Media.Imaging; +using CommunityToolkit.Mvvm.ComponentModel; +using CommunityToolkit.Mvvm.Input; + +namespace MiniPdf.Gui.ViewModels; + +public partial class VisualDiffViewModel : ObservableObject, IDisposable +{ + private readonly List _allCases = new(); + + [ObservableProperty] + private string _reportPath = string.Empty; + + [ObservableProperty] + private string _searchText = string.Empty; + + [ObservableProperty] + private string _statusText = "Open a classic or issue comparison report to begin"; + + [ObservableProperty] + private DiffCaseItem? _selectedCase; + + [ObservableProperty] + private DiffPageItem? _selectedPage; + + [ObservableProperty] + private Bitmap? _candidateImage; + + [ObservableProperty] + private Bitmap? _referenceImage; + + [ObservableProperty] + private Bitmap? _heatmapImage; + + [ObservableProperty] + private double _zoom = 0.7; + + [ObservableProperty] + private bool _showHeatmap; + + [ObservableProperty] + private string _pageMetrics = string.Empty; + + public ObservableCollection Cases { get; } = new(); + + public string ZoomText => $"{Zoom * 100:0}%"; + + public bool HasHeatmap => HeatmapImage is not null; + + public double CandidateDisplayWidth => CandidateImage?.PixelSize.Width * Zoom ?? 0; + + public double ReferenceDisplayWidth => ReferenceImage?.PixelSize.Width * Zoom ?? 0; + + public double HeatmapDisplayWidth => HeatmapImage?.PixelSize.Width * Zoom ?? 0; + + public void LoadReport(string reportJsonPath) + { + if (!File.Exists(reportJsonPath)) + throw new FileNotFoundException("Comparison report was not found.", reportJsonPath); + + using var stream = File.OpenRead(reportJsonPath); + using var document = JsonDocument.Parse(stream); + if (document.RootElement.ValueKind != JsonValueKind.Array) + throw new InvalidDataException("comparison_report.json must contain a JSON array."); + + var reportDirectory = Path.GetDirectoryName(Path.GetFullPath(reportJsonPath))!; + var loadedCases = new List(); + + foreach (var result in document.RootElement.EnumerateArray()) + { + if (result.ValueKind != JsonValueKind.Object) + continue; + + var name = GetString(result, "display_name") ?? GetString(result, "name") ?? "Unnamed case"; + var rawName = GetString(result, "name") ?? name; + var pages = ReadPages(result, reportDirectory); + loadedCases.Add(new DiffCaseItem( + name, + rawName, + GetDouble(result, "overall_score"), + GetDouble(result, "text_similarity"), + GetDouble(result, "visual_avg"), + GetInt(result, "minipdf_pages"), + GetInt(result, "reference_pages"), + BuildMetadata(result), + pages)); + } + + DisposeImages(); + _allCases.Clear(); + _allCases.AddRange(loadedCases.OrderBy(item => item.Name, StringComparer.OrdinalIgnoreCase)); + ReportPath = Path.GetFullPath(reportJsonPath); + SearchText = string.Empty; + ApplyFilter(); + SelectedCase = Cases.FirstOrDefault(); + + var scores = _allCases.Where(item => item.Score.HasValue).Select(item => item.Score!.Value).ToArray(); + var average = scores.Length == 0 ? "n/a" : $"{scores.Average():P1}"; + StatusText = $"{_allCases.Count} cases, {_allCases.Sum(item => item.Pages.Count)} rendered pages, average {average}"; + } + + public bool TryLoadKnownReport(string relativePath) + { + var directory = new DirectoryInfo(AppContext.BaseDirectory); + while (directory is not null) + { + var candidate = Path.Combine(directory.FullName, relativePath); + if (File.Exists(candidate)) + { + LoadReport(candidate); + return true; + } + directory = directory.Parent; + } + + StatusText = $"Report not found: {relativePath}. Run the benchmark or browse to comparison_report.json."; + return false; + } + + partial void OnSearchTextChanged(string value) => ApplyFilter(); + + partial void OnSelectedCaseChanged(DiffCaseItem? value) + { + SelectedPage = value?.Pages.FirstOrDefault(); + } + + partial void OnSelectedPageChanged(DiffPageItem? value) + { + DisposeImages(); + CandidateImage = LoadBitmap(value?.CandidatePath); + ReferenceImage = LoadBitmap(value?.ReferencePath); + HeatmapImage = LoadBitmap(value?.HeatmapPath); + ShowHeatmap = false; + PageMetrics = value?.Metrics ?? string.Empty; + OnPropertyChanged(nameof(HasHeatmap)); + } + + partial void OnZoomChanged(double value) + { + OnPropertyChanged(nameof(ZoomText)); + OnPropertyChanged(nameof(CandidateDisplayWidth)); + OnPropertyChanged(nameof(ReferenceDisplayWidth)); + OnPropertyChanged(nameof(HeatmapDisplayWidth)); + } + + partial void OnCandidateImageChanged(Bitmap? value) => OnPropertyChanged(nameof(CandidateDisplayWidth)); + + partial void OnReferenceImageChanged(Bitmap? value) => OnPropertyChanged(nameof(ReferenceDisplayWidth)); + + partial void OnHeatmapImageChanged(Bitmap? value) + { + OnPropertyChanged(nameof(HasHeatmap)); + OnPropertyChanged(nameof(HeatmapDisplayWidth)); + } + + [RelayCommand] + private void ZoomIn() => Zoom = Math.Min(2.5, Math.Round(Zoom + 0.1, 2)); + + [RelayCommand] + private void ZoomOut() => Zoom = Math.Max(0.2, Math.Round(Zoom - 0.1, 2)); + + [RelayCommand] + private void ResetZoom() => Zoom = 0.7; + + [RelayCommand] + private void ToggleHeatmap() + { + if (HasHeatmap) + ShowHeatmap = !ShowHeatmap; + } + + private void ApplyFilter() + { + var selected = SelectedCase; + var query = SearchText.Trim(); + var filtered = string.IsNullOrWhiteSpace(query) + ? _allCases + : _allCases.Where(item => item.SearchText.Contains(query, StringComparison.OrdinalIgnoreCase)).ToList(); + + Cases.Clear(); + foreach (var item in filtered) + Cases.Add(item); + + SelectedCase = selected is not null && Cases.Contains(selected) + ? selected + : Cases.FirstOrDefault(); + } + + private static IReadOnlyList ReadPages(JsonElement result, string reportDirectory) + { + if (!result.TryGetProperty("diff_images", out var images) || images.ValueKind != JsonValueKind.Array) + return Array.Empty(); + + var visualScores = new List(); + if (result.TryGetProperty("visual_scores", out var scores) && scores.ValueKind == JsonValueKind.Array) + { + visualScores.AddRange(scores.EnumerateArray().Select(element => element.TryGetDouble(out var score) ? score : (double?)null)); + } + + var pages = new List(); + var index = 0; + foreach (var image in images.EnumerateArray()) + { + var pageNumber = GetInt(image, "page") ?? index + 1; + var score = index < visualScores.Count ? visualScores[index] : null; + var candidatePath = ResolveImagePath(reportDirectory, GetString(image, "minipdf_img")); + var referencePath = ResolveImagePath(reportDirectory, GetString(image, "reference_img")); + var heatmapPath = ResolveImagePath(reportDirectory, GetString(image, "heatmap_img")); + pages.Add(new DiffPageItem(pageNumber, score, candidatePath, referencePath, heatmapPath, BuildPageMetrics(image))); + index++; + } + return pages; + } + + private static string? ResolveImagePath(string reportDirectory, string? fileName) + { + if (string.IsNullOrWhiteSpace(fileName)) + return null; + var path = Path.Combine(reportDirectory, "images", fileName); + return File.Exists(path) ? path : null; + } + + private static string BuildMetadata(JsonElement result) + { + var values = new[] + { + ("format", GetString(result, "format")), + ("case", GetString(result, "case_id")), + ("scope", GetString(result, "report_scope")), + }; + return string.Join(" | ", values.Where(item => !string.IsNullOrWhiteSpace(item.Item2)).Select(item => $"{item.Item1}: {item.Item2}")); + } + + private static string BuildPageMetrics(JsonElement image) + { + if (!image.TryGetProperty("heatmap_metrics", out var metrics) || metrics.ValueKind != JsonValueKind.Object) + return string.Empty; + + var changedFraction = GetDouble(metrics, "changed_fraction"); + var changedPixels = GetInt(metrics, "changed_pixels"); + var rmse = GetDouble(metrics, "rmse_rgb"); + return $"Changed: {(changedFraction.HasValue ? changedFraction.Value.ToString("P2") : "n/a")} ({changedPixels?.ToString("N0") ?? "n/a"} px) | RMSE: {rmse?.ToString("0.####") ?? "n/a"}"; + } + + private static string? GetString(JsonElement element, string propertyName) => + element.TryGetProperty(propertyName, out var property) && property.ValueKind == JsonValueKind.String + ? property.GetString() + : null; + + private static double? GetDouble(JsonElement element, string propertyName) => + element.TryGetProperty(propertyName, out var property) && property.TryGetDouble(out var value) + ? value + : null; + + private static int? GetInt(JsonElement element, string propertyName) => + element.TryGetProperty(propertyName, out var property) && property.TryGetInt32(out var value) + ? value + : null; + + private static Bitmap? LoadBitmap(string? path) + { + if (path is null || !File.Exists(path)) + return null; + using var stream = File.OpenRead(path); + return new Bitmap(stream); + } + + private void DisposeImages() + { + CandidateImage?.Dispose(); + ReferenceImage?.Dispose(); + HeatmapImage?.Dispose(); + CandidateImage = null; + ReferenceImage = null; + HeatmapImage = null; + } + + public void Dispose() => DisposeImages(); +} + +public sealed record DiffCaseItem( + string Name, + string RawName, + double? Score, + double? TextSimilarity, + double? VisualAverage, + int? MiniPdfPages, + int? ReferencePages, + string Metadata, + IReadOnlyList Pages) +{ + public string ScoreText => Score.HasValue ? Score.Value.ToString("P1") : "n/a"; + public string VisualText => VisualAverage.HasValue ? VisualAverage.Value.ToString("P1") : "n/a"; + public string PageCountText => $"{MiniPdfPages?.ToString() ?? "?"} / {ReferencePages?.ToString() ?? "?"}"; + public string SearchText => $"{Name} {RawName} {Metadata}"; +} + +public sealed record DiffPageItem( + int PageNumber, + double? VisualScore, + string? CandidatePath, + string? ReferencePath, + string? HeatmapPath, + string Metrics) +{ + public string Title => $"Page {PageNumber}"; + public string ScoreText => VisualScore.HasValue ? VisualScore.Value.ToString("P1") : "n/a"; +} \ No newline at end of file diff --git a/src/MiniPdf.Gui/Views/MainWindow.axaml b/src/MiniPdf.Gui/Views/MainWindow.axaml index e951ac53..4b756ad1 100644 --- a/src/MiniPdf.Gui/Views/MainWindow.axaml +++ b/src/MiniPdf.Gui/Views/MainWindow.axaml @@ -1,18 +1,21 @@ - + + + @@ -92,5 +95,10 @@ - + + + + + + diff --git a/src/MiniPdf.Gui/Views/MainWindow.axaml.cs b/src/MiniPdf.Gui/Views/MainWindow.axaml.cs index a16d7656..7046a482 100644 --- a/src/MiniPdf.Gui/Views/MainWindow.axaml.cs +++ b/src/MiniPdf.Gui/Views/MainWindow.axaml.cs @@ -13,12 +13,36 @@ public partial class MainWindow : Window { private MainWindowViewModel ViewModel => (MainWindowViewModel)DataContext!; - public MainWindow() + public MainWindow() : this(null) + { + } + + public MainWindow(string? reportPath) { InitializeComponent(); DataContext = new MainWindowViewModel(); AddHandler(DragDrop.DropEvent, OnDrop); AddHandler(DragDrop.DragOverEvent, OnDragOver); + + if (!string.IsNullOrWhiteSpace(reportPath)) + { + try + { + ViewModel.VisualDiff.LoadReport(reportPath); + MainTabs.SelectedIndex = 1; + } + catch (Exception ex) + { + ViewModel.VisualDiff.StatusText = ex.Message; + MainTabs.SelectedIndex = 1; + } + } + } + + protected override void OnClosed(EventArgs e) + { + ViewModel.VisualDiff.Dispose(); + base.OnClosed(e); } private void OnDragOver(object? sender, DragEventArgs e) diff --git a/src/MiniPdf.Gui/Views/VisualDiffView.axaml b/src/MiniPdf.Gui/Views/VisualDiffView.axaml new file mode 100644 index 00000000..aea8457c --- /dev/null +++ b/src/MiniPdf.Gui/Views/VisualDiffView.axaml @@ -0,0 +1,170 @@ + + + + - - - - - -
- - - - - - - -
#測試案例文字相似度視覺相似度頁數 (M/R)檔案大小比綜合分數
-
- -
-
- - -
- - -
- -
- - - - - - diff --git a/tests/MiniPdf.Benchmark/reports/comparison_report.json b/tests/MiniPdf.Benchmark/reports/comparison_report.json deleted file mode 100644 index 344f46e6..00000000 --- a/tests/MiniPdf.Benchmark/reports/comparison_report.json +++ /dev/null @@ -1,5712 +0,0 @@ -[ - { - "name": "classic01_basic_table_with_headers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2049, - "reference_size": 51282, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9965 - ], - "visual_avg": 0.9965, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic01_basic_table_with_headers_p1_minipdf.png", - "reference_img": "classic01_basic_table_with_headers_p1_reference.png" - } - ], - "overall_score": 0.9986 - }, - { - "name": "classic02_multiple_worksheets", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3347, - "reference_size": 56518, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.9914, - "flat_text_similarity": 0.9901, - "word_text_similarity": 0.9643, - "text_diff": "--- minipdf/classic02_multiple_worksheets.pdf\n+++ reference/classic02_multiple_worksheets.pdf\n@@ -10,6 +10,6 @@\n Utilities 200\n\n ---PAGE---\n\n Metric Value\n\n-Total Revenue 1130\n\n+Total Reve 1130\n\n Total Costs 3700\n\n Net -2570", - "visual_scores": [ - 0.9972, - 0.9973, - 0.9954 - ], - "visual_avg": 0.9966, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic02_multiple_worksheets_p1_minipdf.png", - "reference_img": "classic02_multiple_worksheets_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic02_multiple_worksheets_p2_minipdf.png", - "reference_img": "classic02_multiple_worksheets_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic02_multiple_worksheets_p3_minipdf.png", - "reference_img": "classic02_multiple_worksheets_p3_reference.png" - } - ], - "overall_score": 0.9952 - }, - { - "name": "classic03_empty_workbook", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 986, - "reference_size": 7283, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 1.0 - ], - "visual_avg": 1.0, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic03_empty_workbook_p1_minipdf.png", - "reference_img": "classic03_empty_workbook_p1_reference.png" - } - ], - "overall_score": 1.0 - }, - { - "name": "classic04_single_cell", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1056, - "reference_size": 27469, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9994 - ], - "visual_avg": 0.9994, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic04_single_cell_p1_minipdf.png", - "reference_img": "classic04_single_cell_p1_reference.png" - } - ], - "overall_score": 0.9998 - }, - { - "name": "classic05_wide_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12325, - "reference_size": 60760, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.8846, - "flat_text_similarity": 0.0385, - "word_text_similarity": 0.8846, - "text_diff": "--- minipdf/classic05_wide_table.pdf\n+++ reference/classic05_wide_table.pdf\n@@ -1,20 +1,20 @@\n-A B C D E F G H I J\n\n-A1 B1 C1 D1 E1 F1 G1 H1 I1 J1\n\n-A2 B2 C2 D2 E2 F2 G2 H2 I2 J2\n\n-A3 B3 C3 D3 E3 F3 G3 H3 I3 J3\n\n-A4 B4 C4 D4 E4 F4 G4 H4 I4 J4\n\n-A5 B5 C5 D5 E5 F5 G5 H5 I5 J5\n\n+A B C D E F G H I\n\n+A1 B1 C1 D1 E1 F1 G1 H1 I1\n\n+A2 B2 C2 D2 E2 F2 G2 H2 I2\n\n+A3 B3 C3 D3 E3 F3 G3 H3 I3\n\n+A4 B4 C4 D4 E4 F4 G4 H4 I4\n\n+A5 B5 C5 D5 E5 F5 G5 H5 I5\n\n ---PAGE---\n\n-K L M N O P Q R S T\n\n-K1 L1 M1 N1 O1 P1 Q1 R1 S1 T1\n\n-K2 L2 M2 N2 O2 P2 Q2 R2 S2 T2\n\n-K3 L3 M3 N3 O3 P3 Q3 R3 S3 T3\n\n-K4 L4 M4 N4 O4 P4 Q4 R4 S4 T4\n\n-K5 L5 M5 N5 O5 P5 Q5 R5 S5 T5\n\n+J K L M N O P Q R\n\n+J1 K1 L1 M1 N1 O1 P1 Q1 R1\n\n+J2 K2 L2 M2 N2 O2 P2 Q2 R2\n\n+J3 K3 L3 M3 N3 O3 P3 Q3 R3\n\n+J4 K4 L4 M4 N4 O4 P4 Q4 R4\n\n+J5 K5 L5 M5 N5 O5 P5 Q5 R5\n\n ---PAGE---\n\n-U V W X Y Z\n\n-U1 V1 W1 X1 Y1 Z1\n\n-U2 V2 W2 X2 Y2 Z2\n\n-U3 V3 W3 X3 Y3 Z3\n\n-U4 V4 W4 X4 Y4 Z4\n\n-U5 V5 W5 X5 Y5 Z5\n+S T U V W X Y Z\n\n+S1 T1 U1 V1 W1 X1 Y1 Z1\n\n+S2 T2 U2 V2 W2 X2 Y2 Z2\n\n+S3 T3 U3 V3 W3 X3 Y3 Z3\n\n+S4 T4 U4 V4 W4 X4 Y4 Z4\n\n+S5 T5 U5 V5 W5 X5 Y5 Z5", - "visual_scores": [ - 0.9901, - 0.9886, - 0.9911 - ], - "visual_avg": 0.9899, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic05_wide_table_p1_minipdf.png", - "reference_img": "classic05_wide_table_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic05_wide_table_p2_minipdf.png", - "reference_img": "classic05_wide_table_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic05_wide_table_p3_minipdf.png", - "reference_img": "classic05_wide_table_p3_reference.png" - } - ], - "overall_score": 0.9498 - }, - { - "name": "classic06_tall_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 52715, - "reference_size": 116996, - "pdf_valid": true, - "minipdf_pages": 5, - "reference_pages": 5, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/classic06_tall_table.pdf\n+++ reference/classic06_tall_table.pdf\n@@ -41,12 +41,12 @@\n Row40 Val40 This is the description for row number 40\n\n Row41 Val41 This is the description for row number 41\n\n Row42 Val42 This is the description for row number 42\n\n----PAGE---\n\n Row43 Val43 This is the description for row number 43\n\n Row44 Val44 This is the description for row number 44\n\n Row45 Val45 This is the description for row number 45\n\n Row46 Val46 This is the description for row number 46\n\n Row47 Val47 This is the description for row number 47\n\n+---PAGE---\n\n Row48 Val48 This is the description for row number 48\n\n Row49 Val49 This is the description for row number 49\n\n Row50 Val50 This is the description for row number 50\n\n@@ -85,7 +85,6 @@\n Row83 Val83 This is the description for row number 83\n\n Row84 Val84 This is the description for row number 84\n\n Row85 Val85 This is the description for row number 85\n\n----PAGE---\n\n Row86 Val86 This is the description for row number 86\n\n Row87 Val87 This is the description for row number 87\n\n Row88 Val88 This is the description for row number 88\n\n@@ -96,6 +95,7 @@\n Row93 Val93 This is the description for row number 93\n\n Row94 Val94 This is the description for row number 94\n\n Row95 Val95 This is the description for row number 95\n\n+---PAGE---\n\n Row96 Val96 This is the description for row number 96\n\n Row97 Val97 This is the description for row number 97\n\n Row98 Val98 This is the description for row number 98\n\n@@ -129,7 +129,6 @@\n Row126 Val126 This is the description for row number 126\n\n Row127 Val127 This is the description for row number 127\n\n Row128 Val128 This is the description for row number 128\n\n----PAGE---\n\n Row129 Val129 This is the description for row number 129\n\n Row130 Val130 This is the description for row number 130\n\n Row131 Val131 This is the description for row number 131\n\n@@ -145,6 +144,7 @@\n Row141 Val141 This is the description for row number 141\n\n Row142 Val142 This is the description for row number 142\n\n Row143 Val143 This is the description for row number 143\n\n+---PAGE---\n\n Row144 Val144 This is the description for row number 144\n\n Row145 Val145 This is the description for row number 145\n\n Row146 Val146 This is the description for row number 146\n\n@@ -173,7 +173,6 @@\n Row169 Val169 This is the description for row number 169\n\n Row170 Val170 This is the description for row number 170\n\n Row171 Val171 This is the description for row number 171\n\n----PAGE---\n\n Row172 Val172 This is the description for row number 172\n\n Row173 Val173 This is the description for row number 173\n\n Row174 Val174 This is the description for row number 174\n\n@@ -194,6 +193,7 @@\n Row189 Val189 This is the description for row number 189\n\n Row190 Val190 This is the description for row number 190\n\n Row191 Val191 This is the description for row number 191\n\n+---PAGE---\n\n Row192 Val192 This is the description for row number 192\n\n Row193 Val193 This is the description for row number 193\n\n Row194 Val194 This is the description for row number 194\n", - "visual_scores": [ - 0.9225, - 0.9202, - 0.9169, - 0.9156, - 0.9377 - ], - "visual_avg": 0.9226, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic06_tall_table_p1_minipdf.png", - "reference_img": "classic06_tall_table_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic06_tall_table_p2_minipdf.png", - "reference_img": "classic06_tall_table_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic06_tall_table_p3_minipdf.png", - "reference_img": "classic06_tall_table_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic06_tall_table_p4_minipdf.png", - "reference_img": "classic06_tall_table_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": "classic06_tall_table_p5_minipdf.png", - "reference_img": "classic06_tall_table_p5_reference.png" - } - ], - "overall_score": 0.969 - }, - { - "name": "classic07_numbers_only", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1818, - "reference_size": 42110, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9976 - ], - "visual_avg": 0.9976, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic07_numbers_only_p1_minipdf.png", - "reference_img": "classic07_numbers_only_p1_reference.png" - } - ], - "overall_score": 0.999 - }, - { - "name": "classic08_mixed_text_and_numbers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1829, - "reference_size": 44923, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9969 - ], - "visual_avg": 0.9969, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic08_mixed_text_and_numbers_p1_minipdf.png", - "reference_img": "classic08_mixed_text_and_numbers_p1_reference.png" - } - ], - "overall_score": 0.9988 - }, - { - "name": "classic09_long_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4447, - "reference_size": 44367, - "pdf_valid": true, - "minipdf_pages": 12, - "reference_pages": 12, - "text_similarity": 0.2972, - "flat_text_similarity": 0.2136, - "word_text_similarity": 0.2105, - "text_diff": "--- minipdf/classic09_long_text.pdf\n+++ reference/classic09_long_text.pdf\n@@ -1,26 +1,38 @@\n Long Text Column\n\n-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n\n Short\n\n-YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+AAAAAAAAAAAAAAAAA BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n+BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n ---PAGE---\n\n-\n\n----PAGE---\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY\n\n+---PAGE---\n\n+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY", - "visual_scores": [ - 0.9732, - 0.557, - 0.5564, - 0.5568, - 0.5537, - 0.5519, - 0.5777, - 0.9964, - 0.9964, - 0.9964, - 0.9964, - 0.9966 - ], - "visual_avg": 0.7757, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic09_long_text_p1_minipdf.png", - "reference_img": "classic09_long_text_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic09_long_text_p2_minipdf.png", - "reference_img": "classic09_long_text_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic09_long_text_p3_minipdf.png", - "reference_img": "classic09_long_text_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic09_long_text_p4_minipdf.png", - "reference_img": "classic09_long_text_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": "classic09_long_text_p5_minipdf.png", - "reference_img": "classic09_long_text_p5_reference.png" - }, - { - "page": 6, - "minipdf_img": "classic09_long_text_p6_minipdf.png", - "reference_img": "classic09_long_text_p6_reference.png" - }, - { - "page": 7, - "minipdf_img": "classic09_long_text_p7_minipdf.png", - "reference_img": "classic09_long_text_p7_reference.png" - }, - { - "page": 8, - "minipdf_img": "classic09_long_text_p8_minipdf.png", - "reference_img": "classic09_long_text_p8_reference.png" - }, - { - "page": 9, - "minipdf_img": "classic09_long_text_p9_minipdf.png", - "reference_img": "classic09_long_text_p9_reference.png" - }, - { - "page": 10, - "minipdf_img": "classic09_long_text_p10_minipdf.png", - "reference_img": "classic09_long_text_p10_reference.png" - }, - { - "page": 11, - "minipdf_img": "classic09_long_text_p11_minipdf.png", - "reference_img": "classic09_long_text_p11_reference.png" - }, - { - "page": 12, - "minipdf_img": "classic09_long_text_p12_minipdf.png", - "reference_img": "classic09_long_text_p12_reference.png" - } - ], - "overall_score": 0.6292 - }, - { - "name": "classic10_special_xml_characters", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1540, - "reference_size": 43022, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9951 - ], - "visual_avg": 0.9951, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic10_special_xml_characters_p1_minipdf.png", - "reference_img": "classic10_special_xml_characters_p1_reference.png" - } - ], - "overall_score": 0.998 - }, - { - "name": "classic11_sparse_rows", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1601, - "reference_size": 34964, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9983, - 0.9982 - ], - "visual_avg": 0.9982, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic11_sparse_rows_p1_minipdf.png", - "reference_img": "classic11_sparse_rows_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic11_sparse_rows_p2_minipdf.png", - "reference_img": "classic11_sparse_rows_p2_reference.png" - } - ], - "overall_score": 0.9993 - }, - { - "name": "classic12_sparse_columns", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1418, - "reference_size": 41546, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 0.9737, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/classic12_sparse_columns.pdf\n+++ reference/classic12_sparse_columns.pdf\n@@ -1,3 +1,5 @@\n Left Right\n\n Data1 FarRight\n\n-Row3 VeryFar\n+Row3\n\n+---PAGE---\n\n+VeryFar", - "visual_scores": [ - 0.9953, - 0.0 - ], - "visual_avg": 0.4976, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic12_sparse_columns_p1_minipdf.png", - "reference_img": "classic12_sparse_columns_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "classic12_sparse_columns_p2_reference.png" - } - ], - "overall_score": 0.699 - }, - { - "name": "classic13_date_strings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1850, - "reference_size": 49430, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9751, - "flat_text_similarity": 0.9751, - "word_text_similarity": 0.2857, - "text_diff": "--- minipdf/classic13_date_strings.pdf\n+++ reference/classic13_date_strings.pdf\n@@ -1,6 +1,6 @@\n Date Event\n\n-2025-01-15 Launch\n\n-2025-06-30 Release\n\n-2025-12-25 Holiday\n\n-2026-01-01 New Year\n\n-2026-02-23 Today\n+2025-01-15Launch\n\n+2025-06-30Release\n\n+2025-12-25Holiday\n\n+2026-01-01New Year\n\n+2026-02-23Today", - "visual_scores": [ - 0.9952 - ], - "visual_avg": 0.9952, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic13_date_strings_p1_minipdf.png", - "reference_img": "classic13_date_strings_p1_reference.png" - } - ], - "overall_score": 0.9881 - }, - { - "name": "classic14_decimal_numbers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1853, - "reference_size": 52898, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9962 - ], - "visual_avg": 0.9962, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic14_decimal_numbers_p1_minipdf.png", - "reference_img": "classic14_decimal_numbers_p1_reference.png" - } - ], - "overall_score": 0.9985 - }, - { - "name": "classic15_negative_numbers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1974, - "reference_size": 42915, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9375, - "flat_text_similarity": 0.9146, - "word_text_similarity": 0.9375, - "text_diff": "--- minipdf/classic15_negative_numbers.pdf\n+++ reference/classic15_negative_numbers.pdf\n@@ -3,5 +3,5 @@\n Small Loss -0.5\n\n Zero 0\n\n Gain 50\n\n-Big Loss -99999.99\n\n+Big Loss -100000\n\n Tiny -0.001", - "visual_scores": [ - 0.9954 - ], - "visual_avg": 0.9954, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic15_negative_numbers_p1_minipdf.png", - "reference_img": "classic15_negative_numbers_p1_reference.png" - } - ], - "overall_score": 0.9732 - }, - { - "name": "classic16_percentage_strings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1834, - "reference_size": 52564, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9939, - "flat_text_similarity": 0.9939, - "word_text_similarity": 0.8696, - "text_diff": "--- minipdf/classic16_percentage_strings.pdf\n+++ reference/classic16_percentage_strings.pdf\n@@ -1,5 +1,5 @@\n Metric Rate\n\n-Conversion 12.5%\n\n+Conversion12.5%\n\n Bounce 45.3%\n\n Retention 88.7%\n\n Churn 3.2%\n", - "visual_scores": [ - 0.9953 - ], - "visual_avg": 0.9953, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic16_percentage_strings_p1_minipdf.png", - "reference_img": "classic16_percentage_strings_p1_reference.png" - } - ], - "overall_score": 0.9957 - }, - { - "name": "classic17_currency_strings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1981, - "reference_size": 52509, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9946 - ], - "visual_avg": 0.9946, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic17_currency_strings_p1_minipdf.png", - "reference_img": "classic17_currency_strings_p1_reference.png" - } - ], - "overall_score": 0.9978 - }, - { - "name": "classic18_large_dataset", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 741197, - "reference_size": 920992, - "pdf_valid": true, - "minipdf_pages": 24, - "reference_pages": 42, - "text_similarity": 0.9001, - "flat_text_similarity": 0.0008, - "word_text_similarity": 0.9001, - "text_diff": "--- minipdf/classic18_large_dataset.pdf\n+++ reference/classic18_large_dataset.pdf\n@@ -1,1024 +1,2043 @@\n-Col0 Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9\n\n-R0C0 R0C1 R0C2 R0C3 R0C4 R0C5 R0C6 R0C7 R0C8 R0C9\n\n-R1C0 R1C1 R1C2 R1C3 R1C4 R1C5 R1C6 R1C7 R1C8 R1C9\n\n-R2C0 R2C1 R2C2 R2C3 R2C4 R2C5 R2C6 R2C7 R2C8 R2C9\n\n-R3C0 R3C1 R3C2 R3C3 R3C4 R3C5 R3C6 R3C7 R3C8 R3C9\n\n-R4C0 R4C1 R4C2 R4C3 R4C4 R4C5 R4C6 R4C7 R4C8 R4C9\n\n-R5C0 R5C1 R5C2 R5C3 R5C4 R5C5 R5C6 R5C7 R5C8 R5C9\n\n-R6C0 R6C1 R6C2 R6C3 R6C4 R6C5 R6C6 R6C7 R6C8 R6C9\n\n-R7C0 R7C1 R7C2 R7C3 R7C4 R7C5 R7C6 R7C7 R7C8 R7C9\n\n-R8C0 R8C1 R8C2 R8C3 R8C4 R8C5 R8C6 R8C7 R8C8 R8C9\n\n-R9C0 R9C1 R9C2 R9C3 R9C4 R9C5 R9C6 R9C7 R9C8 R9C9\n\n-R10C0 R10C1 R10C2 R10C3 R10C4 R10C5 R10C6 R10C7 R10C8 R10C9\n\n-R11C0 R11C1 R11C2 R11C3 R11C4 R11C5 R11C6 R11C7 R11C8 R11C9\n\n-R12C0 R12C1 R12C2 R12C3 R12C4 R12C5 R12C6 R12C7 R12C8 R12C9\n\n-R13C0 R13C1 R13C2 R13C3 R13C4 R13C5 R13C6 R13C7 R13C8 R13C9\n\n-R14C0 R14C1 R14C2 R14C3 R14C4 R14C5 R14C6 R14C7 R14C8 R14C9\n\n-R15C0 R15C1 R15C2 R15C3 R15C4 R15C5 R15C6 R15C7 R15C8 R15C9\n\n-R16C0 R16C1 R16C2 R16C3 R16C4 R16C5 R16C6 R16C7 R16C8 R16C9\n\n-R17C0 R17C1 R17C2 R17C3 R17C4 R17C5 R17C6 R17C7 R17C8 R17C9\n\n-R18C0 R18C1 R18C2 R18C3 R18C4 R18C5 R18C6 R18C7 R18C8 R18C9\n\n-R19C0 R19C1 R19C2 R19C3 R19C4 R19C5 R19C6 R19C7 R19C8 R19C9\n\n-R20C0 R20C1 R20C2 R20C3 R20C4 R20C5 R20C6 R20C7 R20C8 R20C9\n\n-R21C0 R21C1 R21C2 R21C3 R21C4 R21C5 R21C6 R21C7 R21C8 R21C9\n\n-R22C0 R22C1 R22C2 R22C3 R22C4 R22C5 R22C6 R22C7 R22C8 R22C9\n\n-R23C0 R23C1 R23C2 R23C3 R23C4 R23C5 R23C6 R23C7 R23C8 R23C9\n\n-R24C0 R24C1 R24C2 R24C3 R24C4 R24C5 R24C6 R24C7 R24C8 R24C9\n\n-R25C0 R25C1 R25C2 R25C3 R25C4 R25C5 R25C6 R25C7 R25C8 R25C9\n\n-R26C0 R26C1 R26C2 R26C3 R26C4 R26C5 R26C6 R26C7 R26C8 R26C9\n\n-R27C0 R27C1 R27C2 R27C3 R27C4 R27C5 R27C6 R27C7 R27C8 R27C9\n\n-R28C0 R28C1 R28C2 R28C3 R28C4 R28C5 R28C6 R28C7 R28C8 R28C9\n\n-R29C0 R29C1 R29C2 R29C3 R29C4 R29C5 R29C6 R29C7 R29C8 R29C9\n\n-R30C0 R30C1 R30C2 R30C3 R30C4 R30C5 R30C6 R30C7 R30C8 R30C9\n\n-R31C0 R31C1 R31C2 R31C3 R31C4 R31C5 R31C6 R31C7 R31C8 R31C9\n\n-R32C0 R32C1 R32C2 R32C3 R32C4 R32C5 R32C6 R32C7 R32C8 R32C9\n\n-R33C0 R33C1 R33C2 R33C3 R33C4 R33C5 R33C6 R33C7 R33C8 R33C9\n\n-R34C0 R34C1 R34C2 R34C3 R34C4 R34C5 R34C6 R34C7 R34C8 R34C9\n\n-R35C0 R35C1 R35C2 R35C3 R35C4 R35C5 R35C6 R35C7 R35C8 R35C9\n\n-R36C0 R36C1 R36C2 R36C3 R36C4 R36C5 R36C6 R36C7 R36C8 R36C9\n\n-R37C0 R37C1 R37C2 R37C3 R37C4 R37C5 R37C6 R37C7 R37C8 R37C9\n\n-R38C0 R38C1 R38C2 R38C3 R38C4 R38C5 R38C6 R38C7 R38C8 R38C9\n\n-R39C0 R39C1 R39C2 R39C3 R39C4 R39C5 R39C6 R39C7 R39C8 R39C9\n\n-R40C0 R40C1 R40C2 R40C3 R40C4 R40C5 R40C6 R40C7 R40C8 R40C9\n\n-R41C0 R41C1 R41C2 R41C3 R41C4 R41C5 R41C6 R41C7 R41C8 R41C9\n\n----PAGE---\n\n-R42C0 R42C1 R42C2 R42C3 R42C4 R42C5 R42C6 R42C7 R42C8 R42C9\n\n-R43C0 R43C1 R43C2 R43C3 R43C4 R43C5 R43C6 R43C7 R43C8 R43C9\n\n-R44C0 R44C1 R44C2 R44C3 R44C4 R44C5 R44C6 R44C7 R44C8 R44C9\n\n-R45C0 R45C1 R45C2 R45C3 R45C4 R45C5 R45C6 R45C7 R45C8 R45C9\n\n-R46C0 R46C1 R46C2 R46C3 R46C4 R46C5 R46C6 R46C7 R46C8 R46C9\n\n-R47C0 R47C1 R47C2 R47C3 R47C4 R47C5 R47C6 R47C7 R47C8 R47C9\n\n-R48C0 R48C1 R48C2 R48C3 R48C4 R48C5 R48C6 R48C7 R48C8 R48C9\n\n-R49C0 R49C1 R49C2 R49C3 R49C4 R49C5 R49C6 R49C7 R49C8 R49C9\n\n-R50C0 R50C1 R50C2 R50C3 R50C4 R50C5 R50C6 R50C7 R50C8 R50C9\n\n-R51C0 R51C1 R51C2 R51C3 R51C4 R51C5 R51C6 R51C7 R51C8 R51C9\n\n-R52C0 R52C1 R52C2 R52C3 R52C4 R52C5 R52C6 R52C7 R52C8 R52C9\n\n-R53C0 R53C1 R53C2 R53C3 R53C4 R53C5 R53C6 R53C7 R53C8 R53C9\n\n-R54C0 R54C1 R54C2 R54C3 R54C4 R54C5 R54C6 R54C7 R54C8 R54C9\n\n-R55C0 R55C1 R55C2 R55C3 R55C4 R55C5 R55C6 R55C7 R55C8 R55C9\n\n-R56C0 R56C1 R56C2 R56C3 R56C4 R56C5 R56C6 R56C7 R56C8 R56C9\n\n-R57C0 R57C1 R57C2 R57C3 R57C4 R57C5 R57C6 R57C7 R57C8 R57C9\n\n-R58C0 R58C1 R58C2 R58C3 R58C4 R58C5 R58C6 R58C7 R58C8 R58C9\n\n-R59C0 R59C1 R59C2 R59C3 R59C4 R59C5 R59C6 R59C7 R59C8 R59C9\n\n-R60C0 R60C1 R60C2 R60C3 R60C4 R60C5 R60C6 R60C7 R60C8 R60C9\n\n-R61C0 R61C1 R61C2 R61C3 R61C4 R61C5 R61C6 R61C7 R61C8 R61C9\n\n-R62C0 R62C1 R62C2 R62C3 R62C4 R62C5 R62C6 R62C7 R62C8 R62C9\n\n-R63C0 R63C1 R63C2 R63C3 R63C4 R63C5 R63C6 R63C7 R63C8 R63C9\n\n-R64C0 R64C1 R64C2 R64C3 R64C4 R64C5 R64C6 R64C7 R64C8 R64C9\n\n-R65C0 R65C1 R65C2 R65C3 R65C4 R65C5 R65C6 R65C7 R65C8 R65C9\n\n-R66C0 R66C1 R66C2 R66C3 R66C4 R66C5 R66C6 R66C7 R66C8 R66C9\n\n-R67C0 R67C1 R67C2 R67C3 R67C4 R67C5 R67C6 R67C7 R67C8 R67C9\n\n-R68C0 R68C1 R68C2 R68C3 R68C4 R68C5 R68C6 R68C7 R68C8 R68C9\n\n-R69C0 R69C1 R69C2 R69C3 R69C4 R69C5 R69C6 R69C7 R69C8 R69C9\n\n-R70C0 R70C1 R70C2 R70C3 R70C4 R70C5 R70C6 R70C7 R70C8 R70C9\n\n-R71C0 R71C1 R71C2 R71C3 R71C4 R71C5 R71C6 R71C7 R71C8 R71C9\n\n-R72C0 R72C1 R72C2 R72C3 R72C4 R72C5 R72C6 R72C7 R72C8 R72C9\n\n-R73C0 R73C1 R73C2 R73C3 R73C4 R73C5 R73C6 R73C7 R73C8 R73C9\n\n-R74C0 R74C1 R74C2 R74C3 R74C4 R74C5 R74C6 R74C7 R74C8 R74C9\n\n-R75C0 R75C1 R75C2 R75C3 R75C4 R75C5 R75C6 R75C7 R75C8 R75C9\n\n-R76C0 R76C1 R76C2 R76C3 R76C4 R76C5 R76C6 R76C7 R76C8 R76C9\n\n-R77C0 R77C1 R77C2 R77C3 R77C4 R77C5 R77C6 R77C7 R77C8 R77C9\n\n-R78C0 R78C1 R78C2 R78C3 R78C4 R78C5 R78C6 R78C7 R78C8 R78C9\n\n-R79C0 R79C1 R79C2 R79C3 R79C4 R79C5 R79C6 R79C7 R79C8 R79C9\n\n-R80C0 R80C1 R80C2 R80C3 R80C4 R80C5 R80C6 R80C7 R80C8 R80C9\n\n-R81C0 R81C1 R81C2 R81C3 R81C4 R81C5 R81C6 R81C7 R81C8 R81C9\n\n-R82C0 R82C1 R82C2 R82C3 R82C4 R82C5 R82C6 R82C7 R82C8 R82C9\n\n-R83C0 R83C1 R83C2 R83C3 R83C4 R83C5 R83C6 R83C7 R83C8 R83C9\n\n-R84C0 R84C1 R84C2 R84C3 R84C4 R84C5 R84C6 R84C7 R84C8 R84C9\n\n----PAGE---\n\n-R85C0 R85C1 R85C2 R85C3 R85C4 R85C5 R85C6 R85C7 R85C8 R85C9\n\n-R86C0 R86C1 R86C2 R86C3 R86C4 R86C5 R86C6 R86C7 R86C8 R86C9\n\n-R87C0 R87C1 R87C2 R87C3 R87C4 R87C5 R87C6 R87C7 R87C8 R87C9\n\n-R88C0 R88C1 R88C2 R88C3 R88C4 R88C5 R88C6 R88C7 R88C8 R88C9\n\n-R89C0 R89C1 R89C2 R89C3 R89C4 R89C5 R89C6 R89C7 R89C8 R89C9\n\n-R90C0 R90C1 R90C2 R90C3 R90C4 R90C5 R90C6 R90C7 R90C8 R90C9\n\n-R91C0 R91C1 R91C2 R91C3 R91C4 R91C5 R91C6 R91C7 R91C8 R91C9\n\n-R92C0 R92C1 R92C2 R92C3 R92C4 R92C5 R92C6 R92C7 R92C8 R92C9\n\n-R93C0 R93C1 R93C2 R93C3 R93C4 R93C5 R93C6 R93C7 R93C8 R93C9\n\n-R94C0 R94C1 R94C2 R94C3 R94C4 R94C5 R94C6 R94C7 R94C8 R94C9\n\n-R95C0 R95C1 R95C2 R95C3 R95C4 R95C5 R95C6 R95C7 R95C8 R95C9\n\n-R96C0 R96C1 R96C2 R96C3 R96C4 R96C5 R96C6 R96C7 R96C8 R96C9\n\n-R97C0 R97C1 R97C2 R97C3 R97C4 R97C5 R97C6 R97C7 R97C8 R97C9\n\n-R98C0 R98C1 R98C2 R98C3 R98C4 R98C5 R98C6 R98C7 R98C8 R98C9\n\n-R99C0 R99C1 R99C2 R99C3 R99C4 R99C5 R99C6 R99C7 R99C8 R99C9\n\n-R100C0 R100C1 R100C2 R100C3 R100C4 R100C5 R100C6 R100C7 R100C8 R100C9\n\n-R101C0 R101C1 R101C2 R101C3 R101C4 R101C5 R101C6 R101C7 R101C8 R101C9\n\n-R102C0 R102C1 R102C2 R102C3 R102C4 R102C5 R102C6 R102C7 R102C8 R102C9\n\n-R103C0 R103C1 R103C2 R103C3 R103C4 R103C5 R103C6 R103C7 R103C8 R103C9\n\n-R104C0 R104C1 R104C2 R104C3 R104C4 R104C5 R104C6 R104C7 R104C8 R104C9\n\n-R105C0 R105C1 R105C2 R105C3 R105C4 R105C5 R105C6 R105C7 R105C8 R105C9\n\n-R106C0 R106C1 R106C2 R106C3 R106C4 R106C5 R106C6 R106C7 R106C8 R106C9\n\n-R107C0 R107C1 R107C2 R107C3 R107C4 R107C5 R107C6 R107C7 R107C8 R107C9\n\n-R108C0 R108C1 R108C2 R108C3 R108C4 R108C5 R108C6 R108C7 R108C8 R108C9\n\n-R109C0 R109C1 R109C2 R109C3 R109C4 R109C5 R109C6 R109C7 R109C8 R109C9\n\n-R110C0 R110C1 R110C2 R110C3 R110C4 R110C5 R110C6 R110C7 R110C8 R110C9\n\n-R111C0 R111C1 R111C2 R111C3 R111C4 R111C5 R111C6 R111C7 R111C8 R111C9\n\n-R112C0 R112C1 R112C2 R112C3 R112C4 R112C5 R112C6 R112C7 R112C8 R112C9\n\n-R113C0 R113C1 R113C2 R113C3 R113C4 R113C5 R113C6 R113C7 R113C8 R113C9\n\n-R114C0 R114C1 R114C2 R114C3 R114C4 R114C5 R114C6 R114C7 R114C8 R114C9\n\n-R115C0 R115C1 R115C2 R115C3 R115C4 R115C5 R115C6 R115C7 R115C8 R115C9\n\n-R116C0 R116C1 R116C2 R116C3 R116C4 R116C5 R116C6 R116C7 R116C8 R116C9\n\n-R117C0 R117C1 R117C2 R117C3 R117C4 R117C5 R117C6 R117C7 R117C8 R117C9\n\n-R118C0 R118C1 R118C2 R118C3 R118C4 R118C5 R118C6 R118C7 R118C8 R118C9\n\n-R119C0 R119C1 R119C2 R119C3 R119C4 R119C5 R119C6 R119C7 R119C8 R119C9\n\n-R120C0 R120C1 R120C2 R120C3 R120C4 R120C5 R120C6 R120C7 R120C8 R120C9\n\n-R121C0 R121C1 R121C2 R121C3 R121C4 R121C5 R121C6 R121C7 R121C8 R121C9\n\n-R122C0 R122C1 R122C2 R122C3 R122C4 R122C5 R122C6 R122C7 R122C8 R122C9\n\n-R123C0 R123C1 R123C2 R123C3 R123C4 R123C5 R123C6 R123C7 R123C8 R123C9\n\n-R124C0 R124C1 R124C2 R124C3 R124C4 R124C5 R124C6 R124C7 R124C8 R124C9\n\n-R125C0 R125C1 R125C2 R125C3 R125C4 R125C5 R125C6 R125C7 R125C8 R125C9\n\n-R126C0 R126C1 R126C2 R126C3 R126C4 R126C5 R126C6 R126C7 R126C8 R126C9\n\n-R127C0 R127C1 R127C2 R127C3 R127C4 R127C5 R127C6 R127C7 R127C8 R127C9\n\n----PAGE---\n\n-R128C0 R128C1 R128C2 R128C3 R128C4 R128C5 R128C6 R128C7 R128C8 R128C9\n\n-R129C0 R129C1 R129C2 R129C3 R129C4 R129C5 R129C6 R129C7 R129C8 R129C9\n\n-R130C0 R130C1 R130C2 R130C3 R130C4 R130C5 R130C6 R130C7 R130C8 R130C9\n\n-R131C0 R131C1 R131C2 R131C3 R131C4 R131C5 R131C6 R131C7 R131C8 R131C9\n\n-R132C0 R132C1 R132C2 R132C3 R132C4 R132C5 R132C6 R132C7 R132C8 R132C9\n\n-R133C0 R133C1 R133C2 R133C3 R133C4 R133C5 R133C6 R133C7 R133C8 R133C9\n\n-R134C0 R134C1 R134C2 R134C3 R134C4 R134C5 R134C6 R134C7 R134C8 R134C9\n\n-R135C0 R135C1 R135C2 R135C3 R135C4 R135C5 R135C6 R135C7 R135C8 R135C9\n\n-R136C0 R136C1 R136C2 R136C3 R136C4 R136C5 R136C6 R136C7 R136C8 R136C9\n\n-R137C0 R137C1 R137C2 R137C3 R137C4 R137C5 R137C6 R137C7 R137C8 R137C9\n\n-R138C0 R138C1 R138C2 R138C3 R138C4 R138C5 R138C6 R138C7 R138C8 R138C9\n\n-R139C0 R139C1 R139C2 R139C3 R139C4 R139C5 R139C6 R139C7 R139C8 R139C9\n\n-R140C0 R140C1 R140C2 R140C3 R140C4 R140C5 R140C6 R140C7 R140C8 R140C9\n\n-R141C0 R141C1 R141C2 R141C3 R141C4 R141C5 R141C6 R141C7 R141C8 R141C9\n\n-R142C0 R142C1 R142C2 R142C3 R142C4 R142C5 R142C6 R142C7 R142C8 R142C9\n\n-R143C0 R143C1 R143C2 R143C3 R143C4 R143C5 R143C6 R143C7 R143C8 R143C9\n\n-R144C0 R144C1 R144C2 R144C3 R144C4 R144C5 R144C6 R144C7 R144C8 R144C9\n\n-R145C0 R145C1 R145C2 R145C3 R145C4 R145C5 R145C6 R145C7 R145C8 R145C9\n\n-R146C0 R146C1 R146C2 R146C3 R146C4 R146C5 R146C6 R146C7 R146C8 R146C9\n\n-R147C0 R147C1 R147C2 R147C3 R147C4 R147C5 R147C6 R147C7 R147C8 R147C9\n\n-R148C0 R148C1 R148C2 R148C3 R148C4 R148C5 R148C6 R148C7 R148C8 R148C9\n\n-R149C0 R149C1 R149C2 R149C3 R149C4 R149C5 R149C6 R149C7 R149C8 R149C9\n\n-R150C0 R150C1 R150C2 R150C3 R150C4 R150C5 R150C6 R150C7 R150C8 R150C9\n\n-R151C0 R151C1 R151C2 R151C3 R151C4 R151C5 R151C6 R151C7 R151C8 R151C9\n\n-R152C0 R152C1 R152C2 R152C3 R152C4 R152C5 R152C6 R152C7 R152C8 R152C9\n\n-R153C0 R153C1 R153C2 R153C3 R153C4 R153C5 R153C6 R153C7 R153C8 R153C9\n\n-R154C0 R154C1 R154C2 R154C3 R154C4 R154C5 R154C6 R154C7 R154C8 R154C9\n\n-R155C0 R155C1 R155C2 R155C3 R155C4 R155C5 R155C6 R155C7 R155C8 R155C9\n\n-R156C0 R156C1 R156C2 R156C3 R156C4 R156C5 R156C6 R156C7 R156C8 R156C9\n\n-R157C0 R157C1 R157C2 R157C3 R157C4 R157C5 R157C6 R157C7 R157C8 R157C9\n\n-R158C0 R158C1 R158C2 R158C3 R158C4 R158C5 R158C6 R158C7 R158C8 R158C9\n\n-R159C0 R159C1 R159C2 R159C3 R159C4 R159C5 R159C6 R159C7 R159C8 R159C9\n\n-R160C0 R160C1 R160C2 R160C3 R160C4 R160C5 R160C6 R160C7 R160C8 R160C9\n\n-R161C0 R161C1 R161C2 R161C3 R161C4 R161C5 R161C6 R161C7 R161C8 R161C9\n\n-R162C0 R162C1 R162C2 R162C3 R162C4 R162C5 R162C6 R162C7 R162C8 R162C9\n\n-R163C0 R163C1 R163C2 R163C3 R163C4 R163C5 R163C6 R163C7 R163C8 R163C9\n\n-R164C0 R164C1 R164C2 R164C3 R164C4 R164C5 R164C6 R164C7 R164C8 R164C9\n\n-R165C0 R165C1 R165C2 R165C3 R165C4 R165C5 R165C6 R165C7 R165C8 R165C9\n\n-R166C0 R166C1 R166C2 R166C3 R166C4 R166C5 R166C6 R166C7 R166C8 R166C9\n\n-R167C0 R167C1 R167C2 R167C3 R167C4 R167C5 R167C6 R167C7 R167C8 R167C9\n\n-R168C0 R168C1 R168C2 R168C3 R168C4 R168C5 R168C6 R168C7 R168C8 R168C9\n\n-R169C0 R169C1 R169C2 R169C3 R169C4 R169C5 R169C6 R169C7 R169C8 R169C9\n\n-R170C0 R170C1 R170C2 R170C3 R170C4 R170C5 R170C6 R170C7 R170C8 R170C9\n\n----PAGE---\n\n-R171C0 R171C1 R171C2 R171C3 R171C4 R171C5 R171C6 R171C7 R171C8 R171C9\n\n-R172C0 R172C1 R172C2 R172C3 R172C4 R172C5 R172C6 R172C7 R172C8 R172C9\n\n-R173C0 R173C1 R173C2 R173C3 R173C4 R173C5 R173C6 R173C7 R173C8 R173C9\n\n-R174C0 R174C1 R174C2 R174C3 R174C4 R174C5 R174C6 R174C7 R174C8 R174C9\n\n-R175C0 R175C1 R175C2 R175C3 R175C4 R175C5 R175C6 R175C7 R175C8 R175C9\n\n-R176C0 R176C1 R176C2 R176C3 R176C4 R176C5 R176C6 R176C7 R176C8 R176C9\n\n-R177C0 R177C1 R177C2 R177C3 R177C4 R177C5 R177C6 R177C7 R177C8 R177C9\n\n-R178C0 R178C1 R178C2 R178C3 R178C4 R178C5 R178C6 R178C7 R178C8 R178C9\n\n-R179C0 R179C1 R179C2 R179C3 R179C4 R179C5 R179C6 R179C7 R179C8 R179C9\n\n-R180C0 R180C1 R180C2 R180C3 R180C4 R180C5 R180C6 R180C7 R180C8 R180C9\n\n-R181C0 R181C1 R181C2 R181C3 R181C4 R181C5 R181C6 R181C7 R181C8 R181C9\n\n-R182C0 R182C1 R182C2 R182C3 R182C4 R182C5 R182C6 R182C7 R182C8 R182C9\n\n-R183C0 R183C1 R183C2 R183C3 R183C4 R183C5 R183C6 R183C7 R183C8 R183C9\n\n-R184C0 R184C1 R184C2 R184C3 R184C4 R184C5 R184C6 R184C7 R184C8 R184C9\n\n-R185C0 R185C1 R185C2 R185C3 R185C4 R185C5 R185C6 R185C7 R185C8 R185C9\n\n-R186C0 R186C1 R186C2 R186C3 R186C4 R186C5 R186C6 R186C7 R186C8 R186C9\n\n-R187C0 R187C1 R187C2 R187C3 R187C4 R187C5 R187C6 R187C7 R187C8 R187C9\n\n-R188C0 R188C1 R188C2 R188C3 R188C4 R188C5 R188C6 R188C7 R188C8 R188C9\n\n-R189C0 R189C1 R189C2 R189C3 R189C4 R189C5 R189C6 R189C7 R189C8 R189C9\n\n-R190C0 R190C1 R190C2 R190C3 R190C4 R190C5 R190C6 R190C7 R190C8 R190C9\n\n-R191C0 R191C1 R191C2 R191C3 R191C4 R191C5 R191C6 R191C7 R191C8 R191C9\n\n-R192C0 R192C1 R192C2 R192C3 R192C4 R192C5 R192C6 R192C7 R192C8 R192C9\n\n-R193C0 R193C1 R193C2 R193C3 R193C4 R193C5 R193C6 R193C7 R193C8 R193C9\n\n-R194C0 R194C1 R194C2 R194C3 R194C4 R194C5 R194C6 R194C7 R194C8 R194C9\n\n-R195C0 R195C1 R195C2 R195C3 R195C4 R195C5 R195C6 R195C7 R195C8 R195C9\n\n-R196C0 R196C1 R196C2 R196C3 R196C4 R196C5 R196C6 R196C7 R196C8 R196C9\n\n-R197C0 R197C1 R197C2 R197C3 R197C4 R197C5 R197C6 R197C7 R197C8 R197C9\n\n-R198C0 R198C1 R198C2 R198C3 R198C4 R198C5 R198C6 R198C7 R198C8 R198C9\n\n-R199C0 R199C1 R199C2 R199C3 R199C4 R199C5 R199C6 R199C7 R199C8 R199C9\n\n-R200C0 R200C1 R200C2 R200C3 R200C4 R200C5 R200C6 R200C7 R200C8 R200C9\n\n-R201C0 R201C1 R201C2 R201C3 R201C4 R201C5 R201C6 R201C7 R201C8 R201C9\n\n-R202C0 R202C1 R202C2 R202C3 R202C4 R202C5 R202C6 R202C7 R202C8 R202C9\n\n-R203C0 R203C1 R203C2 R203C3 R203C4 R203C5 R203C6 R203C7 R203C8 R203C9\n\n-R204C0 R204C1 R204C2 R204C3 R204C4 R204C5 R204C6 R204C7 R204C8 R204C9\n\n-R205C0 R205C1 R205C2 R205C3 R205C4 R205C5 R205C6 R205C7 R205C8 R205C9\n\n-R206C0 R206C1 R206C2 R206C3 R206C4 R206C5 R206C6 R206C7 R206C8 R206C9\n\n-R207C0 R207C1 R207C2 R207C3 R207C4 R207C5 R207C6 R207C7 R207C8 R207C9\n\n-R208C0 R208C1 R208C2 R208C3 R208C4 R208C5 R208C6 R208C7 R208C8 R208C9\n\n-R209C0 R209C1 R209C2 R209C3 R209C4 R209C5 R209C6 R209C7 R209C8 R209C9\n\n-R210C0 R210C1 R210C2 R210C3 R210C4 R210C5 R210C6 R210C7 R210C8 R210C9\n\n-R211C0 R211C1 R211C2 R211C3 R211C4 R211C5 R211C6 R211C7 R211C8 R211C9\n\n-R212C0 R212C1 R212C2 R212C3 R212C4 R212C5 R212C6 R212C7 R212C8 R212C9\n\n-R213C0 R213C1 R213C2 R213C3 R213C4 R213C5 R213C6 R213C7 R213C8 R213C9\n\n----PAGE---\n\n-R214C0 R214C1 R214C2 R214C3 R214C4 R214C5 R214C6 R214C7 R214C8 R214C9\n\n-R215C0 R215C1 R215C2 R215C3 R215C4 R215C5 R215C6 R215C7 R215C8 R215C9\n\n-R216C0 R216C1 R216C2 R216C3 R216C4 R216C5 R216C6 R216C7 R216C8 R216C9\n\n-R217C0 R217C1 R217C2 R217C3 R217C4 R217C5 R217C6 R217C7 R217C8 R217C9\n\n-R218C0 R218C1 R218C2 R218C3 R218C4 R218C5 R218C6 R218C7 R218C8 R218C9\n\n-R219C0 R219C1 R219C2 R219C3 R219C4 R219C5 R219C6 R219C7 R219C8 R219C9\n\n-R220C0 R220C1 R220C2 R220C3 R220C4 R220C5 R220C6 R220C7 R220C8 R220C9\n\n-R221C0 R221C1 R221C2 R221C3 R221C4 R221C5 R221C6 R221C7 R221C8 R221C9\n\n-R222C0 R222C1 R222C2 R222C3 R222C4 R222C5 R222C6 R222C7 R222C8 R222C9\n\n-R223C0 R223C1 R223C2 R223C3 R223C4 R223C5 R223C6 R223C7 R223C8 R223C9\n\n-R224C0 R224C1 R224C2 R224C3 R224C4 R224C5 R224C6 R224C7 R224C8 R224C9\n\n-R225C0 R225C1 R225C2 R225C3 R225C4 R225C5 R225C6 R225C7 R225C8 R225C9\n\n-R226C0 R226C1 R226C2 R226C3 R226C4 R226C5 R226C6 R226C7 R226C8 R226C9\n\n-R227C0 R227C1 R227C2 R227C3 R227C4 R227C5 R227C6 R227C7 R227C8 R227C9\n\n-R228C0 R228C1 R228C2 R228C3 R228C4 R228C5 R228C6 R228C7 R228C8 R228C9\n\n-R229C0 R229C1 R229C2 R229C3 R229C4 R229C5 R229C6 R229C7 R229C8 R229C9\n\n-R230C0 R230C1 R230C2 R230C3 R230C4 R230C5 R230C6 R230C7 R230C8 R230C9\n\n-R231C0 R231C1 R231C2 R231C3 R231C4 R231C5 R231C6 R231C7 R231C8 R231C9\n\n-R232C0 R232C1 R232C2 R232C3 R232C4 R232C5 R232C6 R232C7 R232C8 R232C9\n\n-R233C0 R233C1 R233C2 R233C3 R233C4 R233C5 R233C6 R233C7 R233C8 R233C9\n\n-R234C0 R234C1 R234C2 R234C3 R234C4 R234C5 R234C6 R234C7 R234C8 R234C9\n\n-R235C0 R235C1 R235C2 R235C3 R235C4 R235C5 R235C6 R235C7 R235C8 R235C9\n\n-R236C0 R236C1 R236C2 R236C3 R236C4 R236C5 R236C6 R236C7 R236C8 R236C9\n\n-R237C0 R237C1 R237C2 R237C3 R237C4 R237C5 R237C6 R237C7 R237C8 R237C9\n\n-R238C0 R238C1 R238C2 R238C3 R238C4 R238C5 R238C6 R238C7 R238C8 R238C9\n\n-R239C0 R239C1 R239C2 R239C3 R239C4 R239C5 R239C6 R239C7 R239C8 R239C9\n\n-R240C0 R240C1 R240C2 R240C3 R240C4 R240C5 R240C6 R240C7 R240C8 R240C9\n\n-R241C0 R241C1 R241C2 R241C3 R241C4 R241C5 R241C6 R241C7 R241C8 R241C9\n\n-R242C0 R242C1 R242C2 R242C3 R242C4 R242C5 R242C6 R242C7 R242C8 R242C9\n\n-R243C0 R243C1 R243C2 R243C3 R243C4 R243C5 R243C6 R243C7 R243C8 R243C9\n\n-R244C0 R244C1 R244C2 R244C3 R244C4 R244C5 R244C6 R244C7 R244C8 R244C9\n\n-R245C0 R245C1 R245C2 R245C3 R245C4 R245C5 R245C6 R245C7 R245C8 R245C9\n\n-R246C0 R246C1 R246C2 R246C3 R246C4 R246C5 R246C6 R246C7 R246C8 R246C9\n\n-R247C0 R247C1 R247C2 R247C3 R247C4 R247C5 R247C6 R247C7 R247C8 R247C9\n\n-R248C0 R248C1 R248C2 R248C3 R248C4 R248C5 R248C6 R248C7 R248C8 R248C9\n\n-R249C0 R249C1 R249C2 R249C3 R249C4 R249C5 R249C6 R249C7 R249C8 R249C9\n\n-R250C0 R250C1 R250C2 R250C3 R250C4 R250C5 R250C6 R250C7 R250C8 R250C9\n\n-R251C0 R251C1 R251C2 R251C3 R251C4 R251C5 R251C6 R251C7 R251C8 R251C9\n\n-R252C0 R252C1 R252C2 R252C3 R252C4 R252C5 R252C6 R252C7 R252C8 R252C9\n\n-R253C0 R253C1 R253C2 R253C3 R253C4 R253C5 R253C6 R253C7 R253C8 R253C9\n\n-R254C0 R254C1 R254C2 R254C3 R254C4 R254C5 R254C6 R254C7 R254C8 R254C9\n\n-R255C0 R255C1 R255C2 R255C3 R255C4 R255C5 R255C6 R255C7 R255C8 R255C9\n\n-R256C0 R256C1 R256C2 R256C3 R256C4 R256C5 R256C6 R256C7 R256C8 R256C9\n\n----PAGE---\n\n-R257C0 R257C1 R257C2 R257C3 R257C4 R257C5 R257C6 R257C7 R257C8 R257C9\n\n-R258C0 R258C1 R258C2 R258C3 R258C4 R258C5 R258C6 R258C7 R258C8 R258C9\n\n-R259C0 R259C1 R259C2 R259C3 R259C4 R259C5 R259C6 R259C7 R259C8 R259C9\n\n-R260C0 R260C1 R260C2 R260C3 R260C4 R260C5 R260C6 R260C7 R260C8 R260C9\n\n-R261C0 R261C1 R261C2 R261C3 R261C4 R261C5 R261C6 R261C7 R261C8 R261C9\n\n-R262C0 R262C1 R262C2 R262C3 R262C4 R262C5 R262C6 R262C7 R262C8 R262C9\n\n-R263C0 R263C1 R263C2 R263C3 R263C4 R263C5 R263C6 R263C7 R263C8 R263C9\n\n-R264C0 R264C1 R264C2 R264C3 R264C4 R264C5 R264C6 R264C7 R264C8 R264C9\n\n-R265C0 R265C1 R265C2 R265C3 R265C4 R265C5 R265C6 R265C7 R265C8 R265C9\n\n-R266C0 R266C1 R266C2 R266C3 R266C4 R266C5 R266C6 R266C7 R266C8 R266C9\n\n-R267C0 R267C1 R267C2 R267C3 R267C4 R267C5 R267C6 R267C7 R267C8 R267C9\n\n-R268C0 R268C1 R268C2 R268C3 R268C4 R268C5 R268C6 R268C7 R268C8 R268C9\n\n-R269C0 R269C1 R269C2 R269C3 R269C4 R269C5 R269C6 R269C7 R269C8 R269C9\n\n-R270C0 R270C1 R270C2 R270C3 R270C4 R270C5 R270C6 R270C7 R270C8 R270C9\n\n-R271C0 R271C1 R271C2 R271C3 R271C4 R271C5 R271C6 R271C7 R271C8 R271C9\n\n-R272C0 R272C1 R272C2 R272C3 R272C4 R272C5 R272C6 R272C7 R272C8 R272C9\n\n-R273C0 R273C1 R273C2 R273C3 R273C4 R273C5 R273C6 R273C7 R273C8 R273C9\n\n-R274C0 R274C1 R274C2 R274C3 R274C4 R274C5 R274C6 R274C7 R274C8 R274C9\n\n-R275C0 R275C1 R275C2 R275C3 R275C4 R275C5 R275C6 R275C7 R275C8 R275C9\n\n-R276C0 R276C1 R276C2 R276C3 R276C4 R276C5 R276C6 R276C7 R276C8 R276C9\n\n-R277C0 R277C1 R277C2 R277C3 R277C4 R277C5 R277C6 R277C7 R277C8 R277C9\n\n-R278C0 R278C1 R278C2 R278C3 R278C4 R278C5 R278C6 R278C7 R278C8 R278C9\n\n-R279C0 R279C1 R279C2 R279C3 R279C4 R279C5 R279C6 R279C7 R279C8 R279C9\n\n-R280C0 R280C1 R280C2 R280C3 R280C4 R280C5 R280C6 R280C7 R280C8 R280C9\n\n-R281C0 R281C1 R281C2 R281C3 R281C4 R281C5 R281C6 R281C7 R281C8 R281C9\n\n-R282C0 R282C1 R282C2 R282C3 R282C4 R282C5 R282C6 R282C7 R282C8 R282C9\n\n-R283C0 R283C1 R283C2 R283C3 R283C4 R283C5 R283C6 R283C7 R283C8 R283C9\n\n-R284C0 R284C1 R284C2 R284C3 R284C4 R284C5 R284C6 R284C7 R284C8 R284C9\n\n-R285C0 R285C1 R285C2 R285C3 R285C4 R285C5 R285C6 R285C7 R285C8 R285C9\n\n-R286C0 R286C1 R286C2 R286C3 R286C4 R286C5 R286C6 R286C7 R286C8 R286C9\n\n-R287C0 R287C1 R287C2 R287C3 R287C4 R287C5 R287C6 R287C7 R287C8 R287C9\n\n-R288C0 R288C1 R288C2 R288C3 R288C4 R288C5 R288C6 R288C7 R288C8 R288C9\n\n-R289C0 R289C1 R289C2 R289C3 R289C4 R289C5 R289C6 R289C7 R289C8 R289C9\n\n-R290C0 R290C1 R290C2 R290C3 R290C4 R290C5 R290C6 R290C7 R290C8 R290C9\n\n-R291C0 R291C1 R291C2 R291C3 R291C4 R291C5 R291C6 R291C7 R291C8 R291C9\n\n-R292C0 R292C1 R292C2 R292C3 R292C4 R292C5 R292C6 R292C7 R292C8 R292C9\n\n-R293C0 R293C1 R293C2 R293C3 R293C4 R293C5 R293C6 R293C7 R293C8 R293C9\n\n-R294C0 R294C1 R294C2 R294C3 R294C4 R294C5 R294C6 R294C7 R294C8 R294C9\n\n-R295C0 R295C1 R295C2 R295C3 R295C4 R295C5 R295C6 R295C7 R295C8 R295C9\n\n-R296C0 R296C1 R296C2 R296C3 R296C4 R296C5 R296C6 R296C7 R296C8 R296C9\n\n-R297C0 R297C1 R297C2 R297C3 R297C4 R297C5 R297C6 R297C7 R297C8 R297C9\n\n-R298C0 R298C1 R298C2 R298C3 R298C4 R298C5 R298C6 R298C7 R298C8 R298C9\n\n-R299C0 R299C1 R299C2 R299C3 R299C4 R299C5 R299C6 R299C7 R299C8 R299C9\n\n----PAGE---\n\n-R300C0 R300C1 R300C2 R300C3 R300C4 R300C5 R300C6 R300C7 R300C8 R300C9\n\n-R301C0 R301C1 R301C2 R301C3 R301C4 R301C5 R301C6 R301C7 R301C8 R301C9\n\n-R302C0 R302C1 R302C2 R302C3 R302C4 R302C5 R302C6 R302C7 R302C8 R302C9\n\n-R303C0 R303C1 R303C2 R303C3 R303C4 R303C5 R303C6 R303C7 R303C8 R303C9\n\n-R304C0 R304C1 R304C2 R304C3 R304C4 R304C5 R304C6 R304C7 R304C8 R304C9\n\n-R305C0 R305C1 R305C2 R305C3 R305C4 R305C5 R305C6 R305C7 R305C8 R305C9\n\n-R306C0 R306C1 R306C2 R306C3 R306C4 R306C5 R306C6 R306C7 R306C8 R306C9\n\n-R307C0 R307C1 R307C2 R307C3 R307C4 R307C5 R307C6 R307C7 R307C8 R307C9\n\n-R308C0 R308C1 R308C2 R308C3 R308C4 R308C5 R308C6 R308C7 R308C8 R308C9\n\n-R309C0 R309C1 R309C2 R309C3 R309C4 R309C5 R309C6 R309C7 R309C8 R309C9\n\n-R310C0 R310C1 R310C2 R310C3 R310C4 R310C5 R310C6 R310C7 R310C8 R310C9\n\n-R311C0 R311C1 R311C2 R311C3 R311C4 R311C5 R311C6 R311C7 R311C8 R311C9\n\n-R312C0 R312C1 R312C2 R312C3 R312C4 R312C5 R312C6 R312C7 R312C8 R312C9\n\n-R313C0 R313C1 R313C2 R313C3 R313C4 R313C5 R313C6 R313C7 R313C8 R313C9\n\n-R314C0 R314C1 R314C2 R314C3 R314C4 R314C5 R314C6 R314C7 R314C8 R314C9\n\n-R315C0 R315C1 R315C2 R315C3 R315C4 R315C5 R315C6 R315C7 R315C8 R315C9\n\n-R316C0 R316C1 R316C2 R316C3 R316C4 R316C5 R316C6 R316C7 R316C8 R316C9\n\n-R317C0 R317C1 R317C2 R317C3 R317C4 R317C5 R317C6 R317C7 R317C8 R317C9\n\n-R318C0 R318C1 R318C2 R318C3 R318C4 R318C5 R318C6 R318C7 R318C8 R318C9\n\n-R319C0 R319C1 R319C2 R319C3 R319C4 R319C5 R319C6 R319C7 R319C8 R319C9\n\n-R320C0 R320C1 R320C2 R320C3 R320C4 R320C5 R320C6 R320C7 R320C8 R320C9\n\n-R321C0 R321C1 R321C2 R321C3 R321C4 R321C5 R321C6 R321C7 R321C8 R321C9\n\n-R322C0 R322C1 R322C2 R322C3 R322C4 R322C5 R322C6 R322C7 R322C8 R322C9\n\n-R323C0 R323C1 R323C2 R323C3 R323C4 R323C5 R323C6 R323C7 R323C8 R323C9\n\n-R324C0 R324C1 R324C2 R324C3 R324C4 R324C5 R324C6 R324C7 R324C8 R324C9\n\n-R325C0 R325C1 R325C2 R325C3 R325C4 R325C5 R325C6 R325C7 R325C8 R325C9\n\n-R326C0 R326C1 R326C2 R326C3 R326C4 R326C5 R326C6 R326C7 R326C8 R326C9\n\n-R327C0 R327C1 R327C2 R327C3 R327C4 R327C5 R327C6 R327C7 R327C8 R327C9\n\n-R328C0 R328C1 R328C2 R328C3 R328C4 R328C5 R328C6 R328C7 R328C8 R328C9\n\n-R329C0 R329C1 R329C2 R329C3 R329C4 R329C5 R329C6 R329C7 R329C8 R329C9\n\n-R330C0 R330C1 R330C2 R330C3 R330C4 R330C5 R330C6 R330C7 R330C8 R330C9\n\n-R331C0 R331C1 R331C2 R331C3 R331C4 R331C5 R331C6 R331C7 R331C8 R331C9\n\n-R332C0 R332C1 R332C2 R332C3 R332C4 R332C5 R332C6 R332C7 R332C8 R332C9\n\n-R333C0 R333C1 R333C2 R333C3 R333C4 R333C5 R333C6 R333C7 R333C8 R333C9\n\n-R334C0 R334C1 R334C2 R334C3 R334C4 R334C5 R334C6 R334C7 R334C8 R334C9\n\n-R335C0 R335C1 R335C2 R335C3 R335C4 R335C5 R335C6 R335C7 R335C8 R335C9\n\n-R336C0 R336C1 R336C2 R336C3 R336C4 R336C5 R336C6 R336C7 R336C8 R336C9\n\n-R337C0 R337C1 R337C2 R337C3 R337C4 R337C5 R337C6 R337C7 R337C8 R337C9\n\n-R338C0 R338C1 R338C2 R338C3 R338C4 R338C5 R338C6 R338C7 R338C8 R338C9\n\n-R339C0 R339C1 R339C2 R339C3 R339C4 R339C5 R339C6 R339C7 R339C8 R339C9\n\n-R340C0 R340C1 R340C2 R340C3 R340C4 R340C5 R340C6 R340C7 R340C8 R340C9\n\n-R341C0 R341C1 R341C2 R341C3 R341C4 R341C5 R341C6 R341C7 R341C8 R341C9\n\n-R342C0 R342C1 R342C2 R342C3 R342C4 R342C5 R342C6 R342C7 R342C8 R342C9\n\n----PAGE---\n\n-R343C0 R343C1 R343C2 R343C3 R343C4 R343C5 R343C6 R343C7 R343C8 R343C9\n\n-R344C0 R344C1 R344C2 R344C3 R344C4 R344C5 R344C6 R344C7 R344C8 R344C9\n\n-R345C0 R345C1 R345C2 R345C3 R345C4 R345C5 R345C6 R345C7 R345C8 R345C9\n\n-R346C0 R346C1 R346C2 R346C3 R346C4 R346C5 R346C6 R346C7 R346C8 R346C9\n\n-R347C0 R347C1 R347C2 R347C3 R347C4 R347C5 R347C6 R347C7 R347C8 R347C9\n\n-R348C0 R348C1 R348C2 R348C3 R348C4 R348C5 R348C6 R348C7 R348C8 R348C9\n\n-R349C0 R349C1 R349C2 R349C3 R349C4 R349C5 R349C6 R349C7 R349C8 R349C9\n\n-R350C0 R350C1 R350C2 R350C3 R350C4 R350C5 R350C6 R350C7 R350C8 R350C9\n\n-R351C0 R351C1 R351C2 R351C3 R351C4 R351C5 R351C6 R351C7 R351C8 R351C9\n\n-R352C0 R352C1 R352C2 R352C3 R352C4 R352C5 R352C6 R352C7 R352C8 R352C9\n\n-R353C0 R353C1 R353C2 R353C3 R353C4 R353C5 R353C6 R353C7 R353C8 R353C9\n\n-R354C0 R354C1 R354C2 R354C3 R354C4 R354C5 R354C6 R354C7 R354C8 R354C9\n\n-R355C0 R355C1 R355C2 R355C3 R355C4 R355C5 R355C6 R355C7 R355C8 R355C9\n\n-R356C0 R356C1 R356C2 R356C3 R356C4 R356C5 R356C6 R356C7 R356C8 R356C9\n\n-R357C0 R357C1 R357C2 R357C3 R357C4 R357C5 R357C6 R357C7 R357C8 R357C9\n\n-R358C0 R358C1 R358C2 R358C3 R358C4 R358C5 R358C6 R358C7 R358C8 R358C9\n\n-R359C0 R359C1 R359C2 R359C3 R359C4 R359C5 R359C6 R359C7 R359C8 R359C9\n\n-R360C0 R360C1 R360C2 R360C3 R360C4 R360C5 R360C6 R360C7 R360C8 R360C9\n\n-R361C0 R361C1 R361C2 R361C3 R361C4 R361C5 R361C6 R361C7 R361C8 R361C9\n\n-R362C0 R362C1 R362C2 R362C3 R362C4 R362C5 R362C6 R362C7 R362C8 R362C9\n\n-R363C0 R363C1 R363C2 R363C3 R363C4 R363C5 R363C6 R363C7 R363C8 R363C9\n\n-R364C0 R364C1 R364C2 R364C3 R364C4 R364C5 R364C6 R364C7 R364C8 R364C9\n\n-R365C0 R365C1 R365C2 R365C3 R365C4 R365C5 R365C6 R365C7 R365C8 R365C9\n\n-R366C0 R366C1 R366C2 R366C3 R366C4 R366C5 R366C6 R366C7 R366C8 R366C9\n\n-R367C0 R367C1 R367C2 R367C3 R367C4 R367C5 R367C6 R367C7 R367C8 R367C9\n\n-R368C0 R368C1 R368C2 R368C3 R368C4 R368C5 R368C6 R368C7 R368C8 R368C9\n\n-R369C0 R369C1 R369C2 R369C3 R369C4 R369C5 R369C6 R369C7 R369C8 R369C9\n\n-R370C0 R370C1 R370C2 R370C3 R370C4 R370C5 R370C6 R370C7 R370C8 R370C9\n\n-R371C0 R371C1 R371C2 R371C3 R371C4 R371C5 R371C6 R371C7 R371C8 R371C9\n\n-R372C0 R372C1 R372C2 R372C3 R372C4 R372C5 R372C6 R372C7 R372C8 R372C9\n\n-R373C0 R373C1 R373C2 R373C3 R373C4 R373C5 R373C6 R373C7 R373C8 R373C9\n\n-R374C0 R374C1 R374C2 R374C3 R374C4 R374C5 R374C6 R374C7 R374C8 R374C9\n\n-R375C0 R375C1 R375C2 R375C3 R375C4 R375C5 R375C6 R375C7 R375C8 R375C9\n\n-R376C0 R376C1 R376C2 R376C3 R376C4 R376C5 R376C6 R376C7 R376C8 R376C9\n\n-R377C0 R377C1 R377C2 R377C3 R377C4 R377C5 R377C6 R377C7 R377C8 R377C9\n\n-R378C0 R378C1 R378C2 R378C3 R378C4 R378C5 R378C6 R378C7 R378C8 R378C9\n\n-R379C0 R379C1 R379C2 R379C3 R379C4 R379C5 R379C6 R379C7 R379C8 R379C9\n\n-R380C0 R380C1 R380C2 R380C3 R380C4 R380C5 R380C6 R380C7 R380C8 R380C9\n\n-R381C0 R381C1 R381C2 R381C3 R381C4 R381C5 R381C6 R381C7 R381C8 R381C9\n\n-R382C0 R382C1 R382C2 R382C3 R382C4 R382C5 R382C6 R382C7 R382C8 R382C9\n\n-R383C0 R383C1 R383C2 R383C3 R383C4 R383C5 R383C6 R383C7 R383C8 R383C9\n\n-R384C0 R384C1 R384C2 R384C3 R384C4 R384C5 R384C6 R384C7 R384C8 R384C9\n\n-R385C0 R385C1 R385C2 R385C3 R385C4 R385C5 R385C6 R385C7 R385C8 R385C9\n\n----PAGE---\n\n-R386C0 R386C1 R386C2 R386C3 R386C4 R386C5 R386C6 R386C7 R386C8 R386C9\n\n-R387C0 R387C1 R387C2 R387C3 R387C4 R387C5 R387C6 R387C7 R387C8 R387C9\n\n-R388C0 R388C1 R388C2 R388C3 R388C4 R388C5 R388C6 R388C7 R388C8 R388C9\n\n-R389C0 R389C1 R389C2 R389C3 R389C4 R389C5 R389C6 R389C7 R389C8 R389C9\n\n-R390C0 R390C1 R390C2 R390C3 R390C4 R390C5 R390C6 R390C7 R390C8 R390C9\n\n-R391C0 R391C1 R391C2 R391C3 R391C4 R391C5 R391C6 R391C7 R391C8 R391C9\n\n-R392C0 R392C1 R392C2 R392C3 R392C4 R392C5 R392C6 R392C7 R392C8 R392C9\n\n-R393C0 R393C1 R393C2 R393C3 R393C4 R393C5 R393C6 R393C7 R393C8 R393C9\n\n-R394C0 R394C1 R394C2 R394C3 R394C4 R394C5 R394C6 R394C7 R394C8 R394C9\n\n-R395C0 R395C1 R395C2 R395C3 R395C4 R395C5 R395C6 R395C7 R395C8 R395C9\n\n-R396C0 R396C1 R396C2 R396C3 R396C4 R396C5 R396C6 R396C7 R396C8 R396C9\n\n-R397C0 R397C1 R397C2 R397C3 R397C4 R397C5 R397C6 R397C7 R397C8 R397C9\n\n-R398C0 R398C1 R398C2 R398C3 R398C4 R398C5 R398C6 R398C7 R398C8 R398C9\n\n-R399C0 R399C1 R399C2 R399C3 R399C4 R399C5 R399C6 R399C7 R399C8 R399C9\n\n-R400C0 R400C1 R400C2 R400C3 R400C4 R400C5 R400C6 R400C7 R400C8 R400C9\n\n-R401C0 R401C1 R401C2 R401C3 R401C4 R401C5 R401C6 R401C7 R401C8 R401C9\n\n-R402C0 R402C1 R402C2 R402C3 R402C4 R402C5 R402C6 R402C7 R402C8 R402C9\n\n-R403C0 R403C1 R403C2 R403C3 R403C4 R403C5 R403C6 R403C7 R403C8 R403C9\n\n-R404C0 R404C1 R404C2 R404C3 R404C4 R404C5 R404C6 R404C7 R404C8 R404C9\n\n-R405C0 R405C1 R405C2 R405C3 R405C4 R405C5 R405C6 R405C7 R405C8 R405C9\n\n-R406C0 R406C1 R406C2 R406C3 R406C4 R406C5 R406C6 R406C7 R406C8 R406C9\n\n-R407C0 R407C1 R407C2 R407C3 R407C4 R407C5 R407C6 R407C7 R407C8 R407C9\n\n-R408C0 R408C1 R408C2 R408C3 R408C4 R408C5 R408C6 R408C7 R408C8 R408C9\n\n-R409C0 R409C1 R409C2 R409C3 R409C4 R409C5 R409C6 R409C7 R409C8 R409C9\n\n-R410C0 R410C1 R410C2 R410C3 R410C4 R410C5 R410C6 R410C7 R410C8 R410C9\n\n-R411C0 R411C1 R411C2 R411C3 R411C4 R411C5 R411C6 R411C7 R411C8 R411C9\n\n-R412C0 R412C1 R412C2 R412C3 R412C4 R412C5 R412C6 R412C7 R412C8 R412C9\n\n-R413C0 R413C1 R413C2 R413C3 R413C4 R413C5 R413C6 R413C7 R413C8 R413C9\n\n-R414C0 R414C1 R414C2 R414C3 R414C4 R414C5 R414C6 R414C7 R414C8 R414C9\n\n-R415C0 R415C1 R415C2 R415C3 R415C4 R415C5 R415C6 R415C7 R415C8 R415C9\n\n-R416C0 R416C1 R416C2 R416C3 R416C4 R416C5 R416C6 R416C7 R416C8 R416C9\n\n-R417C0 R417C1 R417C2 R417C3 R417C4 R417C5 R417C6 R417C7 R417C8 R417C9\n\n-R418C0 R418C1 R418C2 R418C3 R418C4 R418C5 R418C6 R418C7 R418C8 R418C9\n\n-R419C0 R419C1 R419C2 R419C3 R419C4 R419C5 R419C6 R419C7 R419C8 R419C9\n\n-R420C0 R420C1 R420C2 R420C3 R420C4 R420C5 R420C6 R420C7 R420C8 R420C9\n\n-R421C0 R421C1 R421C2 R421C3 R421C4 R421C5 R421C6 R421C7 R421C8 R421C9\n\n-R422C0 R422C1 R422C2 R422C3 R422C4 R422C5 R422C6 R422C7 R422C8 R422C9\n\n-R423C0 R423C1 R423C2 R423C3 R423C4 R423C5 R423C6 R423C7 R423C8 R423C9\n\n-R424C0 R424C1 R424C2 R424C3 R424C4 R424C5 R424C6 R424C7 R424C8 R424C9\n\n-R425C0 R425C1 R425C2 R425C3 R425C4 R425C5 R425C6 R425C7 R425C8 R425C9\n\n-R426C0 R426C1 R426C2 R426C3 R426C4 R426C5 R426C6 R426C7 R426C8 R426C9\n\n-R427C0 R427C1 R427C2 R427C3 R427C4 R427C5 R427C6 R427C7 R427C8 R427C9\n\n-R428C0 R428C1 R428C2 R428C3 R428C4 R428C5 R428C6 R428C7 R428C8 R428C9\n\n----PAGE---\n\n-R429C0 R429C1 R429C2 R429C3 R429C4 R429C5 R429C6 R429C7 R429C8 R429C9\n\n-R430C0 R430C1 R430C2 R430C3 R430C4 R430C5 R430C6 R430C7 R430C8 R430C9\n\n-R431C0 R431C1 R431C2 R431C3 R431C4 R431C5 R431C6 R431C7 R431C8 R431C9\n\n-R432C0 R432C1 R432C2 R432C3 R432C4 R432C5 R432C6 R432C7 R432C8 R432C9\n\n-R433C0 R433C1 R433C2 R433C3 R433C4 R433C5 R433C6 R433C7 R433C8 R433C9\n\n-R434C0 R434C1 R434C2 R434C3 R434C4 R434C5 R434C6 R434C7 R434C8 R434C9\n\n-R435C0 R435C1 R435C2 R435C3 R435C4 R435C5 R435C6 R435C7 R435C8 R435C9\n\n-R436C0 R436C1 R436C2 R436C3 R436C4 R436C5 R436C6 R436C7 R436C8 R436C9\n\n-R437C0 R437C1 R437C2 R437C3 R437C4 R437C5 R437C6 R437C7 R437C8 R437C9\n\n-R438C0 R438C1 R438C2 R438C3 R438C4 R438C5 R438C6 R438C7 R438C8 R438C9\n\n-R439C0 R439C1 R439C2 R439C3 R439C4 R439C5 R439C6 R439C7 R439C8 R439C9\n\n-R440C0 R440C1 R440C2 R440C3 R440C4 R440C5 R440C6 R440C7 R440C8 R440C9\n\n-R441C0 R441C1 R441C2 R441C3 R441C4 R441C5 R441C6 R441C7 R441C8 R441C9\n\n-R442C0 R442C1 R442C2 R442C3 R442C4 R442C5 R442C6 R442C7 R442C8 R442C9\n\n-R443C0 R443C1 R443C2 R443C3 R443C4 R443C5 R443C6 R443C7 R443C8 R443C9\n\n-R444C0 R444C1 R444C2 R444C3 R444C4 R444C5 R444C6 R444C7 R444C8 R444C9\n\n-R445C0 R445C1 R445C2 R445C3 R445C4 R445C5 R445C6 R445C7 R445C8 R445C9\n\n-R446C0 R446C1 R446C2 R446C3 R446C4 R446C5 R446C6 R446C7 R446C8 R446C9\n\n-R447C0 R447C1 R447C2 R447C3 R447C4 R447C5 R447C6 R447C7 R447C8 R447C9\n\n-R448C0 R448C1 R448C2 R448C3 R448C4 R448C5 R448C6 R448C7 R448C8 R448C9\n\n-R449C0 R449C1 R449C2 R449C3 R449C4 R449C5 R449C6 R449C7 R449C8 R449C9\n\n-R450C0 R450C1 R450C2 R450C3 R450C4 R450C5 R450C6 R450C7 R450C8 R450C9\n\n-R451C0 R451C1 R451C2 R451C3 R451C4 R451C5 R451C6 R451C7 R451C8 R451C9\n\n-R452C0 R452C1 R452C2 R452C3 R452C4 R452C5 R452C6 R452C7 R452C8 R452C9\n\n-R453C0 R453C1 R453C2 R453C3 R453C4 R453C5 R453C6 R453C7 R453C8 R453C9\n\n-R454C0 R454C1 R454C2 R454C3 R454C4 R454C5 R454C6 R454C7 R454C8 R454C9\n\n-R455C0 R455C1 R455C2 R455C3 R455C4 R455C5 R455C6 R455C7 R455C8 R455C9\n\n-R456C0 R456C1 R456C2 R456C3 R456C4 R456C5 R456C6 R456C7 R456C8 R456C9\n\n-R457C0 R457C1 R457C2 R457C3 R457C4 R457C5 R457C6 R457C7 R457C8 R457C9\n\n-R458C0 R458C1 R458C2 R458C3 R458C4 R458C5 R458C6 R458C7 R458C8 R458C9\n\n-R459C0 R459C1 R459C2 R459C3 R459C4 R459C5 R459C6 R459C7 R459C8 R459C9\n\n-R460C0 R460C1 R460C2 R460C3 R460C4 R460C5 R460C6 R460C7 R460C8 R460C9\n\n-R461C0 R461C1 R461C2 R461C3 R461C4 R461C5 R461C6 R461C7 R461C8 R461C9\n\n-R462C0 R462C1 R462C2 R462C3 R462C4 R462C5 R462C6 R462C7 R462C8 R462C9\n\n-R463C0 R463C1 R463C2 R463C3 R463C4 R463C5 R463C6 R463C7 R463C8 R463C9\n\n-R464C0 R464C1 R464C2 R464C3 R464C4 R464C5 R464C6 R464C7 R464C8 R464C9\n\n-R465C0 R465C1 R465C2 R465C3 R465C4 R465C5 R465C6 R465C7 R465C8 R465C9\n\n-R466C0 R466C1 R466C2 R466C3 R466C4 R466C5 R466C6 R466C7 R466C8 R466C9\n\n-R467C0 R467C1 R467C2 R467C3 R467C4 R467C5 R467C6 R467C7 R467C8 R467C9\n\n-R468C0 R468C1 R468C2 R468C3 R468C4 R468C5 R468C6 R468C7 R468C8 R468C9\n\n-R469C0 R469C1 R469C2 R469C3 R469C4 R469C5 R469C6 R469C7 R469C8 R469C9\n\n-R470C0 R470C1 R470C2 R470C3 R470C4 R470C5 R470C6 R470C7 R470C8 R470C9\n\n-R471C0 R471C1 R471C2 R471C3 R471C4 R471C5 R471C6 R471C7 R471C8 R471C9\n\n----PAGE---\n\n-R472C0 R472C1 R472C2 R472C3 R472C4 R472C5 R472C6 R472C7 R472C8 R472C9\n\n-R473C0 R473C1 R473C2 R473C3 R473C4 R473C5 R473C6 R473C7 R473C8 R473C9\n\n-R474C0 R474C1 R474C2 R474C3 R474C4 R474C5 R474C6 R474C7 R474C8 R474C9\n\n-R475C0 R475C1 R475C2 R475C3 R475C4 R475C5 R475C6 R475C7 R475C8 R475C9\n\n-R476C0 R476C1 R476C2 R476C3 R476C4 R476C5 R476C6 R476C7 R476C8 R476C9\n\n-R477C0 R477C1 R477C2 R477C3 R477C4 R477C5 R477C6 R477C7 R477C8 R477C9\n\n-R478C0 R478C1 R478C2 R478C3 R478C4 R478C5 R478C6 R478C7 R478C8 R478C9\n\n-R479C0 R479C1 R479C2 R479C3 R479C4 R479C5 R479C6 R479C7 R479C8 R479C9\n\n-R480C0 R480C1 R480C2 R480C3 R480C4 R480C5 R480C6 R480C7 R480C8 R480C9\n\n-R481C0 R481C1 R481C2 R481C3 R481C4 R481C5 R481C6 R481C7 R481C8 R481C9\n\n-R482C0 R482C1 R482C2 R482C3 R482C4 R482C5 R482C6 R482C7 R482C8 R482C9\n\n-R483C0 R483C1 R483C2 R483C3 R483C4 R483C5 R483C6 R483C7 R483C8 R483C9\n\n-R484C0 R484C1 R484C2 R484C3 R484C4 R484C5 R484C6 R484C7 R484C8 R484C9\n\n-R485C0 R485C1 R485C2 R485C3 R485C4 R485C5 R485C6 R485C7 R485C8 R485C9\n\n-R486C0 R486C1 R486C2 R486C3 R486C4 R486C5 R486C6 R486C7 R486C8 R486C9\n\n-R487C0 R487C1 R487C2 R487C3 R487C4 R487C5 R487C6 R487C7 R487C8 R487C9\n\n-R488C0 R488C1 R488C2 R488C3 R488C4 R488C5 R488C6 R488C7 R488C8 R488C9\n\n-R489C0 R489C1 R489C2 R489C3 R489C4 R489C5 R489C6 R489C7 R489C8 R489C9\n\n-R490C0 R490C1 R490C2 R490C3 R490C4 R490C5 R490C6 R490C7 R490C8 R490C9\n\n-R491C0 R491C1 R491C2 R491C3 R491C4 R491C5 R491C6 R491C7 R491C8 R491C9\n\n-R492C0 R492C1 R492C2 R492C3 R492C4 R492C5 R492C6 R492C7 R492C8 R492C9\n\n-R493C0 R493C1 R493C2 R493C3 R493C4 R493C5 R493C6 R493C7 R493C8 R493C9\n\n-R494C0 R494C1 R494C2 R494C3 R494C4 R494C5 R494C6 R494C7 R494C8 R494C9\n\n-R495C0 R495C1 R495C2 R495C3 R495C4 R495C5 R495C6 R495C7 R495C8 R495C9\n\n-R496C0 R496C1 R496C2 R496C3 R496C4 R496C5 R496C6 R496C7 R496C8 R496C9\n\n-R497C0 R497C1 R497C2 R497C3 R497C4 R497C5 R497C6 R497C7 R497C8 R497C9\n\n-R498C0 R498C1 R498C2 R498C3 R498C4 R498C5 R498C6 R498C7 R498C8 R498C9\n\n-R499C0 R499C1 R499C2 R499C3 R499C4 R499C5 R499C6 R499C7 R499C8 R499C9\n\n-R500C0 R500C1 R500C2 R500C3 R500C4 R500C5 R500C6 R500C7 R500C8 R500C9\n\n-R501C0 R501C1 R501C2 R501C3 R501C4 R501C5 R501C6 R501C7 R501C8 R501C9\n\n-R502C0 R502C1 R502C2 R502C3 R502C4 R502C5 R502C6 R502C7 R502C8 R502C9\n\n-R503C0 R503C1 R503C2 R503C3 R503C4 R503C5 R503C6 R503C7 R503C8 R503C9\n\n-R504C0 R504C1 R504C2 R504C3 R504C4 R504C5 R504C6 R504C7 R504C8 R504C9\n\n-R505C0 R505C1 R505C2 R505C3 R505C4 R505C5 R505C6 R505C7 R505C8 R505C9\n\n-R506C0 R506C1 R506C2 R506C3 R506C4 R506C5 R506C6 R506C7 R506C8 R506C9\n\n-R507C0 R507C1 R507C2 R507C3 R507C4 R507C5 R507C6 R507C7 R507C8 R507C9\n\n-R508C0 R508C1 R508C2 R508C3 R508C4 R508C5 R508C6 R508C7 R508C8 R508C9\n\n-R509C0 R509C1 R509C2 R509C3 R509C4 R509C5 R509C6 R509C7 R509C8 R509C9\n\n-R510C0 R510C1 R510C2 R510C3 R510C4 R510C5 R510C6 R510C7 R510C8 R510C9\n\n-R511C0 R511C1 R511C2 R511C3 R511C4 R511C5 R511C6 R511C7 R511C8 R511C9\n\n-R512C0 R512C1 R512C2 R512C3 R512C4 R512C5 R512C6 R512C7 R512C8 R512C9\n\n-R513C0 R513C1 R513C2 R513C3 R513C4 R513C5 R513C6 R513C7 R513C8 R513C9\n\n-R514C0 R514C1 R514C2 R514C3 R514C4 R514C5 R514C6 R514C7 R514C8 R514C9\n\n----PAGE---\n\n-R515C0 R515C1 R515C2 R515C3 R515C4 R515C5 R515C6 R515C7 R515C8 R515C9\n\n-R516C0 R516C1 R516C2 R516C3 R516C4 R516C5 R516C6 R516C7 R516C8 R516C9\n\n-R517C0 R517C1 R517C2 R517C3 R517C4 R517C5 R517C6 R517C7 R517C8 R517C9\n\n-R518C0 R518C1 R518C2 R518C3 R518C4 R518C5 R518C6 R518C7 R518C8 R518C9\n\n-R519C0 R519C1 R519C2 R519C3 R519C4 R519C5 R519C6 R519C7 R519C8 R519C9\n\n-R520C0 R520C1 R520C2 R520C3 R520C4 R520C5 R520C6 R520C7 R520C8 R520C9\n\n-R521C0 R521C1 R521C2 R521C3 R521C4 R521C5 R521C6 R521C7 R521C8 R521C9\n\n-R522C0 R522C1 R522C2 R522C3 R522C4 R522C5 R522C6 R522C7 R522C8 R522C9\n\n-R523C0 R523C1 R523C2 R523C3 R523C4 R523C5 R523C6 R523C7 R523C8 R523C9\n\n-R524C0 R524C1 R524C2 R524C3 R524C4 R524C5 R524C6 R524C7 R524C8 R524C9\n\n-R525C0 R525C1 R525C2 R525C3 R525C4 R525C5 R525C6 R525C7 R525C8 R525C9\n\n-R526C0 R526C1 R526C2 R526C3 R526C4 R526C5 R526C6 R526C7 R526C8 R526C9\n\n-R527C0 R527C1 R527C2 R527C3 R527C4 R527C5 R527C6 R527C7 R527C8 R527C9\n\n-R528C0 R528C1 R528C2 R528C3 R528C4 R528C5 R528C6 R528C7 R528C8 R528C9\n\n-R529C0 R529C1 R529C2 R529C3 R529C4 R529C5 R529C6 R529C7 R529C8 R529C9\n\n-R530C0 R530C1 R530C2 R530C3 R530C4 R530C5 R530C6 R530C7 R530C8 R530C9\n\n-R531C0 R531C1 R531C2 R531C3 R531C4 R531C5 R531C6 R531C7 R531C8 R531C9\n\n-R532C0 R532C1 R532C2 R532C3 R532C4 R532C5 R532C6 R532C7 R532C8 R532C9\n\n-R533C0 R533C1 R533C2 R533C3 R533C4 R533C5 R533C6 R533C7 R533C8 R533C9\n\n-R534C0 R534C1 R534C2 R534C3 R534C4 R534C5 R534C6 R534C7 R534C8 R534C9\n\n-R535C0 R535C1 R535C2 R535C3 R535C4 R535C5 R535C6 R535C7 R535C8 R535C9\n\n-R536C0 R536C1 R536C2 R536C3 R536C4 R536C5 R536C6 R536C7 R536C8 R536C9\n\n-R537C0 R537C1 R537C2 R537C3 R537C4 R537C5 R537C6 R537C7 R537C8 R537C9\n\n-R538C0 R538C1 R538C2 R538C3 R538C4 R538C5 R538C6 R538C7 R538C8 R538C9\n\n-R539C0 R539C1 R539C2 R539C3 R539C4 R539C5 R539C6 R539C7 R539C8 R539C9\n\n-R540C0 R540C1 R540C2 R540C3 R540C4 R540C5 R540C6 R540C7 R540C8 R540C9\n\n-R541C0 R541C1 R541C2 R541C3 R541C4 R541C5 R541C6 R541C7 R541C8 R541C9\n\n-R542C0 R542C1 R542C2 R542C3 R542C4 R542C5 R542C6 R542C7 R542C8 R542C9\n\n-R543C0 R543C1 R543C2 R543C3 R543C4 R543C5 R543C6 R543C7 R543C8 R543C9\n\n-R544C0 R544C1 R544C2 R544C3 R544C4 R544C5 R544C6 R544C7 R544C8 R544C9\n\n-R545C0 R545C1 R545C2 R545C3 R545C4 R545C5 R545C6 R545C7 R545C8 R545C9\n\n-R546C0 R546C1 R546C2 R546C3 R546C4 R546C5 R546C6 R546C7 R546C8 R546C9\n\n-R547C0 R547C1 R547C2 R547C3 R547C4 R547C5 R547C6 R547C7 R547C8 R547C9\n\n-R548C0 R548C1 R548C2 R548C3 R548C4 R548C5 R548C6 R548C7 R548C8 R548C9\n\n-R549C0 R549C1 R549C2 R549C3 R549C4 R549C5 R549C6 R549C7 R549C8 R549C9\n\n-R550C0 R550C1 R550C2 R550C3 R550C4 R550C5 R550C6 R550C7 R550C8 R550C9\n\n-R551C0 R551C1 R551C2 R551C3 R551C4 R551C5 R551C6 R551C7 R551C8 R551C9\n\n-R552C0 R552C1 R552C2 R552C3 R552C4 R552C5 R552C6 R552C7 R552C8 R552C9\n\n-R553C0 R553C1 R553C2 R553C3 R553C4 R553C5 R553C6 R553C7 R553C8 R553C9\n\n-R554C0 R554C1 R554C2 R554C3 R554C4 R554C5 R554C6 R554C7 R554C8 R554C9\n\n-R555C0 R555C1 R555C2 R555C3 R555C4 R555C5 R555C6 R555C7 R555C8 R555C9\n\n-R556C0 R556C1 R556C2 R556C3 R556C4 R556C5 R556C6 R556C7 R556C8 R556C9\n\n-R557C0 R557C1 R557C2 R557C3 R557C4 R557C5 R557C6 R557C7 R557C8 R557C9\n\n----PAGE---\n\n-R558C0 R558C1 R558C2 R558C3 R558C4 R558C5 R558C6 R558C7 R558C8 R558C9\n\n-R559C0 R559C1 R559C2 R559C3 R559C4 R559C5 R559C6 R559C7 R559C8 R559C9\n\n-R560C0 R560C1 R560C2 R560C3 R560C4 R560C5 R560C6 R560C7 R560C8 R560C9\n\n-R561C0 R561C1 R561C2 R561C3 R561C4 R561C5 R561C6 R561C7 R561C8 R561C9\n\n-R562C0 R562C1 R562C2 R562C3 R562C4 R562C5 R562C6 R562C7 R562C8 R562C9\n\n-R563C0 R563C1 R563C2 R563C3 R563C4 R563C5 R563C6 R563C7 R563C8 R563C9\n\n-R564C0 R564C1 R564C2 R564C3 R564C4 R564C5 R564C6 R564C7 R564C8 R564C9\n\n-R565C0 R565C1 R565C2 R565C3 R565C4 R565C5 R565C6 R565C7 R565C8 R565C9\n\n-R566C0 R566C1 R566C2 R566C3 R566C4 R566C5 R566C6 R566C7 R566C8 R566C9\n\n-R567C0 R567C1 R567C2 R567C3 R567C4 R567C5 R567C6 R567C7 R567C8 R567C9\n\n-R568C0 R568C1 R568C2 R568C3 R568C4 R568C5 R568C6 R568C7 R568C8 R568C9\n\n-R569C0 R569C1 R569C2 R569C3 R569C4 R569C5 R569C6 R569C7 R569C8 R569C9\n\n-R570C0 R570C1 R570C2 R570C3 R570C4 R570C5 R570C6 R570C7 R570C8 R570C9\n\n-R571C0 R571C1 R571C2 R571C3 R571C4 R571C5 R571C6 R571C7 R571C8 R571C9\n\n-R572C0 R572C1 R572C2 R572C3 R572C4 R572C5 R572C6 R572C7 R572C8 R572C9\n\n-R573C0 R573C1 R573C2 R573C3 R573C4 R573C5 R573C6 R573C7 R573C8 R573C9\n\n-R574C0 R574C1 R574C2 R574C3 R574C4 R574C5 R574C6 R574C7 R574C8 R574C9\n\n-R575C0 R575C1 R575C2 R575C3 R575C4 R575C5 R575C6 R575C7 R575C8 R575C9\n\n-R576C0 R576C1 R576C2 R576C3 R576C4 R576C5 R576C6 R576C7 R576C8 R576C9\n\n-R577C0 R577C1 R577C2 R577C3 R577C4 R577C5 R577C6 R577C7 R577C8 R577C9\n\n-R578C0 R578C1 R578C2 R578C3 R578C4 R578C5 R578C6 R578C7 R578C8 R578C9\n\n-R579C0 R579C1 R579C2 R579C3 R579C4 R579C5 R579C6 R579C7 R579C8 R579C9\n\n-R580C0 R580C1 R580C2 R580C3 R580C4 R580C5 R580C6 R580C7 R580C8 R580C9\n\n-R581C0 R581C1 R581C2 R581C3 R581C4 R581C5 R581C6 R581C7 R581C8 R581C9\n\n-R582C0 R582C1 R582C2 R582C3 R582C4 R582C5 R582C6 R582C7 R582C8 R582C9\n\n-R583C0 R583C1 R583C2 R583C3 R583C4 R583C5 R583C6 R583C7 R583C8 R583C9\n\n-R584C0 R584C1 R584C2 R584C3 R584C4 R584C5 R584C6 R584C7 R584C8 R584C9\n\n-R585C0 R585C1 R585C2 R585C3 R585C4 R585C5 R585C6 R585C7 R585C8 R585C9\n\n-R586C0 R586C1 R586C2 R586C3 R586C4 R586C5 R586C6 R586C7 R586C8 R586C9\n\n-R587C0 R587C1 R587C2 R587C3 R587C4 R587C5 R587C6 R587C7 R587C8 R587C9\n\n-R588C0 R588C1 R588C2 R588C3 R588C4 R588C5 R588C6 R588C7 R588C8 R588C9\n\n-R589C0 R589C1 R589C2 R589C3 R589C4 R589C5 R589C6 R589C7 R589C8 R589C9\n\n-R590C0 R590C1 R590C2 R590C3 R590C4 R590C5 R590C6 R590C7 R590C8 R590C9\n\n-R591C0 R591C1 R591C2 R591C3 R591C4 R591C5 R591C6 R591C7 R591C8 R591C9\n\n-R592C0 R592C1 R592C2 R592C3 R592C4 R592C5 R592C6 R592C7 R592C8 R592C9\n\n-R593C0 R593C1 R593C2 R593C3 R593C4 R593C5 R593C6 R593C7 R593C8 R593C9\n\n-R594C0 R594C1 R594C2 R594C3 R594C4 R594C5 R594C6 R594C7 R594C8 R594C9\n\n-R595C0 R595C1 R595C2 R595C3 R595C4 R595C5 R595C6 R595C7 R595C8 R595C9\n\n-R596C0 R596C1 R596C2 R596C3 R596C4 R596C5 R596C6 R596C7 R596C8 R596C9\n\n-R597C0 R597C1 R597C2 R597C3 R597C4 R597C5 R597C6 R597C7 R597C8 R597C9\n\n-R598C0 R598C1 R598C2 R598C3 R598C4 R598C5 R598C6 R598C7 R598C8 R598C9\n\n-R599C0 R599C1 R599C2 R599C3 R599C4 R599C5 R599C6 R599C7 R599C8 R599C9\n\n-R600C0 R600C1 R600C2 R600C3 R600C4 R600C5 R600C6 R600C7 R600C8 R600C9\n\n----PAGE---\n\n-R601C0 R601C1 R601C2 R601C3 R601C4 R601C5 R601C6 R601C7 R601C8 R601C9\n\n-R602C0 R602C1 R602C2 R602C3 R602C4 R602C5 R602C6 R602C7 R602C8 R602C9\n\n-R603C0 R603C1 R603C2 R603C3 R603C4 R603C5 R603C6 R603C7 R603C8 R603C9\n\n-R604C0 R604C1 R604C2 R604C3 R604C4 R604C5 R604C6 R604C7 R604C8 R604C9\n\n-R605C0 R605C1 R605C2 R605C3 R605C4 R605C5 R605C6 R605C7 R605C8 R605C9\n\n-R606C0 R606C1 R606C2 R606C3 R606C4 R606C5 R606C6 R606C7 R606C8 R606C9\n\n-R607C0 R607C1 R607C2 R607C3 R607C4 R607C5 R607C6 R607C7 R607C8 R607C9\n\n-R608C0 R608C1 R608C2 R608C3 R608C4 R608C5 R608C6 R608C7 R608C8 R608C9\n\n-R609C0 R609C1 R609C2 R609C3 R609C4 R609C5 R609C6 R609C7 R609C8 R609C9\n\n-R610C0 R610C1 R610C2 R610C3 R610C4 R610C5 R610C6 R610C7 R610C8 R610C9\n\n-R611C0 R611C1 R611C2 R611C3 R611C4 R611C5 R611C6 R611C7 R611C8 R611C9\n\n-R612C0 R612C1 R612C2 R612C3 R612C4 R612C5 R612C6 R612C7 R612C8 R612C9\n\n-R613C0 R613C1 R613C2 R613C3 R613C4 R613C5 R613C6 R613C7 R613C8 R613C9\n\n-R614C0 R614C1 R614C2 R614C3 R614C4 R614C5 R614C6 R614C7 R614C8 R614C9\n\n-R615C0 R615C1 R615C2 R615C3 R615C4 R615C5 R615C6 R615C7 R615C8 R615C9\n\n-R616C0 R616C1 R616C2 R616C3 R616C4 R616C5 R616C6 R616C7 R616C8 R616C9\n\n-R617C0 R617C1 R617C2 R617C3 R617C4 R617C5 R617C6 R617C7 R617C8 R617C9\n\n-R618C0 R618C1 R618C2 R618C3 R618C4 R618C5 R618C6 R618C7 R618C8 R618C9\n\n-R619C0 R619C1 R619C2 R619C3 R619C4 R619C5 R619C6 R619C7 R619C8 R619C9\n\n-R620C0 R620C1 R620C2 R620C3 R620C4 R620C5 R620C6 R620C7 R620C8 R620C9\n\n-R621C0 R621C1 R621C2 R621C3 R621C4 R621C5 R621C6 R621C7 R621C8 R621C9\n\n-R622C0 R622C1 R622C2 R622C3 R622C4 R622C5 R622C6 R622C7 R622C8 R622C9\n\n-R623C0 R623C1 R623C2 R623C3 R623C4 R623C5 R623C6 R623C7 R623C8 R623C9\n\n-R624C0 R624C1 R624C2 R624C3 R624C4 R624C5 R624C6 R624C7 R624C8 R624C9\n\n-R625C0 R625C1 R625C2 R625C3 R625C4 R625C5 R625C6 R625C7 R625C8 R625C9\n\n-R626C0 R626C1 R626C2 R626C3 R626C4 R626C5 R626C6 R626C7 R626C8 R626C9\n\n-R627C0 R627C1 R627C2 R627C3 R627C4 R627C5 R627C6 R627C7 R627C8 R627C9\n\n-R628C0 R628C1 R628C2 R628C3 R628C4 R628C5 R628C6 R628C7 R628C8 R628C9\n\n-R629C0 R629C1 R629C2 R629C3 R629C4 R629C5 R629C6 R629C7 R629C8 R629C9\n\n-R630C0 R630C1 R630C2 R630C3 R630C4 R630C5 R630C6 R630C7 R630C8 R630C9\n\n-R631C0 R631C1 R631C2 R631C3 R631C4 R631C5 R631C6 R631C7 R631C8 R631C9\n\n-R632C0 R632C1 R632C2 R632C3 R632C4 R632C5 R632C6 R632C7 R632C8 R632C9\n\n-R633C0 R633C1 R633C2 R633C3 R633C4 R633C5 R633C6 R633C7 R633C8 R633C9\n\n-R634C0 R634C1 R634C2 R634C3 R634C4 R634C5 R634C6 R634C7 R634C8 R634C9\n\n-R635C0 R635C1 R635C2 R635C3 R635C4 R635C5 R635C6 R635C7 R635C8 R635C9\n\n-R636C0 R636C1 R636C2 R636C3 R636C4 R636C5 R636C6 R636C7 R636C8 R636C9\n\n-R637C0 R637C1 R637C2 R637C3 R637C4 R637C5 R637C6 R637C7 R637C8 R637C9\n\n-R638C0 R638C1 R638C2 R638C3 R638C4 R638C5 R638C6 R638C7 R638C8 R638C9\n\n-R639C0 R639C1 R639C2 R639C3 R639C4 R639C5 R639C6 R639C7 R639C8 R639C9\n\n-R640C0 R640C1 R640C2 R640C3 R640C4 R640C5 R640C6 R640C7 R640C8 R640C9\n\n-R641C0 R641C1 R641C2 R641C3 R641C4 R641C5 R641C6 R641C7 R641C8 R641C9\n\n-R642C0 R642C1 R642C2 R642C3 R642C4 R642C5 R642C6 R642C7 R642C8 R642C9\n\n-R643C0 R643C1 R643C2 R643C3 R643C4 R643C5 R643C6 R643C7 R643C8 R643C9\n\n----PAGE---\n\n-R644C0 R644C1 R644C2 R644C3 R644C4 R644C5 R644C6 R644C7 R644C8 R644C9\n\n-R645C0 R645C1 R645C2 R645C3 R645C4 R645C5 R645C6 R645C7 R645C8 R645C9\n\n-R646C0 R646C1 R646C2 R646C3 R646C4 R646C5 R646C6 R646C7 R646C8 R646C9\n\n-R647C0 R647C1 R647C2 R647C3 R647C4 R647C5 R647C6 R647C7 R647C8 R647C9\n\n-R648C0 R648C1 R648C2 R648C3 R648C4 R648C5 R648C6 R648C7 R648C8 R648C9\n\n-R649C0 R649C1 R649C2 R649C3 R649C4 R649C5 R649C6 R649C7 R649C8 R649C9\n\n-R650C0 R650C1 R650C2 R650C3 R650C4 R650C5 R650C6 R650C7 R650C8 R650C9\n\n-R651C0 R651C1 R651C2 R651C3 R651C4 R651C5 R651C6 R651C7 R651C8 R651C9\n\n-R652C0 R652C1 R652C2 R652C3 R652C4 R652C5 R652C6 R652C7 R652C8 R652C9\n\n-R653C0 R653C1 R653C2 R653C3 R653C4 R653C5 R653C6 R653C7 R653C8 R653C9\n\n-R654C0 R654C1 R654C2 R654C3 R654C4 R654C5 R654C6 R654C7 R654C8 R654C9\n\n-R655C0 R655C1 R655C2 R655C3 R655C4 R655C5 R655C6 R655C7 R655C8 R655C9\n\n-R656C0 R656C1 R656C2 R656C3 R656C4 R656C5 R656C6 R656C7 R656C8 R656C9\n\n-R657C0 R657C1 R657C2 R657C3 R657C4 R657C5 R657C6 R657C7 R657C8 R657C9\n\n-R658C0 R658C1 R658C2 R658C3 R658C4 R658C5 R658C6 R658C7 R658C8 R658C9\n\n-R659C0 R659C1 R659C2 R659C3 R659C4 R659C5 R659C6 R659C7 R659C8 R659C9\n\n-R660C0 R660C1 R660C2 R660C3 R660C4 R660C5 R660C6 R660C7 R660C8 R660C9\n\n-R661C0 R661C1 R661C2 R661C3 R661C4 R661C5 R661C6 R661C7 R661C8 R661C9\n\n-R662C0 R662C1 R662C2 R662C3 R662C4 R662C5 R662C6 R662C7 R662C8 R662C9\n\n-R663C0 R663C1 R663C2 R663C3 R663C4 R663C5 R663C6 R663C7 R663C8 R663C9\n\n-R664C0 R664C1 R664C2 R664C3 R664C4 R664C5 R664C6 R664C7 R664C8 R664C9\n\n-R665C0 R665C1 R665C2 R665C3 R665C4 R665C5 R665C6 R665C7 R665C8 R665C9\n\n-R666C0 R666C1 R666C2 R666C3 R666C4 R666C5 R666C6 R666C7 R666C8 R666C9\n\n-R667C0 R667C1 R667C2 R667C3 R667C4 R667C5 R667C6 R667C7 R667C8 R667C9\n\n-R668C0 R668C1 R668C2 R668C3 R668C4 R668C5 R668C6 R668C7 R668C8 R668C9\n\n-R669C0 R669C1 R669C2 R669C3 R669C4 R669C5 R669C6 R669C7 R669C8 R669C9\n\n-R670C0 R670C1 R670C2 R670C3 R670C4 R670C5 R670C6 R670C7 R670C8 R670C9\n\n-R671C0 R671C1 R671C2 R671C3 R671C4 R671C5 R671C6 R671C7 R671C8 R671C9\n\n-R672C0 R672C1 R672C2 R672C3 R672C4 R672C5 R672C6 R672C7 R672C8 R672C9\n\n-R673C0 R673C1 R673C2 R673C3 R673C4 R673C5 R673C6 R673C7 R673C8 R673C9\n\n-R674C0 R674C1 R674C2 R674C3 R674C4 R674C5 R674C6 R674C7 R674C8 R674C9\n\n-R675C0 R675C1 R675C2 R675C3 R675C4 R675C5 R675C6 R675C7 R675C8 R675C9\n\n-R676C0 R676C1 R676C2 R676C3 R676C4 R676C5 R676C6 R676C7 R676C8 R676C9\n\n-R677C0 R677C1 R677C2 R677C3 R677C4 R677C5 R677C6 R677C7 R677C8 R677C9\n\n-R678C0 R678C1 R678C2 R678C3 R678C4 R678C5 R678C6 R678C7 R678C8 R678C9\n\n-R679C0 R679C1 R679C2 R679C3 R679C4 R679C5 R679C6 R679C7 R679C8 R679C9\n\n-R680C0 R680C1 R680C2 R680C3 R680C4 R680C5 R680C6 R680C7 R680C8 R680C9\n\n-R681C0 R681C1 R681C2 R681C3 R681C4 R681C5 R681C6 R681C7 R681C8 R681C9\n\n-R682C0 R682C1 R682C2 R682C3 R682C4 R682C5 R682C6 R682C7 R682C8 R682C9\n\n-R683C0 R683C1 R683C2 R683C3 R683C4 R683C5 R683C6 R683C7 R683C8 R683C9\n\n-R684C0 R684C1 R684C2 R684C3 R684C4 R684C5 R684C6 R684C7 R684C8 R684C9\n\n-R685C0 R685C1 R685C2 R685C3 R685C4 R685C5 R685C6 R685C7 R685C8 R685C9\n\n-R686C0 R686C1 R686C2 R686C3 R686C4 R686C5 R686C6 R686C7 R686C8 R686C9\n\n----PAGE---\n\n-R687C0 R687C1 R687C2 R687C3 R687C4 R687C5 R687C6 R687C7 R687C8 R687C9\n\n-R688C0 R688C1 R688C2 R688C3 R688C4 R688C5 R688C6 R688C7 R688C8 R688C9\n\n-R689C0 R689C1 R689C2 R689C3 R689C4 R689C5 R689C6 R689C7 R689C8 R689C9\n\n-R690C0 R690C1 R690C2 R690C3 R690C4 R690C5 R690C6 R690C7 R690C8 R690C9\n\n-R691C0 R691C1 R691C2 R691C3 R691C4 R691C5 R691C6 R691C7 R691C8 R691C9\n\n-R692C0 R692C1 R692C2 R692C3 R692C4 R692C5 R692C6 R692C7 R692C8 R692C9\n\n-R693C0 R693C1 R693C2 R693C3 R693C4 R693C5 R693C6 R693C7 R693C8 R693C9\n\n-R694C0 R694C1 R694C2 R694C3 R694C4 R694C5 R694C6 R694C7 R694C8 R694C9\n\n-R695C0 R695C1 R695C2 R695C3 R695C4 R695C5 R695C6 R695C7 R695C8 R695C9\n\n-R696C0 R696C1 R696C2 R696C3 R696C4 R696C5 R696C6 R696C7 R696C8 R696C9\n\n-R697C0 R697C1 R697C2 R697C3 R697C4 R697C5 R697C6 R697C7 R697C8 R697C9\n\n-R698C0 R698C1 R698C2 R698C3 R698C4 R698C5 R698C6 R698C7 R698C8 R698C9\n\n-R699C0 R699C1 R699C2 R699C3 R699C4 R699C5 R699C6 R699C7 R699C8 R699C9\n\n-R700C0 R700C1 R700C2 R700C3 R700C4 R700C5 R700C6 R700C7 R700C8 R700C9\n\n-R701C0 R701C1 R701C2 R701C3 R701C4 R701C5 R701C6 R701C7 R701C8 R701C9\n\n-R702C0 R702C1 R702C2 R702C3 R702C4 R702C5 R702C6 R702C7 R702C8 R702C9\n\n-R703C0 R703C1 R703C2 R703C3 R703C4 R703C5 R703C6 R703C7 R703C8 R703C9\n\n-R704C0 R704C1 R704C2 R704C3 R704C4 R704C5 R704C6 R704C7 R704C8 R704C9\n\n-R705C0 R705C1 R705C2 R705C3 R705C4 R705C5 R705C6 R705C7 R705C8 R705C9\n\n-R706C0 R706C1 R706C2 R706C3 R706C4 R706C5 R706C6 R706C7 R706C8 R706C9\n\n-R707C0 R707C1 R707C2 R707C3 R707C4 R707C5 R707C6 R707C7 R707C8 R707C9\n\n-R708C0 R708C1 R708C2 R708C3 R708C4 R708C5 R708C6 R708C7 R708C8 R708C9\n\n-R709C0 R709C1 R709C2 R709C3 R709C4 R709C5 R709C6 R709C7 R709C8 R709C9\n\n-R710C0 R710C1 R710C2 R710C3 R710C4 R710C5 R710C6 R710C7 R710C8 R710C9\n\n-R711C0 R711C1 R711C2 R711C3 R711C4 R711C5 R711C6 R711C7 R711C8 R711C9\n\n-R712C0 R712C1 R712C2 R712C3 R712C4 R712C5 R712C6 R712C7 R712C8 R712C9\n\n-R713C0 R713C1 R713C2 R713C3 R713C4 R713C5 R713C6 R713C7 R713C8 R713C9\n\n-R714C0 R714C1 R714C2 R714C3 R714C4 R714C5 R714C6 R714C7 R714C8 R714C9\n\n-R715C0 R715C1 R715C2 R715C3 R715C4 R715C5 R715C6 R715C7 R715C8 R715C9\n\n-R716C0 R716C1 R716C2 R716C3 R716C4 R716C5 R716C6 R716C7 R716C8 R716C9\n\n-R717C0 R717C1 R717C2 R717C3 R717C4 R717C5 R717C6 R717C7 R717C8 R717C9\n\n-R718C0 R718C1 R718C2 R718C3 R718C4 R718C5 R718C6 R718C7 R718C8 R718C9\n\n-R719C0 R719C1 R719C2 R719C3 R719C4 R719C5 R719C6 R719C7 R719C8 R719C9\n\n-R720C0 R720C1 R720C2 R720C3 R720C4 R720C5 R720C6 R720C7 R720C8 R720C9\n\n-R721C0 R721C1 R721C2 R721C3 R721C4 R721C5 R721C6 R721C7 R721C8 R721C9\n\n-R722C0 R722C1 R722C2 R722C3 R722C4 R722C5 R722C6 R722C7 R722C8 R722C9\n\n-R723C0 R723C1 R723C2 R723C3 R723C4 R723C5 R723C6 R723C7 R723C8 R723C9\n\n-R724C0 R724C1 R724C2 R724C3 R724C4 R724C5 R724C6 R724C7 R724C8 R724C9\n\n-R725C0 R725C1 R725C2 R725C3 R725C4 R725C5 R725C6 R725C7 R725C8 R725C9\n\n-R726C0 R726C1 R726C2 R726C3 R726C4 R726C5 R726C6 R726C7 R726C8 R726C9\n\n-R727C0 R727C1 R727C2 R727C3 R727C4 R727C5 R727C6 R727C7 R727C8 R727C9\n\n-R728C0 R728C1 R728C2 R728C3 R728C4 R728C5 R728C6 R728C7 R728C8 R728C9\n\n-R729C0 R729C1 R729C2 R729C3 R729C4 R729C5 R729C6 R729C7 R729C8 R729C9\n\n----PAGE---\n\n-R730C0 R730C1 R730C2 R730C3 R730C4 R730C5 R730C6 R730C7 R730C8 R730C9\n\n-R731C0 R731C1 R731C2 R731C3 R731C4 R731C5 R731C6 R731C7 R731C8 R731C9\n\n-R732C0 R732C1 R732C2 R732C3 R732C4 R732C5 R732C6 R732C7 R732C8 R732C9\n\n-R733C0 R733C1 R733C2 R733C3 R733C4 R733C5 R733C6 R733C7 R733C8 R733C9\n\n-R734C0 R734C1 R734C2 R734C3 R734C4 R734C5 R734C6 R734C7 R734C8 R734C9\n\n-R735C0 R735C1 R735C2 R735C3 R735C4 R735C5 R735C6 R735C7 R735C8 R735C9\n\n-R736C0 R736C1 R736C2 R736C3 R736C4 R736C5 R736C6 R736C7 R736C8 R736C9\n\n-R737C0 R737C1 R737C2 R737C3 R737C4 R737C5 R737C6 R737C7 R737C8 R737C9\n\n-R738C0 R738C1 R738C2 R738C3 R738C4 R738C5 R738C6 R738C7 R738C8 R738C9\n\n-R739C0 R739C1 R739C2 R739C3 R739C4 R739C5 R739C6 R739C7 R739C8 R739C9\n\n-R740C0 R740C1 R740C2 R740C3 R740C4 R740C5 R740C6 R740C7 R740C8 R740C9\n\n-R741C0 R741C1 R741C2 R741C3 R741C4 R741C5 R741C6 R741C7 R741C8 R741C9\n\n-R742C0 R742C1 R742C2 R742C3 R742C4 R742C5 R742C6 R742C7 R742C8 R742C9\n\n-R743C0 R743C1 R743C2 R743C3 R743C4 R743C5 R743C6 R743C7 R743C8 R743C9\n\n-R744C0 R744C1 R744C2 R744C3 R744C4 R744C5 R744C6 R744C7 R744C8 R744C9\n\n-R745C0 R745C1 R745C2 R745C3 R745C4 R745C5 R745C6 R745C7 R745C8 R745C9\n\n-R746C0 R746C1 R746C2 R746C3 R746C4 R746C5 R746C6 R746C7 R746C8 R746C9\n\n-R747C0 R747C1 R747C2 R747C3 R747C4 R747C5 R747C6 R747C7 R747C8 R747C9\n\n-R748C0 R748C1 R748C2 R748C3 R748C4 R748C5 R748C6 R748C7 R748C8 R748C9\n\n-R749C0 R749C1 R749C2 R749C3 R749C4 R749C5 R749C6 R749C7 R749C8 R749C9\n\n-R750C0 R750C1 R750C2 R750C3 R750C4 R750C5 R750C6 R750C7 R750C8 R750C9\n\n-R751C0 R751C1 R751C2 R751C3 R751C4 R751C5 R751C6 R751C7 R751C8 R751C9\n\n-R752C0 R752C1 R752C2 R752C3 R752C4 R752C5 R752C6 R752C7 R752C8 R752C9\n\n-R753C0 R753C1 R753C2 R753C3 R753C4 R753C5 R753C6 R753C7 R753C8 R753C9\n\n-R754C0 R754C1 R754C2 R754C3 R754C4 R754C5 R754C6 R754C7 R754C8 R754C9\n\n-R755C0 R755C1 R755C2 R755C3 R755C4 R755C5 R755C6 R755C7 R755C8 R755C9\n\n-R756C0 R756C1 R756C2 R756C3 R756C4 R756C5 R756C6 R756C7 R756C8 R756C9\n\n-R757C0 R757C1 R757C2 R757C3 R757C4 R757C5 R757C6 R757C7 R757C8 R757C9\n\n-R758C0 R758C1 R758C2 R758C3 R758C4 R758C5 R758C6 R758C7 R758C8 R758C9\n\n-R759C0 R759C1 R759C2 R759C3 R759C4 R759C5 R759C6 R759C7 R759C8 R759C9\n\n-R760C0 R760C1 R760C2 R760C3 R760C4 R760C5 R760C6 R760C7 R760C8 R760C9\n\n-R761C0 R761C1 R761C2 R761C3 R761C4 R761C5 R761C6 R761C7 R761C8 R761C9\n\n-R762C0 R762C1 R762C2 R762C3 R762C4 R762C5 R762C6 R762C7 R762C8 R762C9\n\n-R763C0 R763C1 R763C2 R763C3 R763C4 R763C5 R763C6 R763C7 R763C8 R763C9\n\n-R764C0 R764C1 R764C2 R764C3 R764C4 R764C5 R764C6 R764C7 R764C8 R764C9\n\n-R765C0 R765C1 R765C2 R765C3 R765C4 R765C5 R765C6 R765C7 R765C8 R765C9\n\n-R766C0 R766C1 R766C2 R766C3 R766C4 R766C5 R766C6 R766C7 R766C8 R766C9\n\n-R767C0 R767C1 R767C2 R767C3 R767C4 R767C5 R767C6 R767C7 R767C8 R767C9\n\n-R768C0 R768C1 R768C2 R768C3 R768C4 R768C5 R768C6 R768C7 R768C8 R768C9\n\n-R769C0 R769C1 R769C2 R769C3 R769C4 R769C5 R769C6 R769C7 R769C8 R769C9\n\n-R770C0 R770C1 R770C2 R770C3 R770C4 R770C5 R770C6 R770C7 R770C8 R770C9\n\n-R771C0 R771C1 R771C2 R771C3 R771C4 R771C5 R771C6 R771C7 R771C8 R771C9\n\n-R772C0 R772C1 R772C2 R772C3 R772C4 R772C5 R772C6 R772C7 R772C8 R772C9\n\n----PAGE---\n\n-R773C0 R773C1 R773C2 R773C3 R773C4 R773C5 R773C6 R773C7 R773C8 R773C9\n\n-R774C0 R774C1 R774C2 R774C3 R774C4 R774C5 R774C6 R774C7 R774C8 R774C9\n\n-R775C0 R775C1 R775C2 R775C3 R775C4 R775C5 R775C6 R775C7 R775C8 R775C9\n\n-R776C0 R776C1 R776C2 R776C3 R776C4 R776C5 R776C6 R776C7 R776C8 R776C9\n\n-R777C0 R777C1 R777C2 R777C3 R777C4 R777C5 R777C6 R777C7 R777C8 R777C9\n\n-R778C0 R778C1 R778C2 R778C3 R778C4 R778C5 R778C6 R778C7 R778C8 R778C9\n\n-R779C0 R779C1 R779C2 R779C3 R779C4 R779C5 R779C6 R779C7 R779C8 R779C9\n\n-R780C0 R780C1 R780C2 R780C3 R780C4 R780C5 R780C6 R780C7 R780C8 R780C9\n\n-R781C0 R781C1 R781C2 R781C3 R781C4 R781C5 R781C6 R781C7 R781C8 R781C9\n\n-R782C0 R782C1 R782C2 R782C3 R782C4 R782C5 R782C6 R782C7 R782C8 R782C9\n\n-R783C0 R783C1 R783C2 R783C3 R783C4 R783C5 R783C6 R783C7 R783C8 R783C9\n\n-R784C0 R784C1 R784C2 R784C3 R784C4 R784C5 R784C6 R784C7 R784C8 R784C9\n\n-R785C0 R785C1 R785C2 R785C3 R785C4 R785C5 R785C6 R785C7 R785C8 R785C9\n\n-R786C0 R786C1 R786C2 R786C3 R786C4 R786C5 R786C6 R786C7 R786C8 R786C9\n\n-R787C0 R787C1 R787C2 R787C3 R787C4 R787C5 R787C6 R787C7 R787C8 R787C9\n\n-R788C0 R788C1 R788C2 R788C3 R788C4 R788C5 R788C6 R788C7 R788C8 R788C9\n\n-R789C0 R789C1 R789C2 R789C3 R789C4 R789C5 R789C6 R789C7 R789C8 R789C9\n\n-R790C0 R790C1 R790C2 R790C3 R790C4 R790C5 R790C6 R790C7 R790C8 R790C9\n\n-R791C0 R791C1 R791C2 R791C3 R791C4 R791C5 R791C6 R791C7 R791C8 R791C9\n\n-R792C0 R792C1 R792C2 R792C3 R792C4 R792C5 R792C6 R792C7 R792C8 R792C9\n\n-R793C0 R793C1 R793C2 R793C3 R793C4 R793C5 R793C6 R793C7 R793C8 R793C9\n\n-R794C0 R794C1 R794C2 R794C3 R794C4 R794C5 R794C6 R794C7 R794C8 R794C9\n\n-R795C0 R795C1 R795C2 R795C3 R795C4 R795C5 R795C6 R795C7 R795C8 R795C9\n\n-R796C0 R796C1 R796C2 R796C3 R796C4 R796C5 R796C6 R796C7 R796C8 R796C9\n\n-R797C0 R797C1 R797C2 R797C3 R797C4 R797C5 R797C6 R797C7 R797C8 R797C9\n\n-R798C0 R798C1 R798C2 R798C3 R798C4 R798C5 R798C6 R798C7 R798C8 R798C9\n\n-R799C0 R799C1 R799C2 R799C3 R799C4 R799C5 R799C6 R799C7 R799C8 R799C9\n\n-R800C0 R800C1 R800C2 R800C3 R800C4 R800C5 R800C6 R800C7 R800C8 R800C9\n\n-R801C0 R801C1 R801C2 R801C3 R801C4 R801C5 R801C6 R801C7 R801C8 R801C9\n\n-R802C0 R802C1 R802C2 R802C3 R802C4 R802C5 R802C6 R802C7 R802C8 R802C9\n\n-R803C0 R803C1 R803C2 R803C3 R803C4 R803C5 R803C6 R803C7 R803C8 R803C9\n\n-R804C0 R804C1 R804C2 R804C3 R804C4 R804C5 R804C6 R804C7 R804C8 R804C9\n\n-R805C0 R805C1 R805C2 R805C3 R805C4 R805C5 R805C6 R805C7 R805C8 R805C9\n\n-R806C0 R806C1 R806C2 R806C3 R806C4 R806C5 R806C6 R806C7 R806C8 R806C9\n\n-R807C0 R807C1 R807C2 R807C3 R807C4 R807C5 R807C6 R807C7 R807C8 R807C9\n\n-R808C0 R808C1 R808C2 R808C3 R808C4 R808C5 R808C6 R808C7 R808C8 R808C9\n\n-R809C0 R809C1 R809C2 R809C3 R809C4 R809C5 R809C6 R809C7 R809C8 R809C9\n\n-R810C0 R810C1 R810C2 R810C3 R810C4 R810C5 R810C6 R810C7 R810C8 R810C9\n\n-R811C0 R811C1 R811C2 R811C3 R811C4 R811C5 R811C6 R811C7 R811C8 R811C9\n\n-R812C0 R812C1 R812C2 R812C3 R812C4 R812C5 R812C6 R812C7 R812C8 R812C9\n\n-R813C0 R813C1 R813C2 R813C3 R813C4 R813C5 R813C6 R813C7 R813C8 R813C9\n\n-R814C0 R814C1 R814C2 R814C3 R814C4 R814C5 R814C6 R814C7 R814C8 R814C9\n\n-R815C0 R815C1 R815C2 R815C3 R815C4 R815C5 R815C6 R815C7 R815C8 R815C9\n\n----PAGE---\n\n-R816C0 R816C1 R816C2 R816C3 R816C4 R816C5 R816C6 R816C7 R816C8 R816C9\n\n-R817C0 R817C1 R817C2 R817C3 R817C4 R817C5 R817C6 R817C7 R817C8 R817C9\n\n-R818C0 R818C1 R818C2 R818C3 R818C4 R818C5 R818C6 R818C7 R818C8 R818C9\n\n-R819C0 R819C1 R819C2 R819C3 R819C4 R819C5 R819C6 R819C7 R819C8 R819C9\n\n-R820C0 R820C1 R820C2 R820C3 R820C4 R820C5 R820C6 R820C7 R820C8 R820C9\n\n-R821C0 R821C1 R821C2 R821C3 R821C4 R821C5 R821C6 R821C7 R821C8 R821C9\n\n-R822C0 R822C1 R822C2 R822C3 R822C4 R822C5 R822C6 R822C7 R822C8 R822C9\n\n-R823C0 R823C1 R823C2 R823C3 R823C4 R823C5 R823C6 R823C7 R823C8 R823C9\n\n-R824C0 R824C1 R824C2 R824C3 R824C4 R824C5 R824C6 R824C7 R824C8 R824C9\n\n-R825C0 R825C1 R825C2 R825C3 R825C4 R825C5 R825C6 R825C7 R825C8 R825C9\n\n-R826C0 R826C1 R826C2 R826C3 R826C4 R826C5 R826C6 R826C7 R826C8 R826C9\n\n-R827C0 R827C1 R827C2 R827C3 R827C4 R827C5 R827C6 R827C7 R827C8 R827C9\n\n-R828C0 R828C1 R828C2 R828C3 R828C4 R828C5 R828C6 R828C7 R828C8 R828C9\n\n-R829C0 R829C1 R829C2 R829C3 R829C4 R829C5 R829C6 R829C7 R829C8 R829C9\n\n-R830C0 R830C1 R830C2 R830C3 R830C4 R830C5 R830C6 R830C7 R830C8 R830C9\n\n-R831C0 R831C1 R831C2 R831C3 R831C4 R831C5 R831C6 R831C7 R831C8 R831C9\n\n-R832C0 R832C1 R832C2 R832C3 R832C4 R832C5 R832C6 R832C7 R832C8 R832C9\n\n-R833C0 R833C1 R833C2 R833C3 R833C4 R833C5 R833C6 R833C7 R833C8 R833C9\n\n-R834C0 R834C1 R834C2 R834C3 R834C4 R834C5 R834C6 R834C7 R834C8 R834C9\n\n-R835C0 R835C1 R835C2 R835C3 R835C4 R835C5 R835C6 R835C7 R835C8 R835C9\n\n-R836C0 R836C1 R836C2 R836C3 R836C4 R836C5 R836C6 R836C7 R836C8 R836C9\n\n-R837C0 R837C1 R837C2 R837C3 R837C4 R837C5 R837C6 R837C7 R837C8 R837C9\n\n-R838C0 R838C1 R838C2 R838C3 R838C4 R838C5 R838C6 R838C7 R838C8 R838C9\n\n-R839C0 R839C1 R839C2 R839C3 R839C4 R839C5 R839C6 R839C7 R839C8 R839C9\n\n-R840C0 R840C1 R840C2 R840C3 R840C4 R840C5 R840C6 R840C7 R840C8 R840C9\n\n-R841C0 R841C1 R841C2 R841C3 R841C4 R841C5 R841C6 R841C7 R841C8 R841C9\n\n-R842C0 R842C1 R842C2 R842C3 R842C4 R842C5 R842C6 R842C7 R842C8 R842C9\n\n-R843C0 R843C1 R843C2 R843C3 R843C4 R843C5 R843C6 R843C7 R843C8 R843C9\n\n-R844C0 R844C1 R844C2 R844C3 R844C4 R844C5 R844C6 R844C7 R844C8 R844C9\n\n-R845C0 R845C1 R845C2 R845C3 R845C4 R845C5 R845C6 R845C7 R845C8 R845C9\n\n-R846C0 R846C1 R846C2 R846C3 R846C4 R846C5 R846C6 R846C7 R846C8 R846C9\n\n-R847C0 R847C1 R847C2 R847C3 R847C4 R847C5 R847C6 R847C7 R847C8 R847C9\n\n-R848C0 R848C1 R848C2 R848C3 R848C4 R848C5 R848C6 R848C7 R848C8 R848C9\n\n-R849C0 R849C1 R849C2 R849C3 R849C4 R849C5 R849C6 R849C7 R849C8 R849C9\n\n-R850C0 R850C1 R850C2 R850C3 R850C4 R850C5 R850C6 R850C7 R850C8 R850C9\n\n-R851C0 R851C1 R851C2 R851C3 R851C4 R851C5 R851C6 R851C7 R851C8 R851C9\n\n-R852C0 R852C1 R852C2 R852C3 R852C4 R852C5 R852C6 R852C7 R852C8 R852C9\n\n-R853C0 R853C1 R853C2 R853C3 R853C4 R853C5 R853C6 R853C7 R853C8 R853C9\n\n-R854C0 R854C1 R854C2 R854C3 R854C4 R854C5 R854C6 R854C7 R854C8 R854C9\n\n-R855C0 R855C1 R855C2 R855C3 R855C4 R855C5 R855C6 R855C7 R855C8 R855C9\n\n-R856C0 R856C1 R856C2 R856C3 R856C4 R856C5 R856C6 R856C7 R856C8 R856C9\n\n-R857C0 R857C1 R857C2 R857C3 R857C4 R857C5 R857C6 R857C7 R857C8 R857C9\n\n-R858C0 R858C1 R858C2 R858C3 R858C4 R858C5 R858C6 R858C7 R858C8 R858C9\n\n----PAGE---\n\n-R859C0 R859C1 R859C2 R859C3 R859C4 R859C5 R859C6 R859C7 R859C8 R859C9\n\n-R860C0 R860C1 R860C2 R860C3 R860C4 R860C5 R860C6 R860C7 R860C8 R860C9\n\n-R861C0 R861C1 R861C2 R861C3 R861C4 R861C5 R861C6 R861C7 R861C8 R861C9\n\n-R862C0 R862C1 R862C2 R862C3 R862C4 R862C5 R862C6 R862C7 R862C8 R862C9\n\n-R863C0 R863C1 R863C2 R863C3 R863C4 R863C5 R863C6 R863C7 R863C8 R863C9\n\n-R864C0 R864C1 R864C2 R864C3 R864C4 R864C5 R864C6 R864C7 R864C8 R864C9\n\n-R865C0 R865C1 R865C2 R865C3 R865C4 R865C5 R865C6 R865C7 R865C8 R865C9\n\n-R866C0 R866C1 R866C2 R866C3 R866C4 R866C5 R866C6 R866C7 R866C8 R866C9\n\n-R867C0 R867C1 R867C2 R867C3 R867C4 R867C5 R867C6 R867C7 R867C8 R867C9\n\n-R868C0 R868C1 R868C2 R868C3 R868C4 R868C5 R868C6 R868C7 R868C8 R868C9\n\n-R869C0 R869C1 R869C2 R869C3 R869C4 R869C5 R869C6 R869C7 R869C8 R869C9\n\n-R870C0 R870C1 R870C2 R870C3 R870C4 R870C5 R870C6 R870C7 R870C8 R870C9\n\n-R871C0 R871C1 R871C2 R871C3 R871C4 R871C5 R871C6 R871C7 R871C8 R871C9\n\n-R872C0 R872C1 R872C2 R872C3 R872C4 R872C5 R872C6 R872C7 R872C8 R872C9\n\n-R873C0 R873C1 R873C2 R873C3 R873C4 R873C5 R873C6 R873C7 R873C8 R873C9\n\n-R874C0 R874C1 R874C2 R874C3 R874C4 R874C5 R874C6 R874C7 R874C8 R874C9\n\n-R875C0 R875C1 R875C2 R875C3 R875C4 R875C5 R875C6 R875C7 R875C8 R875C9\n\n-R876C0 R876C1 R876C2 R876C3 R876C4 R876C5 R876C6 R876C7 R876C8 R876C9\n\n-R877C0 R877C1 R877C2 R877C3 R877C4 R877C5 R877C6 R877C7 R877C8 R877C9\n\n-R878C0 R878C1 R878C2 R878C3 R878C4 R878C5 R878C6 R878C7 R878C8 R878C9\n\n-R879C0 R879C1 R879C2 R879C3 R879C4 R879C5 R879C6 R879C7 R879C8 R879C9\n\n-R880C0 R880C1 R880C2 R880C3 R880C4 R880C5 R880C6 R880C7 R880C8 R880C9\n\n-R881C0 R881C1 R881C2 R881C3 R881C4 R881C5 R881C6 R881C7 R881C8 R881C9\n\n-R882C0 R882C1 R882C2 R882C3 R882C4 R882C5 R882C6 R882C7 R882C8 R882C9\n\n-R883C0 R883C1 R883C2 R883C3 R883C4 R883C5 R883C6 R883C7 R883C8 R883C9\n\n-R884C0 R884C1 R884C2 R884C3 R884C4 R884C5 R884C6 R884C7 R884C8 R884C9\n\n-R885C0 R885C1 R885C2 R885C3 R885C4 R885C5 R885C6 R885C7 R885C8 R885C9\n\n-R886C0 R886C1 R886C2 R886C3 R886C4 R886C5 R886C6 R886C7 R886C8 R886C9\n\n-R887C0 R887C1 R887C2 R887C3 R887C4 R887C5 R887C6 R887C7 R887C8 R887C9\n\n-R888C0 R888C1 R888C2 R888C3 R888C4 R888C5 R888C6 R888C7 R888C8 R888C9\n\n-R889C0 R889C1 R889C2 R889C3 R889C4 R889C5 R889C6 R889C7 R889C8 R889C9\n\n-R890C0 R890C1 R890C2 R890C3 R890C4 R890C5 R890C6 R890C7 R890C8 R890C9\n\n-R891C0 R891C1 R891C2 R891C3 R891C4 R891C5 R891C6 R891C7 R891C8 R891C9\n\n-R892C0 R892C1 R892C2 R892C3 R892C4 R892C5 R892C6 R892C7 R892C8 R892C9\n\n-R893C0 R893C1 R893C2 R893C3 R893C4 R893C5 R893C6 R893C7 R893C8 R893C9\n\n-R894C0 R894C1 R894C2 R894C3 R894C4 R894C5 R894C6 R894C7 R894C8 R894C9\n\n-R895C0 R895C1 R895C2 R895C3 R895C4 R895C5 R895C6 R895C7 R895C8 R895C9\n\n-R896C0 R896C1 R896C2 R896C3 R896C4 R896C5 R896C6 R896C7 R896C8 R896C9\n\n-R897C0 R897C1 R897C2 R897C3 R897C4 R897C5 R897C6 R897C7 R897C8 R897C9\n\n-R898C0 R898C1 R898C2 R898C3 R898C4 R898C5 R898C6 R898C7 R898C8 R898C9\n\n-R899C0 R899C1 R899C2 R899C3 R899C4 R899C5 R899C6 R899C7 R899C8 R899C9\n\n-R900C0 R900C1 R900C2 R900C3 R900C4 R900C5 R900C6 R900C7 R900C8 R900C9\n\n-R901C0 R901C1 R901C2 R901C3 R901C4 R901C5 R901C6 R901C7 R901C8 R901C9\n\n----PAGE---\n\n-R902C0 R902C1 R902C2 R902C3 R902C4 R902C5 R902C6 R902C7 R902C8 R902C9\n\n-R903C0 R903C1 R903C2 R903C3 R903C4 R903C5 R903C6 R903C7 R903C8 R903C9\n\n-R904C0 R904C1 R904C2 R904C3 R904C4 R904C5 R904C6 R904C7 R904C8 R904C9\n\n-R905C0 R905C1 R905C2 R905C3 R905C4 R905C5 R905C6 R905C7 R905C8 R905C9\n\n-R906C0 R906C1 R906C2 R906C3 R906C4 R906C5 R906C6 R906C7 R906C8 R906C9\n\n-R907C0 R907C1 R907C2 R907C3 R907C4 R907C5 R907C6 R907C7 R907C8 R907C9\n\n-R908C0 R908C1 R908C2 R908C3 R908C4 R908C5 R908C6 R908C7 R908C8 R908C9\n\n-R909C0 R909C1 R909C2 R909C3 R909C4 R909C5 R909C6 R909C7 R909C8 R909C9\n\n-R910C0 R910C1 R910C2 R910C3 R910C4 R910C5 R910C6 R910C7 R910C8 R910C9\n\n-R911C0 R911C1 R911C2 R911C3 R911C4 R911C5 R911C6 R911C7 R911C8 R911C9\n\n-R912C0 R912C1 R912C2 R912C3 R912C4 R912C5 R912C6 R912C7 R912C8 R912C9\n\n-R913C0 R913C1 R913C2 R913C3 R913C4 R913C5 R913C6 R913C7 R913C8 R913C9\n\n-R914C0 R914C1 R914C2 R914C3 R914C4 R914C5 R914C6 R914C7 R914C8 R914C9\n\n-R915C0 R915C1 R915C2 R915C3 R915C4 R915C5 R915C6 R915C7 R915C8 R915C9\n\n-R916C0 R916C1 R916C2 R916C3 R916C4 R916C5 R916C6 R916C7 R916C8 R916C9\n\n-R917C0 R917C1 R917C2 R917C3 R917C4 R917C5 R917C6 R917C7 R917C8 R917C9\n\n-R918C0 R918C1 R918C2 R918C3 R918C4 R918C5 R918C6 R918C7 R918C8 R918C9\n\n-R919C0 R919C1 R919C2 R919C3 R919C4 R919C5 R919C6 R919C7 R919C8 R919C9\n\n-R920C0 R920C1 R920C2 R920C3 R920C4 R920C5 R920C6 R920C7 R920C8 R920C9\n\n-R921C0 R921C1 R921C2 R921C3 R921C4 R921C5 R921C6 R921C7 R921C8 R921C9\n\n-R922C0 R922C1 R922C2 R922C3 R922C4 R922C5 R922C6 R922C7 R922C8 R922C9\n\n-R923C0 R923C1 R923C2 R923C3 R923C4 R923C5 R923C6 R923C7 R923C8 R923C9\n\n-R924C0 R924C1 R924C2 R924C3 R924C4 R924C5 R924C6 R924C7 R924C8 R924C9\n\n-R925C0 R925C1 R925C2 R925C3 R925C4 R925C5 R925C6 R925C7 R925C8 R925C9\n\n-R926C0 R926C1 R926C2 R926C3 R926C4 R926C5 R926C6 R926C7 R926C8 R926C9\n\n-R927C0 R927C1 R927C2 R927C3 R927C4 R927C5 R927C6 R927C7 R927C8 R927C9\n\n-R928C0 R928C1 R928C2 R928C3 R928C4 R928C5 R928C6 R928C7 R928C8 R928C9\n\n-R929C0 R929C1 R929C2 R929C3 R929C4 R929C5 R929C6 R929C7 R929C8 R929C9\n\n-R930C0 R930C1 R930C2 R930C3 R930C4 R930C5 R930C6 R930C7 R930C8 R930C9\n\n-R931C0 R931C1 R931C2 R931C3 R931C4 R931C5 R931C6 R931C7 R931C8 R931C9\n\n-R932C0 R932C1 R932C2 R932C3 R932C4 R932C5 R932C6 R932C7 R932C8 R932C9\n\n-R933C0 R933C1 R933C2 R933C3 R933C4 R933C5 R933C6 R933C7 R933C8 R933C9\n\n-R934C0 R934C1 R934C2 R934C3 R934C4 R934C5 R934C6 R934C7 R934C8 R934C9\n\n-R935C0 R935C1 R935C2 R935C3 R935C4 R935C5 R935C6 R935C7 R935C8 R935C9\n\n-R936C0 R936C1 R936C2 R936C3 R936C4 R936C5 R936C6 R936C7 R936C8 R936C9\n\n-R937C0 R937C1 R937C2 R937C3 R937C4 R937C5 R937C6 R937C7 R937C8 R937C9\n\n-R938C0 R938C1 R938C2 R938C3 R938C4 R938C5 R938C6 R938C7 R938C8 R938C9\n\n-R939C0 R939C1 R939C2 R939C3 R939C4 R939C5 R939C6 R939C7 R939C8 R939C9\n\n-R940C0 R940C1 R940C2 R940C3 R940C4 R940C5 R940C6 R940C7 R940C8 R940C9\n\n-R941C0 R941C1 R941C2 R941C3 R941C4 R941C5 R941C6 R941C7 R941C8 R941C9\n\n-R942C0 R942C1 R942C2 R942C3 R942C4 R942C5 R942C6 R942C7 R942C8 R942C9\n\n-R943C0 R943C1 R943C2 R943C3 R943C4 R943C5 R943C6 R943C7 R943C8 R943C9\n\n-R944C0 R944C1 R944C2 R944C3 R944C4 R944C5 R944C6 R944C7 R944C8 R944C9\n\n----PAGE---\n\n-R945C0 R945C1 R945C2 R945C3 R945C4 R945C5 R945C6 R945C7 R945C8 R945C9\n\n-R946C0 R946C1 R946C2 R946C3 R946C4 R946C5 R946C6 R946C7 R946C8 R946C9\n\n-R947C0 R947C1 R947C2 R947C3 R947C4 R947C5 R947C6 R947C7 R947C8 R947C9\n\n-R948C0 R948C1 R948C2 R948C3 R948C4 R948C5 R948C6 R948C7 R948C8 R948C9\n\n-R949C0 R949C1 R949C2 R949C3 R949C4 R949C5 R949C6 R949C7 R949C8 R949C9\n\n-R950C0 R950C1 R950C2 R950C3 R950C4 R950C5 R950C6 R950C7 R950C8 R950C9\n\n-R951C0 R951C1 R951C2 R951C3 R951C4 R951C5 R951C6 R951C7 R951C8 R951C9\n\n-R952C0 R952C1 R952C2 R952C3 R952C4 R952C5 R952C6 R952C7 R952C8 R952C9\n\n-R953C0 R953C1 R953C2 R953C3 R953C4 R953C5 R953C6 R953C7 R953C8 R953C9\n\n-R954C0 R954C1 R954C2 R954C3 R954C4 R954C5 R954C6 R954C7 R954C8 R954C9\n\n-R955C0 R955C1 R955C2 R955C3 R955C4 R955C5 R955C6 R955C7 R955C8 R955C9\n\n-R956C0 R956C1 R956C2 R956C3 R956C4 R956C5 R956C6 R956C7 R956C8 R956C9\n\n-R957C0 R957C1 R957C2 R957C3 R957C4 R957C5 R957C6 R957C7 R957C8 R957C9\n\n-R958C0 R958C1 R958C2 R958C3 R958C4 R958C5 R958C6 R958C7 R958C8 R958C9\n\n-R959C0 R959C1 R959C2 R959C3 R959C4 R959C5 R959C6 R959C7 R959C8 R959C9\n\n-R960C0 R960C1 R960C2 R960C3 R960C4 R960C5 R960C6 R960C7 R960C8 R960C9\n\n-R961C0 R961C1 R961C2 R961C3 R961C4 R961C5 R961C6 R961C7 R961C8 R961C9\n\n-R962C0 R962C1 R962C2 R962C3 R962C4 R962C5 R962C6 R962C7 R962C8 R962C9\n\n-R963C0 R963C1 R963C2 R963C3 R963C4 R963C5 R963C6 R963C7 R963C8 R963C9\n\n-R964C0 R964C1 R964C2 R964C3 R964C4 R964C5 R964C6 R964C7 R964C8 R964C9\n\n-R965C0 R965C1 R965C2 R965C3 R965C4 R965C5 R965C6 R965C7 R965C8 R965C9\n\n-R966C0 R966C1 R966C2 R966C3 R966C4 R966C5 R966C6 R966C7 R966C8 R966C9\n\n-R967C0 R967C1 R967C2 R967C3 R967C4 R967C5 R967C6 R967C7 R967C8 R967C9\n\n-R968C0 R968C1 R968C2 R968C3 R968C4 R968C5 R968C6 R968C7 R968C8 R968C9\n\n-R969C0 R969C1 R969C2 R969C3 R969C4 R969C5 R969C6 R969C7 R969C8 R969C9\n\n-R970C0 R970C1 R970C2 R970C3 R970C4 R970C5 R970C6 R970C7 R970C8 R970C9\n\n-R971C0 R971C1 R971C2 R971C3 R971C4 R971C5 R971C6 R971C7 R971C8 R971C9\n\n-R972C0 R972C1 R972C2 R972C3 R972C4 R972C5 R972C6 R972C7 R972C8 R972C9\n\n-R973C0 R973C1 R973C2 R973C3 R973C4 R973C5 R973C6 R973C7 R973C8 R973C9\n\n-R974C0 R974C1 R974C2 R974C3 R974C4 R974C5 R974C6 R974C7 R974C8 R974C9\n\n-R975C0 R975C1 R975C2 R975C3 R975C4 R975C5 R975C6 R975C7 R975C8 R975C9\n\n-R976C0 R976C1 R976C2 R976C3 R976C4 R976C5 R976C6 R976C7 R976C8 R976C9\n\n-R977C0 R977C1 R977C2 R977C3 R977C4 R977C5 R977C6 R977C7 R977C8 R977C9\n\n-R978C0 R978C1 R978C2 R978C3 R978C4 R978C5 R978C6 R978C7 R978C8 R978C9\n\n-R979C0 R979C1 R979C2 R979C3 R979C4 R979C5 R979C6 R979C7 R979C8 R979C9\n\n-R980C0 R980C1 R980C2 R980C3 R980C4 R980C5 R980C6 R980C7 R980C8 R980C9\n\n-R981C0 R981C1 R981C2 R981C3 R981C4 R981C5 R981C6 R981C7 R981C8 R981C9\n\n-R982C0 R982C1 R982C2 R982C3 R982C4 R982C5 R982C6 R982C7 R982C8 R982C9\n\n-R983C0 R983C1 R983C2 R983C3 R983C4 R983C5 R983C6 R983C7 R983C8 R983C9\n\n-R984C0 R984C1 R984C2 R984C3 R984C4 R984C5 R984C6 R984C7 R984C8 R984C9\n\n-R985C0 R985C1 R985C2 R985C3 R985C4 R985C5 R985C6 R985C7 R985C8 R985C9\n\n-R986C0 R986C1 R986C2 R986C3 R986C4 R986C5 R986C6 R986C7 R986C8 R986C9\n\n-R987C0 R987C1 R987C2 R987C3 R987C4 R987C5 R987C6 R987C7 R987C8 R987C9\n\n----PAGE---\n\n-R988C0 R988C1 R988C2 R988C3 R988C4 R988C5 R988C6 R988C7 R988C8 R988C9\n\n-R989C0 R989C1 R989C2 R989C3 R989C4 R989C5 R989C6 R989C7 R989C8 R989C9\n\n-R990C0 R990C1 R990C2 R990C3 R990C4 R990C5 R990C6 R990C7 R990C8 R990C9\n\n-R991C0 R991C1 R991C2 R991C3 R991C4 R991C5 R991C6 R991C7 R991C8 R991C9\n\n-R992C0 R992C1 R992C2 R992C3 R992C4 R992C5 R992C6 R992C7 R992C8 R992C9\n\n-R993C0 R993C1 R993C2 R993C3 R993C4 R993C5 R993C6 R993C7 R993C8 R993C9\n\n-R994C0 R994C1 R994C2 R994C3 R994C4 R994C5 R994C6 R994C7 R994C8 R994C9\n\n-R995C0 R995C1 R995C2 R995C3 R995C4 R995C5 R995C6 R995C7 R995C8 R995C9\n\n-R996C0 R996C1 R996C2 R996C3 R996C4 R996C5 R996C6 R996C7 R996C8 R996C9\n\n-R997C0 R997C1 R997C2 R997C3 R997C4 R997C5 R997C6 R997C7 R997C8 R997C9\n\n-R998C0 R998C1 R998C2 R998C3 R998C4 R998C5 R998C6 R998C7 R998C8 R998C9\n\n-R999C0 R999C1 R999C2 R999C3 R999C4 R999C5 R999C6 R999C7 R999C8 R999C9\n+Col0 Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8\n\n+R0C0 R0C1 R0C2 R0C3 R0C4 R0C5 R0C6 R0C7 R0C8\n\n+R1C0 R1C1 R1C2 R1C3 R1C4 R1C5 R1C6 R1C7 R1C8\n\n+R2C0 R2C1 R2C2 R2C3 R2C4 R2C5 R2C6 R2C7 R2C8\n\n+R3C0 R3C1 R3C2 R3C3 R3C4 R3C5 R3C6 R3C7 R3C8\n\n+R4C0 R4C1 R4C2 R4C3 R4C4 R4C5 R4C6 R4C7 R4C8\n\n+R5C0 R5C1 R5C2 R5C3 R5C4 R5C5 R5C6 R5C7 R5C8\n\n+R6C0 R6C1 R6C2 R6C3 R6C4 R6C5 R6C6 R6C7 R6C8\n\n+R7C0 R7C1 R7C2 R7C3 R7C4 R7C5 R7C6 R7C7 R7C8\n\n+R8C0 R8C1 R8C2 R8C3 R8C4 R8C5 R8C6 R8C7 R8C8\n\n+R9C0 R9C1 R9C2 R9C3 R9C4 R9C5 R9C6 R9C7 R9C8\n\n+R10C0 R10C1 R10C2 R10C3 R10C4 R10C5 R10C6 R10C7 R10C8\n\n+R11C0 R11C1 R11C2 R11C3 R11C4 R11C5 R11C6 R11C7 R11C8\n\n+R12C0 R12C1 R12C2 R12C3 R12C4 R12C5 R12C6 R12C7 R12C8\n\n+R13C0 R13C1 R13C2 R13C3 R13C4 R13C5 R13C6 R13C7 R13C8\n\n+R14C0 R14C1 R14C2 R14C3 R14C4 R14C5 R14C6 R14C7 R14C8\n\n+R15C0 R15C1 R15C2 R15C3 R15C4 R15C5 R15C6 R15C7 R15C8\n\n+R16C0 R16C1 R16C2 R16C3 R16C4 R16C5 R16C6 R16C7 R16C8\n\n+R17C0 R17C1 R17C2 R17C3 R17C4 R17C5 R17C6 R17C7 R17C8\n\n+R18C0 R18C1 R18C2 R18C3 R18C4 R18C5 R18C6 R18C7 R18C8\n\n+R19C0 R19C1 R19C2 R19C3 R19C4 R19C5 R19C6 R19C7 R19C8\n\n+R20C0 R20C1 R20C2 R20C3 R20C4 R20C5 R20C6 R20C7 R20C8\n\n+R21C0 R21C1 R21C2 R21C3 R21C4 R21C5 R21C6 R21C7 R21C8\n\n+R22C0 R22C1 R22C2 R22C3 R22C4 R22C5 R22C6 R22C7 R22C8\n\n+R23C0 R23C1 R23C2 R23C3 R23C4 R23C5 R23C6 R23C7 R23C8\n\n+R24C0 R24C1 R24C2 R24C3 R24C4 R24C5 R24C6 R24C7 R24C8\n\n+R25C0 R25C1 R25C2 R25C3 R25C4 R25C5 R25C6 R25C7 R25C8\n\n+R26C0 R26C1 R26C2 R26C3 R26C4 R26C5 R26C6 R26C7 R26C8\n\n+R27C0 R27C1 R27C2 R27C3 R27C4 R27C5 R27C6 R27C7 R27C8\n\n+R28C0 R28C1 R28C2 R28C3 R28C4 R28C5 R28C6 R28C7 R28C8\n\n+R29C0 R29C1 R29C2 R29C3 R29C4 R29C5 R29C6 R29C7 R29C8\n\n+R30C0 R30C1 R30C2 R30C3 R30C4 R30C5 R30C6 R30C7 R30C8\n\n+R31C0 R31C1 R31C2 R31C3 R31C4 R31C5 R31C6 R31C7 R31C8\n\n+R32C0 R32C1 R32C2 R32C3 R32C4 R32C5 R32C6 R32C7 R32C8\n\n+R33C0 R33C1 R33C2 R33C3 R33C4 R33C5 R33C6 R33C7 R33C8\n\n+R34C0 R34C1 R34C2 R34C3 R34C4 R34C5 R34C6 R34C7 R34C8\n\n+R35C0 R35C1 R35C2 R35C3 R35C4 R35C5 R35C6 R35C7 R35C8\n\n+R36C0 R36C1 R36C2 R36C3 R36C4 R36C5 R36C6 R36C7 R36C8\n\n+R37C0 R37C1 R37C2 R37C3 R37C4 R37C5 R37C6 R37C7 R37C8\n\n+R38C0 R38C1 R38C2 R38C3 R38C4 R38C5 R38C6 R38C7 R38C8\n\n+R39C0 R39C1 R39C2 R39C3 R39C4 R39C5 R39C6 R39C7 R39C8\n\n+R40C0 R40C1 R40C2 R40C3 R40C4 R40C5 R40C6 R40C7 R40C8\n\n+R41C0 R41C1 R41C2 R41C3 R41C4 R41C5 R41C6 R41C7 R41C8\n\n+R42C0 R42C1 R42C2 R42C3 R42C4 R42C5 R42C6 R42C7 R42C8\n\n+R43C0 R43C1 R43C2 R43C3 R43C4 R43C5 R43C6 R43C7 R43C8\n\n+R44C0 R44C1 R44C2 R44C3 R44C4 R44C5 R44C6 R44C7 R44C8\n\n+R45C0 R45C1 R45C2 R45C3 R45C4 R45C5 R45C6 R45C7 R45C8\n\n+R46C0 R46C1 R46C2 R46C3 R46C4 R46C5 R46C6 R46C7 R46C8\n\n+---PAGE---\n\n+R47C0 R47C1 R47C2 R47C3 R47C4 R47C5 R47C6 R47C7 R47C8\n\n+R48C0 R48C1 R48C2 R48C3 R48C4 R48C5 R48C6 R48C7 R48C8\n\n+R49C0 R49C1 R49C2 R49C3 R49C4 R49C5 R49C6 R49C7 R49C8\n\n+R50C0 R50C1 R50C2 R50C3 R50C4 R50C5 R50C6 R50C7 R50C8\n\n+R51C0 R51C1 R51C2 R51C3 R51C4 R51C5 R51C6 R51C7 R51C8\n\n+R52C0 R52C1 R52C2 R52C3 R52C4 R52C5 R52C6 R52C7 R52C8\n\n+R53C0 R53C1 R53C2 R53C3 R53C4 R53C5 R53C6 R53C7 R53C8\n\n+R54C0 R54C1 R54C2 R54C3 R54C4 R54C5 R54C6 R54C7 R54C8\n\n+R55C0 R55C1 R55C2 R55C3 R55C4 R55C5 R55C6 R55C7 R55C8\n\n+R56C0 R56C1 R56C2 R56C3 R56C4 R56C5 R56C6 R56C7 R56C8\n\n+R57C0 R57C1 R57C2 R57C3 R57C4 R57C5 R57C6 R57C7 R57C8\n\n+R58C0 R58C1 R58C2 R58C3 R58C4 R58C5 R58C6 R58C7 R58C8\n\n+R59C0 R59C1 R59C2 R59C3 R59C4 R59C5 R59C6 R59C7 R59C8\n\n+R60C0 R60C1 R60C2 R60C3 R60C4 R60C5 R60C6 R60C7 R60C8\n\n+R61C0 R61C1 R61C2 R61C3 R61C4 R61C5 R61C6 R61C7 R61C8\n\n+R62C0 R62C1 R62C2 R62C3 R62C4 R62C5 R62C6 R62C7 R62C8\n\n+R63C0 R63C1 R63C2 R63C3 R63C4 R63C5 R63C6 R63C7 R63C8\n\n+R64C0 R64C1 R64C2 R64C3 R64C4 R64C5 R64C6 R64C7 R64C8\n\n+R65C0 R65C1 R65C2 R65C3 R65C4 R65C5 R65C6 R65C7 R65C8\n\n+R66C0 R66C1 R66C2 R66C3 R66C4 R66C5 R66C6 R66C7 R66C8\n\n+R67C0 R67C1 R67C2 R67C3 R67C4 R67C5 R67C6 R67C7 R67C8\n\n+R68C0 R68C1 R68C2 R68C3 R68C4 R68C5 R68C6 R68C7 R68C8\n\n+R69C0 R69C1 R69C2 R69C3 R69C4 R69C5 R69C6 R69C7 R69C8\n\n+R70C0 R70C1 R70C2 R70C3 R70C4 R70C5 R70C6 R70C7 R70C8\n\n+R71C0 R71C1 R71C2 R71C3 R71C4 R71C5 R71C6 R71C7 R71C8\n\n+R72C0 R72C1 R72C2 R72C3 R72C4 R72C5 R72C6 R72C7 R72C8\n\n+R73C0 R73C1 R73C2 R73C3 R73C4 R73C5 R73C6 R73C7 R73C8\n\n+R74C0 R74C1 R74C2 R74C3 R74C4 R74C5 R74C6 R74C7 R74C8\n\n+R75C0 R75C1 R75C2 R75C3 R75C4 R75C5 R75C6 R75C7 R75C8\n\n+R76C0 R76C1 R76C2 R76C3 R76C4 R76C5 R76C6 R76C7 R76C8\n\n+R77C0 R77C1 R77C2 R77C3 R77C4 R77C5 R77C6 R77C7 R77C8\n\n+R78C0 R78C1 R78C2 R78C3 R78C4 R78C5 R78C6 R78C7 R78C8\n\n+R79C0 R79C1 R79C2 R79C3 R79C4 R79C5 R79C6 R79C7 R79C8\n\n+R80C0 R80C1 R80C2 R80C3 R80C4 R80C5 R80C6 R80C7 R80C8\n\n+R81C0 R81C1 R81C2 R81C3 R81C4 R81C5 R81C6 R81C7 R81C8\n\n+R82C0 R82C1 R82C2 R82C3 R82C4 R82C5 R82C6 R82C7 R82C8\n\n+R83C0 R83C1 R83C2 R83C3 R83C4 R83C5 R83C6 R83C7 R83C8\n\n+R84C0 R84C1 R84C2 R84C3 R84C4 R84C5 R84C6 R84C7 R84C8\n\n+R85C0 R85C1 R85C2 R85C3 R85C4 R85C5 R85C6 R85C7 R85C8\n\n+R86C0 R86C1 R86C2 R86C3 R86C4 R86C5 R86C6 R86C7 R86C8\n\n+R87C0 R87C1 R87C2 R87C3 R87C4 R87C5 R87C6 R87C7 R87C8\n\n+R88C0 R88C1 R88C2 R88C3 R88C4 R88C5 R88C6 R88C7 R88C8\n\n+R89C0 R89C1 R89C2 R89C3 R89C4 R89C5 R89C6 R89C7 R89C8\n\n+R90C0 R90C1 R90C2 R90C3 R90C4 R90C5 R90C6 R90C7 R90C8\n\n+R91C0 R91C1 R91C2 R91C3 R91C4 R91C5 R91C6 R91C7 R91C8\n\n+R92C0 R92C1 R92C2 R92C3 R92C4 R92C5 R92C6 R92C7 R92C8\n\n+R93C0 R93C1 R93C2 R93C3 R93C4 R93C5 R93C6 R93C7 R93C8\n\n+R94C0 R94C1 R94C2 R94C3 R94C4 R94C5 R94C6 R94C7 R94C8\n\n+---PAGE---\n\n+R95C0 R95C1 R95C2 R95C3 R95C4 R95C5 R95C6 R95C7 R95C8\n\n+R96C0 R96C1 R96C2 R96C3 R96C4 R96C5 R96C6 R96C7 R96C8\n\n+R97C0 R97C1 R97C2 R97C3 R97C4 R97C5 R97C6 R97C7 R97C8\n\n+R98C0 R98C1 R98C2 R98C3 R98C4 R98C5 R98C6 R98C7 R98C8\n\n+R99C0 R99C1 R99C2 R99C3 R99C4 R99C5 R99C6 R99C7 R99C8\n\n+R100C0 R100C1 R100C2 R100C3 R100C4 R100C5 R100C6 R100C7 R100C8\n\n+R101C0 R101C1 R101C2 R101C3 R101C4 R101C5 R101C6 R101C7 R101C8\n\n+R102C0 R102C1 R102C2 R102C3 R102C4 R102C5 R102C6 R102C7 R102C8\n\n+R103C0 R103C1 R103C2 R103C3 R103C4 R103C5 R103C6 R103C7 R103C8\n\n+R104C0 R104C1 R104C2 R104C3 R104C4 R104C5 R104C6 R104C7 R104C8\n\n+R105C0 R105C1 R105C2 R105C3 R105C4 R105C5 R105C6 R105C7 R105C8\n\n+R106C0 R106C1 R106C2 R106C3 R106C4 R106C5 R106C6 R106C7 R106C8\n\n+R107C0 R107C1 R107C2 R107C3 R107C4 R107C5 R107C6 R107C7 R107C8\n\n+R108C0 R108C1 R108C2 R108C3 R108C4 R108C5 R108C6 R108C7 R108C8\n\n+R109C0 R109C1 R109C2 R109C3 R109C4 R109C5 R109C6 R109C7 R109C8\n\n+R110C0 R110C1 R110C2 R110C3 R110C4 R110C5 R110C6 R110C7 R110C8\n\n+R111C0 R111C1 R111C2 R111C3 R111C4 R111C5 R111C6 R111C7 R111C8\n\n+R112C0 R112C1 R112C2 R112C3 R112C4 R112C5 R112C6 R112C7 R112C8\n\n+R113C0 R113C1 R113C2 R113C3 R113C4 R113C5 R113C6 R113C7 R113C8\n\n+R114C0 R114C1 R114C2 R114C3 R114C4 R114C5 R114C6 R114C7 R114C8\n\n+R115C0 R115C1 R115C2 R115C3 R115C4 R115C5 R115C6 R115C7 R115C8\n\n+R116C0 R116C1 R116C2 R116C3 R116C4 R116C5 R116C6 R116C7 R116C8\n\n+R117C0 R117C1 R117C2 R117C3 R117C4 R117C5 R117C6 R117C7 R117C8\n\n+R118C0 R118C1 R118C2 R118C3 R118C4 R118C5 R118C6 R118C7 R118C8\n\n+R119C0 R119C1 R119C2 R119C3 R119C4 R119C5 R119C6 R119C7 R119C8\n\n+R120C0 R120C1 R120C2 R120C3 R120C4 R120C5 R120C6 R120C7 R120C8\n\n+R121C0 R121C1 R121C2 R121C3 R121C4 R121C5 R121C6 R121C7 R121C8\n\n+R122C0 R122C1 R122C2 R122C3 R122C4 R122C5 R122C6 R122C7 R122C8\n\n+R123C0 R123C1 R123C2 R123C3 R123C4 R123C5 R123C6 R123C7 R123C8\n\n+R124C0 R124C1 R124C2 R124C3 R124C4 R124C5 R124C6 R124C7 R124C8\n\n+R125C0 R125C1 R125C2 R125C3 R125C4 R125C5 R125C6 R125C7 R125C8\n\n+R126C0 R126C1 R126C2 R126C3 R126C4 R126C5 R126C6 R126C7 R126C8\n\n+R127C0 R127C1 R127C2 R127C3 R127C4 R127C5 R127C6 R127C7 R127C8\n\n+R128C0 R128C1 R128C2 R128C3 R128C4 R128C5 R128C6 R128C7 R128C8\n\n+R129C0 R129C1 R129C2 R129C3 R129C4 R129C5 R129C6 R129C7 R129C8\n\n+R130C0 R130C1 R130C2 R130C3 R130C4 R130C5 R130C6 R130C7 R130C8\n\n+R131C0 R131C1 R131C2 R131C3 R131C4 R131C5 R131C6 R131C7 R131C8\n\n+R132C0 R132C1 R132C2 R132C3 R132C4 R132C5 R132C6 R132C7 R132C8\n\n+R133C0 R133C1 R133C2 R133C3 R133C4 R133C5 R133C6 R133C7 R133C8\n\n+R134C0 R134C1 R134C2 R134C3 R134C4 R134C5 R134C6 R134C7 R134C8\n\n+R135C0 R135C1 R135C2 R135C3 R135C4 R135C5 R135C6 R135C7 R135C8\n\n+R136C0 R136C1 R136C2 R136C3 R136C4 R136C5 R136C6 R136C7 R136C8\n\n+R137C0 R137C1 R137C2 R137C3 R137C4 R137C5 R137C6 R137C7 R137C8\n\n+R138C0 R138C1 R138C2 R138C3 R138C4 R138C5 R138C6 R138C7 R138C8\n\n+R139C0 R139C1 R139C2 R139C3 R139C4 R139C5 R139C6 R139C7 R139C8\n\n+R140C0 R140C1 R140C2 R140C3 R140C4 R140C5 R140C6 R140C7 R140C8\n\n+R141C0 R141C1 R141C2 R141C3 R141C4 R141C5 R141C6 R141C7 R141C8\n\n+R142C0 R142C1 R142C2 R142C3 R142C4 R142C5 R142C6 R142C7 R142C8\n\n+---PAGE---\n\n+R143C0 R143C1 R143C2 R143C3 R143C4 R143C5 R143C6 R143C7 R143C8\n\n+R144C0 R144C1 R144C2 R144C3 R144C4 R144C5 R144C6 R144C7 R144C8\n\n+R145C0 R145C1 R145C2 R145C3 R145C4 R145C5 R145C6 R145C7 R145C8\n\n+R146C0 R146C1 R146C2 R146C3 R146C4 R146C5 R146C6 R146C7 R146C8\n\n+R147C0 R147C1 R147C2 R147C3 R147C4 R147C5 R147C6 R147C7 R147C8\n\n+R148C0 R148C1 R148C2 R148C3 R148C4 R148C5 R148C6 R148C7 R148C8\n\n+R149C0 R149C1 R149C2 R149C3 R149C4 R149C5 R149C6 R149C7 R149C8\n\n+R150C0 R150C1 R150C2 R150C3 R150C4 R150C5 R150C6 R150C7 R150C8\n\n+R151C0 R151C1 R151C2 R151C3 R151C4 R151C5 R151C6 R151C7 R151C8\n\n+R152C0 R152C1 R152C2 R152C3 R152C4 R152C5 R152C6 R152C7 R152C8\n\n+R153C0 R153C1 R153C2 R153C3 R153C4 R153C5 R153C6 R153C7 R153C8\n\n+R154C0 R154C1 R154C2 R154C3 R154C4 R154C5 R154C6 R154C7 R154C8\n\n+R155C0 R155C1 R155C2 R155C3 R155C4 R155C5 R155C6 R155C7 R155C8\n\n+R156C0 R156C1 R156C2 R156C3 R156C4 R156C5 R156C6 R156C7 R156C8\n\n+R157C0 R157C1 R157C2 R157C3 R157C4 R157C5 R157C6 R157C7 R157C8\n\n+R158C0 R158C1 R158C2 R158C3 R158C4 R158C5 R158C6 R158C7 R158C8\n\n+R159C0 R159C1 R159C2 R159C3 R159C4 R159C5 R159C6 R159C7 R159C8\n\n+R160C0 R160C1 R160C2 R160C3 R160C4 R160C5 R160C6 R160C7 R160C8\n\n+R161C0 R161C1 R161C2 R161C3 R161C4 R161C5 R161C6 R161C7 R161C8\n\n+R162C0 R162C1 R162C2 R162C3 R162C4 R162C5 R162C6 R162C7 R162C8\n\n+R163C0 R163C1 R163C2 R163C3 R163C4 R163C5 R163C6 R163C7 R163C8\n\n+R164C0 R164C1 R164C2 R164C3 R164C4 R164C5 R164C6 R164C7 R164C8\n\n+R165C0 R165C1 R165C2 R165C3 R165C4 R165C5 R165C6 R165C7 R165C8\n\n+R166C0 R166C1 R166C2 R166C3 R166C4 R166C5 R166C6 R166C7 R166C8\n\n+R167C0 R167C1 R167C2 R167C3 R167C4 R167C5 R167C6 R167C7 R167C8\n\n+R168C0 R168C1 R168C2 R168C3 R168C4 R168C5 R168C6 R168C7 R168C8\n\n+R169C0 R169C1 R169C2 R169C3 R169C4 R169C5 R169C6 R169C7 R169C8\n\n+R170C0 R170C1 R170C2 R170C3 R170C4 R170C5 R170C6 R170C7 R170C8\n\n+R171C0 R171C1 R171C2 R171C3 R171C4 R171C5 R171C6 R171C7 R171C8\n\n+R172C0 R172C1 R172C2 R172C3 R172C4 R172C5 R172C6 R172C7 R172C8\n\n+R173C0 R173C1 R173C2 R173C3 R173C4 R173C5 R173C6 R173C7 R173C8\n\n+R174C0 R174C1 R174C2 R174C3 R174C4 R174C5 R174C6 R174C7 R174C8\n\n+R175C0 R175C1 R175C2 R175C3 R175C4 R175C5 R175C6 R175C7 R175C8\n\n+R176C0 R176C1 R176C2 R176C3 R176C4 R176C5 R176C6 R176C7 R176C8\n\n+R177C0 R177C1 R177C2 R177C3 R177C4 R177C5 R177C6 R177C7 R177C8\n\n+R178C0 R178C1 R178C2 R178C3 R178C4 R178C5 R178C6 R178C7 R178C8\n\n+R179C0 R179C1 R179C2 R179C3 R179C4 R179C5 R179C6 R179C7 R179C8\n\n+R180C0 R180C1 R180C2 R180C3 R180C4 R180C5 R180C6 R180C7 R180C8\n\n+R181C0 R181C1 R181C2 R181C3 R181C4 R181C5 R181C6 R181C7 R181C8\n\n+R182C0 R182C1 R182C2 R182C3 R182C4 R182C5 R182C6 R182C7 R182C8\n\n+R183C0 R183C1 R183C2 R183C3 R183C4 R183C5 R183C6 R183C7 R183C8\n\n+R184C0 R184C1 R184C2 R184C3 R184C4 R184C5 R184C6 R184C7 R184C8\n\n+R185C0 R185C1 R185C2 R185C3 R185C4 R185C5 R185C6 R185C7 R185C8\n\n+R186C0 R186C1 R186C2 R186C3 R186C4 R186C5 R186C6 R186C7 R186C8\n\n+R187C0 R187C1 R187C2 R187C3 R187C4 R187C5 R187C6 R187C7 R187C8\n\n+R188C0 R188C1 R188C2 R188C3 R188C4 R188C5 R188C6 R188C7 R188C8\n\n+R189C0 R189C1 R189C2 R189C3 R189C4 R189C5 R189C6 R189C7 R189C8\n\n+R190C0 R190C1 R190C2 R190C3 R190C4 R190C5 R190C6 R190C7 R190C8\n\n+---PAGE---\n\n+R191C0 R191C1 R191C2 R191C3 R191C4 R191C5 R191C6 R191C7 R191C8\n\n+R192C0 R192C1 R192C2 R192C3 R192C4 R192C5 R192C6 R192C7 R192C8\n\n+R193C0 R193C1 R193C2 R193C3 R193C4 R193C5 R193C6 R193C7 R193C8\n\n+R194C0 R194C1 R194C2 R194C3 R194C4 R194C5 R194C6 R194C7 R194C8\n\n+R195C0 R195C1 R195C2 R195C3 R195C4 R195C5 R195C6 R195C7 R195C8\n\n+R196C0 R196C1 R196C2 R196C3 R196C4 R196C5 R196C6 R196C7 R196C8\n\n+R197C0 R197C1 R197C2 R197C3 R197C4 R197C5 R197C6 R197C7 R197C8\n\n+R198C0 R198C1 R198C2 R198C3 R198C4 R198C5 R198C6 R198C7 R198C8\n\n+R199C0 R199C1 R199C2 R199C3 R199C4 R199C5 R199C6 R199C7 R199C8\n\n+R200C0 R200C1 R200C2 R200C3 R200C4 R200C5 R200C6 R200C7 R200C8\n\n+R201C0 R201C1 R201C2 R201C3 R201C4 R201C5 R201C6 R201C7 R201C8\n\n+R202C0 R202C1 R202C2 R202C3 R202C4 R202C5 R202C6 R202C7 R202C8\n\n+R203C0 R203C1 R203C2 R203C3 R203C4 R203C5 R203C6 R203C7 R203C8\n\n+R204C0 R204C1 R204C2 R204C3 R204C4 R204C5 R204C6 R204C7 R204C8\n\n+R205C0 R205C1 R205C2 R205C3 R205C4 R205C5 R205C6 R205C7 R205C8\n\n+R206C0 R206C1 R206C2 R206C3 R206C4 R206C5 R206C6 R206C7 R206C8\n\n+R207C0 R207C1 R207C2 R207C3 R207C4 R207C5 R207C6 R207C7 R207C8\n\n+R208C0 R208C1 R208C2 R208C3 R208C4 R208C5 R208C6 R208C7 R208C8\n\n+R209C0 R209C1 R209C2 R209C3 R209C4 R209C5 R209C6 R209C7 R209C8\n\n+R210C0 R210C1 R210C2 R210C3 R210C4 R210C5 R210C6 R210C7 R210C8\n\n+R211C0 R211C1 R211C2 R211C3 R211C4 R211C5 R211C6 R211C7 R211C8\n\n+R212C0 R212C1 R212C2 R212C3 R212C4 R212C5 R212C6 R212C7 R212C8\n\n+R213C0 R213C1 R213C2 R213C3 R213C4 R213C5 R213C6 R213C7 R213C8\n\n+R214C0 R214C1 R214C2 R214C3 R214C4 R214C5 R214C6 R214C7 R214C8\n\n+R215C0 R215C1 R215C2 R215C3 R215C4 R215C5 R215C6 R215C7 R215C8\n\n+R216C0 R216C1 R216C2 R216C3 R216C4 R216C5 R216C6 R216C7 R216C8\n\n+R217C0 R217C1 R217C2 R217C3 R217C4 R217C5 R217C6 R217C7 R217C8\n\n+R218C0 R218C1 R218C2 R218C3 R218C4 R218C5 R218C6 R218C7 R218C8\n\n+R219C0 R219C1 R219C2 R219C3 R219C4 R219C5 R219C6 R219C7 R219C8\n\n+R220C0 R220C1 R220C2 R220C3 R220C4 R220C5 R220C6 R220C7 R220C8\n\n+R221C0 R221C1 R221C2 R221C3 R221C4 R221C5 R221C6 R221C7 R221C8\n\n+R222C0 R222C1 R222C2 R222C3 R222C4 R222C5 R222C6 R222C7 R222C8\n\n+R223C0 R223C1 R223C2 R223C3 R223C4 R223C5 R223C6 R223C7 R223C8\n\n+R224C0 R224C1 R224C2 R224C3 R224C4 R224C5 R224C6 R224C7 R224C8\n\n+R225C0 R225C1 R225C2 R225C3 R225C4 R225C5 R225C6 R225C7 R225C8\n\n+R226C0 R226C1 R226C2 R226C3 R226C4 R226C5 R226C6 R226C7 R226C8\n\n+R227C0 R227C1 R227C2 R227C3 R227C4 R227C5 R227C6 R227C7 R227C8\n\n+R228C0 R228C1 R228C2 R228C3 R228C4 R228C5 R228C6 R228C7 R228C8\n\n+R229C0 R229C1 R229C2 R229C3 R229C4 R229C5 R229C6 R229C7 R229C8\n\n+R230C0 R230C1 R230C2 R230C3 R230C4 R230C5 R230C6 R230C7 R230C8\n\n+R231C0 R231C1 R231C2 R231C3 R231C4 R231C5 R231C6 R231C7 R231C8\n\n+R232C0 R232C1 R232C2 R232C3 R232C4 R232C5 R232C6 R232C7 R232C8\n\n+R233C0 R233C1 R233C2 R233C3 R233C4 R233C5 R233C6 R233C7 R233C8\n\n+R234C0 R234C1 R234C2 R234C3 R234C4 R234C5 R234C6 R234C7 R234C8\n\n+R235C0 R235C1 R235C2 R235C3 R235C4 R235C5 R235C6 R235C7 R235C8\n\n+R236C0 R236C1 R236C2 R236C3 R236C4 R236C5 R236C6 R236C7 R236C8\n\n+R237C0 R237C1 R237C2 R237C3 R237C4 R237C5 R237C6 R237C7 R237C8\n\n+R238C0 R238C1 R238C2 R238C3 R238C4 R238C5 R238C6 R238C7 R238C8\n\n+---PAGE---\n\n+R239C0 R239C1 R239C2 R239C3 R239C4 R239C5 R239C6 R239C7 R239C8\n\n+R240C0 R240C1 R240C2 R240C3 R240C4 R240C5 R240C6 R240C7 R240C8\n\n+R241C0 R241C1 R241C2 R241C3 R241C4 R241C5 R241C6 R241C7 R241C8\n\n+R242C0 R242C1 R242C2 R242C3 R242C4 R242C5 R242C6 R242C7 R242C8\n\n+R243C0 R243C1 R243C2 R243C3 R243C4 R243C5 R243C6 R243C7 R243C8\n\n+R244C0 R244C1 R244C2 R244C3 R244C4 R244C5 R244C6 R244C7 R244C8\n\n+R245C0 R245C1 R245C2 R245C3 R245C4 R245C5 R245C6 R245C7 R245C8\n\n+R246C0 R246C1 R246C2 R246C3 R246C4 R246C5 R246C6 R246C7 R246C8\n\n+R247C0 R247C1 R247C2 R247C3 R247C4 R247C5 R247C6 R247C7 R247C8\n\n+R248C0 R248C1 R248C2 R248C3 R248C4 R248C5 R248C6 R248C7 R248C8\n\n+R249C0 R249C1 R249C2 R249C3 R249C4 R249C5 R249C6 R249C7 R249C8\n\n+R250C0 R250C1 R250C2 R250C3 R250C4 R250C5 R250C6 R250C7 R250C8\n\n+R251C0 R251C1 R251C2 R251C3 R251C4 R251C5 R251C6 R251C7 R251C8\n\n+R252C0 R252C1 R252C2 R252C3 R252C4 R252C5 R252C6 R252C7 R252C8\n\n+R253C0 R253C1 R253C2 R253C3 R253C4 R253C5 R253C6 R253C7 R253C8\n\n+R254C0 R254C1 R254C2 R254C3 R254C4 R254C5 R254C6 R254C7 R254C8\n\n+R255C0 R255C1 R255C2 R255C3 R255C4 R255C5 R255C6 R255C7 R255C8\n\n+R256C0 R256C1 R256C2 R256C3 R256C4 R256C5 R256C6 R256C7 R256C8\n\n+R257C0 R257C1 R257C2 R257C3 R257C4 R257C5 R257C6 R257C7 R257C8\n\n+R258C0 R258C1 R258C2 R258C3 R258C4 R258C5 R258C6 R258C7 R258C8\n\n+R259C0 R259C1 R259C2 R259C3 R259C4 R259C5 R259C6 R259C7 R259C8\n\n+R260C0 R260C1 R260C2 R260C3 R260C4 R260C5 R260C6 R260C7 R260C8\n\n+R261C0 R261C1 R261C2 R261C3 R261C4 R261C5 R261C6 R261C7 R261C8\n\n+R262C0 R262C1 R262C2 R262C3 R262C4 R262C5 R262C6 R262C7 R262C8\n\n+R263C0 R263C1 R263C2 R263C3 R263C4 R263C5 R263C6 R263C7 R263C8\n\n+R264C0 R264C1 R264C2 R264C3 R264C4 R264C5 R264C6 R264C7 R264C8\n\n+R265C0 R265C1 R265C2 R265C3 R265C4 R265C5 R265C6 R265C7 R265C8\n\n+R266C0 R266C1 R266C2 R266C3 R266C4 R266C5 R266C6 R266C7 R266C8\n\n+R267C0 R267C1 R267C2 R267C3 R267C4 R267C5 R267C6 R267C7 R267C8\n\n+R268C0 R268C1 R268C2 R268C3 R268C4 R268C5 R268C6 R268C7 R268C8\n\n+R269C0 R269C1 R269C2 R269C3 R269C4 R269C5 R269C6 R269C7 R269C8\n\n+R270C0 R270C1 R270C2 R270C3 R270C4 R270C5 R270C6 R270C7 R270C8\n\n+R271C0 R271C1 R271C2 R271C3 R271C4 R271C5 R271C6 R271C7 R271C8\n\n+R272C0 R272C1 R272C2 R272C3 R272C4 R272C5 R272C6 R272C7 R272C8\n\n+R273C0 R273C1 R273C2 R273C3 R273C4 R273C5 R273C6 R273C7 R273C8\n\n+R274C0 R274C1 R274C2 R274C3 R274C4 R274C5 R274C6 R274C7 R274C8\n\n+R275C0 R275C1 R275C2 R275C3 R275C4 R275C5 R275C6 R275C7 R275C8\n\n+R276C0 R276C1 R276C2 R276C3 R276C4 R276C5 R276C6 R276C7 R276C8\n\n+R277C0 R277C1 R277C2 R277C3 R277C4 R277C5 R277C6 R277C7 R277C8\n\n+R278C0 R278C1 R278C2 R278C3 R278C4 R278C5 R278C6 R278C7 R278C8\n\n+R279C0 R279C1 R279C2 R279C3 R279C4 R279C5 R279C6 R279C7 R279C8\n\n+R280C0 R280C1 R280C2 R280C3 R280C4 R280C5 R280C6 R280C7 R280C8\n\n+R281C0 R281C1 R281C2 R281C3 R281C4 R281C5 R281C6 R281C7 R281C8\n\n+R282C0 R282C1 R282C2 R282C3 R282C4 R282C5 R282C6 R282C7 R282C8\n\n+R283C0 R283C1 R283C2 R283C3 R283C4 R283C5 R283C6 R283C7 R283C8\n\n+R284C0 R284C1 R284C2 R284C3 R284C4 R284C5 R284C6 R284C7 R284C8\n\n+R285C0 R285C1 R285C2 R285C3 R285C4 R285C5 R285C6 R285C7 R285C8\n\n+R286C0 R286C1 R286C2 R286C3 R286C4 R286C5 R286C6 R286C7 R286C8\n\n+---PAGE---\n\n+R287C0 R287C1 R287C2 R287C3 R287C4 R287C5 R287C6 R287C7 R287C8\n\n+R288C0 R288C1 R288C2 R288C3 R288C4 R288C5 R288C6 R288C7 R288C8\n\n+R289C0 R289C1 R289C2 R289C3 R289C4 R289C5 R289C6 R289C7 R289C8\n\n+R290C0 R290C1 R290C2 R290C3 R290C4 R290C5 R290C6 R290C7 R290C8\n\n+R291C0 R291C1 R291C2 R291C3 R291C4 R291C5 R291C6 R291C7 R291C8\n\n+R292C0 R292C1 R292C2 R292C3 R292C4 R292C5 R292C6 R292C7 R292C8\n\n+R293C0 R293C1 R293C2 R293C3 R293C4 R293C5 R293C6 R293C7 R293C8\n\n+R294C0 R294C1 R294C2 R294C3 R294C4 R294C5 R294C6 R294C7 R294C8\n\n+R295C0 R295C1 R295C2 R295C3 R295C4 R295C5 R295C6 R295C7 R295C8\n\n+R296C0 R296C1 R296C2 R296C3 R296C4 R296C5 R296C6 R296C7 R296C8\n\n+R297C0 R297C1 R297C2 R297C3 R297C4 R297C5 R297C6 R297C7 R297C8\n\n+R298C0 R298C1 R298C2 R298C3 R298C4 R298C5 R298C6 R298C7 R298C8\n\n+R299C0 R299C1 R299C2 R299C3 R299C4 R299C5 R299C6 R299C7 R299C8\n\n+R300C0 R300C1 R300C2 R300C3 R300C4 R300C5 R300C6 R300C7 R300C8\n\n+R301C0 R301C1 R301C2 R301C3 R301C4 R301C5 R301C6 R301C7 R301C8\n\n+R302C0 R302C1 R302C2 R302C3 R302C4 R302C5 R302C6 R302C7 R302C8\n\n+R303C0 R303C1 R303C2 R303C3 R303C4 R303C5 R303C6 R303C7 R303C8\n\n+R304C0 R304C1 R304C2 R304C3 R304C4 R304C5 R304C6 R304C7 R304C8\n\n+R305C0 R305C1 R305C2 R305C3 R305C4 R305C5 R305C6 R305C7 R305C8\n\n+R306C0 R306C1 R306C2 R306C3 R306C4 R306C5 R306C6 R306C7 R306C8\n\n+R307C0 R307C1 R307C2 R307C3 R307C4 R307C5 R307C6 R307C7 R307C8\n\n+R308C0 R308C1 R308C2 R308C3 R308C4 R308C5 R308C6 R308C7 R308C8\n\n+R309C0 R309C1 R309C2 R309C3 R309C4 R309C5 R309C6 R309C7 R309C8\n\n+R310C0 R310C1 R310C2 R310C3 R310C4 R310C5 R310C6 R310C7 R310C8\n\n+R311C0 R311C1 R311C2 R311C3 R311C4 R311C5 R311C6 R311C7 R311C8\n\n+R312C0 R312C1 R312C2 R312C3 R312C4 R312C5 R312C6 R312C7 R312C8\n\n+R313C0 R313C1 R313C2 R313C3 R313C4 R313C5 R313C6 R313C7 R313C8\n\n+R314C0 R314C1 R314C2 R314C3 R314C4 R314C5 R314C6 R314C7 R314C8\n\n+R315C0 R315C1 R315C2 R315C3 R315C4 R315C5 R315C6 R315C7 R315C8\n\n+R316C0 R316C1 R316C2 R316C3 R316C4 R316C5 R316C6 R316C7 R316C8\n\n+R317C0 R317C1 R317C2 R317C3 R317C4 R317C5 R317C6 R317C7 R317C8\n\n+R318C0 R318C1 R318C2 R318C3 R318C4 R318C5 R318C6 R318C7 R318C8\n\n+R319C0 R319C1 R319C2 R319C3 R319C4 R319C5 R319C6 R319C7 R319C8\n\n+R320C0 R320C1 R320C2 R320C3 R320C4 R320C5 R320C6 R320C7 R320C8\n\n+R321C0 R321C1 R321C2 R321C3 R321C4 R321C5 R321C6 R321C7 R321C8\n\n+R322C0 R322C1 R322C2 R322C3 R322C4 R322C5 R322C6 R322C7 R322C8\n\n+R323C0 R323C1 R323C2 R323C3 R323C4 R323C5 R323C6 R323C7 R323C8\n\n+R324C0 R324C1 R324C2 R324C3 R324C4 R324C5 R324C6 R324C7 R324C8\n\n+R325C0 R325C1 R325C2 R325C3 R325C4 R325C5 R325C6 R325C7 R325C8\n\n+R326C0 R326C1 R326C2 R326C3 R326C4 R326C5 R326C6 R326C7 R326C8\n\n+R327C0 R327C1 R327C2 R327C3 R327C4 R327C5 R327C6 R327C7 R327C8\n\n+R328C0 R328C1 R328C2 R328C3 R328C4 R328C5 R328C6 R328C7 R328C8\n\n+R329C0 R329C1 R329C2 R329C3 R329C4 R329C5 R329C6 R329C7 R329C8\n\n+R330C0 R330C1 R330C2 R330C3 R330C4 R330C5 R330C6 R330C7 R330C8\n\n+R331C0 R331C1 R331C2 R331C3 R331C4 R331C5 R331C6 R331C7 R331C8\n\n+R332C0 R332C1 R332C2 R332C3 R332C4 R332C5 R332C6 R332C7 R332C8\n\n+R333C0 R333C1 R333C2 R333C3 R333C4 R333C5 R333C6 R333C7 R333C8\n\n+R334C0 R334C1 R334C2 R334C3 R334C4 R334C5 R334C6 R334C7 R334C8\n\n+---PAGE---\n\n+R335C0 R335C1 R335C2 R335C3 R335C4 R335C5 R335C6 R335C7 R335C8\n\n+R336C0 R336C1 R336C2 R336C3 R336C4 R336C5 R336C6 R336C7 R336C8\n\n+R337C0 R337C1 R337C2 R337C3 R337C4 R337C5 R337C6 R337C7 R337C8\n\n+R338C0 R338C1 R338C2 R338C3 R338C4 R338C5 R338C6 R338C7 R338C8\n\n+R339C0 R339C1 R339C2 R339C3 R339C4 R339C5 R339C6 R339C7 R339C8\n\n+R340C0 R340C1 R340C2 R340C3 R340C4 R340C5 R340C6 R340C7 R340C8\n\n+R341C0 R341C1 R341C2 R341C3 R341C4 R341C5 R341C6 R341C7 R341C8\n\n+R342C0 R342C1 R342C2 R342C3 R342C4 R342C5 R342C6 R342C7 R342C8\n\n+R343C0 R343C1 R343C2 R343C3 R343C4 R343C5 R343C6 R343C7 R343C8\n\n+R344C0 R344C1 R344C2 R344C3 R344C4 R344C5 R344C6 R344C7 R344C8\n\n+R345C0 R345C1 R345C2 R345C3 R345C4 R345C5 R345C6 R345C7 R345C8\n\n+R346C0 R346C1 R346C2 R346C3 R346C4 R346C5 R346C6 R346C7 R346C8\n\n+R347C0 R347C1 R347C2 R347C3 R347C4 R347C5 R347C6 R347C7 R347C8\n\n+R348C0 R348C1 R348C2 R348C3 R348C4 R348C5 R348C6 R348C7 R348C8\n\n+R349C0 R349C1 R349C2 R349C3 R349C4 R349C5 R349C6 R349C7 R349C8\n\n+R350C0 R350C1 R350C2 R350C3 R350C4 R350C5 R350C6 R350C7 R350C8\n\n+R351C0 R351C1 R351C2 R351C3 R351C4 R351C5 R351C6 R351C7 R351C8\n\n+R352C0 R352C1 R352C2 R352C3 R352C4 R352C5 R352C6 R352C7 R352C8\n\n+R353C0 R353C1 R353C2 R353C3 R353C4 R353C5 R353C6 R353C7 R353C8\n\n+R354C0 R354C1 R354C2 R354C3 R354C4 R354C5 R354C6 R354C7 R354C8\n\n+R355C0 R355C1 R355C2 R355C3 R355C4 R355C5 R355C6 R355C7 R355C8\n\n+R356C0 R356C1 R356C2 R356C3 R356C4 R356C5 R356C6 R356C7 R356C8\n\n+R357C0 R357C1 R357C2 R357C3 R357C4 R357C5 R357C6 R357C7 R357C8\n\n+R358C0 R358C1 R358C2 R358C3 R358C4 R358C5 R358C6 R358C7 R358C8\n\n+R359C0 R359C1 R359C2 R359C3 R359C4 R359C5 R359C6 R359C7 R359C8\n\n+R360C0 R360C1 R360C2 R360C3 R360C4 R360C5 R360C6 R360C7 R360C8\n\n+R361C0 R361C1 R361C2 R361C3 R361C4 R361C5 R361C6 R361C7 R361C8\n\n+R362C0 R362C1 R362C2 R362C3 R362C4 R362C5 R362C6 R362C7 R362C8\n\n+R363C0 R363C1 R363C2 R363C3 R363C4 R363C5 R363C6 R363C7 R363C8\n\n+R364C0 R364C1 R364C2 R364C3 R364C4 R364C5 R364C6 R364C7 R364C8\n\n+R365C0 R365C1 R365C2 R365C3 R365C4 R365C5 R365C6 R365C7 R365C8\n\n+R366C0 R366C1 R366C2 R366C3 R366C4 R366C5 R366C6 R366C7 R366C8\n\n+R367C0 R367C1 R367C2 R367C3 R367C4 R367C5 R367C6 R367C7 R367C8\n\n+R368C0 R368C1 R368C2 R368C3 R368C4 R368C5 R368C6 R368C7 R368C8\n\n+R369C0 R369C1 R369C2 R369C3 R369C4 R369C5 R369C6 R369C7 R369C8\n\n+R370C0 R370C1 R370C2 R370C3 R370C4 R370C5 R370C6 R370C7 R370C8\n\n+R371C0 R371C1 R371C2 R371C3 R371C4 R371C5 R371C6 R371C7 R371C8\n\n+R372C0 R372C1 R372C2 R372C3 R372C4 R372C5 R372C6 R372C7 R372C8\n\n+R373C0 R373C1 R373C2 R373C3 R373C4 R373C5 R373C6 R373C7 R373C8\n\n+R374C0 R374C1 R374C2 R374C3 R374C4 R374C5 R374C6 R374C7 R374C8\n\n+R375C0 R375C1 R375C2 R375C3 R375C4 R375C5 R375C6 R375C7 R375C8\n\n+R376C0 R376C1 R376C2 R376C3 R376C4 R376C5 R376C6 R376C7 R376C8\n\n+R377C0 R377C1 R377C2 R377C3 R377C4 R377C5 R377C6 R377C7 R377C8\n\n+R378C0 R378C1 R378C2 R378C3 R378C4 R378C5 R378C6 R378C7 R378C8\n\n+R379C0 R379C1 R379C2 R379C3 R379C4 R379C5 R379C6 R379C7 R379C8\n\n+R380C0 R380C1 R380C2 R380C3 R380C4 R380C5 R380C6 R380C7 R380C8\n\n+R381C0 R381C1 R381C2 R381C3 R381C4 R381C5 R381C6 R381C7 R381C8\n\n+R382C0 R382C1 R382C2 R382C3 R382C4 R382C5 R382C6 R382C7 R382C8\n\n+---PAGE---\n\n+R383C0 R383C1 R383C2 R383C3 R383C4 R383C5 R383C6 R383C7 R383C8\n\n+R384C0 R384C1 R384C2 R384C3 R384C4 R384C5 R384C6 R384C7 R384C8\n\n+R385C0 R385C1 R385C2 R385C3 R385C4 R385C5 R385C6 R385C7 R385C8\n\n+R386C0 R386C1 R386C2 R386C3 R386C4 R386C5 R386C6 R386C7 R386C8\n\n+R387C0 R387C1 R387C2 R387C3 R387C4 R387C5 R387C6 R387C7 R387C8\n\n+R388C0 R388C1 R388C2 R388C3 R388C4 R388C5 R388C6 R388C7 R388C8\n\n+R389C0 R389C1 R389C2 R389C3 R389C4 R389C5 R389C6 R389C7 R389C8\n\n+R390C0 R390C1 R390C2 R390C3 R390C4 R390C5 R390C6 R390C7 R390C8\n\n+R391C0 R391C1 R391C2 R391C3 R391C4 R391C5 R391C6 R391C7 R391C8\n\n+R392C0 R392C1 R392C2 R392C3 R392C4 R392C5 R392C6 R392C7 R392C8\n\n+R393C0 R393C1 R393C2 R393C3 R393C4 R393C5 R393C6 R393C7 R393C8\n\n+R394C0 R394C1 R394C2 R394C3 R394C4 R394C5 R394C6 R394C7 R394C8\n\n+R395C0 R395C1 R395C2 R395C3 R395C4 R395C5 R395C6 R395C7 R395C8\n\n+R396C0 R396C1 R396C2 R396C3 R396C4 R396C5 R396C6 R396C7 R396C8\n\n+R397C0 R397C1 R397C2 R397C3 R397C4 R397C5 R397C6 R397C7 R397C8\n\n+R398C0 R398C1 R398C2 R398C3 R398C4 R398C5 R398C6 R398C7 R398C8\n\n+R399C0 R399C1 R399C2 R399C3 R399C4 R399C5 R399C6 R399C7 R399C8\n\n+R400C0 R400C1 R400C2 R400C3 R400C4 R400C5 R400C6 R400C7 R400C8\n\n+R401C0 R401C1 R401C2 R401C3 R401C4 R401C5 R401C6 R401C7 R401C8\n\n+R402C0 R402C1 R402C2 R402C3 R402C4 R402C5 R402C6 R402C7 R402C8\n\n+R403C0 R403C1 R403C2 R403C3 R403C4 R403C5 R403C6 R403C7 R403C8\n\n+R404C0 R404C1 R404C2 R404C3 R404C4 R404C5 R404C6 R404C7 R404C8\n\n+R405C0 R405C1 R405C2 R405C3 R405C4 R405C5 R405C6 R405C7 R405C8\n\n+R406C0 R406C1 R406C2 R406C3 R406C4 R406C5 R406C6 R406C7 R406C8\n\n+R407C0 R407C1 R407C2 R407C3 R407C4 R407C5 R407C6 R407C7 R407C8\n\n+R408C0 R408C1 R408C2 R408C3 R408C4 R408C5 R408C6 R408C7 R408C8\n\n+R409C0 R409C1 R409C2 R409C3 R409C4 R409C5 R409C6 R409C7 R409C8\n\n+R410C0 R410C1 R410C2 R410C3 R410C4 R410C5 R410C6 R410C7 R410C8\n\n+R411C0 R411C1 R411C2 R411C3 R411C4 R411C5 R411C6 R411C7 R411C8\n\n+R412C0 R412C1 R412C2 R412C3 R412C4 R412C5 R412C6 R412C7 R412C8\n\n+R413C0 R413C1 R413C2 R413C3 R413C4 R413C5 R413C6 R413C7 R413C8\n\n+R414C0 R414C1 R414C2 R414C3 R414C4 R414C5 R414C6 R414C7 R414C8\n\n+R415C0 R415C1 R415C2 R415C3 R415C4 R415C5 R415C6 R415C7 R415C8\n\n+R416C0 R416C1 R416C2 R416C3 R416C4 R416C5 R416C6 R416C7 R416C8\n\n+R417C0 R417C1 R417C2 R417C3 R417C4 R417C5 R417C6 R417C7 R417C8\n\n+R418C0 R418C1 R418C2 R418C3 R418C4 R418C5 R418C6 R418C7 R418C8\n\n+R419C0 R419C1 R419C2 R419C3 R419C4 R419C5 R419C6 R419C7 R419C8\n\n+R420C0 R420C1 R420C2 R420C3 R420C4 R420C5 R420C6 R420C7 R420C8\n\n+R421C0 R421C1 R421C2 R421C3 R421C4 R421C5 R421C6 R421C7 R421C8\n\n+R422C0 R422C1 R422C2 R422C3 R422C4 R422C5 R422C6 R422C7 R422C8\n\n+R423C0 R423C1 R423C2 R423C3 R423C4 R423C5 R423C6 R423C7 R423C8\n\n+R424C0 R424C1 R424C2 R424C3 R424C4 R424C5 R424C6 R424C7 R424C8\n\n+R425C0 R425C1 R425C2 R425C3 R425C4 R425C5 R425C6 R425C7 R425C8\n\n+R426C0 R426C1 R426C2 R426C3 R426C4 R426C5 R426C6 R426C7 R426C8\n\n+R427C0 R427C1 R427C2 R427C3 R427C4 R427C5 R427C6 R427C7 R427C8\n\n+R428C0 R428C1 R428C2 R428C3 R428C4 R428C5 R428C6 R428C7 R428C8\n\n+R429C0 R429C1 R429C2 R429C3 R429C4 R429C5 R429C6 R429C7 R429C8\n\n+R430C0 R430C1 R430C2 R430C3 R430C4 R430C5 R430C6 R430C7 R430C8\n\n+---PAGE---\n\n+R431C0 R431C1 R431C2 R431C3 R431C4 R431C5 R431C6 R431C7 R431C8\n\n+R432C0 R432C1 R432C2 R432C3 R432C4 R432C5 R432C6 R432C7 R432C8\n\n+R433C0 R433C1 R433C2 R433C3 R433C4 R433C5 R433C6 R433C7 R433C8\n\n+R434C0 R434C1 R434C2 R434C3 R434C4 R434C5 R434C6 R434C7 R434C8\n\n+R435C0 R435C1 R435C2 R435C3 R435C4 R435C5 R435C6 R435C7 R435C8\n\n+R436C0 R436C1 R436C2 R436C3 R436C4 R436C5 R436C6 R436C7 R436C8\n\n+R437C0 R437C1 R437C2 R437C3 R437C4 R437C5 R437C6 R437C7 R437C8\n\n+R438C0 R438C1 R438C2 R438C3 R438C4 R438C5 R438C6 R438C7 R438C8\n\n+R439C0 R439C1 R439C2 R439C3 R439C4 R439C5 R439C6 R439C7 R439C8\n\n+R440C0 R440C1 R440C2 R440C3 R440C4 R440C5 R440C6 R440C7 R440C8\n\n+R441C0 R441C1 R441C2 R441C3 R441C4 R441C5 R441C6 R441C7 R441C8\n\n+R442C0 R442C1 R442C2 R442C3 R442C4 R442C5 R442C6 R442C7 R442C8\n\n+R443C0 R443C1 R443C2 R443C3 R443C4 R443C5 R443C6 R443C7 R443C8\n\n+R444C0 R444C1 R444C2 R444C3 R444C4 R444C5 R444C6 R444C7 R444C8\n\n+R445C0 R445C1 R445C2 R445C3 R445C4 R445C5 R445C6 R445C7 R445C8\n\n+R446C0 R446C1 R446C2 R446C3 R446C4 R446C5 R446C6 R446C7 R446C8\n\n+R447C0 R447C1 R447C2 R447C3 R447C4 R447C5 R447C6 R447C7 R447C8\n\n+R448C0 R448C1 R448C2 R448C3 R448C4 R448C5 R448C6 R448C7 R448C8\n\n+R449C0 R449C1 R449C2 R449C3 R449C4 R449C5 R449C6 R449C7 R449C8\n\n+R450C0 R450C1 R450C2 R450C3 R450C4 R450C5 R450C6 R450C7 R450C8\n\n+R451C0 R451C1 R451C2 R451C3 R451C4 R451C5 R451C6 R451C7 R451C8\n\n+R452C0 R452C1 R452C2 R452C3 R452C4 R452C5 R452C6 R452C7 R452C8\n\n+R453C0 R453C1 R453C2 R453C3 R453C4 R453C5 R453C6 R453C7 R453C8\n\n+R454C0 R454C1 R454C2 R454C3 R454C4 R454C5 R454C6 R454C7 R454C8\n\n+R455C0 R455C1 R455C2 R455C3 R455C4 R455C5 R455C6 R455C7 R455C8\n\n+R456C0 R456C1 R456C2 R456C3 R456C4 R456C5 R456C6 R456C7 R456C8\n\n+R457C0 R457C1 R457C2 R457C3 R457C4 R457C5 R457C6 R457C7 R457C8\n\n+R458C0 R458C1 R458C2 R458C3 R458C4 R458C5 R458C6 R458C7 R458C8\n\n+R459C0 R459C1 R459C2 R459C3 R459C4 R459C5 R459C6 R459C7 R459C8\n\n+R460C0 R460C1 R460C2 R460C3 R460C4 R460C5 R460C6 R460C7 R460C8\n\n+R461C0 R461C1 R461C2 R461C3 R461C4 R461C5 R461C6 R461C7 R461C8\n\n+R462C0 R462C1 R462C2 R462C3 R462C4 R462C5 R462C6 R462C7 R462C8\n\n+R463C0 R463C1 R463C2 R463C3 R463C4 R463C5 R463C6 R463C7 R463C8\n\n+R464C0 R464C1 R464C2 R464C3 R464C4 R464C5 R464C6 R464C7 R464C8\n\n+R465C0 R465C1 R465C2 R465C3 R465C4 R465C5 R465C6 R465C7 R465C8\n\n+R466C0 R466C1 R466C2 R466C3 R466C4 R466C5 R466C6 R466C7 R466C8\n\n+R467C0 R467C1 R467C2 R467C3 R467C4 R467C5 R467C6 R467C7 R467C8\n\n+R468C0 R468C1 R468C2 R468C3 R468C4 R468C5 R468C6 R468C7 R468C8\n\n+R469C0 R469C1 R469C2 R469C3 R469C4 R469C5 R469C6 R469C7 R469C8\n\n+R470C0 R470C1 R470C2 R470C3 R470C4 R470C5 R470C6 R470C7 R470C8\n\n+R471C0 R471C1 R471C2 R471C3 R471C4 R471C5 R471C6 R471C7 R471C8\n\n+R472C0 R472C1 R472C2 R472C3 R472C4 R472C5 R472C6 R472C7 R472C8\n\n+R473C0 R473C1 R473C2 R473C3 R473C4 R473C5 R473C6 R473C7 R473C8\n\n+R474C0 R474C1 R474C2 R474C3 R474C4 R474C5 R474C6 R474C7 R474C8\n\n+R475C0 R475C1 R475C2 R475C3 R475C4 R475C5 R475C6 R475C7 R475C8\n\n+R476C0 R476C1 R476C2 R476C3 R476C4 R476C5 R476C6 R476C7 R476C8\n\n+R477C0 R477C1 R477C2 R477C3 R477C4 R477C5 R477C6 R477C7 R477C8\n\n+R478C0 R478C1 R478C2 R478C3 R478C4 R478C5 R478C6 R478C7 R478C8\n\n+---PAGE---\n\n+R479C0 R479C1 R479C2 R479C3 R479C4 R479C5 R479C6 R479C7 R479C8\n\n+R480C0 R480C1 R480C2 R480C3 R480C4 R480C5 R480C6 R480C7 R480C8\n\n+R481C0 R481C1 R481C2 R481C3 R481C4 R481C5 R481C6 R481C7 R481C8\n\n+R482C0 R482C1 R482C2 R482C3 R482C4 R482C5 R482C6 R482C7 R482C8\n\n+R483C0 R483C1 R483C2 R483C3 R483C4 R483C5 R483C6 R483C7 R483C8\n\n+R484C0 R484C1 R484C2 R484C3 R484C4 R484C5 R484C6 R484C7 R484C8\n\n+R485C0 R485C1 R485C2 R485C3 R485C4 R485C5 R485C6 R485C7 R485C8\n\n+R486C0 R486C1 R486C2 R486C3 R486C4 R486C5 R486C6 R486C7 R486C8\n\n+R487C0 R487C1 R487C2 R487C3 R487C4 R487C5 R487C6 R487C7 R487C8\n\n+R488C0 R488C1 R488C2 R488C3 R488C4 R488C5 R488C6 R488C7 R488C8\n\n+R489C0 R489C1 R489C2 R489C3 R489C4 R489C5 R489C6 R489C7 R489C8\n\n+R490C0 R490C1 R490C2 R490C3 R490C4 R490C5 R490C6 R490C7 R490C8\n\n+R491C0 R491C1 R491C2 R491C3 R491C4 R491C5 R491C6 R491C7 R491C8\n\n+R492C0 R492C1 R492C2 R492C3 R492C4 R492C5 R492C6 R492C7 R492C8\n\n+R493C0 R493C1 R493C2 R493C3 R493C4 R493C5 R493C6 R493C7 R493C8\n\n+R494C0 R494C1 R494C2 R494C3 R494C4 R494C5 R494C6 R494C7 R494C8\n\n+R495C0 R495C1 R495C2 R495C3 R495C4 R495C5 R495C6 R495C7 R495C8\n\n+R496C0 R496C1 R496C2 R496C3 R496C4 R496C5 R496C6 R496C7 R496C8\n\n+R497C0 R497C1 R497C2 R497C3 R497C4 R497C5 R497C6 R497C7 R497C8\n\n+R498C0 R498C1 R498C2 R498C3 R498C4 R498C5 R498C6 R498C7 R498C8\n\n+R499C0 R499C1 R499C2 R499C3 R499C4 R499C5 R499C6 R499C7 R499C8\n\n+R500C0 R500C1 R500C2 R500C3 R500C4 R500C5 R500C6 R500C7 R500C8\n\n+R501C0 R501C1 R501C2 R501C3 R501C4 R501C5 R501C6 R501C7 R501C8\n\n+R502C0 R502C1 R502C2 R502C3 R502C4 R502C5 R502C6 R502C7 R502C8\n\n+R503C0 R503C1 R503C2 R503C3 R503C4 R503C5 R503C6 R503C7 R503C8\n\n+R504C0 R504C1 R504C2 R504C3 R504C4 R504C5 R504C6 R504C7 R504C8\n\n+R505C0 R505C1 R505C2 R505C3 R505C4 R505C5 R505C6 R505C7 R505C8\n\n+R506C0 R506C1 R506C2 R506C3 R506C4 R506C5 R506C6 R506C7 R506C8\n\n+R507C0 R507C1 R507C2 R507C3 R507C4 R507C5 R507C6 R507C7 R507C8\n\n+R508C0 R508C1 R508C2 R508C3 R508C4 R508C5 R508C6 R508C7 R508C8\n\n+R509C0 R509C1 R509C2 R509C3 R509C4 R509C5 R509C6 R509C7 R509C8\n\n+R510C0 R510C1 R510C2 R510C3 R510C4 R510C5 R510C6 R510C7 R510C8\n\n+R511C0 R511C1 R511C2 R511C3 R511C4 R511C5 R511C6 R511C7 R511C8\n\n+R512C0 R512C1 R512C2 R512C3 R512C4 R512C5 R512C6 R512C7 R512C8\n\n+R513C0 R513C1 R513C2 R513C3 R513C4 R513C5 R513C6 R513C7 R513C8\n\n+R514C0 R514C1 R514C2 R514C3 R514C4 R514C5 R514C6 R514C7 R514C8\n\n+R515C0 R515C1 R515C2 R515C3 R515C4 R515C5 R515C6 R515C7 R515C8\n\n+R516C0 R516C1 R516C2 R516C3 R516C4 R516C5 R516C6 R516C7 R516C8\n\n+R517C0 R517C1 R517C2 R517C3 R517C4 R517C5 R517C6 R517C7 R517C8\n\n+R518C0 R518C1 R518C2 R518C3 R518C4 R518C5 R518C6 R518C7 R518C8\n\n+R519C0 R519C1 R519C2 R519C3 R519C4 R519C5 R519C6 R519C7 R519C8\n\n+R520C0 R520C1 R520C2 R520C3 R520C4 R520C5 R520C6 R520C7 R520C8\n\n+R521C0 R521C1 R521C2 R521C3 R521C4 R521C5 R521C6 R521C7 R521C8\n\n+R522C0 R522C1 R522C2 R522C3 R522C4 R522C5 R522C6 R522C7 R522C8\n\n+R523C0 R523C1 R523C2 R523C3 R523C4 R523C5 R523C6 R523C7 R523C8\n\n+R524C0 R524C1 R524C2 R524C3 R524C4 R524C5 R524C6 R524C7 R524C8\n\n+R525C0 R525C1 R525C2 R525C3 R525C4 R525C5 R525C6 R525C7 R525C8\n\n+R526C0 R526C1 R526C2 R526C3 R526C4 R526C5 R526C6 R526C7 R526C8\n\n+---PAGE---\n\n+R527C0 R527C1 R527C2 R527C3 R527C4 R527C5 R527C6 R527C7 R527C8\n\n+R528C0 R528C1 R528C2 R528C3 R528C4 R528C5 R528C6 R528C7 R528C8\n\n+R529C0 R529C1 R529C2 R529C3 R529C4 R529C5 R529C6 R529C7 R529C8\n\n+R530C0 R530C1 R530C2 R530C3 R530C4 R530C5 R530C6 R530C7 R530C8\n\n+R531C0 R531C1 R531C2 R531C3 R531C4 R531C5 R531C6 R531C7 R531C8\n\n+R532C0 R532C1 R532C2 R532C3 R532C4 R532C5 R532C6 R532C7 R532C8\n\n+R533C0 R533C1 R533C2 R533C3 R533C4 R533C5 R533C6 R533C7 R533C8\n\n+R534C0 R534C1 R534C2 R534C3 R534C4 R534C5 R534C6 R534C7 R534C8\n\n+R535C0 R535C1 R535C2 R535C3 R535C4 R535C5 R535C6 R535C7 R535C8\n\n+R536C0 R536C1 R536C2 R536C3 R536C4 R536C5 R536C6 R536C7 R536C8\n\n+R537C0 R537C1 R537C2 R537C3 R537C4 R537C5 R537C6 R537C7 R537C8\n\n+R538C0 R538C1 R538C2 R538C3 R538C4 R538C5 R538C6 R538C7 R538C8\n\n+R539C0 R539C1 R539C2 R539C3 R539C4 R539C5 R539C6 R539C7 R539C8\n\n+R540C0 R540C1 R540C2 R540C3 R540C4 R540C5 R540C6 R540C7 R540C8\n\n+R541C0 R541C1 R541C2 R541C3 R541C4 R541C5 R541C6 R541C7 R541C8\n\n+R542C0 R542C1 R542C2 R542C3 R542C4 R542C5 R542C6 R542C7 R542C8\n\n+R543C0 R543C1 R543C2 R543C3 R543C4 R543C5 R543C6 R543C7 R543C8\n\n+R544C0 R544C1 R544C2 R544C3 R544C4 R544C5 R544C6 R544C7 R544C8\n\n+R545C0 R545C1 R545C2 R545C3 R545C4 R545C5 R545C6 R545C7 R545C8\n\n+R546C0 R546C1 R546C2 R546C3 R546C4 R546C5 R546C6 R546C7 R546C8\n\n+R547C0 R547C1 R547C2 R547C3 R547C4 R547C5 R547C6 R547C7 R547C8\n\n+R548C0 R548C1 R548C2 R548C3 R548C4 R548C5 R548C6 R548C7 R548C8\n\n+R549C0 R549C1 R549C2 R549C3 R549C4 R549C5 R549C6 R549C7 R549C8\n\n+R550C0 R550C1 R550C2 R550C3 R550C4 R550C5 R550C6 R550C7 R550C8\n\n+R551C0 R551C1 R551C2 R551C3 R551C4 R551C5 R551C6 R551C7 R551C8\n\n+R552C0 R552C1 R552C2 R552C3 R552C4 R552C5 R552C6 R552C7 R552C8\n\n+R553C0 R553C1 R553C2 R553C3 R553C4 R553C5 R553C6 R553C7 R553C8\n\n+R554C0 R554C1 R554C2 R554C3 R554C4 R554C5 R554C6 R554C7 R554C8\n\n+R555C0 R555C1 R555C2 R555C3 R555C4 R555C5 R555C6 R555C7 R555C8\n\n+R556C0 R556C1 R556C2 R556C3 R556C4 R556C5 R556C6 R556C7 R556C8\n\n+R557C0 R557C1 R557C2 R557C3 R557C4 R557C5 R557C6 R557C7 R557C8\n\n+R558C0 R558C1 R558C2 R558C3 R558C4 R558C5 R558C6 R558C7 R558C8\n\n+R559C0 R559C1 R559C2 R559C3 R559C4 R559C5 R559C6 R559C7 R559C8\n\n+R560C0 R560C1 R560C2 R560C3 R560C4 R560C5 R560C6 R560C7 R560C8\n\n+R561C0 R561C1 R561C2 R561C3 R561C4 R561C5 R561C6 R561C7 R561C8\n\n+R562C0 R562C1 R562C2 R562C3 R562C4 R562C5 R562C6 R562C7 R562C8\n\n+R563C0 R563C1 R563C2 R563C3 R563C4 R563C5 R563C6 R563C7 R563C8\n\n+R564C0 R564C1 R564C2 R564C3 R564C4 R564C5 R564C6 R564C7 R564C8\n\n+R565C0 R565C1 R565C2 R565C3 R565C4 R565C5 R565C6 R565C7 R565C8\n\n+R566C0 R566C1 R566C2 R566C3 R566C4 R566C5 R566C6 R566C7 R566C8\n\n+R567C0 R567C1 R567C2 R567C3 R567C4 R567C5 R567C6 R567C7 R567C8\n\n+R568C0 R568C1 R568C2 R568C3 R568C4 R568C5 R568C6 R568C7 R568C8\n\n+R569C0 R569C1 R569C2 R569C3 R569C4 R569C5 R569C6 R569C7 R569C8\n\n+R570C0 R570C1 R570C2 R570C3 R570C4 R570C5 R570C6 R570C7 R570C8\n\n+R571C0 R571C1 R571C2 R571C3 R571C4 R571C5 R571C6 R571C7 R571C8\n\n+R572C0 R572C1 R572C2 R572C3 R572C4 R572C5 R572C6 R572C7 R572C8\n\n+R573C0 R573C1 R573C2 R573C3 R573C4 R573C5 R573C6 R573C7 R573C8\n\n+R574C0 R574C1 R574C2 R574C3 R574C4 R574C5 R574C6 R574C7 R574C8\n\n+---PAGE---\n\n+R575C0 R575C1 R575C2 R575C3 R575C4 R575C5 R575C6 R575C7 R575C8\n\n+R576C0 R576C1 R576C2 R576C3 R576C4 R576C5 R576C6 R576C7 R576C8\n\n+R577C0 R577C1 R577C2 R577C3 R577C4 R577C5 R577C6 R577C7 R577C8\n\n+R578C0 R578C1 R578C2 R578C3 R578C4 R578C5 R578C6 R578C7 R578C8\n\n+R579C0 R579C1 R579C2 R579C3 R579C4 R579C5 R579C6 R579C7 R579C8\n\n+R580C0 R580C1 R580C2 R580C3 R580C4 R580C5 R580C6 R580C7 R580C8\n\n+R581C0 R581C1 R581C2 R581C3 R581C4 R581C5 R581C6 R581C7 R581C8\n\n+R582C0 R582C1 R582C2 R582C3 R582C4 R582C5 R582C6 R582C7 R582C8\n\n+R583C0 R583C1 R583C2 R583C3 R583C4 R583C5 R583C6 R583C7 R583C8\n\n+R584C0 R584C1 R584C2 R584C3 R584C4 R584C5 R584C6 R584C7 R584C8\n\n+R585C0 R585C1 R585C2 R585C3 R585C4 R585C5 R585C6 R585C7 R585C8\n\n+R586C0 R586C1 R586C2 R586C3 R586C4 R586C5 R586C6 R586C7 R586C8\n\n+R587C0 R587C1 R587C2 R587C3 R587C4 R587C5 R587C6 R587C7 R587C8\n\n+R588C0 R588C1 R588C2 R588C3 R588C4 R588C5 R588C6 R588C7 R588C8\n\n+R589C0 R589C1 R589C2 R589C3 R589C4 R589C5 R589C6 R589C7 R589C8\n\n+R590C0 R590C1 R590C2 R590C3 R590C4 R590C5 R590C6 R590C7 R590C8\n\n+R591C0 R591C1 R591C2 R591C3 R591C4 R591C5 R591C6 R591C7 R591C8\n\n+R592C0 R592C1 R592C2 R592C3 R592C4 R592C5 R592C6 R592C7 R592C8\n\n+R593C0 R593C1 R593C2 R593C3 R593C4 R593C5 R593C6 R593C7 R593C8\n\n+R594C0 R594C1 R594C2 R594C3 R594C4 R594C5 R594C6 R594C7 R594C8\n\n+R595C0 R595C1 R595C2 R595C3 R595C4 R595C5 R595C6 R595C7 R595C8\n\n+R596C0 R596C1 R596C2 R596C3 R596C4 R596C5 R596C6 R596C7 R596C8\n\n+R597C0 R597C1 R597C2 R597C3 R597C4 R597C5 R597C6 R597C7 R597C8\n\n+R598C0 R598C1 R598C2 R598C3 R598C4 R598C5 R598C6 R598C7 R598C8\n\n+R599C0 R599C1 R599C2 R599C3 R599C4 R599C5 R599C6 R599C7 R599C8\n\n+R600C0 R600C1 R600C2 R600C3 R600C4 R600C5 R600C6 R600C7 R600C8\n\n+R601C0 R601C1 R601C2 R601C3 R601C4 R601C5 R601C6 R601C7 R601C8\n\n+R602C0 R602C1 R602C2 R602C3 R602C4 R602C5 R602C6 R602C7 R602C8\n\n+R603C0 R603C1 R603C2 R603C3 R603C4 R603C5 R603C6 R603C7 R603C8\n\n+R604C0 R604C1 R604C2 R604C3 R604C4 R604C5 R604C6 R604C7 R604C8\n\n+R605C0 R605C1 R605C2 R605C3 R605C4 R605C5 R605C6 R605C7 R605C8\n\n+R606C0 R606C1 R606C2 R606C3 R606C4 R606C5 R606C6 R606C7 R606C8\n\n+R607C0 R607C1 R607C2 R607C3 R607C4 R607C5 R607C6 R607C7 R607C8\n\n+R608C0 R608C1 R608C2 R608C3 R608C4 R608C5 R608C6 R608C7 R608C8\n\n+R609C0 R609C1 R609C2 R609C3 R609C4 R609C5 R609C6 R609C7 R609C8\n\n+R610C0 R610C1 R610C2 R610C3 R610C4 R610C5 R610C6 R610C7 R610C8\n\n+R611C0 R611C1 R611C2 R611C3 R611C4 R611C5 R611C6 R611C7 R611C8\n\n+R612C0 R612C1 R612C2 R612C3 R612C4 R612C5 R612C6 R612C7 R612C8\n\n+R613C0 R613C1 R613C2 R613C3 R613C4 R613C5 R613C6 R613C7 R613C8\n\n+R614C0 R614C1 R614C2 R614C3 R614C4 R614C5 R614C6 R614C7 R614C8\n\n+R615C0 R615C1 R615C2 R615C3 R615C4 R615C5 R615C6 R615C7 R615C8\n\n+R616C0 R616C1 R616C2 R616C3 R616C4 R616C5 R616C6 R616C7 R616C8\n\n+R617C0 R617C1 R617C2 R617C3 R617C4 R617C5 R617C6 R617C7 R617C8\n\n+R618C0 R618C1 R618C2 R618C3 R618C4 R618C5 R618C6 R618C7 R618C8\n\n+R619C0 R619C1 R619C2 R619C3 R619C4 R619C5 R619C6 R619C7 R619C8\n\n+R620C0 R620C1 R620C2 R620C3 R620C4 R620C5 R620C6 R620C7 R620C8\n\n+R621C0 R621C1 R621C2 R621C3 R621C4 R621C5 R621C6 R621C7 R621C8\n\n+R622C0 R622C1 R622C2 R622C3 R622C4 R622C5 R622C6 R622C7 R622C8\n\n+---PAGE---\n\n+R623C0 R623C1 R623C2 R623C3 R623C4 R623C5 R623C6 R623C7 R623C8\n\n+R624C0 R624C1 R624C2 R624C3 R624C4 R624C5 R624C6 R624C7 R624C8\n\n+R625C0 R625C1 R625C2 R625C3 R625C4 R625C5 R625C6 R625C7 R625C8\n\n+R626C0 R626C1 R626C2 R626C3 R626C4 R626C5 R626C6 R626C7 R626C8\n\n+R627C0 R627C1 R627C2 R627C3 R627C4 R627C5 R627C6 R627C7 R627C8\n\n+R628C0 R628C1 R628C2 R628C3 R628C4 R628C5 R628C6 R628C7 R628C8\n\n+R629C0 R629C1 R629C2 R629C3 R629C4 R629C5 R629C6 R629C7 R629C8\n\n+R630C0 R630C1 R630C2 R630C3 R630C4 R630C5 R630C6 R630C7 R630C8\n\n+R631C0 R631C1 R631C2 R631C3 R631C4 R631C5 R631C6 R631C7 R631C8\n\n+R632C0 R632C1 R632C2 R632C3 R632C4 R632C5 R632C6 R632C7 R632C8\n\n+R633C0 R633C1 R633C2 R633C3 R633C4 R633C5 R633C6 R633C7 R633C8\n\n+R634C0 R634C1 R634C2 R634C3 R634C4 R634C5 R634C6 R634C7 R634C8\n\n+R635C0 R635C1 R635C2 R635C3 R635C4 R635C5 R635C6 R635C7 R635C8\n\n+R636C0 R636C1 R636C2 R636C3 R636C4 R636C5 R636C6 R636C7 R636C8\n\n+R637C0 R637C1 R637C2 R637C3 R637C4 R637C5 R637C6 R637C7 R637C8\n\n+R638C0 R638C1 R638C2 R638C3 R638C4 R638C5 R638C6 R638C7 R638C8\n\n+R639C0 R639C1 R639C2 R639C3 R639C4 R639C5 R639C6 R639C7 R639C8\n\n+R640C0 R640C1 R640C2 R640C3 R640C4 R640C5 R640C6 R640C7 R640C8\n\n+R641C0 R641C1 R641C2 R641C3 R641C4 R641C5 R641C6 R641C7 R641C8\n\n+R642C0 R642C1 R642C2 R642C3 R642C4 R642C5 R642C6 R642C7 R642C8\n\n+R643C0 R643C1 R643C2 R643C3 R643C4 R643C5 R643C6 R643C7 R643C8\n\n+R644C0 R644C1 R644C2 R644C3 R644C4 R644C5 R644C6 R644C7 R644C8\n\n+R645C0 R645C1 R645C2 R645C3 R645C4 R645C5 R645C6 R645C7 R645C8\n\n+R646C0 R646C1 R646C2 R646C3 R646C4 R646C5 R646C6 R646C7 R646C8\n\n+R647C0 R647C1 R647C2 R647C3 R647C4 R647C5 R647C6 R647C7 R647C8\n\n+R648C0 R648C1 R648C2 R648C3 R648C4 R648C5 R648C6 R648C7 R648C8\n\n+R649C0 R649C1 R649C2 R649C3 R649C4 R649C5 R649C6 R649C7 R649C8\n\n+R650C0 R650C1 R650C2 R650C3 R650C4 R650C5 R650C6 R650C7 R650C8\n\n+R651C0 R651C1 R651C2 R651C3 R651C4 R651C5 R651C6 R651C7 R651C8\n\n+R652C0 R652C1 R652C2 R652C3 R652C4 R652C5 R652C6 R652C7 R652C8\n\n+R653C0 R653C1 R653C2 R653C3 R653C4 R653C5 R653C6 R653C7 R653C8\n\n+R654C0 R654C1 R654C2 R654C3 R654C4 R654C5 R654C6 R654C7 R654C8\n\n+R655C0 R655C1 R655C2 R655C3 R655C4 R655C5 R655C6 R655C7 R655C8\n\n+R656C0 R656C1 R656C2 R656C3 R656C4 R656C5 R656C6 R656C7 R656C8\n\n+R657C0 R657C1 R657C2 R657C3 R657C4 R657C5 R657C6 R657C7 R657C8\n\n+R658C0 R658C1 R658C2 R658C3 R658C4 R658C5 R658C6 R658C7 R658C8\n\n+R659C0 R659C1 R659C2 R659C3 R659C4 R659C5 R659C6 R659C7 R659C8\n\n+R660C0 R660C1 R660C2 R660C3 R660C4 R660C5 R660C6 R660C7 R660C8\n\n+R661C0 R661C1 R661C2 R661C3 R661C4 R661C5 R661C6 R661C7 R661C8\n\n+R662C0 R662C1 R662C2 R662C3 R662C4 R662C5 R662C6 R662C7 R662C8\n\n+R663C0 R663C1 R663C2 R663C3 R663C4 R663C5 R663C6 R663C7 R663C8\n\n+R664C0 R664C1 R664C2 R664C3 R664C4 R664C5 R664C6 R664C7 R664C8\n\n+R665C0 R665C1 R665C2 R665C3 R665C4 R665C5 R665C6 R665C7 R665C8\n\n+R666C0 R666C1 R666C2 R666C3 R666C4 R666C5 R666C6 R666C7 R666C8\n\n+R667C0 R667C1 R667C2 R667C3 R667C4 R667C5 R667C6 R667C7 R667C8\n\n+R668C0 R668C1 R668C2 R668C3 R668C4 R668C5 R668C6 R668C7 R668C8\n\n+R669C0 R669C1 R669C2 R669C3 R669C4 R669C5 R669C6 R669C7 R669C8\n\n+R670C0 R670C1 R670C2 R670C3 R670C4 R670C5 R670C6 R670C7 R670C8\n\n+---PAGE---\n\n+R671C0 R671C1 R671C2 R671C3 R671C4 R671C5 R671C6 R671C7 R671C8\n\n+R672C0 R672C1 R672C2 R672C3 R672C4 R672C5 R672C6 R672C7 R672C8\n\n+R673C0 R673C1 R673C2 R673C3 R673C4 R673C5 R673C6 R673C7 R673C8\n\n+R674C0 R674C1 R674C2 R674C3 R674C4 R674C5 R674C6 R674C7 R674C8\n\n+R675C0 R675C1 R675C2 R675C3 R675C4 R675C5 R675C6 R675C7 R675C8\n\n+R676C0 R676C1 R676C2 R676C3 R676C4 R676C5 R676C6 R676C7 R676C8\n\n+R677C0 R677C1 R677C2 R677C3 R677C4 R677C5 R677C6 R677C7 R677C8\n\n+R678C0 R678C1 R678C2 R678C3 R678C4 R678C5 R678C6 R678C7 R678C8\n\n+R679C0 R679C1 R679C2 R679C3 R679C4 R679C5 R679C6 R679C7 R679C8\n\n+R680C0 R680C1 R680C2 R680C3 R680C4 R680C5 R680C6 R680C7 R680C8\n\n+R681C0 R681C1 R681C2 R681C3 R681C4 R681C5 R681C6 R681C7 R681C8\n\n+R682C0 R682C1 R682C2 R682C3 R682C4 R682C5 R682C6 R682C7 R682C8\n\n+R683C0 R683C1 R683C2 R683C3 R683C4 R683C5 R683C6 R683C7 R683C8\n\n+R684C0 R684C1 R684C2 R684C3 R684C4 R684C5 R684C6 R684C7 R684C8\n\n+R685C0 R685C1 R685C2 R685C3 R685C4 R685C5 R685C6 R685C7 R685C8\n\n+R686C0 R686C1 R686C2 R686C3 R686C4 R686C5 R686C6 R686C7 R686C8\n\n+R687C0 R687C1 R687C2 R687C3 R687C4 R687C5 R687C6 R687C7 R687C8\n\n+R688C0 R688C1 R688C2 R688C3 R688C4 R688C5 R688C6 R688C7 R688C8\n\n+R689C0 R689C1 R689C2 R689C3 R689C4 R689C5 R689C6 R689C7 R689C8\n\n+R690C0 R690C1 R690C2 R690C3 R690C4 R690C5 R690C6 R690C7 R690C8\n\n+R691C0 R691C1 R691C2 R691C3 R691C4 R691C5 R691C6 R691C7 R691C8\n\n+R692C0 R692C1 R692C2 R692C3 R692C4 R692C5 R692C6 R692C7 R692C8\n\n+R693C0 R693C1 R693C2 R693C3 R693C4 R693C5 R693C6 R693C7 R693C8\n\n+R694C0 R694C1 R694C2 R694C3 R694C4 R694C5 R694C6 R694C7 R694C8\n\n+R695C0 R695C1 R695C2 R695C3 R695C4 R695C5 R695C6 R695C7 R695C8\n\n+R696C0 R696C1 R696C2 R696C3 R696C4 R696C5 R696C6 R696C7 R696C8\n\n+R697C0 R697C1 R697C2 R697C3 R697C4 R697C5 R697C6 R697C7 R697C8\n\n+R698C0 R698C1 R698C2 R698C3 R698C4 R698C5 R698C6 R698C7 R698C8\n\n+R699C0 R699C1 R699C2 R699C3 R699C4 R699C5 R699C6 R699C7 R699C8\n\n+R700C0 R700C1 R700C2 R700C3 R700C4 R700C5 R700C6 R700C7 R700C8\n\n+R701C0 R701C1 R701C2 R701C3 R701C4 R701C5 R701C6 R701C7 R701C8\n\n+R702C0 R702C1 R702C2 R702C3 R702C4 R702C5 R702C6 R702C7 R702C8\n\n+R703C0 R703C1 R703C2 R703C3 R703C4 R703C5 R703C6 R703C7 R703C8\n\n+R704C0 R704C1 R704C2 R704C3 R704C4 R704C5 R704C6 R704C7 R704C8\n\n+R705C0 R705C1 R705C2 R705C3 R705C4 R705C5 R705C6 R705C7 R705C8\n\n+R706C0 R706C1 R706C2 R706C3 R706C4 R706C5 R706C6 R706C7 R706C8\n\n+R707C0 R707C1 R707C2 R707C3 R707C4 R707C5 R707C6 R707C7 R707C8\n\n+R708C0 R708C1 R708C2 R708C3 R708C4 R708C5 R708C6 R708C7 R708C8\n\n+R709C0 R709C1 R709C2 R709C3 R709C4 R709C5 R709C6 R709C7 R709C8\n\n+R710C0 R710C1 R710C2 R710C3 R710C4 R710C5 R710C6 R710C7 R710C8\n\n+R711C0 R711C1 R711C2 R711C3 R711C4 R711C5 R711C6 R711C7 R711C8\n\n+R712C0 R712C1 R712C2 R712C3 R712C4 R712C5 R712C6 R712C7 R712C8\n\n+R713C0 R713C1 R713C2 R713C3 R713C4 R713C5 R713C6 R713C7 R713C8\n\n+R714C0 R714C1 R714C2 R714C3 R714C4 R714C5 R714C6 R714C7 R714C8\n\n+R715C0 R715C1 R715C2 R715C3 R715C4 R715C5 R715C6 R715C7 R715C8\n\n+R716C0 R716C1 R716C2 R716C3 R716C4 R716C5 R716C6 R716C7 R716C8\n\n+R717C0 R717C1 R717C2 R717C3 R717C4 R717C5 R717C6 R717C7 R717C8\n\n+R718C0 R718C1 R718C2 R718C3 R718C4 R718C5 R718C6 R718C7 R718C8\n\n+---PAGE---\n\n+R719C0 R719C1 R719C2 R719C3 R719C4 R719C5 R719C6 R719C7 R719C8\n\n+R720C0 R720C1 R720C2 R720C3 R720C4 R720C5 R720C6 R720C7 R720C8\n\n+R721C0 R721C1 R721C2 R721C3 R721C4 R721C5 R721C6 R721C7 R721C8\n\n+R722C0 R722C1 R722C2 R722C3 R722C4 R722C5 R722C6 R722C7 R722C8\n\n+R723C0 R723C1 R723C2 R723C3 R723C4 R723C5 R723C6 R723C7 R723C8\n\n+R724C0 R724C1 R724C2 R724C3 R724C4 R724C5 R724C6 R724C7 R724C8\n\n+R725C0 R725C1 R725C2 R725C3 R725C4 R725C5 R725C6 R725C7 R725C8\n\n+R726C0 R726C1 R726C2 R726C3 R726C4 R726C5 R726C6 R726C7 R726C8\n\n+R727C0 R727C1 R727C2 R727C3 R727C4 R727C5 R727C6 R727C7 R727C8\n\n+R728C0 R728C1 R728C2 R728C3 R728C4 R728C5 R728C6 R728C7 R728C8\n\n+R729C0 R729C1 R729C2 R729C3 R729C4 R729C5 R729C6 R729C7 R729C8\n\n+R730C0 R730C1 R730C2 R730C3 R730C4 R730C5 R730C6 R730C7 R730C8\n\n+R731C0 R731C1 R731C2 R731C3 R731C4 R731C5 R731C6 R731C7 R731C8\n\n+R732C0 R732C1 R732C2 R732C3 R732C4 R732C5 R732C6 R732C7 R732C8\n\n+R733C0 R733C1 R733C2 R733C3 R733C4 R733C5 R733C6 R733C7 R733C8\n\n+R734C0 R734C1 R734C2 R734C3 R734C4 R734C5 R734C6 R734C7 R734C8\n\n+R735C0 R735C1 R735C2 R735C3 R735C4 R735C5 R735C6 R735C7 R735C8\n\n+R736C0 R736C1 R736C2 R736C3 R736C4 R736C5 R736C6 R736C7 R736C8\n\n+R737C0 R737C1 R737C2 R737C3 R737C4 R737C5 R737C6 R737C7 R737C8\n\n+R738C0 R738C1 R738C2 R738C3 R738C4 R738C5 R738C6 R738C7 R738C8\n\n+R739C0 R739C1 R739C2 R739C3 R739C4 R739C5 R739C6 R739C7 R739C8\n\n+R740C0 R740C1 R740C2 R740C3 R740C4 R740C5 R740C6 R740C7 R740C8\n\n+R741C0 R741C1 R741C2 R741C3 R741C4 R741C5 R741C6 R741C7 R741C8\n\n+R742C0 R742C1 R742C2 R742C3 R742C4 R742C5 R742C6 R742C7 R742C8\n\n+R743C0 R743C1 R743C2 R743C3 R743C4 R743C5 R743C6 R743C7 R743C8\n\n+R744C0 R744C1 R744C2 R744C3 R744C4 R744C5 R744C6 R744C7 R744C8\n\n+R745C0 R745C1 R745C2 R745C3 R745C4 R745C5 R745C6 R745C7 R745C8\n\n+R746C0 R746C1 R746C2 R746C3 R746C4 R746C5 R746C6 R746C7 R746C8\n\n+R747C0 R747C1 R747C2 R747C3 R747C4 R747C5 R747C6 R747C7 R747C8\n\n+R748C0 R748C1 R748C2 R748C3 R748C4 R748C5 R748C6 R748C7 R748C8\n\n+R749C0 R749C1 R749C2 R749C3 R749C4 R749C5 R749C6 R749C7 R749C8\n\n+R750C0 R750C1 R750C2 R750C3 R750C4 R750C5 R750C6 R750C7 R750C8\n\n+R751C0 R751C1 R751C2 R751C3 R751C4 R751C5 R751C6 R751C7 R751C8\n\n+R752C0 R752C1 R752C2 R752C3 R752C4 R752C5 R752C6 R752C7 R752C8\n\n+R753C0 R753C1 R753C2 R753C3 R753C4 R753C5 R753C6 R753C7 R753C8\n\n+R754C0 R754C1 R754C2 R754C3 R754C4 R754C5 R754C6 R754C7 R754C8\n\n+R755C0 R755C1 R755C2 R755C3 R755C4 R755C5 R755C6 R755C7 R755C8\n\n+R756C0 R756C1 R756C2 R756C3 R756C4 R756C5 R756C6 R756C7 R756C8\n\n+R757C0 R757C1 R757C2 R757C3 R757C4 R757C5 R757C6 R757C7 R757C8\n\n+R758C0 R758C1 R758C2 R758C3 R758C4 R758C5 R758C6 R758C7 R758C8\n\n+R759C0 R759C1 R759C2 R759C3 R759C4 R759C5 R759C6 R759C7 R759C8\n\n+R760C0 R760C1 R760C2 R760C3 R760C4 R760C5 R760C6 R760C7 R760C8\n\n+R761C0 R761C1 R761C2 R761C3 R761C4 R761C5 R761C6 R761C7 R761C8\n\n+R762C0 R762C1 R762C2 R762C3 R762C4 R762C5 R762C6 R762C7 R762C8\n\n+R763C0 R763C1 R763C2 R763C3 R763C4 R763C5 R763C6 R763C7 R763C8\n\n+R764C0 R764C1 R764C2 R764C3 R764C4 R764C5 R764C6 R764C7 R764C8\n\n+R765C0 R765C1 R765C2 R765C3 R765C4 R765C5 R765C6 R765C7 R765C8\n\n+R766C0 R766C1 R766C2 R766C3 R766C4 R766C5 R766C6 R766C7 R766C8\n\n+---PAGE---\n\n+R767C0 R767C1 R767C2 R767C3 R767C4 R767C5 R767C6 R767C7 R767C8\n\n+R768C0 R768C1 R768C2 R768C3 R768C4 R768C5 R768C6 R768C7 R768C8\n\n+R769C0 R769C1 R769C2 R769C3 R769C4 R769C5 R769C6 R769C7 R769C8\n\n+R770C0 R770C1 R770C2 R770C3 R770C4 R770C5 R770C6 R770C7 R770C8\n\n+R771C0 R771C1 R771C2 R771C3 R771C4 R771C5 R771C6 R771C7 R771C8\n\n+R772C0 R772C1 R772C2 R772C3 R772C4 R772C5 R772C6 R772C7 R772C8\n\n+R773C0 R773C1 R773C2 R773C3 R773C4 R773C5 R773C6 R773C7 R773C8\n\n+R774C0 R774C1 R774C2 R774C3 R774C4 R774C5 R774C6 R774C7 R774C8\n\n+R775C0 R775C1 R775C2 R775C3 R775C4 R775C5 R775C6 R775C7 R775C8\n\n+R776C0 R776C1 R776C2 R776C3 R776C4 R776C5 R776C6 R776C7 R776C8\n\n+R777C0 R777C1 R777C2 R777C3 R777C4 R777C5 R777C6 R777C7 R777C8\n\n+R778C0 R778C1 R778C2 R778C3 R778C4 R778C5 R778C6 R778C7 R778C8\n\n+R779C0 R779C1 R779C2 R779C3 R779C4 R779C5 R779C6 R779C7 R779C8\n\n+R780C0 R780C1 R780C2 R780C3 R780C4 R780C5 R780C6 R780C7 R780C8\n\n+R781C0 R781C1 R781C2 R781C3 R781C4 R781C5 R781C6 R781C7 R781C8\n\n+R782C0 R782C1 R782C2 R782C3 R782C4 R782C5 R782C6 R782C7 R782C8\n\n+R783C0 R783C1 R783C2 R783C3 R783C4 R783C5 R783C6 R783C7 R783C8\n\n+R784C0 R784C1 R784C2 R784C3 R784C4 R784C5 R784C6 R784C7 R784C8\n\n+R785C0 R785C1 R785C2 R785C3 R785C4 R785C5 R785C6 R785C7 R785C8\n\n+R786C0 R786C1 R786C2 R786C3 R786C4 R786C5 R786C6 R786C7 R786C8\n\n+R787C0 R787C1 R787C2 R787C3 R787C4 R787C5 R787C6 R787C7 R787C8\n\n+R788C0 R788C1 R788C2 R788C3 R788C4 R788C5 R788C6 R788C7 R788C8\n\n+R789C0 R789C1 R789C2 R789C3 R789C4 R789C5 R789C6 R789C7 R789C8\n\n+R790C0 R790C1 R790C2 R790C3 R790C4 R790C5 R790C6 R790C7 R790C8\n\n+R791C0 R791C1 R791C2 R791C3 R791C4 R791C5 R791C6 R791C7 R791C8\n\n+R792C0 R792C1 R792C2 R792C3 R792C4 R792C5 R792C6 R792C7 R792C8\n\n+R793C0 R793C1 R793C2 R793C3 R793C4 R793C5 R793C6 R793C7 R793C8\n\n+R794C0 R794C1 R794C2 R794C3 R794C4 R794C5 R794C6 R794C7 R794C8\n\n+R795C0 R795C1 R795C2 R795C3 R795C4 R795C5 R795C6 R795C7 R795C8\n\n+R796C0 R796C1 R796C2 R796C3 R796C4 R796C5 R796C6 R796C7 R796C8\n\n+R797C0 R797C1 R797C2 R797C3 R797C4 R797C5 R797C6 R797C7 R797C8\n\n+R798C0 R798C1 R798C2 R798C3 R798C4 R798C5 R798C6 R798C7 R798C8\n\n+R799C0 R799C1 R799C2 R799C3 R799C4 R799C5 R799C6 R799C7 R799C8\n\n+R800C0 R800C1 R800C2 R800C3 R800C4 R800C5 R800C6 R800C7 R800C8\n\n+R801C0 R801C1 R801C2 R801C3 R801C4 R801C5 R801C6 R801C7 R801C8\n\n+R802C0 R802C1 R802C2 R802C3 R802C4 R802C5 R802C6 R802C7 R802C8\n\n+R803C0 R803C1 R803C2 R803C3 R803C4 R803C5 R803C6 R803C7 R803C8\n\n+R804C0 R804C1 R804C2 R804C3 R804C4 R804C5 R804C6 R804C7 R804C8\n\n+R805C0 R805C1 R805C2 R805C3 R805C4 R805C5 R805C6 R805C7 R805C8\n\n+R806C0 R806C1 R806C2 R806C3 R806C4 R806C5 R806C6 R806C7 R806C8\n\n+R807C0 R807C1 R807C2 R807C3 R807C4 R807C5 R807C6 R807C7 R807C8\n\n+R808C0 R808C1 R808C2 R808C3 R808C4 R808C5 R808C6 R808C7 R808C8\n\n+R809C0 R809C1 R809C2 R809C3 R809C4 R809C5 R809C6 R809C7 R809C8\n\n+R810C0 R810C1 R810C2 R810C3 R810C4 R810C5 R810C6 R810C7 R810C8\n\n+R811C0 R811C1 R811C2 R811C3 R811C4 R811C5 R811C6 R811C7 R811C8\n\n+R812C0 R812C1 R812C2 R812C3 R812C4 R812C5 R812C6 R812C7 R812C8\n\n+R813C0 R813C1 R813C2 R813C3 R813C4 R813C5 R813C6 R813C7 R813C8\n\n+R814C0 R814C1 R814C2 R814C3 R814C4 R814C5 R814C6 R814C7 R814C8\n\n+---PAGE---\n\n+R815C0 R815C1 R815C2 R815C3 R815C4 R815C5 R815C6 R815C7 R815C8\n\n+R816C0 R816C1 R816C2 R816C3 R816C4 R816C5 R816C6 R816C7 R816C8\n\n+R817C0 R817C1 R817C2 R817C3 R817C4 R817C5 R817C6 R817C7 R817C8\n\n+R818C0 R818C1 R818C2 R818C3 R818C4 R818C5 R818C6 R818C7 R818C8\n\n+R819C0 R819C1 R819C2 R819C3 R819C4 R819C5 R819C6 R819C7 R819C8\n\n+R820C0 R820C1 R820C2 R820C3 R820C4 R820C5 R820C6 R820C7 R820C8\n\n+R821C0 R821C1 R821C2 R821C3 R821C4 R821C5 R821C6 R821C7 R821C8\n\n+R822C0 R822C1 R822C2 R822C3 R822C4 R822C5 R822C6 R822C7 R822C8\n\n+R823C0 R823C1 R823C2 R823C3 R823C4 R823C5 R823C6 R823C7 R823C8\n\n+R824C0 R824C1 R824C2 R824C3 R824C4 R824C5 R824C6 R824C7 R824C8\n\n+R825C0 R825C1 R825C2 R825C3 R825C4 R825C5 R825C6 R825C7 R825C8\n\n+R826C0 R826C1 R826C2 R826C3 R826C4 R826C5 R826C6 R826C7 R826C8\n\n+R827C0 R827C1 R827C2 R827C3 R827C4 R827C5 R827C6 R827C7 R827C8\n\n+R828C0 R828C1 R828C2 R828C3 R828C4 R828C5 R828C6 R828C7 R828C8\n\n+R829C0 R829C1 R829C2 R829C3 R829C4 R829C5 R829C6 R829C7 R829C8\n\n+R830C0 R830C1 R830C2 R830C3 R830C4 R830C5 R830C6 R830C7 R830C8\n\n+R831C0 R831C1 R831C2 R831C3 R831C4 R831C5 R831C6 R831C7 R831C8\n\n+R832C0 R832C1 R832C2 R832C3 R832C4 R832C5 R832C6 R832C7 R832C8\n\n+R833C0 R833C1 R833C2 R833C3 R833C4 R833C5 R833C6 R833C7 R833C8\n\n+R834C0 R834C1 R834C2 R834C3 R834C4 R834C5 R834C6 R834C7 R834C8\n\n+R835C0 R835C1 R835C2 R835C3 R835C4 R835C5 R835C6 R835C7 R835C8\n\n+R836C0 R836C1 R836C2 R836C3 R836C4 R836C5 R836C6 R836C7 R836C8\n\n+R837C0 R837C1 R837C2 R837C3 R837C4 R837C5 R837C6 R837C7 R837C8\n\n+R838C0 R838C1 R838C2 R838C3 R838C4 R838C5 R838C6 R838C7 R838C8\n\n+R839C0 R839C1 R839C2 R839C3 R839C4 R839C5 R839C6 R839C7 R839C8\n\n+R840C0 R840C1 R840C2 R840C3 R840C4 R840C5 R840C6 R840C7 R840C8\n\n+R841C0 R841C1 R841C2 R841C3 R841C4 R841C5 R841C6 R841C7 R841C8\n\n+R842C0 R842C1 R842C2 R842C3 R842C4 R842C5 R842C6 R842C7 R842C8\n\n+R843C0 R843C1 R843C2 R843C3 R843C4 R843C5 R843C6 R843C7 R843C8\n\n+R844C0 R844C1 R844C2 R844C3 R844C4 R844C5 R844C6 R844C7 R844C8\n\n+R845C0 R845C1 R845C2 R845C3 R845C4 R845C5 R845C6 R845C7 R845C8\n\n+R846C0 R846C1 R846C2 R846C3 R846C4 R846C5 R846C6 R846C7 R846C8\n\n+R847C0 R847C1 R847C2 R847C3 R847C4 R847C5 R847C6 R847C7 R847C8\n\n+R848C0 R848C1 R848C2 R848C3 R848C4 R848C5 R848C6 R848C7 R848C8\n\n+R849C0 R849C1 R849C2 R849C3 R849C4 R849C5 R849C6 R849C7 R849C8\n\n+R850C0 R850C1 R850C2 R850C3 R850C4 R850C5 R850C6 R850C7 R850C8\n\n+R851C0 R851C1 R851C2 R851C3 R851C4 R851C5 R851C6 R851C7 R851C8\n\n+R852C0 R852C1 R852C2 R852C3 R852C4 R852C5 R852C6 R852C7 R852C8\n\n+R853C0 R853C1 R853C2 R853C3 R853C4 R853C5 R853C6 R853C7 R853C8\n\n+R854C0 R854C1 R854C2 R854C3 R854C4 R854C5 R854C6 R854C7 R854C8\n\n+R855C0 R855C1 R855C2 R855C3 R855C4 R855C5 R855C6 R855C7 R855C8\n\n+R856C0 R856C1 R856C2 R856C3 R856C4 R856C5 R856C6 R856C7 R856C8\n\n+R857C0 R857C1 R857C2 R857C3 R857C4 R857C5 R857C6 R857C7 R857C8\n\n+R858C0 R858C1 R858C2 R858C3 R858C4 R858C5 R858C6 R858C7 R858C8\n\n+R859C0 R859C1 R859C2 R859C3 R859C4 R859C5 R859C6 R859C7 R859C8\n\n+R860C0 R860C1 R860C2 R860C3 R860C4 R860C5 R860C6 R860C7 R860C8\n\n+R861C0 R861C1 R861C2 R861C3 R861C4 R861C5 R861C6 R861C7 R861C8\n\n+R862C0 R862C1 R862C2 R862C3 R862C4 R862C5 R862C6 R862C7 R862C8\n\n+---PAGE---\n\n+R863C0 R863C1 R863C2 R863C3 R863C4 R863C5 R863C6 R863C7 R863C8\n\n+R864C0 R864C1 R864C2 R864C3 R864C4 R864C5 R864C6 R864C7 R864C8\n\n+R865C0 R865C1 R865C2 R865C3 R865C4 R865C5 R865C6 R865C7 R865C8\n\n+R866C0 R866C1 R866C2 R866C3 R866C4 R866C5 R866C6 R866C7 R866C8\n\n+R867C0 R867C1 R867C2 R867C3 R867C4 R867C5 R867C6 R867C7 R867C8\n\n+R868C0 R868C1 R868C2 R868C3 R868C4 R868C5 R868C6 R868C7 R868C8\n\n+R869C0 R869C1 R869C2 R869C3 R869C4 R869C5 R869C6 R869C7 R869C8\n\n+R870C0 R870C1 R870C2 R870C3 R870C4 R870C5 R870C6 R870C7 R870C8\n\n+R871C0 R871C1 R871C2 R871C3 R871C4 R871C5 R871C6 R871C7 R871C8\n\n+R872C0 R872C1 R872C2 R872C3 R872C4 R872C5 R872C6 R872C7 R872C8\n\n+R873C0 R873C1 R873C2 R873C3 R873C4 R873C5 R873C6 R873C7 R873C8\n\n+R874C0 R874C1 R874C2 R874C3 R874C4 R874C5 R874C6 R874C7 R874C8\n\n+R875C0 R875C1 R875C2 R875C3 R875C4 R875C5 R875C6 R875C7 R875C8\n\n+R876C0 R876C1 R876C2 R876C3 R876C4 R876C5 R876C6 R876C7 R876C8\n\n+R877C0 R877C1 R877C2 R877C3 R877C4 R877C5 R877C6 R877C7 R877C8\n\n+R878C0 R878C1 R878C2 R878C3 R878C4 R878C5 R878C6 R878C7 R878C8\n\n+R879C0 R879C1 R879C2 R879C3 R879C4 R879C5 R879C6 R879C7 R879C8\n\n+R880C0 R880C1 R880C2 R880C3 R880C4 R880C5 R880C6 R880C7 R880C8\n\n+R881C0 R881C1 R881C2 R881C3 R881C4 R881C5 R881C6 R881C7 R881C8\n\n+R882C0 R882C1 R882C2 R882C3 R882C4 R882C5 R882C6 R882C7 R882C8\n\n+R883C0 R883C1 R883C2 R883C3 R883C4 R883C5 R883C6 R883C7 R883C8\n\n+R884C0 R884C1 R884C2 R884C3 R884C4 R884C5 R884C6 R884C7 R884C8\n\n+R885C0 R885C1 R885C2 R885C3 R885C4 R885C5 R885C6 R885C7 R885C8\n\n+R886C0 R886C1 R886C2 R886C3 R886C4 R886C5 R886C6 R886C7 R886C8\n\n+R887C0 R887C1 R887C2 R887C3 R887C4 R887C5 R887C6 R887C7 R887C8\n\n+R888C0 R888C1 R888C2 R888C3 R888C4 R888C5 R888C6 R888C7 R888C8\n\n+R889C0 R889C1 R889C2 R889C3 R889C4 R889C5 R889C6 R889C7 R889C8\n\n+R890C0 R890C1 R890C2 R890C3 R890C4 R890C5 R890C6 R890C7 R890C8\n\n+R891C0 R891C1 R891C2 R891C3 R891C4 R891C5 R891C6 R891C7 R891C8\n\n+R892C0 R892C1 R892C2 R892C3 R892C4 R892C5 R892C6 R892C7 R892C8\n\n+R893C0 R893C1 R893C2 R893C3 R893C4 R893C5 R893C6 R893C7 R893C8\n\n+R894C0 R894C1 R894C2 R894C3 R894C4 R894C5 R894C6 R894C7 R894C8\n\n+R895C0 R895C1 R895C2 R895C3 R895C4 R895C5 R895C6 R895C7 R895C8\n\n+R896C0 R896C1 R896C2 R896C3 R896C4 R896C5 R896C6 R896C7 R896C8\n\n+R897C0 R897C1 R897C2 R897C3 R897C4 R897C5 R897C6 R897C7 R897C8\n\n+R898C0 R898C1 R898C2 R898C3 R898C4 R898C5 R898C6 R898C7 R898C8\n\n+R899C0 R899C1 R899C2 R899C3 R899C4 R899C5 R899C6 R899C7 R899C8\n\n+R900C0 R900C1 R900C2 R900C3 R900C4 R900C5 R900C6 R900C7 R900C8\n\n+R901C0 R901C1 R901C2 R901C3 R901C4 R901C5 R901C6 R901C7 R901C8\n\n+R902C0 R902C1 R902C2 R902C3 R902C4 R902C5 R902C6 R902C7 R902C8\n\n+R903C0 R903C1 R903C2 R903C3 R903C4 R903C5 R903C6 R903C7 R903C8\n\n+R904C0 R904C1 R904C2 R904C3 R904C4 R904C5 R904C6 R904C7 R904C8\n\n+R905C0 R905C1 R905C2 R905C3 R905C4 R905C5 R905C6 R905C7 R905C8\n\n+R906C0 R906C1 R906C2 R906C3 R906C4 R906C5 R906C6 R906C7 R906C8\n\n+R907C0 R907C1 R907C2 R907C3 R907C4 R907C5 R907C6 R907C7 R907C8\n\n+R908C0 R908C1 R908C2 R908C3 R908C4 R908C5 R908C6 R908C7 R908C8\n\n+R909C0 R909C1 R909C2 R909C3 R909C4 R909C5 R909C6 R909C7 R909C8\n\n+R910C0 R910C1 R910C2 R910C3 R910C4 R910C5 R910C6 R910C7 R910C8\n\n+---PAGE---\n\n+R911C0 R911C1 R911C2 R911C3 R911C4 R911C5 R911C6 R911C7 R911C8\n\n+R912C0 R912C1 R912C2 R912C3 R912C4 R912C5 R912C6 R912C7 R912C8\n\n+R913C0 R913C1 R913C2 R913C3 R913C4 R913C5 R913C6 R913C7 R913C8\n\n+R914C0 R914C1 R914C2 R914C3 R914C4 R914C5 R914C6 R914C7 R914C8\n\n+R915C0 R915C1 R915C2 R915C3 R915C4 R915C5 R915C6 R915C7 R915C8\n\n+R916C0 R916C1 R916C2 R916C3 R916C4 R916C5 R916C6 R916C7 R916C8\n\n+R917C0 R917C1 R917C2 R917C3 R917C4 R917C5 R917C6 R917C7 R917C8\n\n+R918C0 R918C1 R918C2 R918C3 R918C4 R918C5 R918C6 R918C7 R918C8\n\n+R919C0 R919C1 R919C2 R919C3 R919C4 R919C5 R919C6 R919C7 R919C8\n\n+R920C0 R920C1 R920C2 R920C3 R920C4 R920C5 R920C6 R920C7 R920C8\n\n+R921C0 R921C1 R921C2 R921C3 R921C4 R921C5 R921C6 R921C7 R921C8\n\n+R922C0 R922C1 R922C2 R922C3 R922C4 R922C5 R922C6 R922C7 R922C8\n\n+R923C0 R923C1 R923C2 R923C3 R923C4 R923C5 R923C6 R923C7 R923C8\n\n+R924C0 R924C1 R924C2 R924C3 R924C4 R924C5 R924C6 R924C7 R924C8\n\n+R925C0 R925C1 R925C2 R925C3 R925C4 R925C5 R925C6 R925C7 R925C8\n\n+R926C0 R926C1 R926C2 R926C3 R926C4 R926C5 R926C6 R926C7 R926C8\n\n+R927C0 R927C1 R927C2 R927C3 R927C4 R927C5 R927C6 R927C7 R927C8\n\n+R928C0 R928C1 R928C2 R928C3 R928C4 R928C5 R928C6 R928C7 R928C8\n\n+R929C0 R929C1 R929C2 R929C3 R929C4 R929C5 R929C6 R929C7 R929C8\n\n+R930C0 R930C1 R930C2 R930C3 R930C4 R930C5 R930C6 R930C7 R930C8\n\n+R931C0 R931C1 R931C2 R931C3 R931C4 R931C5 R931C6 R931C7 R931C8\n\n+R932C0 R932C1 R932C2 R932C3 R932C4 R932C5 R932C6 R932C7 R932C8\n\n+R933C0 R933C1 R933C2 R933C3 R933C4 R933C5 R933C6 R933C7 R933C8\n\n+R934C0 R934C1 R934C2 R934C3 R934C4 R934C5 R934C6 R934C7 R934C8\n\n+R935C0 R935C1 R935C2 R935C3 R935C4 R935C5 R935C6 R935C7 R935C8\n\n+R936C0 R936C1 R936C2 R936C3 R936C4 R936C5 R936C6 R936C7 R936C8\n\n+R937C0 R937C1 R937C2 R937C3 R937C4 R937C5 R937C6 R937C7 R937C8\n\n+R938C0 R938C1 R938C2 R938C3 R938C4 R938C5 R938C6 R938C7 R938C8\n\n+R939C0 R939C1 R939C2 R939C3 R939C4 R939C5 R939C6 R939C7 R939C8\n\n+R940C0 R940C1 R940C2 R940C3 R940C4 R940C5 R940C6 R940C7 R940C8\n\n+R941C0 R941C1 R941C2 R941C3 R941C4 R941C5 R941C6 R941C7 R941C8\n\n+R942C0 R942C1 R942C2 R942C3 R942C4 R942C5 R942C6 R942C7 R942C8\n\n+R943C0 R943C1 R943C2 R943C3 R943C4 R943C5 R943C6 R943C7 R943C8\n\n+R944C0 R944C1 R944C2 R944C3 R944C4 R944C5 R944C6 R944C7 R944C8\n\n+R945C0 R945C1 R945C2 R945C3 R945C4 R945C5 R945C6 R945C7 R945C8\n\n+R946C0 R946C1 R946C2 R946C3 R946C4 R946C5 R946C6 R946C7 R946C8\n\n+R947C0 R947C1 R947C2 R947C3 R947C4 R947C5 R947C6 R947C7 R947C8\n\n+R948C0 R948C1 R948C2 R948C3 R948C4 R948C5 R948C6 R948C7 R948C8\n\n+R949C0 R949C1 R949C2 R949C3 R949C4 R949C5 R949C6 R949C7 R949C8\n\n+R950C0 R950C1 R950C2 R950C3 R950C4 R950C5 R950C6 R950C7 R950C8\n\n+R951C0 R951C1 R951C2 R951C3 R951C4 R951C5 R951C6 R951C7 R951C8\n\n+R952C0 R952C1 R952C2 R952C3 R952C4 R952C5 R952C6 R952C7 R952C8\n\n+R953C0 R953C1 R953C2 R953C3 R953C4 R953C5 R953C6 R953C7 R953C8\n\n+R954C0 R954C1 R954C2 R954C3 R954C4 R954C5 R954C6 R954C7 R954C8\n\n+R955C0 R955C1 R955C2 R955C3 R955C4 R955C5 R955C6 R955C7 R955C8\n\n+R956C0 R956C1 R956C2 R956C3 R956C4 R956C5 R956C6 R956C7 R956C8\n\n+R957C0 R957C1 R957C2 R957C3 R957C4 R957C5 R957C6 R957C7 R957C8\n\n+R958C0 R958C1 R958C2 R958C3 R958C4 R958C5 R958C6 R958C7 R958C8\n\n+---PAGE---\n\n+R959C0 R959C1 R959C2 R959C3 R959C4 R959C5 R959C6 R959C7 R959C8\n\n+R960C0 R960C1 R960C2 R960C3 R960C4 R960C5 R960C6 R960C7 R960C8\n\n+R961C0 R961C1 R961C2 R961C3 R961C4 R961C5 R961C6 R961C7 R961C8\n\n+R962C0 R962C1 R962C2 R962C3 R962C4 R962C5 R962C6 R962C7 R962C8\n\n+R963C0 R963C1 R963C2 R963C3 R963C4 R963C5 R963C6 R963C7 R963C8\n\n+R964C0 R964C1 R964C2 R964C3 R964C4 R964C5 R964C6 R964C7 R964C8\n\n+R965C0 R965C1 R965C2 R965C3 R965C4 R965C5 R965C6 R965C7 R965C8\n\n+R966C0 R966C1 R966C2 R966C3 R966C4 R966C5 R966C6 R966C7 R966C8\n\n+R967C0 R967C1 R967C2 R967C3 R967C4 R967C5 R967C6 R967C7 R967C8\n\n+R968C0 R968C1 R968C2 R968C3 R968C4 R968C5 R968C6 R968C7 R968C8\n\n+R969C0 R969C1 R969C2 R969C3 R969C4 R969C5 R969C6 R969C7 R969C8\n\n+R970C0 R970C1 R970C2 R970C3 R970C4 R970C5 R970C6 R970C7 R970C8\n\n+R971C0 R971C1 R971C2 R971C3 R971C4 R971C5 R971C6 R971C7 R971C8\n\n+R972C0 R972C1 R972C2 R972C3 R972C4 R972C5 R972C6 R972C7 R972C8\n\n+R973C0 R973C1 R973C2 R973C3 R973C4 R973C5 R973C6 R973C7 R973C8\n\n+R974C0 R974C1 R974C2 R974C3 R974C4 R974C5 R974C6 R974C7 R974C8\n\n+R975C0 R975C1 R975C2 R975C3 R975C4 R975C5 R975C6 R975C7 R975C8\n\n+R976C0 R976C1 R976C2 R976C3 R976C4 R976C5 R976C6 R976C7 R976C8\n\n+R977C0 R977C1 R977C2 R977C3 R977C4 R977C5 R977C6 R977C7 R977C8\n\n+R978C0 R978C1 R978C2 R978C3 R978C4 R978C5 R978C6 R978C7 R978C8\n\n+R979C0 R979C1 R979C2 R979C3 R979C4 R979C5 R979C6 R979C7 R979C8\n\n+R980C0 R980C1 R980C2 R980C3 R980C4 R980C5 R980C6 R980C7 R980C8\n\n+R981C0 R981C1 R981C2 R981C3 R981C4 R981C5 R981C6 R981C7 R981C8\n\n+R982C0 R982C1 R982C2 R982C3 R982C4 R982C5 R982C6 R982C7 R982C8\n\n+R983C0 R983C1 R983C2 R983C3 R983C4 R983C5 R983C6 R983C7 R983C8\n\n+R984C0 R984C1 R984C2 R984C3 R984C4 R984C5 R984C6 R984C7 R984C8\n\n+R985C0 R985C1 R985C2 R985C3 R985C4 R985C5 R985C6 R985C7 R985C8\n\n+R986C0 R986C1 R986C2 R986C3 R986C4 R986C5 R986C6 R986C7 R986C8\n\n+R987C0 R987C1 R987C2 R987C3 R987C4 R987C5 R987C6 R987C7 R987C8\n\n+R988C0 R988C1 R988C2 R988C3 R988C4 R988C5 R988C6 R988C7 R988C8\n\n+R989C0 R989C1 R989C2 R989C3 R989C4 R989C5 R989C6 R989C7 R989C8\n\n+R990C0 R990C1 R990C2 R990C3 R990C4 R990C5 R990C6 R990C7 R990C8\n\n+R991C0 R991C1 R991C2 R991C3 R991C4 R991C5 R991C6 R991C7 R991C8\n\n+R992C0 R992C1 R992C2 R992C3 R992C4 R992C5 R992C6 R992C7 R992C8\n\n+R993C0 R993C1 R993C2 R993C3 R993C4 R993C5 R993C6 R993C7 R993C8\n\n+R994C0 R994C1 R994C2 R994C3 R994C4 R994C5 R994C6 R994C7 R994C8\n\n+R995C0 R995C1 R995C2 R995C3 R995C4 R995C5 R995C6 R995C7 R995C8\n\n+R996C0 R996C1 R996C2 R996C3 R996C4 R996C5 R996C6 R996C7 R996C8\n\n+R997C0 R997C1 R997C2 R997C3 R997C4 R997C5 R997C6 R997C7 R997C8\n\n+R998C0 R998C1 R998C2 R998C3 R998C4 R998C5 R998C6 R998C7 R998C8\n\n+R999C0 R999C1 R999C2 R999C3 R999C4 R999C5 R999C6 R999C7 R999C8\n\n+---PAGE---\n\n+Col9\n\n+R0C9\n\n+R1C9\n\n+R2C9\n\n+R3C9\n\n+R4C9\n\n+R5C9\n\n+R6C9\n\n+R7C9\n\n+R8C9\n\n+R9C9\n\n+R10C9\n\n+R11C9\n\n+R12C9\n\n+R13C9\n\n+R14C9\n\n+R15C9\n\n+R16C9\n\n+R17C9\n\n+R18C9\n\n+R19C9\n\n+R20C9\n\n+R21C9\n\n+R22C9\n\n+R23C9\n\n+R24C9\n\n+R25C9\n\n+R26C9\n\n+R27C9\n\n+R28C9\n\n+R29C9\n\n+R30C9\n\n+R31C9\n\n+R32C9\n\n+R33C9\n\n+R34C9\n\n+R35C9\n\n+R36C9\n\n+R37C9\n\n+R38C9\n\n+R39C9\n\n+R40C9\n\n+R41C9\n\n+R42C9\n\n+R43C9\n\n+R44C9\n\n+R45C9\n\n+R46C9\n\n+---PAGE---\n\n+R47C9\n\n+R48C9\n\n+R49C9\n\n+R50C9\n\n+R51C9\n\n+R52C9\n\n+R53C9\n\n+R54C9\n\n+R55C9\n\n+R56C9\n\n+R57C9\n\n+R58C9\n\n+R59C9\n\n+R60C9\n\n+R61C9\n\n+R62C9\n\n+R63C9\n\n+R64C9\n\n+R65C9\n\n+R66C9\n\n+R67C9\n\n+R68C9\n\n+R69C9\n\n+R70C9\n\n+R71C9\n\n+R72C9\n\n+R73C9\n\n+R74C9\n\n+R75C9\n\n+R76C9\n\n+R77C9\n\n+R78C9\n\n+R79C9\n\n+R80C9\n\n+R81C9\n\n+R82C9\n\n+R83C9\n\n+R84C9\n\n+R85C9\n\n+R86C9\n\n+R87C9\n\n+R88C9\n\n+R89C9\n\n+R90C9\n\n+R91C9\n\n+R92C9\n\n+R93C9\n\n+R94C9\n\n+---PAGE---\n\n+R95C9\n\n+R96C9\n\n+R97C9\n\n+R98C9\n\n+R99C9\n\n+R100C9\n\n+R101C9\n\n+R102C9\n\n+R103C9\n\n+R104C9\n\n+R105C9\n\n+R106C9\n\n+R107C9\n\n+R108C9\n\n+R109C9\n\n+R110C9\n\n+R111C9\n\n+R112C9\n\n+R113C9\n\n+R114C9\n\n+R115C9\n\n+R116C9\n\n+R117C9\n\n+R118C9\n\n+R119C9\n\n+R120C9\n\n+R121C9\n\n+R122C9\n\n+R123C9\n\n+R124C9\n\n+R125C9\n\n+R126C9\n\n+R127C9\n\n+R128C9\n\n+R129C9\n\n+R130C9\n\n+R131C9\n\n+R132C9\n\n+R133C9\n\n+R134C9\n\n+R135C9\n\n+R136C9\n\n+R137C9\n\n+R138C9\n\n+R139C9\n\n+R140C9\n\n+R141C9\n\n+R142C9\n\n+---PAGE---\n\n+R143C9\n\n+R144C9\n\n+R145C9\n\n+R146C9\n\n+R147C9\n\n+R148C9\n\n+R149C9\n\n+R150C9\n\n+R151C9\n\n+R152C9\n\n+R153C9\n\n+R154C9\n\n+R155C9\n\n+R156C9\n\n+R157C9\n\n+R158C9\n\n+R159C9\n\n+R160C9\n\n+R161C9\n\n+R162C9\n\n+R163C9\n\n+R164C9\n\n+R165C9\n\n+R166C9\n\n+R167C9\n\n+R168C9\n\n+R169C9\n\n+R170C9\n\n+R171C9\n\n+R172C9\n\n+R173C9\n\n+R174C9\n\n+R175C9\n\n+R176C9\n\n+R177C9\n\n+R178C9\n\n+R179C9\n\n+R180C9\n\n+R181C9\n\n+R182C9\n\n+R183C9\n\n+R184C9\n\n+R185C9\n\n+R186C9\n\n+R187C9\n\n+R188C9\n\n+R189C9\n\n+R190C9\n\n+---PAGE---\n\n+R191C9\n\n+R192C9\n\n+R193C9\n\n+R194C9\n\n+R195C9\n\n+R196C9\n\n+R197C9\n\n+R198C9\n\n+R199C9\n\n+R200C9\n\n+R201C9\n\n+R202C9\n\n+R203C9\n\n+R204C9\n\n+R205C9\n\n+R206C9\n\n+R207C9\n\n+R208C9\n\n+R209C9\n\n+R210C9\n\n+R211C9\n\n+R212C9\n\n+R213C9\n\n+R214C9\n\n+R215C9\n\n+R216C9\n\n+R217C9\n\n+R218C9\n\n+R219C9\n\n+R220C9\n\n+R221C9\n\n+R222C9\n\n+R223C9\n\n+R224C9\n\n+R225C9\n\n+R226C9\n\n+R227C9\n\n+R228C9\n\n+R229C9\n\n+R230C9\n\n+R231C9\n\n+R232C9\n\n+R233C9\n\n+R234C9\n\n+R235C9\n\n+R236C9\n\n+R237C9\n\n+R238C9\n\n+---PAGE---\n\n+R239C9\n\n+R240C9\n\n+R241C9\n\n+R242C9\n\n+R243C9\n\n+R244C9\n\n+R245C9\n\n+R246C9\n\n+R247C9\n\n+R248C9\n\n+R249C9\n\n+R250C9\n\n+R251C9\n\n+R252C9\n\n+R253C9\n\n+R254C9\n\n+R255C9\n\n+R256C9\n\n+R257C9\n\n+R258C9\n\n+R259C9\n\n+R260C9\n\n+R261C9\n\n+R262C9\n\n+R263C9\n\n+R264C9\n\n+R265C9\n\n+R266C9\n\n+R267C9\n\n+R268C9\n\n+R269C9\n\n+R270C9\n\n+R271C9\n\n+R272C9\n\n+R273C9\n\n+R274C9\n\n+R275C9\n\n+R276C9\n\n+R277C9\n\n+R278C9\n\n+R279C9\n\n+R280C9\n\n+R281C9\n\n+R282C9\n\n+R283C9\n\n+R284C9\n\n+R285C9\n\n+R286C9\n\n+---PAGE---\n\n+R287C9\n\n+R288C9\n\n+R289C9\n\n+R290C9\n\n+R291C9\n\n+R292C9\n\n+R293C9\n\n+R294C9\n\n+R295C9\n\n+R296C9\n\n+R297C9\n\n+R298C9\n\n+R299C9\n\n+R300C9\n\n+R301C9\n\n+R302C9\n\n+R303C9\n\n+R304C9\n\n+R305C9\n\n+R306C9\n\n+R307C9\n\n+R308C9\n\n+R309C9\n\n+R310C9\n\n+R311C9\n\n+R312C9\n\n+R313C9\n\n+R314C9\n\n+R315C9\n\n+R316C9\n\n+R317C9\n\n+R318C9\n\n+R319C9\n\n+R320C9\n\n+R321C9\n\n+R322C9\n\n+R323C9\n\n+R324C9\n\n+R325C9\n\n+R326C9\n\n+R327C9\n\n+R328C9\n\n+R329C9\n\n+R330C9\n\n+R331C9\n\n+R332C9\n\n+R333C9\n\n+R334C9\n\n+---PAGE---\n\n+R335C9\n\n+R336C9\n\n+R337C9\n\n+R338C9\n\n+R339C9\n\n+R340C9\n\n+R341C9\n\n+R342C9\n\n+R343C9\n\n+R344C9\n\n+R345C9\n\n+R346C9\n\n+R347C9\n\n+R348C9\n\n+R349C9\n\n+R350C9\n\n+R351C9\n\n+R352C9\n\n+R353C9\n\n+R354C9\n\n+R355C9\n\n+R356C9\n\n+R357C9\n\n+R358C9\n\n+R359C9\n\n+R360C9\n\n+R361C9\n\n+R362C9\n\n+R363C9\n\n+R364C9\n\n+R365C9\n\n+R366C9\n\n+R367C9\n\n+R368C9\n\n+R369C9\n\n+R370C9\n\n+R371C9\n\n+R372C9\n\n+R373C9\n\n+R374C9\n\n+R375C9\n\n+R376C9\n\n+R377C9\n\n+R378C9\n\n+R379C9\n\n+R380C9\n\n+R381C9\n\n+R382C9\n\n+---PAGE---\n\n+R383C9\n\n+R384C9\n\n+R385C9\n\n+R386C9\n\n+R387C9\n\n+R388C9\n\n+R389C9\n\n+R390C9\n\n+R391C9\n\n+R392C9\n\n+R393C9\n\n+R394C9\n\n+R395C9\n\n+R396C9\n\n+R397C9\n\n+R398C9\n\n+R399C9\n\n+R400C9\n\n+R401C9\n\n+R402C9\n\n+R403C9\n\n+R404C9\n\n+R405C9\n\n+R406C9\n\n+R407C9\n\n+R408C9\n\n+R409C9\n\n+R410C9\n\n+R411C9\n\n+R412C9\n\n+R413C9\n\n+R414C9\n\n+R415C9\n\n+R416C9\n\n+R417C9\n\n+R418C9\n\n+R419C9\n\n+R420C9\n\n+R421C9\n\n+R422C9\n\n+R423C9\n\n+R424C9\n\n+R425C9\n\n+R426C9\n\n+R427C9\n\n+R428C9\n\n+R429C9\n\n+R430C9\n\n+---PAGE---\n\n+R431C9\n\n+R432C9\n\n+R433C9\n\n+R434C9\n\n+R435C9\n\n+R436C9\n\n+R437C9\n\n+R438C9\n\n+R439C9\n\n+R440C9\n\n+R441C9\n\n+R442C9\n\n+R443C9\n\n+R444C9\n\n+R445C9\n\n+R446C9\n\n+R447C9\n\n+R448C9\n\n+R449C9\n\n+R450C9\n\n+R451C9\n\n+R452C9\n\n+R453C9\n\n+R454C9\n\n+R455C9\n\n+R456C9\n\n+R457C9\n\n+R458C9\n\n+R459C9\n\n+R460C9\n\n+R461C9\n\n+R462C9\n\n+R463C9\n\n+R464C9\n\n+R465C9\n\n+R466C9\n\n+R467C9\n\n+R468C9\n\n+R469C9\n\n+R470C9\n\n+R471C9\n\n+R472C9\n\n+R473C9\n\n+R474C9\n\n+R475C9\n\n+R476C9\n\n+R477C9\n\n+R478C9\n\n+---PAGE---\n\n+R479C9\n\n+R480C9\n\n+R481C9\n\n+R482C9\n\n+R483C9\n\n+R484C9\n\n+R485C9\n\n+R486C9\n\n+R487C9\n\n+R488C9\n\n+R489C9\n\n+R490C9\n\n+R491C9\n\n+R492C9\n\n+R493C9\n\n+R494C9\n\n+R495C9\n\n+R496C9\n\n+R497C9\n\n+R498C9\n\n+R499C9\n\n+R500C9\n\n+R501C9\n\n+R502C9\n\n+R503C9\n\n+R504C9\n\n+R505C9\n\n+R506C9\n\n+R507C9\n\n+R508C9\n\n+R509C9\n\n+R510C9\n\n+R511C9\n\n+R512C9\n\n+R513C9\n\n+R514C9\n\n+R515C9\n\n+R516C9\n\n+R517C9\n\n+R518C9\n\n+R519C9\n\n+R520C9\n\n+R521C9\n\n+R522C9\n\n+R523C9\n\n+R524C9\n\n+R525C9\n\n+R526C9\n\n+---PAGE---\n\n+R527C9\n\n+R528C9\n\n+R529C9\n\n+R530C9\n\n+R531C9\n\n+R532C9\n\n+R533C9\n\n+R534C9\n\n+R535C9\n\n+R536C9\n\n+R537C9\n\n+R538C9\n\n+R539C9\n\n+R540C9\n\n+R541C9\n\n+R542C9\n\n+R543C9\n\n+R544C9\n\n+R545C9\n\n+R546C9\n\n+R547C9\n\n+R548C9\n\n+R549C9\n\n+R550C9\n\n+R551C9\n\n+R552C9\n\n+R553C9\n\n+R554C9\n\n+R555C9\n\n+R556C9\n\n+R557C9\n\n+R558C9\n\n+R559C9\n\n+R560C9\n\n+R561C9\n\n+R562C9\n\n+R563C9\n\n+R564C9\n\n+R565C9\n\n+R566C9\n\n+R567C9\n\n+R568C9\n\n+R569C9\n\n+R570C9\n\n+R571C9\n\n+R572C9\n\n+R573C9\n\n+R574C9\n\n+---PAGE---\n\n+R575C9\n\n+R576C9\n\n+R577C9\n\n+R578C9\n\n+R579C9\n\n+R580C9\n\n+R581C9\n\n+R582C9\n\n+R583C9\n\n+R584C9\n\n+R585C9\n\n+R586C9\n\n+R587C9\n\n+R588C9\n\n+R589C9\n\n+R590C9\n\n+R591C9\n\n+R592C9\n\n+R593C9\n\n+R594C9\n\n+R595C9\n\n+R596C9\n\n+R597C9\n\n+R598C9\n\n+R599C9\n\n+R600C9\n\n+R601C9\n\n+R602C9\n\n+R603C9\n\n+R604C9\n\n+R605C9\n\n+R606C9\n\n+R607C9\n\n+R608C9\n\n+R609C9\n\n+R610C9\n\n+R611C9\n\n+R612C9\n\n+R613C9\n\n+R614C9\n\n+R615C9\n\n+R616C9\n\n+R617C9\n\n+R618C9\n\n+R619C9\n\n+R620C9\n\n+R621C9\n\n+R622C9\n\n+---PAGE---\n\n+R623C9\n\n+R624C9\n\n+R625C9\n\n+R626C9\n\n+R627C9\n\n+R628C9\n\n+R629C9\n\n+R630C9\n\n+R631C9\n\n+R632C9\n\n+R633C9\n\n+R634C9\n\n+R635C9\n\n+R636C9\n\n+R637C9\n\n+R638C9\n\n+R639C9\n\n+R640C9\n\n+R641C9\n\n+R642C9\n\n+R643C9\n\n+R644C9\n\n+R645C9\n\n+R646C9\n\n+R647C9\n\n+R648C9\n\n+R649C9\n\n+R650C9\n\n+R651C9\n\n+R652C9\n\n+R653C9\n\n+R654C9\n\n+R655C9\n\n+R656C9\n\n+R657C9\n\n+R658C9\n\n+R659C9\n\n+R660C9\n\n+R661C9\n\n+R662C9\n\n+R663C9\n\n+R664C9\n\n+R665C9\n\n+R666C9\n\n+R667C9\n\n+R668C9\n\n+R669C9\n\n+R670C9\n\n+---PAGE---\n\n+R671C9\n\n+R672C9\n\n+R673C9\n\n+R674C9\n\n+R675C9\n\n+R676C9\n\n+R677C9\n\n+R678C9\n\n+R679C9\n\n+R680C9\n\n+R681C9\n\n+R682C9\n\n+R683C9\n\n+R684C9\n\n+R685C9\n\n+R686C9\n\n+R687C9\n\n+R688C9\n\n+R689C9\n\n+R690C9\n\n+R691C9\n\n+R692C9\n\n+R693C9\n\n+R694C9\n\n+R695C9\n\n+R696C9\n\n+R697C9\n\n+R698C9\n\n+R699C9\n\n+R700C9\n\n+R701C9\n\n+R702C9\n\n+R703C9\n\n+R704C9\n\n+R705C9\n\n+R706C9\n\n+R707C9\n\n+R708C9\n\n+R709C9\n\n+R710C9\n\n+R711C9\n\n+R712C9\n\n+R713C9\n\n+R714C9\n\n+R715C9\n\n+R716C9\n\n+R717C9\n\n+R718C9\n\n+---PAGE---\n\n+R719C9\n\n+R720C9\n\n+R721C9\n\n+R722C9\n\n+R723C9\n\n+R724C9\n\n+R725C9\n\n+R726C9\n\n+R727C9\n\n+R728C9\n\n+R729C9\n\n+R730C9\n\n+R731C9\n\n+R732C9\n\n+R733C9\n\n+R734C9\n\n+R735C9\n\n+R736C9\n\n+R737C9\n\n+R738C9\n\n+R739C9\n\n+R740C9\n\n+R741C9\n\n+R742C9\n\n+R743C9\n\n+R744C9\n\n+R745C9\n\n+R746C9\n\n+R747C9\n\n+R748C9\n\n+R749C9\n\n+R750C9\n\n+R751C9\n\n+R752C9\n\n+R753C9\n\n+R754C9\n\n+R755C9\n\n+R756C9\n\n+R757C9\n\n+R758C9\n\n+R759C9\n\n+R760C9\n\n+R761C9\n\n+R762C9\n\n+R763C9\n\n+R764C9\n\n+R765C9\n\n+R766C9\n\n+---PAGE---\n\n+R767C9\n\n+R768C9\n\n+R769C9\n\n+R770C9\n\n+R771C9\n\n+R772C9\n\n+R773C9\n\n+R774C9\n\n+R775C9\n\n+R776C9\n\n+R777C9\n\n+R778C9\n\n+R779C9\n\n+R780C9\n\n+R781C9\n\n+R782C9\n\n+R783C9\n\n+R784C9\n\n+R785C9\n\n+R786C9\n\n+R787C9\n\n+R788C9\n\n+R789C9\n\n+R790C9\n\n+R791C9\n\n+R792C9\n\n+R793C9\n\n+R794C9\n\n+R795C9\n\n+R796C9\n\n+R797C9\n\n+R798C9\n\n+R799C9\n\n+R800C9\n\n+R801C9\n\n+R802C9\n\n+R803C9\n\n+R804C9\n\n+R805C9\n\n+R806C9\n\n+R807C9\n\n+R808C9\n\n+R809C9\n\n+R810C9\n\n+R811C9\n\n+R812C9\n\n+R813C9\n\n+R814C9\n\n+---PAGE---\n\n+R815C9\n\n+R816C9\n\n+R817C9\n\n+R818C9\n\n+R819C9\n\n+R820C9\n\n+R821C9\n\n+R822C9\n\n+R823C9\n\n+R824C9\n\n+R825C9\n\n+R826C9\n\n+R827C9\n\n+R828C9\n\n+R829C9\n\n+R830C9\n\n+R831C9\n\n+R832C9\n\n+R833C9\n\n+R834C9\n\n+R835C9\n\n+R836C9\n\n+R837C9\n\n+R838C9\n\n+R839C9\n\n+R840C9\n\n+R841C9\n\n+R842C9\n\n+R843C9\n\n+R844C9\n\n+R845C9\n\n+R846C9\n\n+R847C9\n\n+R848C9\n\n+R849C9\n\n+R850C9\n\n+R851C9\n\n+R852C9\n\n+R853C9\n\n+R854C9\n\n+R855C9\n\n+R856C9\n\n+R857C9\n\n+R858C9\n\n+R859C9\n\n+R860C9\n\n+R861C9\n\n+R862C9\n\n+---PAGE---\n\n+R863C9\n\n+R864C9\n\n+R865C9\n\n+R866C9\n\n+R867C9\n\n+R868C9\n\n+R869C9\n\n+R870C9\n\n+R871C9\n\n+R872C9\n\n+R873C9\n\n+R874C9\n\n+R875C9\n\n+R876C9\n\n+R877C9\n\n+R878C9\n\n+R879C9\n\n+R880C9\n\n+R881C9\n\n+R882C9\n\n+R883C9\n\n+R884C9\n\n+R885C9\n\n+R886C9\n\n+R887C9\n\n+R888C9\n\n+R889C9\n\n+R890C9\n\n+R891C9\n\n+R892C9\n\n+R893C9\n\n+R894C9\n\n+R895C9\n\n+R896C9\n\n+R897C9\n\n+R898C9\n\n+R899C9\n\n+R900C9\n\n+R901C9\n\n+R902C9\n\n+R903C9\n\n+R904C9\n\n+R905C9\n\n+R906C9\n\n+R907C9\n\n+R908C9\n\n+R909C9\n\n+R910C9\n\n+---PAGE---\n\n+R911C9\n\n+R912C9\n\n+R913C9\n\n+R914C9\n\n+R915C9\n\n+R916C9\n\n+R917C9\n\n+R918C9\n\n+R919C9\n\n+R920C9\n\n+R921C9\n\n+R922C9\n\n+R923C9\n\n+R924C9\n\n+R925C9\n\n+R926C9\n\n+R927C9\n\n+R928C9\n\n+R929C9\n\n+R930C9\n\n+R931C9\n\n+R932C9\n\n+R933C9\n\n+R934C9\n\n+R935C9\n\n+R936C9\n\n+R937C9\n\n+R938C9\n\n+R939C9\n\n+R940C9\n\n+R941C9\n\n+R942C9\n\n+R943C9\n\n+R944C9\n\n+R945C9\n\n+R946C9\n\n+R947C9\n\n+R948C9\n\n+R949C9\n\n+R950C9\n\n+R951C9\n\n+R952C9\n\n+R953C9\n\n+R954C9\n\n+R955C9\n\n+R956C9\n\n+R957C9\n\n+R958C9\n\n+---PAGE---\n\n+R959C9\n\n+R960C9\n\n+R961C9\n\n+R962C9\n\n+R963C9\n\n+R964C9\n\n+R965C9\n\n+R966C9\n\n+R967C9\n\n+R968C9\n\n+R969C9\n\n+R970C9\n\n+R971C9\n\n+R972C9\n\n+R973C9\n\n+R974C9\n\n+R975C9\n\n+R976C9\n\n+R977C9\n\n+R978C9\n\n+R979C9\n\n+R980C9\n\n+R981C9\n\n+R982C9\n\n+R983C9\n\n+R984C9\n\n+R985C9\n\n+R986C9\n\n+R987C9\n\n+R988C9\n\n+R989C9\n\n+R990C9\n\n+R991C9\n\n+R992C9\n\n+R993C9\n\n+R994C9\n\n+R995C9\n\n+R996C9\n\n+R997C9\n\n+R998C9\n\n+R999C9", - "visual_scores": [ - 0.8711, - 0.863, - 0.8546, - 0.8511, - 0.8541, - 0.8512, - 0.8481, - 0.8462, - 0.8473, - 0.8444, - 0.8483, - 0.8503, - 0.8488, - 0.8437, - 0.843, - 0.842, - 0.8454, - 0.8513, - 0.8528, - 0.8437, - 0.8429, - 0.7925, - 0.7939, - 0.8882, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], - "visual_avg": 0.4838, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic18_large_dataset_p1_minipdf.png", - "reference_img": "classic18_large_dataset_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic18_large_dataset_p2_minipdf.png", - "reference_img": "classic18_large_dataset_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic18_large_dataset_p3_minipdf.png", - "reference_img": "classic18_large_dataset_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic18_large_dataset_p4_minipdf.png", - "reference_img": "classic18_large_dataset_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": "classic18_large_dataset_p5_minipdf.png", - "reference_img": "classic18_large_dataset_p5_reference.png" - }, - { - "page": 6, - "minipdf_img": "classic18_large_dataset_p6_minipdf.png", - "reference_img": "classic18_large_dataset_p6_reference.png" - }, - { - "page": 7, - "minipdf_img": "classic18_large_dataset_p7_minipdf.png", - "reference_img": "classic18_large_dataset_p7_reference.png" - }, - { - "page": 8, - "minipdf_img": "classic18_large_dataset_p8_minipdf.png", - "reference_img": "classic18_large_dataset_p8_reference.png" - }, - { - "page": 9, - "minipdf_img": "classic18_large_dataset_p9_minipdf.png", - "reference_img": "classic18_large_dataset_p9_reference.png" - }, - { - "page": 10, - "minipdf_img": "classic18_large_dataset_p10_minipdf.png", - "reference_img": "classic18_large_dataset_p10_reference.png" - }, - { - "page": 11, - "minipdf_img": "classic18_large_dataset_p11_minipdf.png", - "reference_img": "classic18_large_dataset_p11_reference.png" - }, - { - "page": 12, - "minipdf_img": "classic18_large_dataset_p12_minipdf.png", - "reference_img": "classic18_large_dataset_p12_reference.png" - }, - { - "page": 13, - "minipdf_img": "classic18_large_dataset_p13_minipdf.png", - "reference_img": "classic18_large_dataset_p13_reference.png" - }, - { - "page": 14, - "minipdf_img": "classic18_large_dataset_p14_minipdf.png", - "reference_img": "classic18_large_dataset_p14_reference.png" - }, - { - "page": 15, - "minipdf_img": "classic18_large_dataset_p15_minipdf.png", - "reference_img": "classic18_large_dataset_p15_reference.png" - }, - { - "page": 16, - "minipdf_img": "classic18_large_dataset_p16_minipdf.png", - "reference_img": "classic18_large_dataset_p16_reference.png" - }, - { - "page": 17, - "minipdf_img": "classic18_large_dataset_p17_minipdf.png", - "reference_img": "classic18_large_dataset_p17_reference.png" - }, - { - "page": 18, - "minipdf_img": "classic18_large_dataset_p18_minipdf.png", - "reference_img": "classic18_large_dataset_p18_reference.png" - }, - { - "page": 19, - "minipdf_img": "classic18_large_dataset_p19_minipdf.png", - "reference_img": "classic18_large_dataset_p19_reference.png" - }, - { - "page": 20, - "minipdf_img": "classic18_large_dataset_p20_minipdf.png", - "reference_img": "classic18_large_dataset_p20_reference.png" - }, - { - "page": 21, - "minipdf_img": "classic18_large_dataset_p21_minipdf.png", - "reference_img": "classic18_large_dataset_p21_reference.png" - }, - { - "page": 22, - "minipdf_img": "classic18_large_dataset_p22_minipdf.png", - "reference_img": "classic18_large_dataset_p22_reference.png" - }, - { - "page": 23, - "minipdf_img": "classic18_large_dataset_p23_minipdf.png", - "reference_img": "classic18_large_dataset_p23_reference.png" - }, - { - "page": 24, - "minipdf_img": "classic18_large_dataset_p24_minipdf.png", - "reference_img": "classic18_large_dataset_p24_reference.png" - }, - { - "page": 25, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p25_reference.png" - }, - { - "page": 26, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p26_reference.png" - }, - { - "page": 27, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p27_reference.png" - }, - { - "page": 28, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p28_reference.png" - }, - { - "page": 29, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p29_reference.png" - }, - { - "page": 30, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p30_reference.png" - }, - { - "page": 31, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p31_reference.png" - }, - { - "page": 32, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p32_reference.png" - }, - { - "page": 33, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p33_reference.png" - }, - { - "page": 34, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p34_reference.png" - }, - { - "page": 35, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p35_reference.png" - }, - { - "page": 36, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p36_reference.png" - }, - { - "page": 37, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p37_reference.png" - }, - { - "page": 38, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p38_reference.png" - }, - { - "page": 39, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p39_reference.png" - }, - { - "page": 40, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p40_reference.png" - }, - { - "page": 41, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p41_reference.png" - }, - { - "page": 42, - "minipdf_img": null, - "reference_img": "classic18_large_dataset_p42_reference.png" - } - ], - "overall_score": 0.6536 - }, - { - "name": "classic19_single_column_list", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2470, - "reference_size": 47524, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9947 - ], - "visual_avg": 0.9947, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic19_single_column_list_p1_minipdf.png", - "reference_img": "classic19_single_column_list_p1_reference.png" - } - ], - "overall_score": 0.9979 - }, - { - "name": "classic20_all_empty_cells", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 986, - "reference_size": 7283, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 1.0 - ], - "visual_avg": 1.0, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic20_all_empty_cells_p1_minipdf.png", - "reference_img": "classic20_all_empty_cells_p1_reference.png" - } - ], - "overall_score": 1.0 - }, - { - "name": "classic21_header_only", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1344, - "reference_size": 35519, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9977 - ], - "visual_avg": 0.9977, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic21_header_only_p1_minipdf.png", - "reference_img": "classic21_header_only_p1_reference.png" - } - ], - "overall_score": 0.9991 - }, - { - "name": "classic22_long_sheet_name", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1407, - "reference_size": 36175, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9969 - ], - "visual_avg": 0.9969, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic22_long_sheet_name_p1_minipdf.png", - "reference_img": "classic22_long_sheet_name_p1_reference.png" - } - ], - "overall_score": 0.9988 - }, - { - "name": "classic23_unicode_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 686944, - "reference_size": 121984, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8971, - "flat_text_similarity": 0.8971, - "word_text_similarity": 0.7179, - "text_diff": "--- minipdf/classic23_unicode_text.pdf\n+++ reference/classic23_unicode_text.pdf\n@@ -1,7 +1,7 @@\n Language Greeting Extra\n\n English Hello World\n\n Chinese 你好 世界\n\n-Japanese こんにちは 世界\n\n-Korean 안녕하세요 세계\n\n-Arabic ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺍ\n\n+Japanese こんにちは世界\n\n+Korean 안녕하세요세계\n\n+Arabicمرحبا العالم\n\n Emoji 😀🎉 ✅❌", - "visual_scores": [ - 0.9918 - ], - "visual_avg": 0.9918, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic23_unicode_text_p1_minipdf.png", - "reference_img": "classic23_unicode_text_p1_reference.png" - } - ], - "overall_score": 0.9556 - }, - { - "name": "classic24_red_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1655, - "reference_size": 41978, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9959 - ], - "visual_avg": 0.9959, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic24_red_text_p1_minipdf.png", - "reference_img": "classic24_red_text_p1_reference.png" - } - ], - "overall_score": 0.9984 - }, - { - "name": "classic25_multiple_colors", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2549, - "reference_size": 44930, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9978, - "flat_text_similarity": 0.9978, - "word_text_similarity": 0.9773, - "text_diff": "--- minipdf/classic25_multiple_colors.pdf\n+++ reference/classic25_multiple_colors.pdf\n@@ -1,4 +1,4 @@\n-Color Name Sample Text\n\n+Color Nam Sample Text\n\n Red This is red text\n\n Green This is green text\n\n Blue This is blue text\n", - "visual_scores": [ - 0.9925 - ], - "visual_avg": 0.9925, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic25_multiple_colors_p1_minipdf.png", - "reference_img": "classic25_multiple_colors_p1_reference.png" - } - ], - "overall_score": 0.9961 - }, - { - "name": "classic26_inline_strings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1643, - "reference_size": 39664, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9945 - ], - "visual_avg": 0.9945, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic26_inline_strings_p1_minipdf.png", - "reference_img": "classic26_inline_strings_p1_reference.png" - } - ], - "overall_score": 0.9978 - }, - { - "name": "classic27_single_row", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1482, - "reference_size": 33233, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9972 - ], - "visual_avg": 0.9972, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic27_single_row_p1_minipdf.png", - "reference_img": "classic27_single_row_p1_reference.png" - } - ], - "overall_score": 0.9989 - }, - { - "name": "classic28_duplicate_values", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2375, - "reference_size": 30315, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.996 - ], - "visual_avg": 0.996, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic28_duplicate_values_p1_minipdf.png", - "reference_img": "classic28_duplicate_values_p1_reference.png" - } - ], - "overall_score": 0.9984 - }, - { - "name": "classic29_formula_results", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2252, - "reference_size": 42240, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9956 - ], - "visual_avg": 0.9956, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic29_formula_results_p1_minipdf.png", - "reference_img": "classic29_formula_results_p1_reference.png" - } - ], - "overall_score": 0.9982 - }, - { - "name": "classic30_mixed_empty_and_filled_sheets", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2096, - "reference_size": 40960, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9974, - 0.9973 - ], - "visual_avg": 0.9973, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic30_mixed_empty_and_filled_sheets_p1_minipdf.png", - "reference_img": "classic30_mixed_empty_and_filled_sheets_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic30_mixed_empty_and_filled_sheets_p2_minipdf.png", - "reference_img": "classic30_mixed_empty_and_filled_sheets_p2_reference.png" - } - ], - "overall_score": 0.9989 - }, - { - "name": "classic31_bold_header_row", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2440, - "reference_size": 77301, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9927 - ], - "visual_avg": 0.9927, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic31_bold_header_row_p1_minipdf.png", - "reference_img": "classic31_bold_header_row_p1_reference.png" - } - ], - "overall_score": 0.9971 - }, - { - "name": "classic32_right_aligned_numbers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1560, - "reference_size": 50644, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.997 - ], - "visual_avg": 0.997, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic32_right_aligned_numbers_p1_minipdf.png", - "reference_img": "classic32_right_aligned_numbers_p1_reference.png" - } - ], - "overall_score": 0.9988 - }, - { - "name": "classic33_centered_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2031, - "reference_size": 41368, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9962 - ], - "visual_avg": 0.9962, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic33_centered_text_p1_minipdf.png", - "reference_img": "classic33_centered_text_p1_reference.png" - } - ], - "overall_score": 0.9985 - }, - { - "name": "classic34_explicit_column_widths", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1879, - "reference_size": 47831, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9939 - ], - "visual_avg": 0.9939, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic34_explicit_column_widths_p1_minipdf.png", - "reference_img": "classic34_explicit_column_widths_p1_reference.png" - } - ], - "overall_score": 0.9976 - }, - { - "name": "classic35_explicit_row_heights", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1429, - "reference_size": 40677, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9574, - "flat_text_similarity": 0.9574, - "word_text_similarity": 0.7, - "text_diff": "--- minipdf/classic35_explicit_row_heights.pdf\n+++ reference/classic35_explicit_row_heights.pdf\n@@ -1,3 +1,3 @@\n-Tall Header Value\n\n-Extra Tall Row 42\n\n-Normal Row 10\n+Tall Heade Value\n\n+Extra Tall R 42\n\n+Normal Ro 10", - "visual_scores": [ - 0.9968 - ], - "visual_avg": 0.9968, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic35_explicit_row_heights_p1_minipdf.png", - "reference_img": "classic35_explicit_row_heights_p1_reference.png" - } - ], - "overall_score": 0.9817 - }, - { - "name": "classic36_merged_cells", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1731, - "reference_size": 43920, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9643, - "flat_text_similarity": 0.9643, - "word_text_similarity": 0.9286, - "text_diff": "--- minipdf/classic36_merged_cells.pdf\n+++ reference/classic36_merged_cells.pdf\n@@ -1,4 +1,4 @@\n-Merged Header Spanning Three Columns\n\n+Merged Header Spanning Three C\n\n Col1 Col2 Col3\n\n Row2A Row2B Row2C\n\n Row3A Row3B Row3C", - "visual_scores": [ - 0.993 - ], - "visual_avg": 0.993, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic36_merged_cells_p1_minipdf.png", - "reference_img": "classic36_merged_cells_p1_reference.png" - } - ], - "overall_score": 0.9829 - }, - { - "name": "classic37_freeze_panes", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6956, - "reference_size": 58159, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9852 - ], - "visual_avg": 0.9852, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic37_freeze_panes_p1_minipdf.png", - "reference_img": "classic37_freeze_panes_p1_reference.png" - } - ], - "overall_score": 0.9941 - }, - { - "name": "classic38_hyperlink_cell", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1517, - "reference_size": 41405, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9932 - ], - "visual_avg": 0.9932, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic38_hyperlink_cell_p1_minipdf.png", - "reference_img": "classic38_hyperlink_cell_p1_reference.png" - } - ], - "overall_score": 0.9973 - }, - { - "name": "classic39_financial_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3050, - "reference_size": 52570, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9924 - ], - "visual_avg": 0.9924, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic39_financial_table_p1_minipdf.png", - "reference_img": "classic39_financial_table_p1_reference.png" - } - ], - "overall_score": 0.997 - }, - { - "name": "classic40_scientific_notation", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1888, - "reference_size": 60659, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8636, - "flat_text_similarity": 0.8636, - "word_text_similarity": 0.5625, - "text_diff": "--- minipdf/classic40_scientific_notation.pdf\n+++ reference/classic40_scientific_notation.pdf\n@@ -1,6 +1,6 @@\n Label Value\n\n-Avogadro 6.022E+23\n\n-Planck 6.626E-34\n\n-Speed of Light 299800000\n\n-Electron mass 9.109E-31\n\n-Pi approx 3.141592654\n+Avogadro 6.02E+23\n\n+Planck 6.63E-34\n\n+Speed of Li 3E+08\n\n+Electron m 9.11E-31\n\n+Pi approx 3.141593", - "visual_scores": [ - 0.9928 - ], - "visual_avg": 0.9928, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic40_scientific_notation_p1_minipdf.png", - "reference_img": "classic40_scientific_notation_p1_reference.png" - } - ], - "overall_score": 0.9426 - }, - { - "name": "classic41_integer_vs_float", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2245, - "reference_size": 46475, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9957 - ], - "visual_avg": 0.9957, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic41_integer_vs_float_p1_minipdf.png", - "reference_img": "classic41_integer_vs_float_p1_reference.png" - } - ], - "overall_score": 0.9983 - }, - { - "name": "classic42_boolean_values", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1870, - "reference_size": 44451, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9744, - "flat_text_similarity": 0.9744, - "word_text_similarity": 0.8571, - "text_diff": "--- minipdf/classic42_boolean_values.pdf\n+++ reference/classic42_boolean_values.pdf\n@@ -1,6 +1,6 @@\n Feature Enabled\n\n Dark Mode TRUE\n\n-Notifications FALSE\n\n+Notificatio FALSE\n\n Auto-save TRUE\n\n Analytics FALSE\n\n-Beta Features TRUE\n+Beta Featu TRUE", - "visual_scores": [ - 0.9938 - ], - "visual_avg": 0.9938, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic42_boolean_values_p1_minipdf.png", - "reference_img": "classic42_boolean_values_p1_reference.png" - } - ], - "overall_score": 0.9873 - }, - { - "name": "classic43_inventory_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4461, - "reference_size": 89289, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9834 - ], - "visual_avg": 0.9834, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic43_inventory_report_p1_minipdf.png", - "reference_img": "classic43_inventory_report_p1_reference.png" - } - ], - "overall_score": 0.9934 - }, - { - "name": "classic44_employee_roster", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5084, - "reference_size": 69090, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8067, - "flat_text_similarity": 0.5773, - "word_text_similarity": 0.8067, - "text_diff": "--- minipdf/classic44_employee_roster.pdf\n+++ reference/classic44_employee_roster.pdf\n@@ -1,9 +1,9 @@\n EmpID First Last Dept Title Email\n\n-1001 Alice Smith Engineering Senior Engineer alice@example.com\n\n-1002 Bob Jones Marketing Marketing Manager bob@example.com\n\n-1003 Carol Williams HR HR Specialist carol@example.com\n\n-1004 David Brown Engineering Junior Engineer david@example.com\n\n-1005 Eve Davis Finance Financial Analyst eve@example.com\n\n-1006 Frank Miller Sales Sales Representative frank@example.com\n\n-1007 Grace Wilson Engineering Tech Lead grace@example.com\n\n-1008 Henry Moore Support Support Specialist henry@example.com\n+1001 Alice Smith Engineerin Senior Eng alice@example.com\n\n+1002 Bob Jones Marketing Marketing bob@example.com\n\n+1003 Carol Williams HR HR Specialicarol@example.com\n\n+1004 David Brown Engineerin Junior Engidavid@example.com\n\n+1005 Eve Davis Finance Financial A eve@example.com\n\n+1006 Frank Miller Sales Sales Reprefrank@example.com\n\n+1007 Grace Wilson Engineerin Tech Lead grace@example.com\n\n+1008 Henry Moore Support Support Sphenry@example.com", - "visual_scores": [ - 0.9727 - ], - "visual_avg": 0.9727, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic44_employee_roster_p1_minipdf.png", - "reference_img": "classic44_employee_roster_p1_reference.png" - } - ], - "overall_score": 0.9118 - }, - { - "name": "classic45_sales_by_region", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4576, - "reference_size": 52603, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 4, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9972, - 0.9973, - 0.9971, - 0.9973 - ], - "visual_avg": 0.9972, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic45_sales_by_region_p1_minipdf.png", - "reference_img": "classic45_sales_by_region_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic45_sales_by_region_p2_minipdf.png", - "reference_img": "classic45_sales_by_region_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic45_sales_by_region_p3_minipdf.png", - "reference_img": "classic45_sales_by_region_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic45_sales_by_region_p4_minipdf.png", - "reference_img": "classic45_sales_by_region_p4_reference.png" - } - ], - "overall_score": 0.9989 - }, - { - "name": "classic46_grade_book", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4912, - "reference_size": 60464, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9889 - ], - "visual_avg": 0.9889, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic46_grade_book_p1_minipdf.png", - "reference_img": "classic46_grade_book_p1_reference.png" - } - ], - "overall_score": 0.9956 - }, - { - "name": "classic47_time_series", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10059, - "reference_size": 60034, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9748 - ], - "visual_avg": 0.9748, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic47_time_series_p1_minipdf.png", - "reference_img": "classic47_time_series_p1_reference.png" - } - ], - "overall_score": 0.9899 - }, - { - "name": "classic48_survey_results", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3542, - "reference_size": 57959, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9831, - "flat_text_similarity": 0.9831, - "word_text_similarity": 0.9114, - "text_diff": "--- minipdf/classic48_survey_results.pdf\n+++ reference/classic48_survey_results.pdf\n@@ -1,6 +1,6 @@\n-Question StrongAgree Agree Neutral Disagree StrongDisagree\n\n+Question StrongAgreAgree Neutral Disagree StrongDisagree\n\n Easy to use 30 45 15 7 3\n\n-Recommend 25 40 20 10 5\n\n+Recommen 25 40 20 10 5\n\n Fair price 20 35 25 15 5\n\n-Good support 35 40 15 7 3\n\n+Good supp 35 40 15 7 3\n\n Satisfied 28 42 18 8 4", - "visual_scores": [ - 0.9885 - ], - "visual_avg": 0.9885, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic48_survey_results_p1_minipdf.png", - "reference_img": "classic48_survey_results_p1_reference.png" - } - ], - "overall_score": 0.9886 - }, - { - "name": "classic49_contact_list", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4037, - "reference_size": 72007, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.6658, - "flat_text_similarity": 0.6658, - "word_text_similarity": 0.5823, - "text_diff": "--- minipdf/classic49_contact_list.pdf\n+++ reference/classic49_contact_list.pdf\n@@ -1,8 +1,8 @@\n Name Phone Email City Country\n\n-Alice Smith +1-555-0101 alice@example.com New York USA\n\n-Bob Jones +44-20-7946-0958 bob@example.co.uk London UK\n\n-Carol Wang +86-10-1234-5678 carol@example.cn Beijing China\n\n-David Muller +49-30-1234567 david@example.de Berlin Germany\n\n-Eve Martin +33-1-23-45-67-89 eve@example.fr Paris France\n\n-Frank Tanaka +81-3-1234-5678 frank@example.jp Tokyo Japan\n\n-Grace Kim +82-2-1234-5678 grace@example.kr Seoul Korea\n+Alice Smith+1-555-010alice@examNew York USA\n\n+Bob Jones +44-20-794bob@examLondon UK\n\n+Carol Wang+86-10-123carol@exa Beijing China\n\n+David Mull +49-30-123david@exaBerlin Germany\n\n+Eve Martin+33-1-23-4eve@examParis France\n\n+Frank Tana+81-3-1234frank@exaTokyo Japan\n\n+Grace Kim +82-2-1234grace@exaSeoul Korea", - "visual_scores": [ - 0.9753 - ], - "visual_avg": 0.9753, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic49_contact_list_p1_minipdf.png", - "reference_img": "classic49_contact_list_p1_reference.png" - } - ], - "overall_score": 0.8564 - }, - { - "name": "classic50_budget_vs_actuals", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9270, - "reference_size": 65935, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.9934, - "flat_text_similarity": 0.9932, - "word_text_similarity": 0.9296, - "text_diff": "--- minipdf/classic50_budget_vs_actuals.pdf\n+++ reference/classic50_budget_vs_actuals.pdf\n@@ -1,19 +1,19 @@\n-Department Q1 Q2 Q3 Q4 Annual\n\n-Engineering 200000 200000 210000 220000 830000\n\n+DepartmenQ1 Q2 Q3 Q4 Annual\n\n+Engineerin 200000 200000 210000 220000 830000\n\n Marketing 80000 90000 85000 95000 350000\n\n Sales 120000 130000 140000 150000 540000\n\n HR 40000 40000 42000 43000 165000\n\n Finance 35000 35000 37000 38000 145000\n\n ---PAGE---\n\n-Department Q1 Q2 Q3 Q4 Annual\n\n-Engineering 195000 205000 215000 225000 840000\n\n+DepartmenQ1 Q2 Q3 Q4 Annual\n\n+Engineerin 195000 205000 215000 225000 840000\n\n Marketing 82000 88000 91000 97000 358000\n\n Sales 118000 135000 142000 148000 543000\n\n HR 39000 41000 41500 44000 165500\n\n Finance 34000 36000 37500 39000 146500\n\n ---PAGE---\n\n-Department Q1 Q2 Q3 Q4 Annual\n\n-Engineering -5000 5000 5000 5000 10000\n\n+DepartmenQ1 Q2 Q3 Q4 Annual\n\n+Engineerin -5000 5000 5000 5000 10000\n\n Marketing 2000 -2000 6000 2000 8000\n\n Sales -2000 5000 2000 -2000 3000\n\n HR -1000 1000 -500 1000 500\n", - "visual_scores": [ - 0.9867, - 0.987, - 0.9883 - ], - "visual_avg": 0.9873, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic50_budget_vs_actuals_p1_minipdf.png", - "reference_img": "classic50_budget_vs_actuals_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic50_budget_vs_actuals_p2_minipdf.png", - "reference_img": "classic50_budget_vs_actuals_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic50_budget_vs_actuals_p3_minipdf.png", - "reference_img": "classic50_budget_vs_actuals_p3_reference.png" - } - ], - "overall_score": 0.9923 - }, - { - "name": "classic51_product_catalog", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5242, - "reference_size": 72763, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.6341, - "flat_text_similarity": 0.4128, - "word_text_similarity": 0.6341, - "text_diff": "--- minipdf/classic51_product_catalog.pdf\n+++ reference/classic51_product_catalog.pdf\n@@ -1,11 +1,11 @@\n-Part# Name Description Weight(g) Price\n\n-P-001 Basic Widget Standard widget for everyday use 150 4.99\n\n-P-002 Pro Widget Enhanced widget with premium features 180 12.99\n\n-P-003 Mini Gadget Compact gadget for mobile use 90 19.99\n\n-P-004 Max Gadget Full-size gadget, industrial grade 450 89.99\n\n-P-005 Connector A Type-A connector cable, 1m 80 7.49\n\n-P-006 Connector B Type-B connector cable, 2m 110 9.99\n\n-P-007 Adapter X Universal power adapter 200 15.99\n\n-P-008 Adapter Y Travel power adapter 120 11.99\n\n-P-009 Mount Bracket Wall mount bracket, steel 600 24.99\n\n-P-010 Carry Case Padded carry case, waterproof 350 34.99\n+Part# Name DescriptionWeight(g) Price\n\n+P-001 Basic WidgStandard w 150 4.99\n\n+P-002 Pro WidgetEnhanced w 180 12.99\n\n+P-003 Mini GadgeCompact g 90 19.99\n\n+P-004 Max GadgeFull-size ga 450 89.99\n\n+P-005 Connector Type-A con 80 7.49\n\n+P-006 Connector Type-B con 110 9.99\n\n+P-007 Adapter X Universal p 200 15.99\n\n+P-008 Adapter Y Travel pow 120 11.99\n\n+P-009 Mount Bra Wall moun 600 24.99\n\n+P-010 Carry Case Padded car 350 34.99", - "visual_scores": [ - 0.9633 - ], - "visual_avg": 0.9633, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic51_product_catalog_p1_minipdf.png", - "reference_img": "classic51_product_catalog_p1_reference.png" - } - ], - "overall_score": 0.839 - }, - { - "name": "classic52_pivot_summary", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3599, - "reference_size": 88958, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9978, - "flat_text_similarity": 0.9978, - "word_text_similarity": 0.9577, - "text_diff": "--- minipdf/classic52_pivot_summary.pdf\n+++ reference/classic52_pivot_summary.pdf\n@@ -1,4 +1,4 @@\n-Region Electronics Furniture Clothing Food Total\n\n+Region ElectronicsFurniture Clothing Food Total\n\n North 45000 12000 8000 22000 87000\n\n South 38000 15000 11000 25000 89000\n\n East 52000 9000 14000 18000 93000\n", - "visual_scores": [ - 0.9858 - ], - "visual_avg": 0.9858, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic52_pivot_summary_p1_minipdf.png", - "reference_img": "classic52_pivot_summary_p1_reference.png" - } - ], - "overall_score": 0.9934 - }, - { - "name": "classic53_invoice", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3819, - "reference_size": 105898, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9444, - "flat_text_similarity": 0.924, - "word_text_similarity": 0.9444, - "text_diff": "--- minipdf/classic53_invoice.pdf\n+++ reference/classic53_invoice.pdf\n@@ -7,10 +7,10 @@\n 123 Business Rd, Suite 400\n\n New York, NY 10001\n\n Item Qty Unit Price Total\n\n-Consulting Services 10 150 1500\n\n-Software License 5 99 495\n\n+Consulting 10 150 1500\n\n+Software L 5 99 495\n\n Hardware 2 249.99 499.98\n\n-Support Plan (annual) 1 1200 1200\n\n+Support Pla 1 1200 1200\n\n Subtotal 3694.98\n\n Tax (8%) 295.6\n\n Total Due 3990.58", - "visual_scores": [ - 0.9773 - ], - "visual_avg": 0.9773, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic53_invoice_p1_minipdf.png", - "reference_img": "classic53_invoice_p1_reference.png" - } - ], - "overall_score": 0.9687 - }, - { - "name": "classic54_multi_level_header", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3229, - "reference_size": 73000, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.989 - ], - "visual_avg": 0.989, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic54_multi_level_header_p1_minipdf.png", - "reference_img": "classic54_multi_level_header_p1_reference.png" - } - ], - "overall_score": 0.9956 - }, - { - "name": "classic55_error_values", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2511, - "reference_size": 60359, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9931 - ], - "visual_avg": 0.9931, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic55_error_values_p1_minipdf.png", - "reference_img": "classic55_error_values_p1_reference.png" - } - ], - "overall_score": 0.9972 - }, - { - "name": "classic56_alternating_row_colors", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3639, - "reference_size": 50296, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9765 - ], - "visual_avg": 0.9765, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic56_alternating_row_colors_p1_minipdf.png", - "reference_img": "classic56_alternating_row_colors_p1_reference.png" - } - ], - "overall_score": 0.9906 - }, - { - "name": "classic57_cjk_only", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 156847, - "reference_size": 54240, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9945, - "flat_text_similarity": 0.9945, - "word_text_similarity": 0.9362, - "text_diff": "--- minipdf/classic57_cjk_only.pdf\n+++ reference/classic57_cjk_only.pdf\n@@ -1,4 +1,4 @@\n-序号 产品名称 价格 库存\n\n+序号 产品名称价格 库存\n\n 1 笔记本电脑 5999 100\n\n 2 智能手机 2999 250\n\n 3 平板电脑 1999 150\n", - "visual_scores": [ - 0.9904 - ], - "visual_avg": 0.9904, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic57_cjk_only_p1_minipdf.png", - "reference_img": "classic57_cjk_only_p1_reference.png" - } - ], - "overall_score": 0.994 - }, - { - "name": "classic58_mixed_numeric_formats", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2460, - "reference_size": 56245, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9726, - "flat_text_similarity": 0.9726, - "word_text_similarity": 0.8889, - "text_diff": "--- minipdf/classic58_mixed_numeric_formats.pdf\n+++ reference/classic58_mixed_numeric_formats.pdf\n@@ -2,9 +2,9 @@\n Integer 1000000\n\n Float 2dp 3.14\n\n Float 5dp 3.14159\n\n-Negative int -42\n\n-Negative float -3.14\n\n+Negative in -42\n\n+Negative fl -3.14\n\n Very small 0.0001\n\n Very large 10000000\n\n Zero 0\n\n-Scientific approx 1.23E+10\n+Scientific a 1.23E+10", - "visual_scores": [ - 0.9908 - ], - "visual_avg": 0.9908, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic58_mixed_numeric_formats_p1_minipdf.png", - "reference_img": "classic58_mixed_numeric_formats_p1_reference.png" - } - ], - "overall_score": 0.9854 - }, - { - "name": "classic59_multi_sheet_summary", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6198, - "reference_size": 61161, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 4, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.995, - 0.995, - 0.995, - 0.9966 - ], - "visual_avg": 0.9954, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic59_multi_sheet_summary_p1_minipdf.png", - "reference_img": "classic59_multi_sheet_summary_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic59_multi_sheet_summary_p2_minipdf.png", - "reference_img": "classic59_multi_sheet_summary_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic59_multi_sheet_summary_p3_minipdf.png", - "reference_img": "classic59_multi_sheet_summary_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic59_multi_sheet_summary_p4_minipdf.png", - "reference_img": "classic59_multi_sheet_summary_p4_reference.png" - } - ], - "overall_score": 0.9982 - }, - { - "name": "classic60_large_wide_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 76587, - "reference_size": 130804, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 6, - "text_similarity": 0.852, - "flat_text_similarity": 0.0171, - "word_text_similarity": 0.852, - "text_diff": "--- minipdf/classic60_large_wide_table.pdf\n+++ reference/classic60_large_wide_table.pdf\n@@ -1,105 +1,158 @@\n-Col01 Col02 Col03 Col04 Col05 Col06 Col07 Col08 Col09 Col10\n\n-R01C01 R01C02 R01C03 R01C04 R01C05 R01C06 R01C07 R01C08 R01C09 R01C10\n\n-R02C01 R02C02 R02C03 R02C04 R02C05 R02C06 R02C07 R02C08 R02C09 R02C10\n\n-R03C01 R03C02 R03C03 R03C04 R03C05 R03C06 R03C07 R03C08 R03C09 R03C10\n\n-R04C01 R04C02 R04C03 R04C04 R04C05 R04C06 R04C07 R04C08 R04C09 R04C10\n\n-R05C01 R05C02 R05C03 R05C04 R05C05 R05C06 R05C07 R05C08 R05C09 R05C10\n\n-R06C01 R06C02 R06C03 R06C04 R06C05 R06C06 R06C07 R06C08 R06C09 R06C10\n\n-R07C01 R07C02 R07C03 R07C04 R07C05 R07C06 R07C07 R07C08 R07C09 R07C10\n\n-R08C01 R08C02 R08C03 R08C04 R08C05 R08C06 R08C07 R08C08 R08C09 R08C10\n\n-R09C01 R09C02 R09C03 R09C04 R09C05 R09C06 R09C07 R09C08 R09C09 R09C10\n\n-R10C01 R10C02 R10C03 R10C04 R10C05 R10C06 R10C07 R10C08 R10C09 R10C10\n\n-R11C01 R11C02 R11C03 R11C04 R11C05 R11C06 R11C07 R11C08 R11C09 R11C10\n\n-R12C01 R12C02 R12C03 R12C04 R12C05 R12C06 R12C07 R12C08 R12C09 R12C10\n\n-R13C01 R13C02 R13C03 R13C04 R13C05 R13C06 R13C07 R13C08 R13C09 R13C10\n\n-R14C01 R14C02 R14C03 R14C04 R14C05 R14C06 R14C07 R14C08 R14C09 R14C10\n\n-R15C01 R15C02 R15C03 R15C04 R15C05 R15C06 R15C07 R15C08 R15C09 R15C10\n\n-R16C01 R16C02 R16C03 R16C04 R16C05 R16C06 R16C07 R16C08 R16C09 R16C10\n\n-R17C01 R17C02 R17C03 R17C04 R17C05 R17C06 R17C07 R17C08 R17C09 R17C10\n\n-R18C01 R18C02 R18C03 R18C04 R18C05 R18C06 R18C07 R18C08 R18C09 R18C10\n\n-R19C01 R19C02 R19C03 R19C04 R19C05 R19C06 R19C07 R19C08 R19C09 R19C10\n\n-R20C01 R20C02 R20C03 R20C04 R20C05 R20C06 R20C07 R20C08 R20C09 R20C10\n\n-R21C01 R21C02 R21C03 R21C04 R21C05 R21C06 R21C07 R21C08 R21C09 R21C10\n\n-R22C01 R22C02 R22C03 R22C04 R22C05 R22C06 R22C07 R22C08 R22C09 R22C10\n\n-R23C01 R23C02 R23C03 R23C04 R23C05 R23C06 R23C07 R23C08 R23C09 R23C10\n\n-R24C01 R24C02 R24C03 R24C04 R24C05 R24C06 R24C07 R24C08 R24C09 R24C10\n\n-R25C01 R25C02 R25C03 R25C04 R25C05 R25C06 R25C07 R25C08 R25C09 R25C10\n\n-R26C01 R26C02 R26C03 R26C04 R26C05 R26C06 R26C07 R26C08 R26C09 R26C10\n\n-R27C01 R27C02 R27C03 R27C04 R27C05 R27C06 R27C07 R27C08 R27C09 R27C10\n\n-R28C01 R28C02 R28C03 R28C04 R28C05 R28C06 R28C07 R28C08 R28C09 R28C10\n\n-R29C01 R29C02 R29C03 R29C04 R29C05 R29C06 R29C07 R29C08 R29C09 R29C10\n\n-R30C01 R30C02 R30C03 R30C04 R30C05 R30C06 R30C07 R30C08 R30C09 R30C10\n\n-R31C01 R31C02 R31C03 R31C04 R31C05 R31C06 R31C07 R31C08 R31C09 R31C10\n\n-R32C01 R32C02 R32C03 R32C04 R32C05 R32C06 R32C07 R32C08 R32C09 R32C10\n\n-R33C01 R33C02 R33C03 R33C04 R33C05 R33C06 R33C07 R33C08 R33C09 R33C10\n\n-R34C01 R34C02 R34C03 R34C04 R34C05 R34C06 R34C07 R34C08 R34C09 R34C10\n\n-R35C01 R35C02 R35C03 R35C04 R35C05 R35C06 R35C07 R35C08 R35C09 R35C10\n\n-R36C01 R36C02 R36C03 R36C04 R36C05 R36C06 R36C07 R36C08 R36C09 R36C10\n\n-R37C01 R37C02 R37C03 R37C04 R37C05 R37C06 R37C07 R37C08 R37C09 R37C10\n\n-R38C01 R38C02 R38C03 R38C04 R38C05 R38C06 R38C07 R38C08 R38C09 R38C10\n\n-R39C01 R39C02 R39C03 R39C04 R39C05 R39C06 R39C07 R39C08 R39C09 R39C10\n\n-R40C01 R40C02 R40C03 R40C04 R40C05 R40C06 R40C07 R40C08 R40C09 R40C10\n\n-R41C01 R41C02 R41C03 R41C04 R41C05 R41C06 R41C07 R41C08 R41C09 R41C10\n\n-R42C01 R42C02 R42C03 R42C04 R42C05 R42C06 R42C07 R42C08 R42C09 R42C10\n\n+Col01 Col02 Col03 Col04 Col05 Col06 Col07 Col08 Col09\n\n+R01C01 R01C02 R01C03 R01C04 R01C05 R01C06 R01C07 R01C08 R01C09\n\n+R02C01 R02C02 R02C03 R02C04 R02C05 R02C06 R02C07 R02C08 R02C09\n\n+R03C01 R03C02 R03C03 R03C04 R03C05 R03C06 R03C07 R03C08 R03C09\n\n+R04C01 R04C02 R04C03 R04C04 R04C05 R04C06 R04C07 R04C08 R04C09\n\n+R05C01 R05C02 R05C03 R05C04 R05C05 R05C06 R05C07 R05C08 R05C09\n\n+R06C01 R06C02 R06C03 R06C04 R06C05 R06C06 R06C07 R06C08 R06C09\n\n+R07C01 R07C02 R07C03 R07C04 R07C05 R07C06 R07C07 R07C08 R07C09\n\n+R08C01 R08C02 R08C03 R08C04 R08C05 R08C06 R08C07 R08C08 R08C09\n\n+R09C01 R09C02 R09C03 R09C04 R09C05 R09C06 R09C07 R09C08 R09C09\n\n+R10C01 R10C02 R10C03 R10C04 R10C05 R10C06 R10C07 R10C08 R10C09\n\n+R11C01 R11C02 R11C03 R11C04 R11C05 R11C06 R11C07 R11C08 R11C09\n\n+R12C01 R12C02 R12C03 R12C04 R12C05 R12C06 R12C07 R12C08 R12C09\n\n+R13C01 R13C02 R13C03 R13C04 R13C05 R13C06 R13C07 R13C08 R13C09\n\n+R14C01 R14C02 R14C03 R14C04 R14C05 R14C06 R14C07 R14C08 R14C09\n\n+R15C01 R15C02 R15C03 R15C04 R15C05 R15C06 R15C07 R15C08 R15C09\n\n+R16C01 R16C02 R16C03 R16C04 R16C05 R16C06 R16C07 R16C08 R16C09\n\n+R17C01 R17C02 R17C03 R17C04 R17C05 R17C06 R17C07 R17C08 R17C09\n\n+R18C01 R18C02 R18C03 R18C04 R18C05 R18C06 R18C07 R18C08 R18C09\n\n+R19C01 R19C02 R19C03 R19C04 R19C05 R19C06 R19C07 R19C08 R19C09\n\n+R20C01 R20C02 R20C03 R20C04 R20C05 R20C06 R20C07 R20C08 R20C09\n\n+R21C01 R21C02 R21C03 R21C04 R21C05 R21C06 R21C07 R21C08 R21C09\n\n+R22C01 R22C02 R22C03 R22C04 R22C05 R22C06 R22C07 R22C08 R22C09\n\n+R23C01 R23C02 R23C03 R23C04 R23C05 R23C06 R23C07 R23C08 R23C09\n\n+R24C01 R24C02 R24C03 R24C04 R24C05 R24C06 R24C07 R24C08 R24C09\n\n+R25C01 R25C02 R25C03 R25C04 R25C05 R25C06 R25C07 R25C08 R25C09\n\n+R26C01 R26C02 R26C03 R26C04 R26C05 R26C06 R26C07 R26C08 R26C09\n\n+R27C01 R27C02 R27C03 R27C04 R27C05 R27C06 R27C07 R27C08 R27C09\n\n+R28C01 R28C02 R28C03 R28C04 R28C05 R28C06 R28C07 R28C08 R28C09\n\n+R29C01 R29C02 R29C03 R29C04 R29C05 R29C06 R29C07 R29C08 R29C09\n\n+R30C01 R30C02 R30C03 R30C04 R30C05 R30C06 R30C07 R30C08 R30C09\n\n+R31C01 R31C02 R31C03 R31C04 R31C05 R31C06 R31C07 R31C08 R31C09\n\n+R32C01 R32C02 R32C03 R32C04 R32C05 R32C06 R32C07 R32C08 R32C09\n\n+R33C01 R33C02 R33C03 R33C04 R33C05 R33C06 R33C07 R33C08 R33C09\n\n+R34C01 R34C02 R34C03 R34C04 R34C05 R34C06 R34C07 R34C08 R34C09\n\n+R35C01 R35C02 R35C03 R35C04 R35C05 R35C06 R35C07 R35C08 R35C09\n\n+R36C01 R36C02 R36C03 R36C04 R36C05 R36C06 R36C07 R36C08 R36C09\n\n+R37C01 R37C02 R37C03 R37C04 R37C05 R37C06 R37C07 R37C08 R37C09\n\n+R38C01 R38C02 R38C03 R38C04 R38C05 R38C06 R38C07 R38C08 R38C09\n\n+R39C01 R39C02 R39C03 R39C04 R39C05 R39C06 R39C07 R39C08 R39C09\n\n+R40C01 R40C02 R40C03 R40C04 R40C05 R40C06 R40C07 R40C08 R40C09\n\n+R41C01 R41C02 R41C03 R41C04 R41C05 R41C06 R41C07 R41C08 R41C09\n\n+R42C01 R42C02 R42C03 R42C04 R42C05 R42C06 R42C07 R42C08 R42C09\n\n+R43C01 R43C02 R43C03 R43C04 R43C05 R43C06 R43C07 R43C08 R43C09\n\n+R44C01 R44C02 R44C03 R44C04 R44C05 R44C06 R44C07 R44C08 R44C09\n\n+R45C01 R45C02 R45C03 R45C04 R45C05 R45C06 R45C07 R45C08 R45C09\n\n+R46C01 R46C02 R46C03 R46C04 R46C05 R46C06 R46C07 R46C08 R46C09\n\n+R47C01 R47C02 R47C03 R47C04 R47C05 R47C06 R47C07 R47C08 R47C09\n\n ---PAGE---\n\n-R43C01 R43C02 R43C03 R43C04 R43C05 R43C06 R43C07 R43C08 R43C09 R43C10\n\n-R44C01 R44C02 R44C03 R44C04 R44C05 R44C06 R44C07 R44C08 R44C09 R44C10\n\n-R45C01 R45C02 R45C03 R45C04 R45C05 R45C06 R45C07 R45C08 R45C09 R45C10\n\n-R46C01 R46C02 R46C03 R46C04 R46C05 R46C06 R46C07 R46C08 R46C09 R46C10\n\n-R47C01 R47C02 R47C03 R47C04 R47C05 R47C06 R47C07 R47C08 R47C09 R47C10\n\n-R48C01 R48C02 R48C03 R48C04 R48C05 R48C06 R48C07 R48C08 R48C09 R48C10\n\n-R49C01 R49C02 R49C03 R49C04 R49C05 R49C06 R49C07 R49C08 R49C09 R49C10\n\n-R50C01 R50C02 R50C03 R50C04 R50C05 R50C06 R50C07 R50C08 R50C09 R50C10\n\n+R48C01 R48C02 R48C03 R48C04 R48C05 R48C06 R48C07 R48C08 R48C09\n\n+R49C01 R49C02 R49C03 R49C04 R49C05 R49C06 R49C07 R49C08 R49C09\n\n+R50C01 R50C02 R50C03 R50C04 R50C05 R50C06 R50C07 R50C08 R50C09\n\n ---PAGE---\n\n-Col11 Col12 Col13 Col14 Col15 Col16 Col17 Col18 Col19 Col20\n\n-R01C11 R01C12 R01C13 R01C14 R01C15 R01C16 R01C17 R01C18 R01C19 R01C20\n\n-R02C11 R02C12 R02C13 R02C14 R02C15 R02C16 R02C17 R02C18 R02C19 R02C20\n\n-R03C11 R03C12 R03C13 R03C14 R03C15 R03C16 R03C17 R03C18 R03C19 R03C20\n\n-R04C11 R04C12 R04C13 R04C14 R04C15 R04C16 R04C17 R04C18 R04C19 R04C20\n\n-R05C11 R05C12 R05C13 R05C14 R05C15 R05C16 R05C17 R05C18 R05C19 R05C20\n\n-R06C11 R06C12 R06C13 R06C14 R06C15 R06C16 R06C17 R06C18 R06C19 R06C20\n\n-R07C11 R07C12 R07C13 R07C14 R07C15 R07C16 R07C17 R07C18 R07C19 R07C20\n\n-R08C11 R08C12 R08C13 R08C14 R08C15 R08C16 R08C17 R08C18 R08C19 R08C20\n\n-R09C11 R09C12 R09C13 R09C14 R09C15 R09C16 R09C17 R09C18 R09C19 R09C20\n\n-R10C11 R10C12 R10C13 R10C14 R10C15 R10C16 R10C17 R10C18 R10C19 R10C20\n\n-R11C11 R11C12 R11C13 R11C14 R11C15 R11C16 R11C17 R11C18 R11C19 R11C20\n\n-R12C11 R12C12 R12C13 R12C14 R12C15 R12C16 R12C17 R12C18 R12C19 R12C20\n\n-R13C11 R13C12 R13C13 R13C14 R13C15 R13C16 R13C17 R13C18 R13C19 R13C20\n\n-R14C11 R14C12 R14C13 R14C14 R14C15 R14C16 R14C17 R14C18 R14C19 R14C20\n\n-R15C11 R15C12 R15C13 R15C14 R15C15 R15C16 R15C17 R15C18 R15C19 R15C20\n\n-R16C11 R16C12 R16C13 R16C14 R16C15 R16C16 R16C17 R16C18 R16C19 R16C20\n\n-R17C11 R17C12 R17C13 R17C14 R17C15 R17C16 R17C17 R17C18 R17C19 R17C20\n\n-R18C11 R18C12 R18C13 R18C14 R18C15 R18C16 R18C17 R18C18 R18C19 R18C20\n\n-R19C11 R19C12 R19C13 R19C14 R19C15 R19C16 R19C17 R19C18 R19C19 R19C20\n\n-R20C11 R20C12 R20C13 R20C14 R20C15 R20C16 R20C17 R20C18 R20C19 R20C20\n\n-R21C11 R21C12 R21C13 R21C14 R21C15 R21C16 R21C17 R21C18 R21C19 R21C20\n\n-R22C11 R22C12 R22C13 R22C14 R22C15 R22C16 R22C17 R22C18 R22C19 R22C20\n\n-R23C11 R23C12 R23C13 R23C14 R23C15 R23C16 R23C17 R23C18 R23C19 R23C20\n\n-R24C11 R24C12 R24C13 R24C14 R24C15 R24C16 R24C17 R24C18 R24C19 R24C20\n\n-R25C11 R25C12 R25C13 R25C14 R25C15 R25C16 R25C17 R25C18 R25C19 R25C20\n\n-R26C11 R26C12 R26C13 R26C14 R26C15 R26C16 R26C17 R26C18 R26C19 R26C20\n\n-R27C11 R27C12 R27C13 R27C14 R27C15 R27C16 R27C17 R27C18 R27C19 R27C20\n\n-R28C11 R28C12 R28C13 R28C14 R28C15 R28C16 R28C17 R28C18 R28C19 R28C20\n\n-R29C11 R29C12 R29C13 R29C14 R29C15 R29C16 R29C17 R29C18 R29C19 R29C20\n\n-R30C11 R30C12 R30C13 R30C14 R30C15 R30C16 R30C17 R30C18 R30C19 R30C20\n\n-R31C11 R31C12 R31C13 R31C14 R31C15 R31C16 R31C17 R31C18 R31C19 R31C20\n\n-R32C11 R32C12 R32C13 R32C14 R32C15 R32C16 R32C17 R32C18 R32C19 R32C20\n\n-R33C11 R33C12 R33C13 R33C14 R33C15 R33C16 R33C17 R33C18 R33C19 R33C20\n\n-R34C11 R34C12 R34C13 R34C14 R34C15 R34C16 R34C17 R34C18 R34C19 R34C20\n\n-R35C11 R35C12 R35C13 R35C14 R35C15 R35C16 R35C17 R35C18 R35C19 R35C20\n\n-R36C11 R36C12 R36C13 R36C14 R36C15 R36C16 R36C17 R36C18 R36C19 R36C20\n\n-R37C11 R37C12 R37C13 R37C14 R37C15 R37C16 R37C17 R37C18 R37C19 R37C20\n\n-R38C11 R38C12 R38C13 R38C14 R38C15 R38C16 R38C17 R38C18 R38C19 R38C20\n\n-R39C11 R39C12 R39C13 R39C14 R39C15 R39C16 R39C17 R39C18 R39C19 R39C20\n\n-R40C11 R40C12 R40C13 R40C14 R40C15 R40C16 R40C17 R40C18 R40C19 R40C20\n\n-R41C11 R41C12 R41C13 R41C14 R41C15 R41C16 R41C17 R41C18 R41C19 R41C20\n\n-R42C11 R42C12 R42C13 R42C14 R42C15 R42C16 R42C17 R42C18 R42C19 R42C20\n\n+Col10 Col11 Col12 Col13 Col14 Col15 Col16 Col17 Col18\n\n+R01C10 R01C11 R01C12 R01C13 R01C14 R01C15 R01C16 R01C17 R01C18\n\n+R02C10 R02C11 R02C12 R02C13 R02C14 R02C15 R02C16 R02C17 R02C18\n\n+R03C10 R03C11 R03C12 R03C13 R03C14 R03C15 R03C16 R03C17 R03C18\n\n+R04C10 R04C11 R04C12 R04C13 R04C14 R04C15 R04C16 R04C17 R04C18\n\n+R05C10 R05C11 R05C12 R05C13 R05C14 R05C15 R05C16 R05C17 R05C18\n\n+R06C10 R06C11 R06C12 R06C13 R06C14 R06C15 R06C16 R06C17 R06C18\n\n+R07C10 R07C11 R07C12 R07C13 R07C14 R07C15 R07C16 R07C17 R07C18\n\n+R08C10 R08C11 R08C12 R08C13 R08C14 R08C15 R08C16 R08C17 R08C18\n\n+R09C10 R09C11 R09C12 R09C13 R09C14 R09C15 R09C16 R09C17 R09C18\n\n+R10C10 R10C11 R10C12 R10C13 R10C14 R10C15 R10C16 R10C17 R10C18\n\n+R11C10 R11C11 R11C12 R11C13 R11C14 R11C15 R11C16 R11C17 R11C18\n\n+R12C10 R12C11 R12C12 R12C13 R12C14 R12C15 R12C16 R12C17 R12C18\n\n+R13C10 R13C11 R13C12 R13C13 R13C14 R13C15 R13C16 R13C17 R13C18\n\n+R14C10 R14C11 R14C12 R14C13 R14C14 R14C15 R14C16 R14C17 R14C18\n\n+R15C10 R15C11 R15C12 R15C13 R15C14 R15C15 R15C16 R15C17 R15C18\n\n+R16C10 R16C11 R16C12 R16C13 R16C14 R16C15 R16C16 R16C17 R16C18\n\n+R17C10 R17C11 R17C12 R17C13 R17C14 R17C15 R17C16 R17C17 R17C18\n\n+R18C10 R18C11 R18C12 R18C13 R18C14 R18C15 R18C16 R18C17 R18C18\n\n+R19C10 R19C11 R19C12 R19C13 R19C14 R19C15 R19C16 R19C17 R19C18\n\n+R20C10 R20C11 R20C12 R20C13 R20C14 R20C15 R20C16 R20C17 R20C18\n\n+R21C10 R21C11 R21C12 R21C13 R21C14 R21C15 R21C16 R21C17 R21C18\n\n+R22C10 R22C11 R22C12 R22C13 R22C14 R22C15 R22C16 R22C17 R22C18\n\n+R23C10 R23C11 R23C12 R23C13 R23C14 R23C15 R23C16 R23C17 R23C18\n\n+R24C10 R24C11 R24C12 R24C13 R24C14 R24C15 R24C16 R24C17 R24C18\n\n+R25C10 R25C11 R25C12 R25C13 R25C14 R25C15 R25C16 R25C17 R25C18\n\n+R26C10 R26C11 R26C12 R26C13 R26C14 R26C15 R26C16 R26C17 R26C18\n\n+R27C10 R27C11 R27C12 R27C13 R27C14 R27C15 R27C16 R27C17 R27C18\n\n+R28C10 R28C11 R28C12 R28C13 R28C14 R28C15 R28C16 R28C17 R28C18\n\n+R29C10 R29C11 R29C12 R29C13 R29C14 R29C15 R29C16 R29C17 R29C18\n\n+R30C10 R30C11 R30C12 R30C13 R30C14 R30C15 R30C16 R30C17 R30C18\n\n+R31C10 R31C11 R31C12 R31C13 R31C14 R31C15 R31C16 R31C17 R31C18\n\n+R32C10 R32C11 R32C12 R32C13 R32C14 R32C15 R32C16 R32C17 R32C18\n\n+R33C10 R33C11 R33C12 R33C13 R33C14 R33C15 R33C16 R33C17 R33C18\n\n+R34C10 R34C11 R34C12 R34C13 R34C14 R34C15 R34C16 R34C17 R34C18\n\n+R35C10 R35C11 R35C12 R35C13 R35C14 R35C15 R35C16 R35C17 R35C18\n\n+R36C10 R36C11 R36C12 R36C13 R36C14 R36C15 R36C16 R36C17 R36C18\n\n+R37C10 R37C11 R37C12 R37C13 R37C14 R37C15 R37C16 R37C17 R37C18\n\n+R38C10 R38C11 R38C12 R38C13 R38C14 R38C15 R38C16 R38C17 R38C18\n\n+R39C10 R39C11 R39C12 R39C13 R39C14 R39C15 R39C16 R39C17 R39C18\n\n+R40C10 R40C11 R40C12 R40C13 R40C14 R40C15 R40C16 R40C17 R40C18\n\n+R41C10 R41C11 R41C12 R41C13 R41C14 R41C15 R41C16 R41C17 R41C18\n\n+R42C10 R42C11 R42C12 R42C13 R42C14 R42C15 R42C16 R42C17 R42C18\n\n+R43C10 R43C11 R43C12 R43C13 R43C14 R43C15 R43C16 R43C17 R43C18\n\n+R44C10 R44C11 R44C12 R44C13 R44C14 R44C15 R44C16 R44C17 R44C18\n\n+R45C10 R45C11 R45C12 R45C13 R45C14 R45C15 R45C16 R45C17 R45C18\n\n+R46C10 R46C11 R46C12 R46C13 R46C14 R46C15 R46C16 R46C17 R46C18\n\n+R47C10 R47C11 R47C12 R47C13 R47C14 R47C15 R47C16 R47C17 R47C18\n\n ---PAGE---\n\n-R43C11 R43C12 R43C13 R43C14 R43C15 R43C16 R43C17 R43C18 R43C19 R43C20\n\n-R44C11 R44C12 R44C13 R44C14 R44C15 R44C16 R44C17 R44C18 R44C19 R44C20\n\n-R45C11 R45C12 R45C13 R45C14 R45C15 R45C16 R45C17 R45C18 R45C19 R45C20\n\n-R46C11 R46C12 R46C13 R46C14 R46C15 R46C16 R46C17 R46C18 R46C19 R46C20\n\n-R47C11 R47C12 R47C13 R47C14 R47C15 R47C16 R47C17 R47C18 R47C19 R47C20\n\n-R48C11 R48C12 R48C13 R48C14 R48C15 R48C16 R48C17 R48C18 R48C19 R48C20\n\n-R49C11 R49C12 R49C13 R49C14 R49C15 R49C16 R49C17 R49C18 R49C19 R49C20\n\n-R50C11 R50C12 R50C13 R50C14 R50C15 R50C16 R50C17 R50C18 R50C19 R50C20\n+R48C10 R48C11 R48C12 R48C13 R48C14 R48C15 R48C16 R48C17 R48C18\n\n+R49C10 R49C11 R49C12 R49C13 R49C14 R49C15 R49C16 R49C17 R49C18\n\n+R50C10 R50C11 R50C12 R50C13 R50C14 R50C15 R50C16 R50C17 R50C18\n\n+---PAGE---\n\n+Col19 Col20\n\n+R01C19 R01C20\n\n+R02C19 R02C20\n\n+R03C19 R03C20\n\n+R04C19 R04C20\n\n+R05C19 R05C20\n\n+R06C19 R06C20\n\n+R07C19 R07C20\n\n+R08C19 R08C20\n\n+R09C19 R09C20\n\n+R10C19 R10C20\n\n+R11C19 R11C20\n\n+R12C19 R12C20\n\n+R13C19 R13C20\n\n+R14C19 R14C20\n\n+R15C19 R15C20\n\n+R16C19 R16C20\n\n+R17C19 R17C20\n\n+R18C19 R18C20\n\n+R19C19 R19C20\n\n+R20C19 R20C20\n\n+R21C19 R21C20\n\n+R22C19 R22C20\n\n+R23C19 R23C20\n\n+R24C19 R24C20\n\n+R25C19 R25C20\n\n+R26C19 R26C20\n\n+R27C19 R27C20\n\n+R28C19 R28C20\n\n+R29C19 R29C20\n\n+R30C19 R30C20\n\n+R31C19 R31C20\n\n+R32C19 R32C20\n\n+R33C19 R33C20\n\n+R34C19 R34C20\n\n+R35C19 R35C20\n\n+R36C19 R36C20\n\n+R37C19 R37C20\n\n+R38C19 R38C20\n\n+R39C19 R39C20\n\n+R40C19 R40C20\n\n+R41C19 R41C20\n\n+R42C19 R42C20\n\n+R43C19 R43C20\n\n+R44C19 R44C20\n\n+R45C19 R45C20\n\n+R46C19 R46C20\n\n+R47C19 R47C20\n\n+---PAGE---\n\n+R48C19 R48C20\n\n+R49C19 R49C20\n\n+R50C19 R50C20", - "visual_scores": [ - 0.8471, - 0.9522, - 0.8527, - 0.955, - 0.0, - 0.0 - ], - "visual_avg": 0.6012, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic60_large_wide_table_p1_minipdf.png", - "reference_img": "classic60_large_wide_table_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic60_large_wide_table_p2_minipdf.png", - "reference_img": "classic60_large_wide_table_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic60_large_wide_table_p3_minipdf.png", - "reference_img": "classic60_large_wide_table_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic60_large_wide_table_p4_minipdf.png", - "reference_img": "classic60_large_wide_table_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": null, - "reference_img": "classic60_large_wide_table_p5_reference.png" - }, - { - "page": 6, - "minipdf_img": null, - "reference_img": "classic60_large_wide_table_p6_reference.png" - } - ], - "overall_score": 0.6813 - }, - { - "name": "classic61_product_card_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2590, - "reference_size": 71701, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.989 - ], - "visual_avg": 0.989, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic61_product_card_with_image_p1_minipdf.png", - "reference_img": "classic61_product_card_with_image_p1_reference.png" - } - ], - "overall_score": 0.9956 - }, - { - "name": "classic62_company_logo_header", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3627, - "reference_size": 79788, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.988, - "flat_text_similarity": 0.988, - "word_text_similarity": 0.898, - "text_diff": "--- minipdf/classic62_company_logo_header.pdf\n+++ reference/classic62_company_logo_header.pdf\n@@ -1,6 +1,6 @@\n ACME Corporation\n\n Annual Report 2025\n\n-Department Q1 Q2 Q3 Q4\n\n+DepartmenQ1 Q2 Q3 Q4\n\n Sales 120 135 142 160\n\n-Engineering 85 90 95 100\n\n+Engineerin 85 90 95 100\n\n Marketing 60 65 70 75", - "visual_scores": [ - 0.9869 - ], - "visual_avg": 0.9869, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic62_company_logo_header_p1_minipdf.png", - "reference_img": "classic62_company_logo_header_p1_reference.png" - } - ], - "overall_score": 0.99 - }, - { - "name": "classic63_two_products_side_by_side", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3613, - "reference_size": 46024, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9778 - ], - "visual_avg": 0.9778, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic63_two_products_side_by_side_p1_minipdf.png", - "reference_img": "classic63_two_products_side_by_side_p1_reference.png" - } - ], - "overall_score": 0.9911 - }, - { - "name": "classic64_employee_directory_with_photo", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5233, - "reference_size": 71738, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9903, - "flat_text_similarity": 0.9903, - "word_text_similarity": 0.8421, - "text_diff": "--- minipdf/classic64_employee_directory_with_photo.pdf\n+++ reference/classic64_employee_directory_with_photo.pdf\n@@ -1,4 +1,4 @@\n-Photo Name Title Department Email\n\n+Photo Name Title DepartmenEmail\n\n Alice Chen Engineer R&D alice@example.com\n\n Bob Smith Manager Sales bob@example.com\n\n-Carol Wang Designer UX carol@example.com\n+Carol WangDesigner UX carol@example.com", - "visual_scores": [ - 0.9744 - ], - "visual_avg": 0.9744, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic64_employee_directory_with_photo_p1_minipdf.png", - "reference_img": "classic64_employee_directory_with_photo_p1_reference.png" - } - ], - "overall_score": 0.9859 - }, - { - "name": "classic65_inventory_with_product_photos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7526, - "reference_size": 81216, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9786, - "flat_text_similarity": 0.9786, - "word_text_similarity": 0.8333, - "text_diff": "--- minipdf/classic65_inventory_with_product_photos.pdf\n+++ reference/classic65_inventory_with_product_photos.pdf\n@@ -1,6 +1,6 @@\n Image SKU Name Qty Price\n\n-SKU-001 Red Widget 50 9.99\n\n-SKU-002 Blue Gadget 30 14.99\n\n-SKU-003 Green Tool 100 4.49\n\n-SKU-004 Yellow Device 25 29.99\n\n-SKU-005 Purple Gear 75 7.99\n+SKU-001 Red Widge 50 9.99\n\n+SKU-002 Blue Gadge 30 14.99\n\n+SKU-003 Green Too 100 4.49\n\n+SKU-004 Yellow Dev 25 29.99\n\n+SKU-005 Purple Gea 75 7.99", - "visual_scores": [ - 0.9872 - ], - "visual_avg": 0.9872, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic65_inventory_with_product_photos_p1_minipdf.png", - "reference_img": "classic65_inventory_with_product_photos_p1_reference.png" - } - ], - "overall_score": 0.9863 - }, - { - "name": "classic66_invoice_with_logo", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3600, - "reference_size": 87535, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9358, - "flat_text_similarity": 0.9358, - "word_text_similarity": 0.8519, - "text_diff": "--- minipdf/classic66_invoice_with_logo.pdf\n+++ reference/classic66_invoice_with_logo.pdf\n@@ -1,8 +1,8 @@\n INVOICE\n\n Invoice #: INV-20250301\n\n Date: 2025-03-01\n\n-Description Qty Unit Price Total\n\n-Consulting Services 8 150 1200\n\n-Software License 1 299 299\n\n-Support Package 1 99 99\n\n+DescriptionQty Unit Price Total\n\n+Consulting 8 150 1200\n\n+Software L 1 299 299\n\n+Support Pa 1 99 99\n\n Total 1598", - "visual_scores": [ - 0.9836 - ], - "visual_avg": 0.9836, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic66_invoice_with_logo_p1_minipdf.png", - "reference_img": "classic66_invoice_with_logo_p1_reference.png" - } - ], - "overall_score": 0.9678 - }, - { - "name": "classic67_real_estate_listing", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3467, - "reference_size": 95016, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9828 - ], - "visual_avg": 0.9828, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic67_real_estate_listing_p1_minipdf.png", - "reference_img": "classic67_real_estate_listing_p1_reference.png" - } - ], - "overall_score": 0.9931 - }, - { - "name": "classic68_restaurant_menu", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5975, - "reference_size": 89964, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.875, - "flat_text_similarity": 0.8246, - "word_text_similarity": 0.875, - "text_diff": "--- minipdf/classic68_restaurant_menu.pdf\n+++ reference/classic68_restaurant_menu.pdf\n@@ -1,9 +1,9 @@\n Today's Menu\n\n-Grilled Salmon $18.99\n\n+Grilled Salm $18.99\n\n Fresh Atlantic salmon with herbs\n\n-Caesar Salad $12.99\n\n+Caesar Sala $12.99\n\n Romaine lettuce, croutons, parmesan\n\n-Beef Burger $14.99\n\n+Beef Burge $14.99\n\n 8oz Angus beef, brioche bun\n\n-Pasta Primavera $13.99\n\n+Pasta Prim $13.99\n\n Seasonal vegetables, olive oil", - "visual_scores": [ - 0.9218 - ], - "visual_avg": 0.9218, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic68_restaurant_menu_p1_minipdf.png", - "reference_img": "classic68_restaurant_menu_p1_reference.png" - } - ], - "overall_score": 0.9187 - }, - { - "name": "classic69_image_only_sheet", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2871, - "reference_size": 6125, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9767 - ], - "visual_avg": 0.9767, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic69_image_only_sheet_p1_minipdf.png", - "reference_img": "classic69_image_only_sheet_p1_reference.png" - } - ], - "overall_score": 0.9907 - }, - { - "name": "classic70_product_catalog_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5053, - "reference_size": 85583, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9675, - "flat_text_similarity": 0.9675, - "word_text_similarity": 0.92, - "text_diff": "--- minipdf/classic70_product_catalog_with_images.pdf\n+++ reference/classic70_product_catalog_with_images.pdf\n@@ -1,7 +1,7 @@\n Product Catalog - Spring 2025\n\n Classic Pen $3.99\n\n A reliable ballpoint pen\n\n-Leather Notebook $12.99\n\n+Leather No $12.99\n\n Premium A5 notebook\n\n-Desk Organizer $24.99\n\n+Desk Organ $24.99\n\n Bamboo desk tidy set", - "visual_scores": [ - 0.9665 - ], - "visual_avg": 0.9665, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic70_product_catalog_with_images_p1_minipdf.png", - "reference_img": "classic70_product_catalog_with_images_p1_reference.png" - } - ], - "overall_score": 0.9736 - }, - { - "name": "classic71_multi_sheet_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5900, - "reference_size": 56101, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.9898, - "flat_text_similarity": 0.988, - "word_text_similarity": 0.8571, - "text_diff": "--- minipdf/classic71_multi_sheet_with_images.pdf\n+++ reference/classic71_multi_sheet_with_images.pdf\n@@ -6,6 +6,6 @@\n Digital 50000\n\n Print 20000\n\n ---PAGE---\n\n-Department Headcount\n\n-Engineering 45\n\n+DepartmenHeadcount\n\n+Engineerin 45\n\n Sales 30", - "visual_scores": [ - 0.9926, - 0.9926, - 0.9927 - ], - "visual_avg": 0.9926, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic71_multi_sheet_with_images_p1_minipdf.png", - "reference_img": "classic71_multi_sheet_with_images_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic71_multi_sheet_with_images_p2_minipdf.png", - "reference_img": "classic71_multi_sheet_with_images_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic71_multi_sheet_with_images_p3_minipdf.png", - "reference_img": "classic71_multi_sheet_with_images_p3_reference.png" - } - ], - "overall_score": 0.993 - }, - { - "name": "classic72_bar_chart_image_with_data", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4032, - "reference_size": 74026, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.953 - ], - "visual_avg": 0.953, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic72_bar_chart_image_with_data_p1_minipdf.png", - "reference_img": "classic72_bar_chart_image_with_data_p1_reference.png" - } - ], - "overall_score": 0.9812 - }, - { - "name": "classic73_event_flyer_with_banner", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3975, - "reference_size": 87466, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9087, - "flat_text_similarity": 0.9087, - "word_text_similarity": 0.8675, - "text_diff": "--- minipdf/classic73_event_flyer_with_banner.pdf\n+++ reference/classic73_event_flyer_with_banner.pdf\n@@ -3,7 +3,7 @@\n Venue: Convention Center Hall A\n\n Speakers: 20+ Industry Leaders\n\n Time Session Speaker\n\n-09:00 Opening Keynote Dr. Jane Kim\n\n-10:30 AI in Practice Prof. Mark Liu\n\n-13:00 Cloud Architecture Eng. Sara Patel\n\n-15:00 Panel Discussion All Speakers\n+09:00 Opening KeDr. Jane Kim\n\n+10:30 AI in Practi Prof. Mark Liu\n\n+13:00 Cloud ArchEng. Sara Patel\n\n+15:00 Panel DiscuAll Speakers", - "visual_scores": [ - 0.9636 - ], - "visual_avg": 0.9636, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic73_event_flyer_with_banner_p1_minipdf.png", - "reference_img": "classic73_event_flyer_with_banner_p1_reference.png" - } - ], - "overall_score": 0.9489 - }, - { - "name": "classic74_dashboard_with_kpi_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 295923, - "reference_size": 99265, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9846, - "flat_text_similarity": 0.9846, - "word_text_similarity": 0.9206, - "text_diff": "--- minipdf/classic74_dashboard_with_kpi_image.pdf\n+++ reference/classic74_dashboard_with_kpi_image.pdf\n@@ -1,6 +1,6 @@\n Executive Dashboard Q1 2025\n\n KPI Target Actual Status\n\n Revenue 500000 523000 ✓ Above\n\n-New Customers 200 187 ✗ Below\n\n+New Custo 200 187 ✗ Below\n\n NPS Score 70 74 ✓ Above\n\n-Churn Rate < 3% 2.8% ✓ Above\n+Churn Rate< 3% 2.8% ✓ Above", - "visual_scores": [ - 0.9454 - ], - "visual_avg": 0.9454, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic74_dashboard_with_kpi_image_p1_minipdf.png", - "reference_img": "classic74_dashboard_with_kpi_image_p1_reference.png" - } - ], - "overall_score": 0.972 - }, - { - "name": "classic75_certificate_with_seal", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1473, - "reference_size": 77570, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9743 - ], - "visual_avg": 0.9743, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic75_certificate_with_seal_p1_minipdf.png", - "reference_img": "classic75_certificate_with_seal_p1_reference.png" - } - ], - "overall_score": 0.9897 - }, - { - "name": "classic76_product_image_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5634, - "reference_size": 67180, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9495 - ], - "visual_avg": 0.9495, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic76_product_image_grid_p1_minipdf.png", - "reference_img": "classic76_product_image_grid_p1_reference.png" - } - ], - "overall_score": 0.9798 - }, - { - "name": "classic77_news_article_with_hero_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3270, - "reference_size": 112553, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9627 - ], - "visual_avg": 0.9627, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic77_news_article_with_hero_image_p1_minipdf.png", - "reference_img": "classic77_news_article_with_hero_image_p1_reference.png" - } - ], - "overall_score": 0.9851 - }, - { - "name": "classic78_small_icon_per_row", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6908, - "reference_size": 76703, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9226, - "flat_text_similarity": 0.9226, - "word_text_similarity": 0.75, - "text_diff": "--- minipdf/classic78_small_icon_per_row.pdf\n+++ reference/classic78_small_icon_per_row.pdf\n@@ -1,6 +1,6 @@\n Icon Task Assignee Status\n\n-Fix login bug Alice Done\n\n-Write unit tests Bob In Progress\n\n-Deploy to staging Carol Pending\n\n-Code review PR #42 Alice Done\n\n-Update docs Dave In Progress\n+Fix login buAlice Done\n\n+Write unit Bob In Progress\n\n+Deploy to sCarol Pending\n\n+Code revie Alice Done\n\n+Update docDave In Progress", - "visual_scores": [ - 0.9894 - ], - "visual_avg": 0.9894, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic78_small_icon_per_row_p1_minipdf.png", - "reference_img": "classic78_small_icon_per_row_p1_reference.png" - } - ], - "overall_score": 0.9648 - }, - { - "name": "classic79_wide_panoramic_banner", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3669, - "reference_size": 87926, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.959 - ], - "visual_avg": 0.959, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic79_wide_panoramic_banner_p1_minipdf.png", - "reference_img": "classic79_wide_panoramic_banner_p1_reference.png" - } - ], - "overall_score": 0.9836 - }, - { - "name": "classic80_portrait_tall_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2896, - "reference_size": 71550, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9874 - ], - "visual_avg": 0.9874, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic80_portrait_tall_image_p1_minipdf.png", - "reference_img": "classic80_portrait_tall_image_p1_reference.png" - } - ], - "overall_score": 0.995 - }, - { - "name": "classic81_step_by_step_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5735, - "reference_size": 93150, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.965 - ], - "visual_avg": 0.965, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic81_step_by_step_with_images_p1_minipdf.png", - "reference_img": "classic81_step_by_step_with_images_p1_reference.png" - } - ], - "overall_score": 0.986 - }, - { - "name": "classic82_before_after_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4593, - "reference_size": 79534, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9963, - "flat_text_similarity": 0.9963, - "word_text_similarity": 0.9388, - "text_diff": "--- minipdf/classic82_before_after_images.pdf\n+++ reference/classic82_before_after_images.pdf\n@@ -2,4 +2,4 @@\n Old design – legacy UI New design – modern UI\n\n Metric Before After Delta\n\n Load time 4.2s 1.1s -74%\n\n-Conversion 2.1% 4.8% +129%\n+Conversion2.1% 4.8% +129%", - "visual_scores": [ - 0.9372 - ], - "visual_avg": 0.9372, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic82_before_after_images_p1_minipdf.png", - "reference_img": "classic82_before_after_images_p1_reference.png" - } - ], - "overall_score": 0.9734 - }, - { - "name": "classic83_color_swatch_palette", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7653, - "reference_size": 82749, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9708, - "flat_text_similarity": 0.9708, - "word_text_similarity": 0.7541, - "text_diff": "--- minipdf/classic83_color_swatch_palette.pdf\n+++ reference/classic83_color_swatch_palette.pdf\n@@ -1,7 +1,7 @@\n Brand Color Palette\n\n-Primary Blue RGB(0, 82, 165)\n\n-Primary Red RGB(197, 27, 50)\n\n-Accent Green RGB(0, 163, 108)\n\n-Neutral Grey RGB(128, 128, 128)\n\n-Warm Yellow RGB(255, 193, 7)\n\n+Primary BluRGB(0, 82, 165)\n\n+Primary ReRGB(197, 27, 50)\n\n+Accent GreRGB(0, 163, 108)\n\n+Neutral GreRGB(128, 128, 128)\n\n+Warm YelloRGB(255, 193, 7)\n\n Dark Navy RGB(10, 30, 70)", - "visual_scores": [ - 0.9771 - ], - "visual_avg": 0.9771, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic83_color_swatch_palette_p1_minipdf.png", - "reference_img": "classic83_color_swatch_palette_p1_reference.png" - } - ], - "overall_score": 0.9792 - }, - { - "name": "classic84_travel_destination_cards", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4952, - "reference_size": 83209, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9553 - ], - "visual_avg": 0.9553, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic84_travel_destination_cards_p1_minipdf.png", - "reference_img": "classic84_travel_destination_cards_p1_reference.png" - } - ], - "overall_score": 0.9821 - }, - { - "name": "classic85_lab_results_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4404, - "reference_size": 91041, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9847, - "flat_text_similarity": 0.9847, - "word_text_similarity": 0.9524, - "text_diff": "--- minipdf/classic85_lab_results_with_image.pdf\n+++ reference/classic85_lab_results_with_image.pdf\n@@ -1,6 +1,6 @@\n Sample Analysis Report\n\n-Parameter Value Unit Reference Range Flag\n\n-pH 7.35 7.35 – 7.45 Normal\n\n+Parameter Value Unit Reference Flag\n\n+pH 7.35 7.35 – 7.45Normal\n\n Glucose 5.2 mmol/L 3.9 – 5.5 Normal\n\n Sodium 142 mEq/L 136 – 145 Normal\n\n Potassium 5 mEq/L 3.5 – 5.0 Normal\n", - "visual_scores": [ - 0.9557 - ], - "visual_avg": 0.9557, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic85_lab_results_with_image_p1_minipdf.png", - "reference_img": "classic85_lab_results_with_image_p1_reference.png" - } - ], - "overall_score": 0.9762 - }, - { - "name": "classic86_software_screenshot_features", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3604, - "reference_size": 75924, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.977, - "flat_text_similarity": 0.977, - "word_text_similarity": 0.7925, - "text_diff": "--- minipdf/classic86_software_screenshot_features.pdf\n+++ reference/classic86_software_screenshot_features.pdf\n@@ -1,9 +1,9 @@\n MiniApp v2.0\n\n The fastest lightweight app\n\n Feature Available\n\n-Dark Mode Yes\n\n+Dark ModeYes\n\n Auto Save Yes\n\n-Cloud Sync Yes\n\n-Offline Mode Yes\n\n+Cloud SyncYes\n\n+Offline Mo Yes\n\n API Access Pro only\n\n-Export to PDF Yes\n+Export to PYes", - "visual_scores": [ - 0.9824 - ], - "visual_avg": 0.9824, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic86_software_screenshot_features_p1_minipdf.png", - "reference_img": "classic86_software_screenshot_features_p1_reference.png" - } - ], - "overall_score": 0.9838 - }, - { - "name": "classic87_sports_results_with_logos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6654, - "reference_size": 84228, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9879 - ], - "visual_avg": 0.9879, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic87_sports_results_with_logos_p1_minipdf.png", - "reference_img": "classic87_sports_results_with_logos_p1_reference.png" - } - ], - "overall_score": 0.9952 - }, - { - "name": "classic88_image_after_data", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3759, - "reference_size": 84797, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9739 - ], - "visual_avg": 0.9739, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic88_image_after_data_p1_minipdf.png", - "reference_img": "classic88_image_after_data_p1_reference.png" - } - ], - "overall_score": 0.9896 - }, - { - "name": "classic89_nutrition_label_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4152, - "reference_size": 90810, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9452, - "flat_text_similarity": 0.9452, - "word_text_similarity": 0.8312, - "text_diff": "--- minipdf/classic89_nutrition_label_with_image.pdf\n+++ reference/classic89_nutrition_label_with_image.pdf\n@@ -1,11 +1,11 @@\n Nutrition Facts\n\n Serving Size: 30g (approx. 1 cup)\n\n-Nutrient Amount per serving % Daily Value\n\n+Nutrient Amount pe% Daily Value\n\n Calories 120 kcal\n\n Total Fat 3g 4%\n\n-Saturated Fat 0.5g 3%\n\n+Saturated F0.5g 3%\n\n Sodium 160mg 7%\n\n-Total Carbohydrate 22g 8%\n\n-Dietary Fiber 3g 11%\n\n+Total Carbo22g 8%\n\n+Dietary Fib3g 11%\n\n Sugars 4g\n\n Protein 3g", - "visual_scores": [ - 0.9836 - ], - "visual_avg": 0.9836, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic89_nutrition_label_with_image_p1_minipdf.png", - "reference_img": "classic89_nutrition_label_with_image_p1_reference.png" - } - ], - "overall_score": 0.9715 - }, - { - "name": "classic90_project_status_with_milestones", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4254, - "reference_size": 88752, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8211, - "flat_text_similarity": 0.7461, - "word_text_similarity": 0.8211, - "text_diff": "--- minipdf/classic90_project_status_with_milestones.pdf\n+++ reference/classic90_project_status_with_milestones.pdf\n@@ -1,8 +1,8 @@\n Project Orion – Status Report\n\n Reporting Period: Q1 2025\n\n Milestone Due Date Owner Status\n\n-Requirements Freeze Jan 15 PM Team Complete\n\n-Architecture Review Feb 1 Tech Lead Complete\n\n-Alpha Release Feb 28 Dev Team In Progress\n\n-Beta Testing Mar 31 QA Team Not Started\n\n-Production Deploy Apr 15 DevOps Not Started\n+RequiremeJan 15 PM Team Complete\n\n+ArchitecturFeb 1 Tech Lead Complete\n\n+Alpha Rele Feb 28 Dev Team In Progress\n\n+Beta TestinMar 31 QA Team Not Started\n\n+ProductionApr 15 DevOps Not Started", - "visual_scores": [ - 0.94 - ], - "visual_avg": 0.94, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic90_project_status_with_milestones_p1_minipdf.png", - "reference_img": "classic90_project_status_with_milestones_p1_reference.png" - } - ], - "overall_score": 0.9044 - }, - { - "name": "classic91_simple_bar_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4050, - "reference_size": 76902, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8732, - "flat_text_similarity": 0.8325, - "word_text_similarity": 0.8732, - "text_diff": "--- minipdf/classic91_simple_bar_chart.pdf\n+++ reference/classic91_simple_bar_chart.pdf\n@@ -2,16 +2,14 @@\n Widget A 12000\n\n Product Revenue\n\n Widget B 18500\n\n-25000\n\n Widget C 9200\n\n Widget D 22000\n\n Widget E 15600\n\n-20000\n\n-15000\n\n Revenue ($)\n\n-10000\n\n-5000\n\n-0\n\n-Widget A Widget B Widget C Widget D Widget E\n\n Product\n\n----PAGE---\n+---PAGE---\n\n+Widget A\n\n+Widget B\n\n+Widget C\n\n+Widget D\n\n+Widget E", - "visual_scores": [ - 0.8943, - 0.5796 - ], - "visual_avg": 0.7369, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic91_simple_bar_chart_p1_minipdf.png", - "reference_img": "classic91_simple_bar_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic91_simple_bar_chart_p2_minipdf.png", - "reference_img": "classic91_simple_bar_chart_p2_reference.png" - } - ], - "overall_score": 0.844 - }, - { - "name": "classic92_horizontal_bar_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4866, - "reference_size": 78581, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.6833, - "flat_text_similarity": 0.6833, - "word_text_similarity": 0.5357, - "text_diff": "--- minipdf/classic92_horizontal_bar_chart.pdf\n+++ reference/classic92_horizontal_bar_chart.pdf\n@@ -1,15 +1,15 @@\n-Department Headcount\n\n-Engineering 45\n\n+DepartmenHeadcount\n\n+Engineerin 45\n\n Headcount by Department\n\n Sales 30\n\n Marketing 18\n\n-HR 12 Operations\n\n+HR 12\n\n Finance 15\n\n Operations 25\n\n+---PAGE---\n\n+Engineering\n\n+Sales\n\n+Marketing\n\n+HR\n\n Finance\n\n-HR\n\n-Marketing\n\n-Sales\n\n-Engineering\n\n-0 5 10 15 20 25 30 35 40 45\n\n----PAGE---\n+Operations", - "visual_scores": [ - 0.9006, - 0.5938 - ], - "visual_avg": 0.7472, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic92_horizontal_bar_chart_p1_minipdf.png", - "reference_img": "classic92_horizontal_bar_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic92_horizontal_bar_chart_p2_minipdf.png", - "reference_img": "classic92_horizontal_bar_chart_p2_reference.png" - } - ], - "overall_score": 0.7722 - }, - { - "name": "classic93_line_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6697, - "reference_size": 85633, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8542, - "flat_text_similarity": 0.8358, - "word_text_similarity": 0.8542, - "text_diff": "--- minipdf/classic93_line_chart.pdf\n+++ reference/classic93_line_chart.pdf\n@@ -2,22 +2,27 @@\n Jan 3\n\n Monthly Average Temperature\n\n Feb 5\n\n-30\n\n Mar 10\n\n Apr 15\n\n May 20\n\n-25\n\n Jun 25\n\n Jul 28\n\n-20\n\n Aug 27\n\n Sep 22\n\n-15\n\n Oct 15\n\n-Nov 8 Temperature (C)\n\n+Nov 8\n\n Dec 4\n\n-10\n\n-5\n\n-0\n\n-Jan Feb Mar Apr May Jun Jul Aug Sep Oct\n\n----PAGE---\n+Temperature (C)\n\n+---PAGE---\n\n+Jan\n\n+Feb\n\n+Mar\n\n+Apr\n\n+May\n\n+Jun\n\n+Jul\n\n+Aug\n\n+Sep\n\n+Oct\n\n+Nov\n\n+Dec", - "visual_scores": [ - 0.9709, - 0.5901 - ], - "visual_avg": 0.7805, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic93_line_chart_p1_minipdf.png", - "reference_img": "classic93_line_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic93_line_chart_p2_minipdf.png", - "reference_img": "classic93_line_chart_p2_reference.png" - } - ], - "overall_score": 0.8539 - }, - { - "name": "classic94_pie_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 404665, - "reference_size": 78532, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8679, - "flat_text_similarity": 0.8599, - "word_text_similarity": 0.6939, - "text_diff": "--- minipdf/classic94_pie_chart.pdf\n+++ reference/classic94_pie_chart.pdf\n@@ -3,11 +3,15 @@\n Market Share by Segment\n\n SMB 28\n\n Consumer 22\n\n-Government 10\n\n+Governme 10\n\n Education 5\n\n-Enterprise\n\n+Enterp\n\n SMB\n\n-Consumer\n\n-Government\n\n-Education\n\n----PAGE---\n+Consu\n\n+Gover\n\n+Educa\n\n+---PAGE---\n\n+prise\n\n+umer\n\n+rnment\n\n+ation", - "visual_scores": [ - 0.7511, - 0.9976 - ], - "visual_avg": 0.8743, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic94_pie_chart_p1_minipdf.png", - "reference_img": "classic94_pie_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic94_pie_chart_p2_minipdf.png", - "reference_img": "classic94_pie_chart_p2_reference.png" - } - ], - "overall_score": 0.8969 - }, - { - "name": "classic95_area_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 14891, - "reference_size": 80677, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9, - "flat_text_similarity": 0.2458, - "word_text_similarity": 0.9, - "text_diff": "--- minipdf/classic95_area_chart.pdf\n+++ reference/classic95_area_chart.pdf\n@@ -2,29 +2,22 @@\n 00:00 214\n\n Website Traffic by Hour\n\n 01:00 216\n\n-1200\n\n 02:00 218\n\n 03:00 221\n\n 04:00 224\n\n-1000\n\n 05:00 228\n\n 06:00 233\n\n-800\n\n 07:00 240\n\n 08:00 250\n\n-600\n\n 09:00 265\n\n-10:00 288 Users\n\n+Users\n\n+10:00 288\n\n 11:00 329\n\n-400\n\n 12:00 408\n\n 13:00 600\n\n-200\n\n 14:00 1000\n\n 15:00 600\n\n-0\n\n 16:00 408\n\n-00:001:002:003:004:005:006:007:008:009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0\n\n 17:00 329\n\n 18:00 288\n\n 19:00 265\n\n@@ -32,4 +25,5 @@\n 21:00 240\n\n 22:00 233\n\n 23:00 228\n\n----PAGE---\n+---PAGE---\n\n+Users", - "visual_scores": [ - 0.9384, - 0.5664 - ], - "visual_avg": 0.7524, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic95_area_chart_p1_minipdf.png", - "reference_img": "classic95_area_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic95_area_chart_p2_minipdf.png", - "reference_img": "classic95_area_chart_p2_reference.png" - } - ], - "overall_score": 0.861 - }, - { - "name": "classic96_scatter_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8046, - "reference_size": 82367, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7626, - "flat_text_similarity": 0.1695, - "word_text_similarity": 0.7626, - "text_diff": "--- minipdf/classic96_scatter_chart.pdf\n+++ reference/classic96_scatter_chart.pdf\n@@ -1,33 +1,39 @@\n-Ad Spend ($K) Sales ($K)\n\n+Ad Spend ( Sales ($K)\n\n 45 96\n\n Ad Spend vs Sales\n\n 6 11\n\n-Data Points\n\n-140\n\n 20 43\n\n 13 22\n\n-120\n\n 48 117\n\n 10 31\n\n-100\n\n 32 64\n\n 6 5\n\n-80\n\n 18 38\n\n 37 94\n\n-60\n\n-6 20 Sales ($K)\n\n+6 20\n\n+Sales ($K)\n\n 17 49\n\n-40\n\n 49 119\n\n 31 68\n\n-20\n\n 33 83\n\n 22 40\n\n-0\n\n 15 37\n\n-0 10 20 30 40 50\n\n-26 57 Ad Spend ($K)\n\n+26 57\n\n+Ad Spend ($K)\n\n 14 28\n\n 26 52\n\n----PAGE---\n+---PAGE---\n\n+45\n\n+6\n\n+20\n\n+13\n\n+48\n\n+10\n\n+32\n\n+6\n\n+18\n\n+37\n\n+6\n\n+17\n\n+49\n\n+31", - "visual_scores": [ - 0.9545, - 0.5921 - ], - "visual_avg": 0.7733, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic96_scatter_chart_p1_minipdf.png", - "reference_img": "classic96_scatter_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic96_scatter_chart_p2_minipdf.png", - "reference_img": "classic96_scatter_chart_p2_reference.png" - } - ], - "overall_score": 0.8144 - }, - { - "name": "classic97_doughnut_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 303290, - "reference_size": 76024, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.872, - "flat_text_similarity": 0.8705, - "word_text_similarity": 0.6818, - "text_diff": "--- minipdf/classic97_doughnut_chart.pdf\n+++ reference/classic97_doughnut_chart.pdf\n@@ -5,9 +5,14 @@\n Marketing 8000\n\n R&D 15000\n\n Other 5000\n\n-Salaries\n\n-Rent\n\n-Marketing\n\n+Sala\n\n+Ren\n\n+Ma\n\n R&D\n\n-Other\n\n----PAGE---\n+Oth\n\n+---PAGE---\n\n+aries\n\n+nt\n\n+rketing\n\n+D\n\n+her", - "visual_scores": [ - 0.6852, - 0.9977 - ], - "visual_avg": 0.8415, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic97_doughnut_chart_p1_minipdf.png", - "reference_img": "classic97_doughnut_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic97_doughnut_chart_p2_minipdf.png", - "reference_img": "classic97_doughnut_chart_p2_reference.png" - } - ], - "overall_score": 0.8854 - }, - { - "name": "classic98_radar_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5200, - "reference_size": 75968, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7305, - "flat_text_similarity": 0.6873, - "word_text_similarity": 0.5667, - "text_diff": "--- minipdf/classic98_radar_chart.pdf\n+++ reference/classic98_radar_chart.pdf\n@@ -2,21 +2,16 @@\n Python 9\n\n Developer Skill Radar\n\n SQL 8\n\n+Communic 7\n\n+Leadership 6\n\n+Design 5\n\n+DevOps 7\n\n Python\n\n-Communication 7\n\n-Leadership 6 10\n\n-9\n\n-Design 5\n\n-8\n\n-7\n\n-DevOps 7 DevOps SQL\n\n-6\n\n-5\n\n-4\n\n-3\n\n-2\n\n-1\n\n-0\n\n-Design Communication\n\n-Leadership\n\n----PAGE---\n+SQL\n\n+Commun\n\n+Leadersh\n\n+Design\n\n+DevOps\n\n+---PAGE---\n\n+nication\n\n+hip", - "visual_scores": [ - 0.976, - 0.9979 - ], - "visual_avg": 0.9869, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic98_radar_chart_p1_minipdf.png", - "reference_img": "classic98_radar_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic98_radar_chart_p2_minipdf.png", - "reference_img": "classic98_radar_chart_p2_reference.png" - } - ], - "overall_score": 0.887 - }, - { - "name": "classic99_bubble_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5575, - "reference_size": 86738, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8278, - "flat_text_similarity": 0.7937, - "word_text_similarity": 0.7273, - "text_diff": "--- minipdf/classic99_bubble_chart.pdf\n+++ reference/classic99_bubble_chart.pdf\n@@ -2,19 +2,16 @@\n 10 4.2 500\n\n Product Comparison\n\n 25 4.5 300\n\n-Products\n\n-6\n\n 50 3.8 150\n\n 15 4 420\n\n 35 4.7 200\n\n-5\n\n 8 3.5 600\n\n-4\n\n-3\n\n Rating\n\n-2\n\n-1\n\n-0\n\n-0 10 20 30 40 50\n\n Price ($)\n\n----PAGE---\n+---PAGE---\n\n+10\n\n+25\n\n+50\n\n+15\n\n+35\n\n+8", - "visual_scores": [ - 0.9425, - 0.5885 - ], - "visual_avg": 0.7655, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic99_bubble_chart_p1_minipdf.png", - "reference_img": "classic99_bubble_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic99_bubble_chart_p2_minipdf.png", - "reference_img": "classic99_bubble_chart_p2_reference.png" - } - ], - "overall_score": 0.8373 - }, - { - "name": "classic100_stacked_bar_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6049, - "reference_size": 75642, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.825, - "flat_text_similarity": 0.8013, - "word_text_similarity": 0.825, - "text_diff": "--- minipdf/classic100_stacked_bar_chart.pdf\n+++ reference/classic100_stacked_bar_chart.pdf\n@@ -4,15 +4,7 @@\n East 40 35 30 45\n\n West 20 25 40 35\n\n Quarterly Revenue by Region\n\n-Q4 Q3 Q2 Q1\n\n-180\n\n-160\n\n-140\n\n-120\n\n-100\n\n-80\n\n-60\n\n-40\n\n-20\n\n-0\n\n-North South East West\n+Q4\n\n+Q3\n\n+Q2\n\n+Q1", - "visual_scores": [ - 0.9056 - ], - "visual_avg": 0.9056, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic100_stacked_bar_chart_p1_minipdf.png", - "reference_img": "classic100_stacked_bar_chart_p1_reference.png" - } - ], - "overall_score": 0.8922 - }, - { - "name": "classic101_percent_stacked_bar", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6888, - "reference_size": 78650, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8298, - "flat_text_similarity": 0.8201, - "word_text_similarity": 0.8298, - "text_diff": "--- minipdf/classic101_percent_stacked_bar.pdf\n+++ reference/classic101_percent_stacked_bar.pdf\n@@ -5,16 +5,7 @@\n 2024 33 35 18 14\n\n 2025 30 38 17 15\n\n Traffic Source Mix by Year\n\n-Direct Referral Paid Organic\n\n-100%\n\n-90%\n\n-80%\n\n-70%\n\n-60%\n\n-50%\n\n-40%\n\n-30%\n\n-20%\n\n-10%\n\n-0%\n\n-2021 2022 2023 2024 2025\n+Direct\n\n+Referral\n\n+Paid\n\n+Organic", - "visual_scores": [ - 0.8863 - ], - "visual_avg": 0.8863, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic101_percent_stacked_bar_p1_minipdf.png", - "reference_img": "classic101_percent_stacked_bar_p1_reference.png" - } - ], - "overall_score": 0.8864 - }, - { - "name": "classic102_line_chart_with_markers", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6148, - "reference_size": 78986, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7322, - "flat_text_similarity": 0.7155, - "word_text_similarity": 0.6933, - "text_diff": "--- minipdf/classic102_line_chart_with_markers.pdf\n+++ reference/classic102_line_chart_with_markers.pdf\n@@ -1,19 +1,13 @@\n Year Users (K) Revenue (K)\n\n 2020 10 50\n\n-Company Growth\n\n+Company Grow\n\n 2021 25 120\n\n-Users (K) Revenue (K)\n\n-1200\n\n 2022 55 280\n\n 2023 90 500\n\n 2024 140 780\n\n-1000\n\n 2025 200 1100\n\n-800\n\n-600\n\n Value (K)\n\n-400\n\n-200\n\n-0\n\n-2020 2021 2022 2023\n\n----PAGE---\n+---PAGE---\n\n+wth\n\n+Users (K)\n\n+Revenue (K)", - "visual_scores": [ - 0.9781, - 0.5862 - ], - "visual_avg": 0.7822, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic102_line_chart_with_markers_p1_minipdf.png", - "reference_img": "classic102_line_chart_with_markers_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic102_line_chart_with_markers_p2_minipdf.png", - "reference_img": "classic102_line_chart_with_markers_p2_reference.png" - } - ], - "overall_score": 0.8058 - }, - { - "name": "classic103_pie_chart_with_labels", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 405116, - "reference_size": 76626, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.5474, - "flat_text_similarity": 0.5455, - "word_text_similarity": 0.5474, - "text_diff": "--- minipdf/classic103_pie_chart_with_labels.pdf\n+++ reference/classic103_pie_chart_with_labels.pdf\n@@ -1,18 +1,23 @@\n OS Share (%)\n\n Windows 42\n\n+Share (%),\n\n Desktop OS Market Share\n\n-macOS 28\n\n-Linux 15\n\n-Other; Share (%); 5; 5%\n\n+macOS 28 Other, 5, 5%\n\n+Share (%),\n\n+Linux 15 ChromeOS, 10,\n\n+10%\n\n ChromeOS 10\n\n-ChromeOS; Share (%); 10; 10%\n\n Other 5\n\n-Windows; Share (%); 42; 42%\n\n-Linux; Share (%); 15; 15%\n\n-macOS; Share (%); 28; 28%\n\n+Share (%),\n\n+Share (%), Linux,\n\n+Windows, 42,\n\n+15, 15%\n\n+42%\n\n+Share (%),\n\n+macOS, 28, 28%\n\n+---PAGE---\n\n Windows\n\n macOS\n\n Linux\n\n ChromeOS\n\n-Other\n\n----PAGE---\n+Other", - "visual_scores": [ - 0.8894, - 0.9956 - ], - "visual_avg": 0.9425, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic103_pie_chart_with_labels_p1_minipdf.png", - "reference_img": "classic103_pie_chart_with_labels_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic103_pie_chart_with_labels_p2_minipdf.png", - "reference_img": "classic103_pie_chart_with_labels_p2_reference.png" - } - ], - "overall_score": 0.796 - }, - { - "name": "classic104_combo_bar_line_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5810, - "reference_size": 76509, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7402, - "flat_text_similarity": 0.7259, - "word_text_similarity": 0.6866, - "text_diff": "--- minipdf/classic104_combo_bar_line_chart.pdf\n+++ reference/classic104_combo_bar_line_chart.pdf\n@@ -1,19 +1,12 @@\n Month Sales Target\n\n Jan 42 45\n\n-Sales vs Target\n\n+Sales vs Targe\n\n Feb 48 47\n\n-Sales Target\n\n-70\n\n Mar 51 50\n\n Apr 45 50\n\n-60\n\n May 56 54\n\n Jun 62 60\n\n-50\n\n-40\n\n-30\n\n-20\n\n-10\n\n-0\n\n-Jan Feb Mar Apr May\n\n----PAGE---\n+---PAGE---\n\n+et\n\n+Sales\n\n+Target", - "visual_scores": [ - 0.9307, - 0.5468 - ], - "visual_avg": 0.7388, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic104_combo_bar_line_chart_p1_minipdf.png", - "reference_img": "classic104_combo_bar_line_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic104_combo_bar_line_chart_p2_minipdf.png", - "reference_img": "classic104_combo_bar_line_chart_p2_reference.png" - } - ], - "overall_score": 0.7916 - }, - { - "name": "classic105_3d_bar_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5129, - "reference_size": 103089, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.6962, - "flat_text_similarity": 0.6879, - "word_text_similarity": 0.6102, - "text_diff": "--- minipdf/classic105_3d_bar_chart.pdf\n+++ reference/classic105_3d_bar_chart.pdf\n@@ -1,20 +1,10 @@\n Region 2024 2025\n\n APAC 120 145\n\n-Revenue by Region (3D)\n\n+Revenue by Region (3\n\n EMEA 95 110\n\n-2024 2025\n\n-200\n\n Americas 150 175\n\n LATAM 40 55\n\n-180\n\n-160\n\n-140\n\n-120\n\n-100\n\n-80\n\n-60\n\n-40\n\n-20\n\n-0\n\n-APAC EMEA Americas LATAM\n\n----PAGE---\n+---PAGE---\n\n+3D)\n\n+2024\n\n+2025", - "visual_scores": [ - 0.9193, - 0.5425 - ], - "visual_avg": 0.7309, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic105_3d_bar_chart_p1_minipdf.png", - "reference_img": "classic105_3d_bar_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic105_3d_bar_chart_p2_minipdf.png", - "reference_img": "classic105_3d_bar_chart_p2_reference.png" - } - ], - "overall_score": 0.7708 - }, - { - "name": "classic106_3d_pie_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 404956, - "reference_size": 113656, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.929, - "flat_text_similarity": 0.929, - "word_text_similarity": 0.8364, - "text_diff": "--- minipdf/classic106_3d_pie_chart.pdf\n+++ reference/classic106_3d_pie_chart.pdf\n@@ -3,13 +3,19 @@\n Monthly Expense Breakdown (3D)\n\n Housing 1500\n\n Transport 400\n\n-Entertainment 300\n\n+Entertainm 300\n\n Savings 700\n\n Other 200\n\n+F\n\n+H\n\n+T\n\n+E\n\n+S\n\n+O\n\n+---PAGE---\n\n Food\n\n Housing\n\n Transport\n\n Entertainment\n\n Savings\n\n-Other\n\n----PAGE---\n+Other", - "visual_scores": [ - 0.908, - 0.5856 - ], - "visual_avg": 0.7468, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic106_3d_pie_chart_p1_minipdf.png", - "reference_img": "classic106_3d_pie_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic106_3d_pie_chart_p2_minipdf.png", - "reference_img": "classic106_3d_pie_chart_p2_reference.png" - } - ], - "overall_score": 0.8703 - }, - { - "name": "classic107_multi_series_line", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18408, - "reference_size": 91236, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8379, - "flat_text_similarity": 0.1258, - "word_text_similarity": 0.8379, - "text_diff": "--- minipdf/classic107_multi_series_line.pdf\n+++ reference/classic107_multi_series_line.pdf\n@@ -1,33 +1,28 @@\n Day AAPL GOOG MSFT\n\n Day 1 178.48 140.49 402.83\n\n-Stock Price Trend (20 Day\n\n+S\n\n Day 2 179.43 140.38 401.69\n\n-AAPL GOOG MSFT\n\n-450\n\n Day 3 177.25 143.38 403.21\n\n Day 4 175.75 143.94 404.47\n\n-400\n\n Day 5 178.19 142.62 403.35\n\n-Day 6 176.32 143.16 405.88 350\n\n+Day 6 176.32 143.16 405.88\n\n Day 7 177.72 141 405.11\n\n-300\n\n Day 8 175.18 138.97 405.07\n\n-Day 9 173.1 137.59 403.53 250\n\n+Day 9 173.1 137.59 403.53\n\n Day 10 172.64 139.72 401.94\n\n-200\n\n-Day 11 173.32 139.12 400.69 Price ($)\n\n+Day 11 173.32 139.12 400.69\n\n+Price ($)\n\n Day 12 172.11 140.8 402.75\n\n-150\n\n Day 13 173.5 143.13 404.12\n\n-100\n\n Day 14 172.29 141.53 404.52\n\n Day 15 172.95 143.24 406.95\n\n-50\n\n Day 16 174.74 146.1 408\n\n-0\n\n Day 17 175.83 147.89 407.98\n\n-Day 1Day 2Day 3Day 4Day 5Day 6Day 7Day 8Day 9Day 10Day 11Day 12D\n\n Day 18 177.62 150.15 408.05\n\n Day 19 176.68 149.43 408.73\n\n Day 20 177.07 149.4 408.07\n\n----PAGE---\n+---PAGE---\n\n+Stock Price Trend (20 Days)\n\n+AAPL\n\n+GOOG\n\n+MSFT", - "visual_scores": [ - 0.9587, - 0.5629 - ], - "visual_avg": 0.7608, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic107_multi_series_line_p1_minipdf.png", - "reference_img": "classic107_multi_series_line_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic107_multi_series_line_p2_minipdf.png", - "reference_img": "classic107_multi_series_line_p2_reference.png" - } - ], - "overall_score": 0.8395 - }, - { - "name": "classic108_stacked_area_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12748, - "reference_size": 86751, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 0.8431, - "flat_text_similarity": 0.8274, - "word_text_similarity": 0.8431, - "text_diff": "--- minipdf/classic108_stacked_area_chart.pdf\n+++ reference/classic108_stacked_area_chart.pdf\n@@ -6,14 +6,8 @@\n May 150 130 240 125\n\n Jun 160 140 260 130\n\n Traffic by Channel (Stacked)\n\n-Direct Search Social Email\n\n-800\n\n-700\n\n-600\n\n-500\n\n-400\n\n-300\n\n-200\n\n-100\n\n-0\n\n-Jan Feb Mar Apr May Jun\n+Direct\n\n+Search\n\n+Social\n\n+Email\n\n+---PAGE---", - "visual_scores": [ - 0.8728, - 0.0 - ], - "visual_avg": 0.4364, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic108_stacked_area_chart_p1_minipdf.png", - "reference_img": "classic108_stacked_area_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "classic108_stacked_area_chart_p2_reference.png" - } - ], - "overall_score": 0.6118 - }, - { - "name": "classic109_scatter_with_trendline", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6773, - "reference_size": 86322, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7037, - "flat_text_similarity": 0.6684, - "word_text_similarity": 0.7037, - "text_diff": "--- minipdf/classic109_scatter_with_trendline.pdf\n+++ reference/classic109_scatter_with_trendline.pdf\n@@ -1,28 +1,25 @@\n-Study Hours Exam Score\n\n+Study HourExam Score\n\n 5 59\n\n Study Hours vs Exam Score\n\n 8 90\n\n-Students\n\n-120\n\n 9 85\n\n+y = 8.1272x + 20.8\n\n 2 35\n\n+R² = 0.9586\n\n 9 99\n\n-100\n\n 5 68\n\n 2 35\n\n-80\n\n 8 92\n\n 5 65\n\n-60\n\n 3 45\n\n-9 100 Score\n\n+Score\n\n+9 100\n\n 6 62\n\n-40\n\n 9 89\n\n 1 30\n\n-20\n\n 10 98\n\n-0\n\n-0 2 4 6 8 10\n\n Hours\n\n----PAGE---\n+---PAGE---\n\n+828\n\n+Students\n\n+Linear (Students)", - "visual_scores": [ - 0.9603, - 0.5924 - ], - "visual_avg": 0.7764, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic109_scatter_with_trendline_p1_minipdf.png", - "reference_img": "classic109_scatter_with_trendline_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic109_scatter_with_trendline_p2_minipdf.png", - "reference_img": "classic109_scatter_with_trendline_p2_reference.png" - } - ], - "overall_score": 0.792 - }, - { - "name": "classic110_chart_with_legend", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5187, - "reference_size": 88129, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7447, - "flat_text_similarity": 0.7342, - "word_text_similarity": 0.6667, - "text_diff": "--- minipdf/classic110_chart_with_legend.pdf\n+++ reference/classic110_chart_with_legend.pdf\n@@ -1,19 +1,12 @@\n Browser 2024 (%) 2025 (%)\n\n Chrome 65 62\n\n-Browser Market Share Comparison\n\n+Browser Market Share Com\n\n Safari 18 20\n\n-2024 (%) 2025 (%)\n\n-70\n\n Firefox 8 7\n\n Edge 6 8\n\n-60\n\n Other 3 3\n\n-50\n\n-40\n\n-30\n\n Market Share (%)\n\n-20\n\n-10\n\n-0\n\n-Chrome Safari Firefox Edge O\n\n----PAGE---\n+2024 (%) 2025 (\n\n+---PAGE---\n\n+mparison\n\n+(%)", - "visual_scores": [ - 0.9362, - 0.5844 - ], - "visual_avg": 0.7603, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic110_chart_with_legend_p1_minipdf.png", - "reference_img": "classic110_chart_with_legend_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic110_chart_with_legend_p2_minipdf.png", - "reference_img": "classic110_chart_with_legend_p2_reference.png" - } - ], - "overall_score": 0.802 - }, - { - "name": "classic111_chart_with_axis_labels", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4470, - "reference_size": 79609, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.735, - "flat_text_similarity": 0.735, - "word_text_similarity": 0.7077, - "text_diff": "--- minipdf/classic111_chart_with_axis_labels.pdf\n+++ reference/classic111_chart_with_axis_labels.pdf\n@@ -3,14 +3,15 @@\n CO2 Emissions by Country\n\n USA 5000\n\n India 2700\n\n-Russia 1700 Germany\n\n+Russia 1700\n\n Japan 1100\n\n Germany 700\n\n+Country\n\n+CO2 Emissions (Megatons)\n\n+---PAGE---\n\n+China\n\n+USA\n\n+India\n\n+Russia\n\n Japan\n\n-Russia\n\n-CO2 Emissions (Megatons) India\n\n-USA\n\n-China\n\n-0 2,000 4,000 6,000 8,000 10,000\n\n-Country\n\n----PAGE---\n+Germany", - "visual_scores": [ - 0.9459, - 0.5922 - ], - "visual_avg": 0.7691, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic111_chart_with_axis_labels_p1_minipdf.png", - "reference_img": "classic111_chart_with_axis_labels_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic111_chart_with_axis_labels_p2_minipdf.png", - "reference_img": "classic111_chart_with_axis_labels_p2_reference.png" - } - ], - "overall_score": 0.8016 - }, - { - "name": "classic112_multiple_charts", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8568, - "reference_size": 86399, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.6715, - "flat_text_similarity": 0.6715, - "word_text_similarity": 0.6476, - "text_diff": "--- minipdf/classic112_multiple_charts.pdf\n+++ reference/classic112_multiple_charts.pdf\n@@ -1,30 +1,20 @@\n Month Revenue Costs Profit\n\n Jan 50 30 20\n\n-Revenue & Costs\n\n+Revenue\n\n Feb 55 32 23\n\n-Revenue Costs\n\n-80\n\n Mar 60 35 25\n\n Apr 52 28 24\n\n-70\n\n May 70 40 30\n\n-60\n\n Jun 75 42 33\n\n-50\n\n-40\n\n-30\n\n-20\n\n-10\n\n-0\n\n-Jan Feb Mar Apr May\n\n-Profit Trend\n\n-35\n\n-30\n\n-25\n\n-20\n\n-15\n\n-10\n\n-5\n\n-0\n\n-Jan Feb Mar Apr M\n\n----PAGE---\n+Profit T\n\n+---PAGE---\n\n+& Costs\n\n+Revenue\n\n+Costs\n\n+Trend\n\n+Jan\n\n+Feb\n\n+Mar\n\n+Apr\n\n+May\n\n+Jun", - "visual_scores": [ - 0.9349, - 0.5454 - ], - "visual_avg": 0.7401, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic112_multiple_charts_p1_minipdf.png", - "reference_img": "classic112_multiple_charts_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic112_multiple_charts_p2_minipdf.png", - "reference_img": "classic112_multiple_charts_p2_reference.png" - } - ], - "overall_score": 0.7646 - }, - { - "name": "classic113_chart_sheet", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4129, - "reference_size": 68612, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7442, - "flat_text_similarity": 0.7216, - "word_text_similarity": 0.7442, - "text_diff": "--- minipdf/classic113_chart_sheet.pdf\n+++ reference/classic113_chart_sheet.pdf\n@@ -2,17 +2,10 @@\n Q1 250\n\n Quarterly Revenue\n\n Q2 310\n\n-450\n\n Q3 285\n\n Q4 400\n\n-400\n\n-350\n\n-300\n\n-250\n\n-200\n\n-150\n\n-100\n\n-50\n\n-0\n\n-Q1 Q2 Q3 Q4\n\n----PAGE---\n+---PAGE---\n\n+Q1\n\n+Q2\n\n+Q3\n\n+Q4", - "visual_scores": [ - 0.9142, - 0.5469 - ], - "visual_avg": 0.7306, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic113_chart_sheet_p1_minipdf.png", - "reference_img": "classic113_chart_sheet_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic113_chart_sheet_p2_minipdf.png", - "reference_img": "classic113_chart_sheet_p2_reference.png" - } - ], - "overall_score": 0.7899 - }, - { - "name": "classic114_chart_large_dataset", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 37593, - "reference_size": 97214, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 4, - "text_similarity": 0.9379, - "flat_text_similarity": 0.0363, - "word_text_similarity": 0.9379, - "text_diff": "--- minipdf/classic114_chart_large_dataset.pdf\n+++ reference/classic114_chart_large_dataset.pdf\n@@ -1,30 +1,22 @@\n Day Value\n\n 1 97.7\n\n-100-Day Value Trend\n\n+100-Day Value\n\n 2 93.7\n\n-160\n\n 3 96.1\n\n 4 93.7\n\n-140\n\n 5 95.6\n\n 6 92.3\n\n-120\n\n 7 98.1\n\n-8 100.5 100\n\n+8 100.5\n\n 9 98.7\n\n-80\n\n 10 94.4\n\n 11 98.6\n\n-60\n\n 12 103.5\n\n 13 102.2\n\n-40\n\n 14 98.4\n\n-15 104.2 20\n\n+15 104.2\n\n 16 109\n\n-0\n\n 17 109.1\n\n-1234567891011213141516171819202122324252627282930313233435363738394041424344546474849505152535455657585960616263646566768697071727374757677879808182838485868788\n\n 18 105.3\n\n 19 108.6\n\n 20 114.2\n\n@@ -50,12 +42,12 @@\n 40 131\n\n 41 131.7\n\n 42 137.3\n\n----PAGE---\n\n 43 137.6\n\n 44 133.5\n\n 45 130\n\n 46 128.3\n\n 47 127\n\n+---PAGE---\n\n 48 124.3\n\n 49 120.2\n\n 50 118.9\n\n@@ -94,7 +86,6 @@\n 83 111.2\n\n 84 107\n\n 85 112.6\n\n----PAGE---\n\n 86 114.8\n\n 87 118\n\n 88 118.9\n\n@@ -105,9 +96,25 @@\n 93 129.2\n\n 94 126.2\n\n 95 131.7\n\n+---PAGE---\n\n 96 133.1\n\n 97 129.3\n\n 98 133.6\n\n 99 138\n\n 100 142.1\n\n----PAGE---\n+---PAGE---\n\n+Trend\n\n+1\n\n+2\n\n+3\n\n+4\n\n+5\n\n+6\n\n+7\n\n+8\n\n+9\n\n+10\n\n+11\n\n+12\n\n+13\n\n+14", - "visual_scores": [ - 0.957, - 0.9835, - 0.9943, - 0.5812 - ], - "visual_avg": 0.879, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic114_chart_large_dataset_p1_minipdf.png", - "reference_img": "classic114_chart_large_dataset_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic114_chart_large_dataset_p2_minipdf.png", - "reference_img": "classic114_chart_large_dataset_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic114_chart_large_dataset_p3_minipdf.png", - "reference_img": "classic114_chart_large_dataset_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic114_chart_large_dataset_p4_minipdf.png", - "reference_img": "classic114_chart_large_dataset_p4_reference.png" - } - ], - "overall_score": 0.9268 - }, - { - "name": "classic115_chart_negative_values", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5421, - "reference_size": 85182, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8421, - "flat_text_similarity": 0.8199, - "word_text_similarity": 0.8421, - "text_diff": "--- minipdf/classic115_chart_negative_values.pdf\n+++ reference/classic115_chart_negative_values.pdf\n@@ -2,22 +2,19 @@\n Jan 15\n\n Monthly Profit & Loss\n\n Feb -8\n\n-35\n\n Mar 22\n\n Apr -3\n\n-30\n\n May 30\n\n-25\n\n Jun -12\n\n-Jul 18 20\n\n+Jul 18\n\n Aug 5\n\n-15\n\n-10\n\n Amount ($K)\n\n-5\n\n-0\n\n--5\n\n--10\n\n--15\n\n-Jan Feb Mar Apr May Jun Jul Aug\n\n----PAGE---\n+---PAGE---\n\n+Jan\n\n+Feb\n\n+Mar\n\n+Apr\n\n+May\n\n+Jun\n\n+Jul\n\n+Aug", - "visual_scores": [ - 0.9301, - 0.5878 - ], - "visual_avg": 0.759, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic115_chart_negative_values_p1_minipdf.png", - "reference_img": "classic115_chart_negative_values_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic115_chart_negative_values_p2_minipdf.png", - "reference_img": "classic115_chart_negative_values_p2_reference.png" - } - ], - "overall_score": 0.8404 - }, - { - "name": "classic116_percent_stacked_area", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13028, - "reference_size": 80966, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 0.8235, - "flat_text_similarity": 0.8018, - "word_text_similarity": 0.8235, - "text_diff": "--- minipdf/classic116_percent_stacked_area.pdf\n+++ reference/classic116_percent_stacked_area.pdf\n@@ -6,16 +6,8 @@\n 2023 20 26 17 37\n\n 2025 15 24 16 45\n\n Energy Mix Transition\n\n-Renewable Nuclear Gas Coal\n\n-100%\n\n-90%\n\n-80%\n\n-70%\n\n-60%\n\n-50%\n\n-40%\n\n-30%\n\n-20%\n\n-10%\n\n-0%\n\n-2015 2017 2019 2021 2023 2025\n+Renewable\n\n+Nuclear\n\n+Gas\n\n+Coal\n\n+---PAGE---", - "visual_scores": [ - 0.8463, - 0.0 - ], - "visual_avg": 0.4232, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic116_percent_stacked_area_p1_minipdf.png", - "reference_img": "classic116_percent_stacked_area_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "classic116_percent_stacked_area_p2_reference.png" - } - ], - "overall_score": 0.5987 - }, - { - "name": "classic117_stock_ohlc_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10510, - "reference_size": 91947, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7882, - "flat_text_similarity": 0.1969, - "word_text_similarity": 0.7882, - "text_diff": "--- minipdf/classic117_stock_ohlc_chart.pdf\n+++ reference/classic117_stock_ohlc_chart.pdf\n@@ -1,24 +1,18 @@\n Day Open High Low Close\n\n Day 1 148.96 149.78 146.96 147.41\n\n-Stock OHLC (1\n\n Day 2 147.04 147.63 144.4 146.23\n\n-Open High Low Close\n\n-180\n\n Day 3 145.63 149.68 145.47 149.58\n\n Day 4 149.32 150.14 147.39 148.55\n\n-160\n\n Day 5 146.58 150.1 143.38 147.36\n\n-Day 6 147.91 152.44 145.49 149.32 140\n\n+Day 6 147.91 152.44 145.49 149.32\n\n Day 7 151.08 155.51 150.22 150.81\n\n-120\n\n Day 8 152.42 155.53 152.31 152.99\n\n-Day 9 152.32 154.36 151.02 152.05 100\n\n+Day 9 152.32 154.36 151.02 152.05\n\n Day 10 152.27 156.85 148.76 156.35\n\n-80\n\n Price ($)\n\n-60\n\n-40\n\n-20\n\n-0\n\n-Day 1 Day 2 Day 3 Day 4 Day 5\n\n----PAGE---\n+---PAGE---\n\n+Stock OHLC (10 Days)\n\n+Open\n\n+High\n\n+Low\n\n+Close", - "visual_scores": [ - 0.9311, - 0.4894 - ], - "visual_avg": 0.7103, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic117_stock_ohlc_chart_p1_minipdf.png", - "reference_img": "classic117_stock_ohlc_chart_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic117_stock_ohlc_chart_p2_minipdf.png", - "reference_img": "classic117_stock_ohlc_chart_p2_reference.png" - } - ], - "overall_score": 0.7994 - }, - { - "name": "classic118_bar_chart_custom_colors", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4574, - "reference_size": 78458, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.8344, - "flat_text_similarity": 0.8344, - "word_text_similarity": 0.7857, - "text_diff": "--- minipdf/classic118_bar_chart_custom_colors.pdf\n+++ reference/classic118_bar_chart_custom_colors.pdf\n@@ -2,19 +2,12 @@\n Excellent 45\n\n Customer Satisfaction Survey\n\n Good 30\n\n-50\n\n Average 15\n\n Poor 7\n\n-45\n\n Very Poor 3\n\n-40\n\n-35\n\n-30\n\n-25\n\n-20\n\n-15\n\n-10\n\n-5\n\n-0\n\n-Excellent Good Average Poor Very Poor\n\n----PAGE---\n+---PAGE---\n\n+Excellent\n\n+Good\n\n+Average\n\n+Poor\n\n+Very Poor", - "visual_scores": [ - 0.9146, - 0.5912 - ], - "visual_avg": 0.7529, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic118_bar_chart_custom_colors_p1_minipdf.png", - "reference_img": "classic118_bar_chart_custom_colors_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic118_bar_chart_custom_colors_p2_minipdf.png", - "reference_img": "classic118_bar_chart_custom_colors_p2_reference.png" - } - ], - "overall_score": 0.8349 - }, - { - "name": "classic119_dashboard_multi_charts", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 219801, - "reference_size": 94742, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7958, - "flat_text_similarity": 0.7716, - "word_text_similarity": 0.7442, - "text_diff": "--- minipdf/classic119_dashboard_multi_charts.pdf\n+++ reference/classic119_dashboard_multi_charts.pdf\n@@ -1,25 +1,19 @@\n KPI Dashboard - Q4 2025\n\n Revenue vs Expenses\n\n Month Revenue Expenses\n\n-Revenue Expenses\n\n-120\n\n Oct 85 60\n\n Nov 92 65\n\n-100\n\n Dec 110 70\n\n-80\n\n-60\n\n Segment Share\n\n-40\n\n Enterprise 45\n\n SMB 30\n\n-20\n\n Consumer 25\n\n-0\n\n-Oct Nov Dec\n\n Revenue by Segment\n\n-Enterprise\n\n+Enter\n\n SMB\n\n-Consumer\n\n-Slice4\n\n----PAGE---\n+Cons\n\n+---PAGE---\n\n+Revenue\n\n+Expenses\n\n+rprise\n\n+sumer", - "visual_scores": [ - 0.8425, - 0.5686 - ], - "visual_avg": 0.7056, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic119_dashboard_multi_charts_p1_minipdf.png", - "reference_img": "classic119_dashboard_multi_charts_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic119_dashboard_multi_charts_p2_minipdf.png", - "reference_img": "classic119_dashboard_multi_charts_p2_reference.png" - } - ], - "overall_score": 0.8006 - }, - { - "name": "classic120_chart_with_date_axis", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7348, - "reference_size": 82299, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.7917, - "flat_text_similarity": 0.4197, - "word_text_similarity": 0.7917, - "text_diff": "--- minipdf/classic120_chart_with_date_axis.pdf\n+++ reference/classic120_chart_with_date_axis.pdf\n@@ -1,25 +1,30 @@\n Date Downloads\n\n 2025-01-01 581\n\n-Monthly Downloads (2025)\n\n+Monthly Downloads (202\n\n 2025-01-31 594\n\n-900\n\n 2025-03-02 592\n\n 2025-04-01 692\n\n-800\n\n 2025-05-01 760\n\n-2025-05-31 733 700\n\n+2025-05-31 733\n\n 2025-06-30 763\n\n-600\n\n 2025-07-30 767\n\n-2025-08-29 774 500\n\n+2025-08-29 774\n\n 2025-09-28 788\n\n-400\n\n-2025-10-28 820 Downloads\n\n+2025-10-28 820\n\n+Downloads\n\n 2025-11-27 865\n\n-300\n\n-200\n\n-100\n\n-0\n\n-2025-01-01 2025-01-31 2025-03-02 2025-04-01 2025-05-01 2025-05-31 2025-06-30 2025-07-30 2025-08-29 20\n\n Date\n\n----PAGE---\n+---PAGE---\n\n+25)\n\n+2025-01-01\n\n+2025-01-31\n\n+2025-03-02\n\n+2025-04-01\n\n+2025-05-01\n\n+2025-05-31\n\n+2025-06-30\n\n+2025-07-30\n\n+2025-08-29\n\n+2025-09-28\n\n+2025-10-28\n\n+2025-11-27", - "visual_scores": [ - 0.9569, - 0.5809 - ], - "visual_avg": 0.7689, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic120_chart_with_date_axis_p1_minipdf.png", - "reference_img": "classic120_chart_with_date_axis_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic120_chart_with_date_axis_p2_minipdf.png", - "reference_img": "classic120_chart_with_date_axis_p2_reference.png" - } - ], - "overall_score": 0.8242 - }, - { - "name": "classic121_thin_borders", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9765, - "reference_size": 74465, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9808 - ], - "visual_avg": 0.9808, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic121_thin_borders_p1_minipdf.png", - "reference_img": "classic121_thin_borders_p1_reference.png" - } - ], - "overall_score": 0.9923 - }, - { - "name": "classic122_thick_outer_thin_inner", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9773, - "reference_size": 78822, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9762 - ], - "visual_avg": 0.9762, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic122_thick_outer_thin_inner_p1_minipdf.png", - "reference_img": "classic122_thick_outer_thin_inner_p1_reference.png" - } - ], - "overall_score": 0.9905 - }, - { - "name": "classic123_dashed_borders", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3623, - "reference_size": 61720, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9655, - "flat_text_similarity": 0.9655, - "word_text_similarity": 0.7647, - "text_diff": "--- minipdf/classic123_dashed_borders.pdf\n+++ reference/classic123_dashed_borders.pdf\n@@ -1,6 +1,6 @@\n-Border Style Sample\n\n+Border Sty Sample\n\n dashed Bordered cell\n\n dotted Bordered cell\n\n dashDot Bordered cell\n\n-dashDotDot Bordered cell\n\n-mediumDashed Bordered cell\n+dashDotDoBordered cell\n\n+mediumDaBordered cell", - "visual_scores": [ - 0.991 - ], - "visual_avg": 0.991, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic123_dashed_borders_p1_minipdf.png", - "reference_img": "classic123_dashed_borders_p1_reference.png" - } - ], - "overall_score": 0.9826 - }, - { - "name": "classic124_colored_borders", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4365, - "reference_size": 63553, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9868 - ], - "visual_avg": 0.9868, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic124_colored_borders_p1_minipdf.png", - "reference_img": "classic124_colored_borders_p1_reference.png" - } - ], - "overall_score": 0.9947 - }, - { - "name": "classic125_solid_fills", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2810, - "reference_size": 69321, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9873, - "flat_text_similarity": 0.9873, - "word_text_similarity": 0.7925, - "text_diff": "--- minipdf/classic125_solid_fills.pdf\n+++ reference/classic125_solid_fills.pdf\n@@ -1,9 +1,9 @@\n Fill Name Filled Cell\n\n Light Blue Background\n\n-Light Green Background\n\n-Light Yellow Background\n\n+Light GreenBackground\n\n+Light YellowBackground\n\n Light Red Background\n\n-Light Purple Background\n\n-Light Orange Background\n\n+Light Purpl Background\n\n+Light OrangBackground\n\n Gray 25% Background\n\n Sky Blue Background", - "visual_scores": [ - 0.9736 - ], - "visual_avg": 0.9736, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic125_solid_fills_p1_minipdf.png", - "reference_img": "classic125_solid_fills_p1_reference.png" - } - ], - "overall_score": 0.9844 - }, - { - "name": "classic126_dark_header", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2911, - "reference_size": 83023, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9908, - "flat_text_similarity": 0.9908, - "word_text_similarity": 0.8621, - "text_diff": "--- minipdf/classic126_dark_header.pdf\n+++ reference/classic126_dark_header.pdf\n@@ -1,6 +1,6 @@\n-Employee Department Salary Start Date\n\n-Alice Smith Engineering 95000 2020-03-15\n\n+EmployeeDepartment Salary Start Date\n\n+Alice SmithEngineerin 95000 2020-03-15\n\n Bob Jones Marketing 72000 2019-07-01\n\n Carol Lee Finance 88000 2021-01-10\n\n-David Kim Engineering 102000 2018-11-20\n\n+David Kim Engineerin 102000 2018-11-20\n\n Eva Chen HR 68000 2022-05-03", - "visual_scores": [ - 0.9795 - ], - "visual_avg": 0.9795, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic126_dark_header_p1_minipdf.png", - "reference_img": "classic126_dark_header_p1_reference.png" - } - ], - "overall_score": 0.9881 - }, - { - "name": "classic127_font_styles", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2738, - "reference_size": 121281, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9195, - "flat_text_similarity": 0.7324, - "word_text_similarity": 0.9195, - "text_diff": "--- minipdf/classic127_font_styles.pdf\n+++ reference/classic127_font_styles.pdf\n@@ -2,8 +2,8 @@\n Bold Sample Bold text\n\n Italic Sample Italic text\n\n Underline Sample Underline text\n\n-Strikethrough Sample Strikethrough text\n\n+StrikethrouSample Strikethrough text\n\n Bold Italic Sample Bold Italic text\n\n-Bold Underline Sample Bold Underline text\n\n-Double Underline Sample Double Underline text\n\n+Bold Under Sample Bold Underline text\n\n+Double Un Sample Double Underline text\n\n Bold + Red Sample Bold + Red text", - "visual_scores": [ - 0.9827 - ], - "visual_avg": 0.9827, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic127_font_styles_p1_minipdf.png", - "reference_img": "classic127_font_styles_p1_reference.png" - } - ], - "overall_score": 0.9609 - }, - { - "name": "classic128_font_sizes", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2643, - "reference_size": 66894, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9904 - ], - "visual_avg": 0.9904, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic128_font_sizes_p1_minipdf.png", - "reference_img": "classic128_font_sizes_p1_reference.png" - } - ], - "overall_score": 0.9962 - }, - { - "name": "classic129_alignment_combos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2124, - "reference_size": 65763, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9907 - ], - "visual_avg": 0.9907, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic129_alignment_combos_p1_minipdf.png", - "reference_img": "classic129_alignment_combos_p1_reference.png" - } - ], - "overall_score": 0.9963 - }, - { - "name": "classic130_wrap_and_indent", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1828, - "reference_size": 70816, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9885 - ], - "visual_avg": 0.9885, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic130_wrap_and_indent_p1_minipdf.png", - "reference_img": "classic130_wrap_and_indent_p1_reference.png" - } - ], - "overall_score": 0.9954 - }, - { - "name": "classic131_number_formats", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3426, - "reference_size": 77127, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9849 - ], - "visual_avg": 0.9849, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic131_number_formats_p1_minipdf.png", - "reference_img": "classic131_number_formats_p1_reference.png" - } - ], - "overall_score": 0.994 - }, - { - "name": "classic132_striped_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18534, - "reference_size": 84504, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9984, - "flat_text_similarity": 0.9984, - "word_text_similarity": 0.972, - "text_diff": "--- minipdf/classic132_striped_table.pdf\n+++ reference/classic132_striped_table.pdf\n@@ -8,4 +8,4 @@\n Product 7 Sports 399.94 4.5\n\n Product 8 Sports 281.79 2.5\n\n Product 9 Sports 445.84 1.8\n\n-Product 10 Electronics 276.34 3.4\n+Product 10Electronics 276.34 3.4", - "visual_scores": [ - 0.9571 - ], - "visual_avg": 0.9571, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic132_striped_table_p1_minipdf.png", - "reference_img": "classic132_striped_table_p1_reference.png" - } - ], - "overall_score": 0.9822 - }, - { - "name": "classic133_gradient_rows", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4093, - "reference_size": 75810, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9716 - ], - "visual_avg": 0.9716, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic133_gradient_rows_p1_minipdf.png", - "reference_img": "classic133_gradient_rows_p1_reference.png" - } - ], - "overall_score": 0.9886 - }, - { - "name": "classic134_heatmap", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7526, - "reference_size": 78105, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9409 - ], - "visual_avg": 0.9409, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic134_heatmap_p1_minipdf.png", - "reference_img": "classic134_heatmap_p1_reference.png" - } - ], - "overall_score": 0.9764 - }, - { - "name": "classic135_bottom_border_only", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1898, - "reference_size": 58955, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9882 - ], - "visual_avg": 0.9882, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic135_bottom_border_only_p1_minipdf.png", - "reference_img": "classic135_bottom_border_only_p1_reference.png" - } - ], - "overall_score": 0.9953 - }, - { - "name": "classic136_financial_report_styled", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10262, - "reference_size": 100226, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9575 - ], - "visual_avg": 0.9575, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic136_financial_report_styled_p1_minipdf.png", - "reference_img": "classic136_financial_report_styled_p1_reference.png" - } - ], - "overall_score": 0.983 - }, - { - "name": "classic137_checkerboard", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9310, - "reference_size": 31191, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9557 - ], - "visual_avg": 0.9557, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic137_checkerboard_p1_minipdf.png", - "reference_img": "classic137_checkerboard_p1_reference.png" - } - ], - "overall_score": 0.9823 - }, - { - "name": "classic138_color_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2542, - "reference_size": 45006, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9683 - ], - "visual_avg": 0.9683, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic138_color_grid_p1_minipdf.png", - "reference_img": "classic138_color_grid_p1_reference.png" - } - ], - "overall_score": 0.9873 - }, - { - "name": "classic139_pattern_fills", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3609, - "reference_size": 80842, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9589 - ], - "visual_avg": 0.9589, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic139_pattern_fills_p1_minipdf.png", - "reference_img": "classic139_pattern_fills_p1_reference.png" - } - ], - "overall_score": 0.9836 - }, - { - "name": "classic140_rotated_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2702, - "reference_size": 68994, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9583, - "flat_text_similarity": 0.8768, - "word_text_similarity": 0.9583, - "text_diff": "--- minipdf/classic140_rotated_text.pdf\n+++ reference/classic140_rotated_text.pdf\n@@ -1,12 +1,22 @@\n Rotation Text\n\n 0 Rotated\n\n-15 Rotated\n\n-30 Rotated\n\n-45 Rotated\n\n-60 Rotated\n\n-90 Rotated\n\n-105 Rotated\n\n-120 Rotated\n\n-135 Rotated\n\n-150 Rotated\n\n-180 Rotated\n+15\n\n+Rotated\n\n+30\n\n+Rotated\n\n+45\n\n+Rotated\n\n+60\n\n+Rotated\n\n+90\n\n+Rotated\n\n+Rotated\n\n+105\n\n+Rotated\n\n+120\n\n+Rotated\n\n+135\n\n+Rotated\n\n+150\n\n+Rotated\n\n+180", - "visual_scores": [ - 0.991 - ], - "visual_avg": 0.991, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic140_rotated_text_p1_minipdf.png", - "reference_img": "classic140_rotated_text_p1_reference.png" - } - ], - "overall_score": 0.9797 - }, - { - "name": "classic141_mixed_edge_borders", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3046, - "reference_size": 66621, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9853 - ], - "visual_avg": 0.9853, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic141_mixed_edge_borders_p1_minipdf.png", - "reference_img": "classic141_mixed_edge_borders_p1_reference.png" - } - ], - "overall_score": 0.9941 - }, - { - "name": "classic142_styled_invoice", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12189, - "reference_size": 105680, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9421 - ], - "visual_avg": 0.9421, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic142_styled_invoice_p1_minipdf.png", - "reference_img": "classic142_styled_invoice_p1_reference.png" - } - ], - "overall_score": 0.9768 - }, - { - "name": "classic143_colored_tabs", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3479, - "reference_size": 74632, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 4, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9959, - 0.9963, - 0.9959, - 0.9961 - ], - "visual_avg": 0.9961, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic143_colored_tabs_p1_minipdf.png", - "reference_img": "classic143_colored_tabs_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic143_colored_tabs_p2_minipdf.png", - "reference_img": "classic143_colored_tabs_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic143_colored_tabs_p3_minipdf.png", - "reference_img": "classic143_colored_tabs_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic143_colored_tabs_p4_minipdf.png", - "reference_img": "classic143_colored_tabs_p4_reference.png" - } - ], - "overall_score": 0.9984 - }, - { - "name": "classic144_note_style_cells", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3746, - "reference_size": 94925, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9658 - ], - "visual_avg": 0.9658, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic144_note_style_cells_p1_minipdf.png", - "reference_img": "classic144_note_style_cells_p1_reference.png" - } - ], - "overall_score": 0.9863 - }, - { - "name": "classic145_status_badges", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13576, - "reference_size": 89140, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9501 - ], - "visual_avg": 0.9501, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic145_status_badges_p1_minipdf.png", - "reference_img": "classic145_status_badges_p1_reference.png" - } - ], - "overall_score": 0.98 - }, - { - "name": "classic146_double_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8546, - "reference_size": 77024, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9678 - ], - "visual_avg": 0.9678, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic146_double_border_table_p1_minipdf.png", - "reference_img": "classic146_double_border_table_p1_reference.png" - } - ], - "overall_score": 0.9871 - }, - { - "name": "classic147_multi_sheet_styled", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18627, - "reference_size": 97561, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9834, - 0.9654, - 0.9755 - ], - "visual_avg": 0.9748, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic147_multi_sheet_styled_p1_minipdf.png", - "reference_img": "classic147_multi_sheet_styled_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic147_multi_sheet_styled_p2_minipdf.png", - "reference_img": "classic147_multi_sheet_styled_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic147_multi_sheet_styled_p3_minipdf.png", - "reference_img": "classic147_multi_sheet_styled_p3_reference.png" - } - ], - "overall_score": 0.9899 - }, - { - "name": "classic148_frozen_styled_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 51253, - "reference_size": 90882, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.8586 - ], - "visual_avg": 0.8586, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic148_frozen_styled_grid_p1_minipdf.png", - "reference_img": "classic148_frozen_styled_grid_p1_reference.png" - } - ], - "overall_score": 0.9434 - }, - { - "name": "classic149_merged_styled_sections", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13282, - "reference_size": 93062, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9251 - ], - "visual_avg": 0.9251, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic149_merged_styled_sections_p1_minipdf.png", - "reference_img": "classic149_merged_styled_sections_p1_reference.png" - } - ], - "overall_score": 0.97 - }, - { - "name": "classic150_kitchen_sink_styles", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4522, - "reference_size": 121318, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9839, - "flat_text_similarity": 0.9808, - "word_text_similarity": 0.9839, - "text_diff": "--- minipdf/classic150_kitchen_sink_styles.pdf\n+++ reference/classic150_kitchen_sink_styles.pdf\n@@ -10,5 +10,4 @@\n This text wraps in the cell nicely\n\n Wrap + Center Multi-line\n\n Pattern Fill Gray pattern Hatched\n\n-Large Font Size 24\n\n-BIG\n+Large Font BIG Size 24", - "visual_scores": [ - 0.9506 - ], - "visual_avg": 0.9506, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic150_kitchen_sink_styles_p1_minipdf.png", - "reference_img": "classic150_kitchen_sink_styles_p1_reference.png" - } - ], - "overall_score": 0.9738 - }, - { - "name": "classic151_multilingual_greetings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4542507, - "reference_size": 108265, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9291, - "flat_text_similarity": 0.9291, - "word_text_similarity": 0.7391, - "text_diff": "--- minipdf/classic151_multilingual_greetings.pdf\n+++ reference/classic151_multilingual_greetings.pdf\n@@ -5,9 +5,9 @@\n Korean 안녕하세요 감사합니다\n\n Thai สวัสดี ขอบคุณ\n\n Hindi नमस्ते धन्यवाद\n\n-Arabic ﺎﺒﺣﺮﻣ ﺍﺮﻜﺷ\n\n-Hebrew םולש הדות\n\n-Greek Γεια σου Ευχαριστ ώ\n\n+Arabicمرحبا شكرا\n\n+Hebrewשלום תודה\n\n+Greek Γεια σου Ευχαριστώ\n\n Russian Привет Спасибо\n\n-Vietnamese Xin chào C ả m ơ n\n\n-Turkish Merhaba Te ş ekkürler\n+Vietnamese Xin chào Cảm ơn\n\n+Turkish Merhaba Teşekkürler", - "visual_scores": [ - 0.9851 - ], - "visual_avg": 0.9851, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic151_multilingual_greetings_p1_minipdf.png", - "reference_img": "classic151_multilingual_greetings_p1_reference.png" - } - ], - "overall_score": 0.9657 - }, - { - "name": "classic152_emoji_sampler", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 165578, - "reference_size": 105280, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9869 - ], - "visual_avg": 0.9869, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic152_emoji_sampler_p1_minipdf.png", - "reference_img": "classic152_emoji_sampler_p1_reference.png" - } - ], - "overall_score": 0.9948 - }, - { - "name": "classic153_currency_symbols", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 328402, - "reference_size": 66698, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9918, - "flat_text_similarity": 0.9918, - "word_text_similarity": 0.8598, - "text_diff": "--- minipdf/classic153_currency_symbols.pdf\n+++ reference/classic153_currency_symbols.pdf\n@@ -5,9 +5,9 @@\n Japanese Yen ¥ ¥123,456\n\n Chinese Yuan ¥ ¥1,234.56\n\n Korean Won ₩ ₩1,234,560\n\n-Indian Rupee ₹ ₹ 1,23,456\n\n-Thai Baht ฿ ฿ 1,234.56\n\n-Russian Ruble ₽ ₽ 1 234,56\n\n-Turkish Lira ₺ ₺ 1.234,56\n\n-Bitcoin ₿ ₿ 0.05\n\n+Indian Rupee ₹ ₹1,23,456\n\n+Thai Baht ฿ ฿1,234.56\n\n+Russian Ruble ₽ ₽1 234,56\n\n+Turkish Lira ₺ ₺1.234,56\n\n+Bitcoin ₿ ₿0.05\n\n Swiss Franc CHF CHF 1'234.56", - "visual_scores": [ - 0.9869 - ], - "visual_avg": 0.9869, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic153_currency_symbols_p1_minipdf.png", - "reference_img": "classic153_currency_symbols_p1_reference.png" - } - ], - "overall_score": 0.9915 - }, - { - "name": "classic154_math_symbols", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1215783, - "reference_size": 85712, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9881, - "flat_text_similarity": 0.9881, - "word_text_similarity": 0.9059, - "text_diff": "--- minipdf/classic154_math_symbols.pdf\n+++ reference/classic154_math_symbols.pdf\n@@ -6,5 +6,5 @@\n Calculus ∫ ∬ ∮ ∂ ∇ ∑ ∏ √\n\n Arrows → ← ↑ ↓ ↔ ⇒ ⇐ ⇔\n\n Misc ∞ ℏ ℝ ℤ ℚ ℕ ℂ\n\n-Superscripts x² y³ a ⁿ e ⁱ\n\n-Subscripts H ₂ O CO ₂ x ₙ a ᵢ\n+Superscripts x² y³ aⁿ eⁱ\n\n+Subscripts H₂O CO₂ x ₙ aᵢ", - "visual_scores": [ - 0.9898 - ], - "visual_avg": 0.9898, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic154_math_symbols_p1_minipdf.png", - "reference_img": "classic154_math_symbols_p1_reference.png" - } - ], - "overall_score": 0.9912 - }, - { - "name": "classic155_diacritical_marks", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4325726, - "reference_size": 63383, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9922 - ], - "visual_avg": 0.9922, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic155_diacritical_marks_p1_minipdf.png", - "reference_img": "classic155_diacritical_marks_p1_reference.png" - } - ], - "overall_score": 0.9969 - }, - { - "name": "classic156_rtl_bidi_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 329179, - "reference_size": 47337, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.5912, - "flat_text_similarity": 0.5912, - "word_text_similarity": 0.1667, - "text_diff": "--- minipdf/classic156_rtl_bidi_text.pdf\n+++ reference/classic156_rtl_bidi_text.pdf\n@@ -1,5 +1,5 @@\n Script Text\n\n-Arabic ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺎﺑ\n\n-Hebrew םולש םלוע\n\n-Persian ﻡﻼﺳ ﺍیﻥﺩ\n\n-Urdu ﻮﻟیہ ﺍیﻥﺩ\n+Arabicمرحبا بالعالم\n\n+Hebrewשלום עולם\n\n+Persianسالم دنیا\n\n+Urduہیلو دنیا", - "visual_scores": [ - 0.995 - ], - "visual_avg": 0.995, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic156_rtl_bidi_text_p1_minipdf.png", - "reference_img": "classic156_rtl_bidi_text_p1_reference.png" - } - ], - "overall_score": 0.8345 - }, - { - "name": "classic157_cjk_extended", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 368634, - "reference_size": 118155, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9775 - ], - "visual_avg": 0.9775, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic157_cjk_extended_p1_minipdf.png", - "reference_img": "classic157_cjk_extended_p1_reference.png" - } - ], - "overall_score": 0.991 - }, - { - "name": "classic158_emoji_skin_tones", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 298065, - "reference_size": 99585, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9791 - ], - "visual_avg": 0.9791, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic158_emoji_skin_tones_p1_minipdf.png", - "reference_img": "classic158_emoji_skin_tones_p1_reference.png" - } - ], - "overall_score": 0.9916 - }, - { - "name": "classic159_zwj_emoji", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 362013, - "reference_size": 106035, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9372, - "flat_text_similarity": 0.9372, - "word_text_similarity": 0.475, - "text_diff": "--- minipdf/classic159_zwj_emoji.pdf\n+++ reference/classic159_zwj_emoji.pdf\n@@ -1,10 +1,10 @@\n Description Emoji\n\n-Family 👨 ‍ 👩 ‍ 👧 ‍ 👦\n\n-Couple with heart 👩 ‍ ❤️ ‍ 👨\n\n-Woman technologist 👩 ‍ 💻\n\n-Man cook 👨 ‍ 🍳\n\n-Rainbow flag 🏳️ ‍ 🌈\n\n-Trans flag 🏳️ ‍ ⚧️\n\n-Firefighter 🧑 ‍ 🚒\n\n-Health worker 🧑 ‍ ⚕️\n\n-Service dog 🐕 ‍ 🦺\n+Family 👨‍👩‍👧‍👦\n\n+Couple with heart 👩‍❤️‍👨\n\n+Woman technologist 👩‍💻\n\n+Man cook 👨‍🍳\n\n+Rainbow flag 🏳️‍🌈\n\n+Trans flag 🏳️‍⚧️\n\n+Firefighter 🧑‍🚒\n\n+Health worker 🧑‍⚕️\n\n+Service dog 🐕‍🦺", - "visual_scores": [ - 0.9886 - ], - "visual_avg": 0.9886, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic159_zwj_emoji_p1_minipdf.png", - "reference_img": "classic159_zwj_emoji_p1_reference.png" - } - ], - "overall_score": 0.9703 - }, - { - "name": "classic160_punctuation_marks", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 581270, - "reference_size": 110515, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9915, - "flat_text_similarity": 0.9915, - "word_text_similarity": 0.9709, - "text_diff": "--- minipdf/classic160_punctuation_marks.pdf\n+++ reference/classic160_punctuation_marks.pdf\n@@ -1,7 +1,7 @@\n Type Characters\n\n Latin . , ; : ! ? … — – ' ' « »\n\n CJK 。、;:!?「」『』【】()\n\n-Arabic ، ؛٪ ؟ ﷽\n\n+Arabic ، ؛ ؟ ٪ ﷽\n\n Devanagari । ॥ ꣸ ꣹ ꣺\n\n Thai ฯ ๆ ๏ ๚ ๛\n\n Misc brackets ⟨⟩ ⟪⟫ ⌈⌉ ⌊⌋ ‖\n", - "visual_scores": [ - 0.9936 - ], - "visual_avg": 0.9936, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic160_punctuation_marks_p1_minipdf.png", - "reference_img": "classic160_punctuation_marks_p1_reference.png" - } - ], - "overall_score": 0.994 - }, - { - "name": "classic161_box_drawing", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 330036, - "reference_size": 94886, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9976, - "flat_text_similarity": 0.9976, - "word_text_similarity": 0.9552, - "text_diff": "--- minipdf/classic161_box_drawing.pdf\n+++ reference/classic161_box_drawing.pdf\n@@ -2,6 +2,6 @@\n Light box ┌──┬──┐│ │ │├──┼──┤└──┴──┘\n\n Heavy box ┏━━┳━━┓┃ ┃ ┃┣━━╋━━┫┗━━┻━━┛\n\n Double box ╔══╦══╗║ ║ ║╠══╬══╣╚══╩══╝\n\n-Blocks ▀ ▁▂▃ ▄ ▅▆▇ █ ░▒▓\n\n+Blocks ▀ ▁ ▂▃ ▄ ▅▆▇ █ ░▒▓\n\n Geometric ■□▪▫▲ △ ▼ ▽◆◇ ○● ◎\n\n Braille ⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊", - "visual_scores": [ - 0.9867 - ], - "visual_avg": 0.9867, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic161_box_drawing_p1_minipdf.png", - "reference_img": "classic161_box_drawing_p1_reference.png" - } - ], - "overall_score": 0.9937 - }, - { - "name": "classic162_cjk_emoji_styled", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 299740, - "reference_size": 133693, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9872 - ], - "visual_avg": 0.9872, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic162_cjk_emoji_styled_p1_minipdf.png", - "reference_img": "classic162_cjk_emoji_styled_p1_reference.png" - } - ], - "overall_score": 0.9949 - }, - { - "name": "classic163_cyrillic_alphabets", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3911706, - "reference_size": 56100, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9398, - "flat_text_similarity": 0.9398, - "word_text_similarity": 0.5957, - "text_diff": "--- minipdf/classic163_cyrillic_alphabets.pdf\n+++ reference/classic163_cyrillic_alphabets.pdf\n@@ -1,6 +1,6 @@\n Language Sample Text\n\n-Russian Съешь ещё этих мягких французских булок , да вып\n\n-Ukrainian Жебракують ф і лософи при ґ анку церкви в Гадяч і .\n\n-Serbian Ђ ура ђ Бранкови ћ ј е био владар Срби ј е .\n\n-Bulgarian Щъркел яде бялата жаба .\n\n-Mongolian Би монгол хэл дээр бичиж байна .\n+Russian Съешь ещё этих мягких французских булок, да выпей чаю.\n\n+Ukrainian Жебракують філософи при ґанку церкви в Гадячі.\n\n+Serbian Ђурађ Бранковић је био владар Србије.\n\n+Bulgarian Щъркел яде бялата жаба.\n\n+Mongolian Би монгол хэл дээр бичиж байна.", - "visual_scores": [ - 0.9834 - ], - "visual_avg": 0.9834, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic163_cyrillic_alphabets_p1_minipdf.png", - "reference_img": "classic163_cyrillic_alphabets_p1_reference.png" - } - ], - "overall_score": 0.9693 - }, - { - "name": "classic164_indic_scripts", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 146373, - "reference_size": 53352, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9903 - ], - "visual_avg": 0.9903, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic164_indic_scripts_p1_minipdf.png", - "reference_img": "classic164_indic_scripts_p1_reference.png" - } - ], - "overall_score": 0.9961 - }, - { - "name": "classic165_southeast_asian", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 147442, - "reference_size": 94767, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9672, - "flat_text_similarity": 0.9672, - "word_text_similarity": 0.7143, - "text_diff": "--- minipdf/classic165_southeast_asian.pdf\n+++ reference/classic165_southeast_asian.pdf\n@@ -1,6 +1,7 @@\n Script Sample\n\n Thai ภาษาไทยเป็นภาษาที่มีวรรณยุกต์\n\n-Lao ພາສາລາວເປັນພາສາທີ່ສວຍງາມ\n\n-Myanmar မြန်မာဘာသာစကားသည် လှပသည်\n\n+ີ່\n\n+Lao ພາສາລາວເປັນພາສາທ ສວຍງາມ\n\n+Myanmar မြန်ြာဘာသာစကာားသည် လှပသည်\n\n Khmer ភាសាខ្មែរជាភាសាចំណាស់\n\n-Tibetan བོད་ཀྱི་སྐད་ཡིག་ནི་གལ་ཆེན་པོ་ཡིན།\n+Tibetan བོད་ཀྱི་སྐད་ཡྱིག་ནྱི་གལ་ཆེན་པོ་ཡྱིན།", - "visual_scores": [ - 0.8185 - ], - "visual_avg": 0.8185, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic165_southeast_asian_p1_minipdf.png", - "reference_img": "classic165_southeast_asian_p1_reference.png" - } - ], - "overall_score": 0.9143 - }, - { - "name": "classic166_emoji_progress", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 295550, - "reference_size": 101519, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9761 - ], - "visual_avg": 0.9761, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic166_emoji_progress_p1_minipdf.png", - "reference_img": "classic166_emoji_progress_p1_reference.png" - } - ], - "overall_score": 0.9904 - }, - { - "name": "classic167_musical_symbols", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 638695, - "reference_size": 107225, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9843 - ], - "visual_avg": 0.9843, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic167_musical_symbols_p1_minipdf.png", - "reference_img": "classic167_musical_symbols_p1_reference.png" - } - ], - "overall_score": 0.9937 - }, - { - "name": "classic168_mixed_ltr_rtl_styled", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 319318, - "reference_size": 83592, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8621, - "flat_text_similarity": 0.8621, - "word_text_similarity": 0.6111, - "text_diff": "--- minipdf/classic168_mixed_ltr_rtl_styled.pdf\n+++ reference/classic168_mixed_ltr_rtl_styled.pdf\n@@ -1,5 +1,5 @@\n Code Name Price\n\n-EN-001 Programming Book$29.99\n\n+EN-001 Programming Book $29.99\n\n FR-002 Livre de code €25.00\n\n-AR-003 ﺔﺠﻣﺮﺑ ﺏﺎﺘﻛ 50 SAR\n\n-HE-004 דוק רפס₪120\n+AR-003كتاب برمجة50 SAR\n\n+HE-004ספר קוד₪120", - "visual_scores": [ - 0.9732 - ], - "visual_avg": 0.9732, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic168_mixed_ltr_rtl_styled_p1_minipdf.png", - "reference_img": "classic168_mixed_ltr_rtl_styled_p1_reference.png" - } - ], - "overall_score": 0.9341 - }, - { - "name": "classic169_korean_invoice", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 370044, - "reference_size": 118888, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9839 - ], - "visual_avg": 0.9839, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic169_korean_invoice_p1_minipdf.png", - "reference_img": "classic169_korean_invoice_p1_reference.png" - } - ], - "overall_score": 0.9936 - }, - { - "name": "classic170_emoji_dashboard", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 150954, - "reference_size": 137376, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9778 - ], - "visual_avg": 0.9778, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic170_emoji_dashboard_p1_minipdf.png", - "reference_img": "classic170_emoji_dashboard_p1_reference.png" - } - ], - "overall_score": 0.9911 - }, - { - "name": "classic171_ipa_phonetic", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4095258, - "reference_size": 76615, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9703, - "flat_text_similarity": 0.9703, - "word_text_similarity": 0.9341, - "text_diff": "--- minipdf/classic171_ipa_phonetic.pdf\n+++ reference/classic171_ipa_phonetic.pdf\n@@ -5,4 +5,4 @@\n Vowels i y ɨ ʉ ɯ u e ø ɘ ɵ ɤ o ɛ œ ɜ ɞ ʌ ɔ æ a ɶ ɑ ɒ\n\n Tones ˥ ˦ ˧ ˨ ˩ ˥˩ ˩˥\n\n Diacritics ʰ ʷ ʲ ˠ ˤ ⁿ ˡ\n\n-Example word / ˌ ɪ nt əˈ næ ʃ ə n ə l/ (international)\n+Example word /ˌɪntəˈnæʃənəl/ (international)", - "visual_scores": [ - 0.9911 - ], - "visual_avg": 0.9911, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic171_ipa_phonetic_p1_minipdf.png", - "reference_img": "classic171_ipa_phonetic_p1_reference.png" - } - ], - "overall_score": 0.9846 - }, - { - "name": "classic172_emoji_timeline", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 153787, - "reference_size": 117160, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9849 - ], - "visual_avg": 0.9849, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic172_emoji_timeline_p1_minipdf.png", - "reference_img": "classic172_emoji_timeline_p1_reference.png" - } - ], - "overall_score": 0.994 - }, - { - "name": "classic173_african_languages", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 328234, - "reference_size": 64361, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9783, - "flat_text_similarity": 0.9783, - "word_text_similarity": 0.72, - "text_diff": "--- minipdf/classic173_african_languages.pdf\n+++ reference/classic173_african_languages.pdf\n@@ -1,8 +1,8 @@\n Language Greeting Region\n\n Swahili Habari! Karibu sana. East Africa\n\n-Amharic ሰላም! እንኳን ደህና መጣህ. Ethiopia\n\n-Yoruba Ẹ kú àár ọ̀ ! Ẹ kú al ẹ́ ! Nigeria\n\n+Amharic ሰላም ! እንኳን ደህና መጣህ . Ethiopia\n\n+Yoruba Ẹ kú àárọ̀! Ẹ kú alẹ́! Nigeria\n\n Zulu Sawubona! Unjani? South Africa\n\n Hausa Sannu! Barka da zuwa. West Africa\n\n-Igbo Nn ọọ ! Ked ụ ? Nigeria\n\n-Tigrinya ሰላም! ከመይ ኣለኻ? Eritrea\n+Igbo Nnọọ! Kedụ? Nigeria\n\n+Tigrinya ሰላም ! ከመይ ኣለኻ ? Eritrea", - "visual_scores": [ - 0.9847 - ], - "visual_avg": 0.9847, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic173_african_languages_p1_minipdf.png", - "reference_img": "classic173_african_languages_p1_reference.png" - } - ], - "overall_score": 0.9852 - }, - { - "name": "classic174_technical_symbols", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 870257, - "reference_size": 81967, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9971, - "flat_text_similarity": 0.9971, - "word_text_similarity": 0.9898, - "text_diff": "--- minipdf/classic174_technical_symbols.pdf\n+++ reference/classic174_technical_symbols.pdf\n@@ -6,4 +6,4 @@\n Temp 100°C = 212°F = 373.15 K\n\n Copyright © 2025 Company™ — All Rights Reserved®\n\n Fractions ½ ⅓ ¼ ⅕ ⅙ ⅛ ⅔ ¾ ⅘\n\n-Roman nums Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ\n+Roman nums Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅺ", - "visual_scores": [ - 0.9848 - ], - "visual_avg": 0.9848, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic174_technical_symbols_p1_minipdf.png", - "reference_img": "classic174_technical_symbols_p1_reference.png" - } - ], - "overall_score": 0.9928 - }, - { - "name": "classic175_multiscript_catalog", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4175241, - "reference_size": 191190, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9686, - "flat_text_similarity": 0.9686, - "word_text_similarity": 0.8687, - "text_diff": "--- minipdf/classic175_multiscript_catalog.pdf\n+++ reference/classic175_multiscript_catalog.pdf\n@@ -1,9 +1,9 @@\n # Product (EN) Product (Local) Price Icon\n\n 1 Green Tea 緑茶 ¥500 🍵\n\n 2 Kimchi 김치 ₩3,000 🥬\n\n-3 Samosa समोसा ₹ 50 🥟\n\n+3 Samosa समोसा ₹50 🥟\n\n 4 Croissant Croissant €2.50 🥐\n\n 5 Taco Taco $3.99 🌮\n\n-6 Borscht Борщ ₽ 250 🍲\n\n-7 Falafel ﻞﻓﻼﻓ ₪15 🧆\n\n-8 Pad Thai ผัดไทย ฿ 80 🍜\n+6 Borscht Борщ ₽250 🍲\n\n+7 Falafelفالفل₪15 🧆\n\n+8 Pad Thai ผัดไทย ฿80 🍜", - "visual_scores": [ - 0.9774 - ], - "visual_avg": 0.9774, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic175_multiscript_catalog_p1_minipdf.png", - "reference_img": "classic175_multiscript_catalog_p1_reference.png" - } - ], - "overall_score": 0.9784 - }, - { - "name": "classic176_combining_characters", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 541775, - "reference_size": 68236, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9469, - "flat_text_similarity": 0.9469, - "word_text_similarity": 0.8615, - "text_diff": "--- minipdf/classic176_combining_characters.pdf\n+++ reference/classic176_combining_characters.pdf\n@@ -1,7 +1,7 @@\n Type Examples\n\n-Single combining é = e + ́ ñ = n +\n\n-Double combining ệ = e + ̣ +\n\n+Single combining é = e + ́ ñ = n + ̃\n\n+Double combining ệ = e + ̣ + ̂\n\n Vietnamese ắ ằ ẵ ẳ ặ ố ồ ỗ ổ ộ ứ ừ ữ ử ự\n\n-Zalgo-like H e ̵̖̘ ̷̝̣ l l ̶̤ o ̴̥\n\n-Precomposed vs decomposed ü (precomposed) vs u (decomposed) ̈\n\n+Zalgo-like H ̵̖̘e ̣l ̶̤l ̴̥o ̸̮\n\n+Precomposed vs decomposed ü (precomposed) vs ü (decomposed)\n\n Hangul Jamo ㅎ ㅏ ㄴ ㄱ ㅡ ㄹ → 한글", - "visual_scores": [ - 0.9886 - ], - "visual_avg": 0.9886, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic176_combining_characters_p1_minipdf.png", - "reference_img": "classic176_combining_characters_p1_reference.png" - } - ], - "overall_score": 0.9742 - }, - { - "name": "classic177_emoji_calendar", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 157580, - "reference_size": 107156, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9864 - ], - "visual_avg": 0.9864, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic177_emoji_calendar_p1_minipdf.png", - "reference_img": "classic177_emoji_calendar_p1_reference.png" - } - ], - "overall_score": 0.9946 - }, - { - "name": "classic178_caucasus_ethiopic", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 337227, - "reference_size": 58144, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9936, - "flat_text_similarity": 0.9936, - "word_text_similarity": 0.9159, - "text_diff": "--- minipdf/classic178_caucasus_ethiopic.pdf\n+++ reference/classic178_caucasus_ethiopic.pdf\n@@ -1,6 +1,6 @@\n Script Sample Text\n\n-Georgian საქართველო არის ძველი ცივილიზაცია .\n\n-Armenian Հայաստանը հին քաղաքակրթություն ունի .\n\n+Georgian საქართველო არის ძველი ცივილიზაცია.\n\n+Armenian Հայաստանը հին քաղաքակրթություն ունի.\n\n Ethiopic ኢትዮጵያ የጥንታዊ ሥልጣኔ ምድር ናት።\n\n-Georgian mkhedr ა ბ გ დ ე ვ ზ თ ი კ ლ მ ნ ო პ\n\n+Georgian mkhedrა ბ გ დ ე ვ ზ თ ი კ ლ მ ნ ო პ\n\n Armenian alphab Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ", - "visual_scores": [ - 0.9887 - ], - "visual_avg": 0.9887, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic178_caucasus_ethiopic_p1_minipdf.png", - "reference_img": "classic178_caucasus_ethiopic_p1_reference.png" - } - ], - "overall_score": 0.9929 - }, - { - "name": "classic179_emoji_inventory", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 301317, - "reference_size": 138581, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9782 - ], - "visual_avg": 0.9782, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic179_emoji_inventory_p1_minipdf.png", - "reference_img": "classic179_emoji_inventory_p1_reference.png" - } - ], - "overall_score": 0.9913 - }, - { - "name": "classic180_polyglot_paragraph", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4229552, - "reference_size": 153951, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9772, - "flat_text_similarity": 0.9772, - "word_text_similarity": 0.7714, - "text_diff": "--- minipdf/classic180_polyglot_paragraph.pdf\n+++ reference/classic180_polyglot_paragraph.pdf\n@@ -2,8 +2,8 @@\n English The quick brown fox.\n\n Japanese 速い茶色の狐。\n\n Korean 빠른 갈색 여우 .\n\n-Russian Быстрая бурая лиса .\n\n-Greek Η γρ ή γορη αλεπο ύ .\n\n-Thai สุนัขจิ้งจอกสีน้ำตาล\n\n-Hindi तेज़ भूरी लोमड़ी\n\n+Russian Быстрая бурая лиса.\n\n+Greek Η γρήγορη αλεπού.\n\n+Thai สุนัขจิ้งจอกสีน ้ำตำล\n\n+Hindi तेज़ भूरी लोमडी\n\n Emoji 🦊 ➡️ 🐕", - "visual_scores": [ - 0.9884 - ], - "visual_avg": 0.9884, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic180_polyglot_paragraph_p1_minipdf.png", - "reference_img": "classic180_polyglot_paragraph_p1_reference.png" - } - ], - "overall_score": 0.9862 - }, - { - "name": "classic181_feedback_tracker_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12691, - "reference_size": 93919, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9865, - "flat_text_similarity": 0.9862, - "word_text_similarity": 0.9809, - "text_diff": "--- minipdf/classic181_feedback_tracker_with_images.pdf\n+++ reference/classic181_feedback_tracker_with_images.pdf\n@@ -6,6 +6,7 @@\n 2026-03-03 Eve Wrong checklist used for application\n\n 2026-03-03 Frank Name and contact details missing on cover letter\n\n 2026-03-04 Grace Unable to scroll and read the privacy policy\n\n-2026-03-04 Hank Applicant has three children, only one birth cert uploaded\n\n+2026-03-04 Hank Applicant has three children, only one birth cert up\n\n ---PAGE---\n\n-Screenshot\n+Screenshot\n\n+ploaded", - "visual_scores": [ - 0.9655, - 0.9492 - ], - "visual_avg": 0.9574, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic181_feedback_tracker_with_images_p1_minipdf.png", - "reference_img": "classic181_feedback_tracker_with_images_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic181_feedback_tracker_with_images_p2_minipdf.png", - "reference_img": "classic181_feedback_tracker_with_images_p2_reference.png" - } - ], - "overall_score": 0.9776 - }, - { - "name": "classic182_dense_long_text_columns", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7154, - "reference_size": 105199, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9302, - "flat_text_similarity": 0.8328, - "word_text_similarity": 0.8992, - "text_diff": "--- minipdf/classic182_dense_long_text_columns.pdf\n+++ reference/classic182_dense_long_text_columns.pdf\n@@ -1,19 +1,19 @@\n ID First Name Last Name Department Position Title\n\n 1001 Alexander Papadopoulos Engineering Senior Software Engineer\n\n-1002 Magdalena Kowalczyk Human ResourceHR Business Partner Lead\n\n+1002 Magdalena Kowalczyk Human Resource HR Business Partner Lead\n\n 1003 Christopher O'Sullivan Finance Chief Financial Analyst\n\n-1004 Priyanka RamasubramaMarketing Digital Marketing Strategist\n\n-1005 Jean-Pierre Beaumont Sales Regional Sales Director (EMEA)\n\n+1004 Priyanka Ramasubrama Marketing Digital Marketing Strategist\n\n+1005 Jean-Pierre Beaumont Sales Regional Sales Director (EM\n\n 1006 Anastasia Volkov Engineering Principal Data Scientist\n\n-1007 Mohammed Al-Rashidi Operations Supply Chain Optimization Manager\n\n+1007 Mohammed Al-Rashidi Operations Supply Chain Optimization\n\n 1008 Guadalupe Hernandez Legal Senior Corporate Counsel\n\n ---PAGE---\n\n Email Address Phone Notes\n\n-alexander.papadopoulos@example. +1-555-0101 Transferred from Athens office in Q2\n\n-magdalena.kowalczyk@example.co +1-555-0102 Fluent in Polish, German, and English\n\n-christopher.osullivan@example.com +1-555-0103 CPA certified, MBA from Wharton\n\n+alexander.papadopoulos@example+1-555-0101 Transferred from Athens office in Q2\n\n+magdalena.kowalczyk@example.co+1-555-0102 Fluent in Polish, German, and English\n\n+christopher.osullivan@example.co +1-555-0103 CPA certified, MBA from Wharton\n\n priyanka.r@example.com +1-555-0104 Led rebranding campaign for APAC region\n\n-jean-pierre.beaumont@example.co +1-555-0105 15+ years experience in B2B SaaS\n\n+jean-pierre.beaumont@example.co+1-555-0105 15+ years experience in B2B SaaS\n\n anastasia.volkov@example.com +1-555-0106 PhD in Machine Learning, Stanford\n\n-mohammed.alrashidi@example.co +1-555-0107 Six Sigma Black Belt certified\n\n-guadalupe.hernandez@example.co +1-555-0108 Bar admitted in CA, NY, TX\n+mohammed.alrashidi@example.co+1-555-0107 Six Sigma Black Belt certified\n\n+guadalupe.hernandez@example.co+1-555-0108 Bar admitted in CA, NY, TX", - "visual_scores": [ - 0.9758, - 0.9725 - ], - "visual_avg": 0.9742, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic182_dense_long_text_columns_p1_minipdf.png", - "reference_img": "classic182_dense_long_text_columns_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic182_dense_long_text_columns_p2_minipdf.png", - "reference_img": "classic182_dense_long_text_columns_p2_reference.png" - } - ], - "overall_score": 0.9618 - }, - { - "name": "classic183_mixed_content_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5985, - "reference_size": 79725, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.961 - ], - "visual_avg": 0.961, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic183_mixed_content_grid_p1_minipdf.png", - "reference_img": "classic183_mixed_content_grid_p1_reference.png" - } - ], - "overall_score": 0.9844 - }, - { - "name": "classic184_wide_narrow_columns", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 16134, - "reference_size": 102871, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9453 - ], - "visual_avg": 0.9453, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic184_wide_narrow_columns_p1_minipdf.png", - "reference_img": "classic184_wide_narrow_columns_p1_reference.png" - } - ], - "overall_score": 0.9781 - }, - { - "name": "classic185_tall_rows_vertical_align", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2496, - "reference_size": 72408, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9817 - ], - "visual_avg": 0.9817, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic185_tall_rows_vertical_align_p1_minipdf.png", - "reference_img": "classic185_tall_rows_vertical_align_p1_reference.png" - } - ], - "overall_score": 0.9927 - }, - { - "name": "classic186_multi_sheet_image_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8140, - "reference_size": 92322, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9931, - 0.9537 - ], - "visual_avg": 0.9734, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic186_multi_sheet_image_report_p1_minipdf.png", - "reference_img": "classic186_multi_sheet_image_report_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic186_multi_sheet_image_report_p2_minipdf.png", - "reference_img": "classic186_multi_sheet_image_report_p2_reference.png" - } - ], - "overall_score": 0.9894 - }, - { - "name": "classic187_bug_report_with_screenshots", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8414, - "reference_size": 94413, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9306 - ], - "visual_avg": 0.9306, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic187_bug_report_with_screenshots_p1_minipdf.png", - "reference_img": "classic187_bug_report_with_screenshots_p1_reference.png" - } - ], - "overall_score": 0.9722 - }, - { - "name": "classic188_merged_header_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8078, - "reference_size": 81139, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9723 - ], - "visual_avg": 0.9723, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic188_merged_header_with_images_p1_minipdf.png", - "reference_img": "classic188_merged_header_with_images_p1_reference.png" - } - ], - "overall_score": 0.9889 - }, - { - "name": "classic189_alternating_image_text_rows", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10000, - "reference_size": 93481, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9713, - "flat_text_similarity": 0.9713, - "word_text_similarity": 0.9161, - "text_diff": "--- minipdf/classic189_alternating_image_text_rows.pdf\n+++ reference/classic189_alternating_image_text_rows.pdf\n@@ -1,7 +1,7 @@\n Step Action Expected Result Evidence\n\n Step 1 Open login page Login form is displayed with e See below\n\n-Step 2 Enter valid credentials Dashboard loads within 3 seco See below\n\n-Step 3 Click export button CSV file downloads with all visi See below\n\n-Step 4 Apply date filter Table updates to show only m See below\n\n+Step 2 Enter valid credentials Dashboard loads within 3 secoSee below\n\n+Step 3 Click export button CSV file downloads with all visSee below\n\n+Step 4 Apply date filter Table updates to show only mSee below\n\n Step 5 Resize browser window Layout remains responsive at See below\n\n-Step 6 Toggle dark mode All components switch to dark t See below\n+Step 6 Toggle dark mode All components switch to darkSee below", - "visual_scores": [ - 0.9222 - ], - "visual_avg": 0.9222, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic189_alternating_image_text_rows_p1_minipdf.png", - "reference_img": "classic189_alternating_image_text_rows_p1_reference.png" - } - ], - "overall_score": 0.9574 - }, - { - "name": "classic190_dashboard_kpi_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7177, - "reference_size": 96601, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9637 - ], - "visual_avg": 0.9637, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic190_dashboard_kpi_images_p1_minipdf.png", - "reference_img": "classic190_dashboard_kpi_images_p1_reference.png" - } - ], - "overall_score": 0.9855 - }, - { - "name": "classic191_payroll_calculator", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 114658, - "reference_size": 189742, - "pdf_valid": true, - "minipdf_pages": 9, - "reference_pages": 9, - "text_similarity": 0.8377, - "flat_text_similarity": 0.3734, - "word_text_similarity": 0.8377, - "text_diff": "--- minipdf/classic191_payroll_calculator.pdf\n+++ reference/classic191_payroll_calculator.pdf\n@@ -1,64 +1,66 @@\n Employee Register\n\n Information contained in this employee register is highly confidential\n\n-ID Employee's Name M/F Hire Date Occupation\n\n-1 Adam Jones M 2013-02-15 Senior Accountant\n\n-2 Nichola Brown F 2011-09-28 CR Manager\n\n-3 Benny Erwin M 2011-05-11 Applications PM\n\n-4 Rachel Kim F 2016-08-03 HR Specialist\n\n-5 Carlos Ruiz M 2019-11-20 Sales Rep\n\n+ID Employee's Name M/F Hire Date\n\n+1 Adam Jones M 2013-02-15\n\n+2 Nichola Brown F 2011-09-28\n\n+3 Benny Erwin M 2011-05-11\n\n+4 Rachel Kim F 2016-08-03\n\n+5 Carlos Ruiz M 2019-11-20\n\n ---PAGE---\n\n Regular Hourly Overtime Hourly Exempt from\n\n-Annual Salary ($) Pay Frequency W-4 Form\n\n+Occupation Annual Salary ($)\n\n Rate ($) Rate ($) Overtime\n\n-42,000.00 20.19 30.29 Yes Monthly W-4 (2020+)\n\n-54,481.00 26.19 39.29 Yes Monthly W-4 (2020+)\n\n-48,785.00 23.45 35.18 No Monthly W-4 (pre-2020)\n\n-39,500.00 19.00 28.50 Yes Bi-Weekly W-4 (2020+)\n\n-51,200.00 24.62 36.92 No Monthly W-4 (2020+)\n\n+Senior Accountant 42,000.00 20.19 30.29 Yes\n\n+CR Manager 54,481.00 26.19 39.29 Yes\n\n+Applications PM 48,785.00 23.45 35.18 No\n\n+HR Specialist 39,500.00 19.00 28.50 Yes\n\n+Sales Rep 51,200.00 24.62 36.92 No\n\n ---PAGE---\n\n-Additional Withhold\n\n-Filing Status Federal Allowance\n\n-($)\n\n-Exempt 2 50.00\n\n-Married 4 0.00\n\n-Married 4 0.00\n\n-Single 1 25.00\n\n-Single 0 0.00\n\n+Additional\n\n+Pay Frequency W-4 Form Filing Status Federal Allowance\n\n+Withhold ($)\n\n+Monthly W-4 (2020+) Exempt 2 50.00\n\n+Monthly W-4 (2020+) Married 4 0.00\n\n+Monthly W-4 (pre-2020) Married 4 0.00\n\n+Bi-Weekly W-4 (2020+) Single 1 25.00\n\n+Monthly W-4 (2020+) Single 0 0.00\n\n ---PAGE---\n\n Payroll Calculator\n\n-Pay Period Hours\n\n-ID Employee Name From To Regular Hours Holiday Hours\n\n-1 Adam Jones 2020-12-01 2020-12-31 173.33 0.00\n\n-2 Nichola Brown 2020-12-01 2020-12-31 173.33 0.00\n\n-3 Benny Erwin 2020-12-01 2020-12-31 173.33 0.00\n\n-4 Rachel Kim 2020-12-01 2020-12-31 80.00 8.00\n\n-5 Carlos Ruiz 2020-12-01 2020-12-31 173.33 0.00\n\n+Pay Period\n\n+ID Employee Name From To Regular Hours\n\n+1 Adam Jones 2020-12-01 2020-12-31 173.33\n\n+2 Nichola Brown 2020-12-01 2020-12-31 173.33\n\n+3 Benny Erwin 2020-12-01 2020-12-31 173.33\n\n+4 Rachel Kim 2020-12-01 2020-12-31 80.00\n\n+5 Carlos Ruiz 2020-12-01 2020-12-31 173.33\n\n ---PAGE---\n\n-Taxable Pre-Tax Deduction Post-Tax\n\n-Vacation Hours Sick Hours Overtime Hours\n\n-Compensation s Reimbursements\n\n-0.00 0.00 0.00 500.00 0.00 500.00\n\n+Hours\n\n+Taxable Pre-Tax\n\n+Holiday Hours Vacation Hours Sick Hours Overtime Hours\n\n+Compensation Deductions\n\n+0.00 0.00 0.00 0.00 500.00 0.00\n\n 0.00 0.00 0.00 0.00 0.00 0.00\n\n-0.00 0.00 8.00 0.00 0.00 0.00\n\n-0.00 0.00 0.00 0.00 0.00 0.00\n\n-16.00 0.00 4.00 200.00 0.00 200.00\n\n+0.00 0.00 0.00 8.00 0.00 0.00\n\n+8.00 0.00 0.00 0.00 0.00 0.00\n\n+0.00 16.00 0.00 4.00 200.00 0.00\n\n ---PAGE---\n\n-Pre-Tax Adjustments Withholdings\n\n-Tax Deferral Plan\n\n-Gross Pay Health Insurance Other Federal Tax State Tax\n\n-(401k)\n\n-3,999.60 139.98 0.00 0.00 319.49 178.70\n\n-4,539.60 136.19 0.00 0.00 346.74 203.88\n\n-4,346.11 195.57 0.00 0.00 110.89 192.17\n\n-1,685.58 50.57 120.00 0.00 142.30 78.50\n\n-4,613.00 138.39 0.00 0.00 360.20 210.45\n\n+Pre-Tax Adjustments\n\n+Post-Tax Tax Deferral Plan\n\n+Gross Pay Health Insurance Other Federal Tax\n\n+Reimbursements (401k)\n\n+500.00 3,999.60 139.98 0.00 0.00 319.49\n\n+0.00 4,539.60 136.19 0.00 0.00 346.74\n\n+0.00 4,346.11 195.57 0.00 0.00 110.89\n\n+0.00 1,685.58 50.57 120.00 0.00 142.30\n\n+200.00 4,613.00 138.39 0.00 0.00 360.20\n\n ---PAGE---\n\n-Local Tax\n\n-0.00\n\n-0.00\n\n-0.00\n\n-0.00\n\n-0.00\n\n+Withholdings\n\n+State Tax Local Tax\n\n+178.70 0.00\n\n+203.88 0.00\n\n+192.17 0.00\n\n+78.50 0.00\n\n+210.45 0.00\n\n ---PAGE---\n\n ABC Company\n\n 111 Street Name\n", - "visual_scores": [ - 0.9117, - 0.7981, - 0.7562, - 0.8979, - 0.775, - 0.7859, - 0.7799, - 0.9265, - 0.9551 - ], - "visual_avg": 0.8429, - "diff_images": [ - { - "page": 1, - "minipdf_img": "classic191_payroll_calculator_p1_minipdf.png", - "reference_img": "classic191_payroll_calculator_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "classic191_payroll_calculator_p2_minipdf.png", - "reference_img": "classic191_payroll_calculator_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "classic191_payroll_calculator_p3_minipdf.png", - "reference_img": "classic191_payroll_calculator_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "classic191_payroll_calculator_p4_minipdf.png", - "reference_img": "classic191_payroll_calculator_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": "classic191_payroll_calculator_p5_minipdf.png", - "reference_img": "classic191_payroll_calculator_p5_reference.png" - }, - { - "page": 6, - "minipdf_img": "classic191_payroll_calculator_p6_minipdf.png", - "reference_img": "classic191_payroll_calculator_p6_reference.png" - }, - { - "page": 7, - "minipdf_img": "classic191_payroll_calculator_p7_minipdf.png", - "reference_img": "classic191_payroll_calculator_p7_reference.png" - }, - { - "page": 8, - "minipdf_img": "classic191_payroll_calculator_p8_minipdf.png", - "reference_img": "classic191_payroll_calculator_p8_reference.png" - }, - { - "page": 9, - "minipdf_img": "classic191_payroll_calculator_p9_minipdf.png", - "reference_img": "classic191_payroll_calculator_p9_reference.png" - } - ], - "overall_score": 0.8722 - } -] \ No newline at end of file diff --git a/tests/MiniPdf.Benchmark/reports/comparison_report.md b/tests/MiniPdf.Benchmark/reports/comparison_report.md deleted file mode 100644 index 1b2694d4..00000000 --- a/tests/MiniPdf.Benchmark/reports/comparison_report.md +++ /dev/null @@ -1,8536 +0,0 @@ -# MiniPdf vs Reference PDF Comparison Report - -Generated: 2026-07-07T23:27:18.176195 - -## Summary - -| # | Test Case | Valid | Text Sim | Visual Avg | Pages (M/R) | Overall | -|---|-----------|-------|----------|------------|-------------|--------| -| 1 | 🟢 classic01_basic_table_with_headers | ✅ | 1.0 | 0.9965 | 1/1 | **0.9986** | -| 2 | 🟢 classic02_multiple_worksheets | ✅ | 0.9914 | 0.9966 | 3/3 | **0.9952** | -| 3 | 🟢 classic03_empty_workbook | ✅ | 1.0 | 1.0 | 1/1 | **1.0** | -| 4 | 🟢 classic04_single_cell | ✅ | 1.0 | 0.9994 | 1/1 | **0.9998** | -| 5 | 🟢 classic05_wide_table | ✅ | 0.8846 | 0.9899 | 3/3 | **0.9498** | -| 6 | 🟢 classic06_tall_table | ✅ | 1.0 | 0.9226 | 5/5 | **0.969** | -| 7 | 🟢 classic07_numbers_only | ✅ | 1.0 | 0.9976 | 1/1 | **0.999** | -| 8 | 🟢 classic08_mixed_text_and_numbers | ✅ | 1.0 | 0.9969 | 1/1 | **0.9988** | -| 9 | 🔴 classic09_long_text | ✅ | 0.2972 | 0.7757 | 12/12 | **0.6292** | -| 10 | 🟢 classic10_special_xml_characters | ✅ | 1.0 | 0.9951 | 1/1 | **0.998** | -| 11 | 🟢 classic11_sparse_rows | ✅ | 1.0 | 0.9982 | 2/2 | **0.9993** | -| 12 | 🔴 classic12_sparse_columns | ✅ | 1.0 | 0.4976 | 1/2 | **0.699** | -| 13 | 🟢 classic13_date_strings | ✅ | 0.9751 | 0.9952 | 1/1 | **0.9881** | -| 14 | 🟢 classic14_decimal_numbers | ✅ | 1.0 | 0.9962 | 1/1 | **0.9985** | -| 15 | 🟢 classic15_negative_numbers | ✅ | 0.9375 | 0.9954 | 1/1 | **0.9732** | -| 16 | 🟢 classic16_percentage_strings | ✅ | 0.9939 | 0.9953 | 1/1 | **0.9957** | -| 17 | 🟢 classic17_currency_strings | ✅ | 1.0 | 0.9946 | 1/1 | **0.9978** | -| 18 | 🔴 classic18_large_dataset | ✅ | 0.9001 | 0.4838 | 24/42 | **0.6536** | -| 19 | 🟢 classic19_single_column_list | ✅ | 1.0 | 0.9947 | 1/1 | **0.9979** | -| 20 | 🟢 classic20_all_empty_cells | ✅ | 1.0 | 1.0 | 1/1 | **1.0** | -| 21 | 🟢 classic21_header_only | ✅ | 1.0 | 0.9977 | 1/1 | **0.9991** | -| 22 | 🟢 classic22_long_sheet_name | ✅ | 1.0 | 0.9969 | 1/1 | **0.9988** | -| 23 | 🟢 classic23_unicode_text | ✅ | 0.8971 | 0.9918 | 1/1 | **0.9556** | -| 24 | 🟢 classic24_red_text | ✅ | 1.0 | 0.9959 | 1/1 | **0.9984** | -| 25 | 🟢 classic25_multiple_colors | ✅ | 0.9978 | 0.9925 | 1/1 | **0.9961** | -| 26 | 🟢 classic26_inline_strings | ✅ | 1.0 | 0.9945 | 1/1 | **0.9978** | -| 27 | 🟢 classic27_single_row | ✅ | 1.0 | 0.9972 | 1/1 | **0.9989** | -| 28 | 🟢 classic28_duplicate_values | ✅ | 1.0 | 0.996 | 1/1 | **0.9984** | -| 29 | 🟢 classic29_formula_results | ✅ | 1.0 | 0.9956 | 1/1 | **0.9982** | -| 30 | 🟢 classic30_mixed_empty_and_filled_sheets | ✅ | 1.0 | 0.9973 | 2/2 | **0.9989** | -| 31 | 🟢 classic31_bold_header_row | ✅ | 1.0 | 0.9927 | 1/1 | **0.9971** | -| 32 | 🟢 classic32_right_aligned_numbers | ✅ | 1.0 | 0.997 | 1/1 | **0.9988** | -| 33 | 🟢 classic33_centered_text | ✅ | 1.0 | 0.9962 | 1/1 | **0.9985** | -| 34 | 🟢 classic34_explicit_column_widths | ✅ | 1.0 | 0.9939 | 1/1 | **0.9976** | -| 35 | 🟢 classic35_explicit_row_heights | ✅ | 0.9574 | 0.9968 | 1/1 | **0.9817** | -| 36 | 🟢 classic36_merged_cells | ✅ | 0.9643 | 0.993 | 1/1 | **0.9829** | -| 37 | 🟢 classic37_freeze_panes | ✅ | 1.0 | 0.9852 | 1/1 | **0.9941** | -| 38 | 🟢 classic38_hyperlink_cell | ✅ | 1.0 | 0.9932 | 1/1 | **0.9973** | -| 39 | 🟢 classic39_financial_table | ✅ | 1.0 | 0.9924 | 1/1 | **0.997** | -| 40 | 🟢 classic40_scientific_notation | ✅ | 0.8636 | 0.9928 | 1/1 | **0.9426** | -| 41 | 🟢 classic41_integer_vs_float | ✅ | 1.0 | 0.9957 | 1/1 | **0.9983** | -| 42 | 🟢 classic42_boolean_values | ✅ | 0.9744 | 0.9938 | 1/1 | **0.9873** | -| 43 | 🟢 classic43_inventory_report | ✅ | 1.0 | 0.9834 | 1/1 | **0.9934** | -| 44 | 🟢 classic44_employee_roster | ✅ | 0.8067 | 0.9727 | 1/1 | **0.9118** | -| 45 | 🟢 classic45_sales_by_region | ✅ | 1.0 | 0.9972 | 4/4 | **0.9989** | -| 46 | 🟢 classic46_grade_book | ✅ | 1.0 | 0.9889 | 1/1 | **0.9956** | -| 47 | 🟢 classic47_time_series | ✅ | 1.0 | 0.9748 | 1/1 | **0.9899** | -| 48 | 🟢 classic48_survey_results | ✅ | 0.9831 | 0.9885 | 1/1 | **0.9886** | -| 49 | 🟡 classic49_contact_list | ✅ | 0.6658 | 0.9753 | 1/1 | **0.8564** | -| 50 | 🟢 classic50_budget_vs_actuals | ✅ | 0.9934 | 0.9873 | 3/3 | **0.9923** | -| 51 | 🟡 classic51_product_catalog | ✅ | 0.6341 | 0.9633 | 1/1 | **0.839** | -| 52 | 🟢 classic52_pivot_summary | ✅ | 0.9978 | 0.9858 | 1/1 | **0.9934** | -| 53 | 🟢 classic53_invoice | ✅ | 0.9444 | 0.9773 | 1/1 | **0.9687** | -| 54 | 🟢 classic54_multi_level_header | ✅ | 1.0 | 0.989 | 1/1 | **0.9956** | -| 55 | 🟢 classic55_error_values | ✅ | 1.0 | 0.9931 | 1/1 | **0.9972** | -| 56 | 🟢 classic56_alternating_row_colors | ✅ | 1.0 | 0.9765 | 1/1 | **0.9906** | -| 57 | 🟢 classic57_cjk_only | ✅ | 0.9945 | 0.9904 | 1/1 | **0.994** | -| 58 | 🟢 classic58_mixed_numeric_formats | ✅ | 0.9726 | 0.9908 | 1/1 | **0.9854** | -| 59 | 🟢 classic59_multi_sheet_summary | ✅ | 1.0 | 0.9954 | 4/4 | **0.9982** | -| 60 | 🔴 classic60_large_wide_table | ✅ | 0.852 | 0.6012 | 4/6 | **0.6813** | -| 61 | 🟢 classic61_product_card_with_image | ✅ | 1.0 | 0.989 | 1/1 | **0.9956** | -| 62 | 🟢 classic62_company_logo_header | ✅ | 0.988 | 0.9869 | 1/1 | **0.99** | -| 63 | 🟢 classic63_two_products_side_by_side | ✅ | 1.0 | 0.9778 | 1/1 | **0.9911** | -| 64 | 🟢 classic64_employee_directory_with_photo | ✅ | 0.9903 | 0.9744 | 1/1 | **0.9859** | -| 65 | 🟢 classic65_inventory_with_product_photos | ✅ | 0.9786 | 0.9872 | 1/1 | **0.9863** | -| 66 | 🟢 classic66_invoice_with_logo | ✅ | 0.9358 | 0.9836 | 1/1 | **0.9678** | -| 67 | 🟢 classic67_real_estate_listing | ✅ | 1.0 | 0.9828 | 1/1 | **0.9931** | -| 68 | 🟢 classic68_restaurant_menu | ✅ | 0.875 | 0.9218 | 1/1 | **0.9187** | -| 69 | 🟢 classic69_image_only_sheet | ✅ | 1.0 | 0.9767 | 1/1 | **0.9907** | -| 70 | 🟢 classic70_product_catalog_with_images | ✅ | 0.9675 | 0.9665 | 1/1 | **0.9736** | -| 71 | 🟢 classic71_multi_sheet_with_images | ✅ | 0.9898 | 0.9926 | 3/3 | **0.993** | -| 72 | 🟢 classic72_bar_chart_image_with_data | ✅ | 1.0 | 0.953 | 1/1 | **0.9812** | -| 73 | 🟢 classic73_event_flyer_with_banner | ✅ | 0.9087 | 0.9636 | 1/1 | **0.9489** | -| 74 | 🟢 classic74_dashboard_with_kpi_image | ✅ | 0.9846 | 0.9454 | 1/1 | **0.972** | -| 75 | 🟢 classic75_certificate_with_seal | ✅ | 1.0 | 0.9743 | 1/1 | **0.9897** | -| 76 | 🟢 classic76_product_image_grid | ✅ | 1.0 | 0.9495 | 1/1 | **0.9798** | -| 77 | 🟢 classic77_news_article_with_hero_image | ✅ | 1.0 | 0.9627 | 1/1 | **0.9851** | -| 78 | 🟢 classic78_small_icon_per_row | ✅ | 0.9226 | 0.9894 | 1/1 | **0.9648** | -| 79 | 🟢 classic79_wide_panoramic_banner | ✅ | 1.0 | 0.959 | 1/1 | **0.9836** | -| 80 | 🟢 classic80_portrait_tall_image | ✅ | 1.0 | 0.9874 | 1/1 | **0.995** | -| 81 | 🟢 classic81_step_by_step_with_images | ✅ | 1.0 | 0.965 | 1/1 | **0.986** | -| 82 | 🟢 classic82_before_after_images | ✅ | 0.9963 | 0.9372 | 1/1 | **0.9734** | -| 83 | 🟢 classic83_color_swatch_palette | ✅ | 0.9708 | 0.9771 | 1/1 | **0.9792** | -| 84 | 🟢 classic84_travel_destination_cards | ✅ | 1.0 | 0.9553 | 1/1 | **0.9821** | -| 85 | 🟢 classic85_lab_results_with_image | ✅ | 0.9847 | 0.9557 | 1/1 | **0.9762** | -| 86 | 🟢 classic86_software_screenshot_features | ✅ | 0.977 | 0.9824 | 1/1 | **0.9838** | -| 87 | 🟢 classic87_sports_results_with_logos | ✅ | 1.0 | 0.9879 | 1/1 | **0.9952** | -| 88 | 🟢 classic88_image_after_data | ✅ | 1.0 | 0.9739 | 1/1 | **0.9896** | -| 89 | 🟢 classic89_nutrition_label_with_image | ✅ | 0.9452 | 0.9836 | 1/1 | **0.9715** | -| 90 | 🟢 classic90_project_status_with_milestones | ✅ | 0.8211 | 0.94 | 1/1 | **0.9044** | -| 91 | 🟡 classic91_simple_bar_chart | ✅ | 0.8732 | 0.7369 | 2/2 | **0.844** | -| 92 | 🟡 classic92_horizontal_bar_chart | ✅ | 0.6833 | 0.7472 | 2/2 | **0.7722** | -| 93 | 🟡 classic93_line_chart | ✅ | 0.8542 | 0.7805 | 2/2 | **0.8539** | -| 94 | 🟡 classic94_pie_chart | ✅ | 0.8679 | 0.8743 | 2/2 | **0.8969** | -| 95 | 🟡 classic95_area_chart | ✅ | 0.9 | 0.7524 | 2/2 | **0.861** | -| 96 | 🟡 classic96_scatter_chart | ✅ | 0.7626 | 0.7733 | 2/2 | **0.8144** | -| 97 | 🟡 classic97_doughnut_chart | ✅ | 0.872 | 0.8415 | 2/2 | **0.8854** | -| 98 | 🟡 classic98_radar_chart | ✅ | 0.7305 | 0.9869 | 2/2 | **0.887** | -| 99 | 🟡 classic99_bubble_chart | ✅ | 0.8278 | 0.7655 | 2/2 | **0.8373** | -| 100 | 🟡 classic100_stacked_bar_chart | ✅ | 0.825 | 0.9056 | 1/1 | **0.8922** | -| 101 | 🟡 classic101_percent_stacked_bar | ✅ | 0.8298 | 0.8863 | 1/1 | **0.8864** | -| 102 | 🟡 classic102_line_chart_with_markers | ✅ | 0.7322 | 0.7822 | 2/2 | **0.8058** | -| 103 | 🟡 classic103_pie_chart_with_labels | ✅ | 0.5474 | 0.9425 | 2/2 | **0.796** | -| 104 | 🟡 classic104_combo_bar_line_chart | ✅ | 0.7402 | 0.7388 | 2/2 | **0.7916** | -| 105 | 🟡 classic105_3d_bar_chart | ✅ | 0.6962 | 0.7309 | 2/2 | **0.7708** | -| 106 | 🟡 classic106_3d_pie_chart | ✅ | 0.929 | 0.7468 | 2/2 | **0.8703** | -| 107 | 🟡 classic107_multi_series_line | ✅ | 0.8379 | 0.7608 | 2/2 | **0.8395** | -| 108 | 🔴 classic108_stacked_area_chart | ✅ | 0.8431 | 0.4364 | 1/2 | **0.6118** | -| 109 | 🟡 classic109_scatter_with_trendline | ✅ | 0.7037 | 0.7764 | 2/2 | **0.792** | -| 110 | 🟡 classic110_chart_with_legend | ✅ | 0.7447 | 0.7603 | 2/2 | **0.802** | -| 111 | 🟡 classic111_chart_with_axis_labels | ✅ | 0.735 | 0.7691 | 2/2 | **0.8016** | -| 112 | 🟡 classic112_multiple_charts | ✅ | 0.6715 | 0.7401 | 2/2 | **0.7646** | -| 113 | 🟡 classic113_chart_sheet | ✅ | 0.7442 | 0.7306 | 2/2 | **0.7899** | -| 114 | 🟢 classic114_chart_large_dataset | ✅ | 0.9379 | 0.879 | 4/4 | **0.9268** | -| 115 | 🟡 classic115_chart_negative_values | ✅ | 0.8421 | 0.759 | 2/2 | **0.8404** | -| 116 | 🔴 classic116_percent_stacked_area | ✅ | 0.8235 | 0.4232 | 1/2 | **0.5987** | -| 117 | 🟡 classic117_stock_ohlc_chart | ✅ | 0.7882 | 0.7103 | 2/2 | **0.7994** | -| 118 | 🟡 classic118_bar_chart_custom_colors | ✅ | 0.8344 | 0.7529 | 2/2 | **0.8349** | -| 119 | 🟡 classic119_dashboard_multi_charts | ✅ | 0.7958 | 0.7056 | 2/2 | **0.8006** | -| 120 | 🟡 classic120_chart_with_date_axis | ✅ | 0.7917 | 0.7689 | 2/2 | **0.8242** | -| 121 | 🟢 classic121_thin_borders | ✅ | 1.0 | 0.9808 | 1/1 | **0.9923** | -| 122 | 🟢 classic122_thick_outer_thin_inner | ✅ | 1.0 | 0.9762 | 1/1 | **0.9905** | -| 123 | 🟢 classic123_dashed_borders | ✅ | 0.9655 | 0.991 | 1/1 | **0.9826** | -| 124 | 🟢 classic124_colored_borders | ✅ | 1.0 | 0.9868 | 1/1 | **0.9947** | -| 125 | 🟢 classic125_solid_fills | ✅ | 0.9873 | 0.9736 | 1/1 | **0.9844** | -| 126 | 🟢 classic126_dark_header | ✅ | 0.9908 | 0.9795 | 1/1 | **0.9881** | -| 127 | 🟢 classic127_font_styles | ✅ | 0.9195 | 0.9827 | 1/1 | **0.9609** | -| 128 | 🟢 classic128_font_sizes | ✅ | 1.0 | 0.9904 | 1/1 | **0.9962** | -| 129 | 🟢 classic129_alignment_combos | ✅ | 1.0 | 0.9907 | 1/1 | **0.9963** | -| 130 | 🟢 classic130_wrap_and_indent | ✅ | 1.0 | 0.9885 | 1/1 | **0.9954** | -| 131 | 🟢 classic131_number_formats | ✅ | 1.0 | 0.9849 | 1/1 | **0.994** | -| 132 | 🟢 classic132_striped_table | ✅ | 0.9984 | 0.9571 | 1/1 | **0.9822** | -| 133 | 🟢 classic133_gradient_rows | ✅ | 1.0 | 0.9716 | 1/1 | **0.9886** | -| 134 | 🟢 classic134_heatmap | ✅ | 1.0 | 0.9409 | 1/1 | **0.9764** | -| 135 | 🟢 classic135_bottom_border_only | ✅ | 1.0 | 0.9882 | 1/1 | **0.9953** | -| 136 | 🟢 classic136_financial_report_styled | ✅ | 1.0 | 0.9575 | 1/1 | **0.983** | -| 137 | 🟢 classic137_checkerboard | ✅ | 1.0 | 0.9557 | 1/1 | **0.9823** | -| 138 | 🟢 classic138_color_grid | ✅ | 1.0 | 0.9683 | 1/1 | **0.9873** | -| 139 | 🟢 classic139_pattern_fills | ✅ | 1.0 | 0.9589 | 1/1 | **0.9836** | -| 140 | 🟢 classic140_rotated_text | ✅ | 0.9583 | 0.991 | 1/1 | **0.9797** | -| 141 | 🟢 classic141_mixed_edge_borders | ✅ | 1.0 | 0.9853 | 1/1 | **0.9941** | -| 142 | 🟢 classic142_styled_invoice | ✅ | 1.0 | 0.9421 | 1/1 | **0.9768** | -| 143 | 🟢 classic143_colored_tabs | ✅ | 1.0 | 0.9961 | 4/4 | **0.9984** | -| 144 | 🟢 classic144_note_style_cells | ✅ | 1.0 | 0.9658 | 1/1 | **0.9863** | -| 145 | 🟢 classic145_status_badges | ✅ | 1.0 | 0.9501 | 1/1 | **0.98** | -| 146 | 🟢 classic146_double_border_table | ✅ | 1.0 | 0.9678 | 1/1 | **0.9871** | -| 147 | 🟢 classic147_multi_sheet_styled | ✅ | 1.0 | 0.9748 | 3/3 | **0.9899** | -| 148 | 🟢 classic148_frozen_styled_grid | ✅ | 1.0 | 0.8586 | 1/1 | **0.9434** | -| 149 | 🟢 classic149_merged_styled_sections | ✅ | 1.0 | 0.9251 | 1/1 | **0.97** | -| 150 | 🟢 classic150_kitchen_sink_styles | ✅ | 0.9839 | 0.9506 | 1/1 | **0.9738** | -| 151 | 🟢 classic151_multilingual_greetings | ✅ | 0.9291 | 0.9851 | 1/1 | **0.9657** | -| 152 | 🟢 classic152_emoji_sampler | ✅ | 1.0 | 0.9869 | 1/1 | **0.9948** | -| 153 | 🟢 classic153_currency_symbols | ✅ | 0.9918 | 0.9869 | 1/1 | **0.9915** | -| 154 | 🟢 classic154_math_symbols | ✅ | 0.9881 | 0.9898 | 1/1 | **0.9912** | -| 155 | 🟢 classic155_diacritical_marks | ✅ | 1.0 | 0.9922 | 1/1 | **0.9969** | -| 156 | 🟡 classic156_rtl_bidi_text | ✅ | 0.5912 | 0.995 | 1/1 | **0.8345** | -| 157 | 🟢 classic157_cjk_extended | ✅ | 1.0 | 0.9775 | 1/1 | **0.991** | -| 158 | 🟢 classic158_emoji_skin_tones | ✅ | 1.0 | 0.9791 | 1/1 | **0.9916** | -| 159 | 🟢 classic159_zwj_emoji | ✅ | 0.9372 | 0.9886 | 1/1 | **0.9703** | -| 160 | 🟢 classic160_punctuation_marks | ✅ | 0.9915 | 0.9936 | 1/1 | **0.994** | -| 161 | 🟢 classic161_box_drawing | ✅ | 0.9976 | 0.9867 | 1/1 | **0.9937** | -| 162 | 🟢 classic162_cjk_emoji_styled | ✅ | 1.0 | 0.9872 | 1/1 | **0.9949** | -| 163 | 🟢 classic163_cyrillic_alphabets | ✅ | 0.9398 | 0.9834 | 1/1 | **0.9693** | -| 164 | 🟢 classic164_indic_scripts | ✅ | 1.0 | 0.9903 | 1/1 | **0.9961** | -| 165 | 🟢 classic165_southeast_asian | ✅ | 0.9672 | 0.8185 | 1/1 | **0.9143** | -| 166 | 🟢 classic166_emoji_progress | ✅ | 1.0 | 0.9761 | 1/1 | **0.9904** | -| 167 | 🟢 classic167_musical_symbols | ✅ | 1.0 | 0.9843 | 1/1 | **0.9937** | -| 168 | 🟢 classic168_mixed_ltr_rtl_styled | ✅ | 0.8621 | 0.9732 | 1/1 | **0.9341** | -| 169 | 🟢 classic169_korean_invoice | ✅ | 1.0 | 0.9839 | 1/1 | **0.9936** | -| 170 | 🟢 classic170_emoji_dashboard | ✅ | 1.0 | 0.9778 | 1/1 | **0.9911** | -| 171 | 🟢 classic171_ipa_phonetic | ✅ | 0.9703 | 0.9911 | 1/1 | **0.9846** | -| 172 | 🟢 classic172_emoji_timeline | ✅ | 1.0 | 0.9849 | 1/1 | **0.994** | -| 173 | 🟢 classic173_african_languages | ✅ | 0.9783 | 0.9847 | 1/1 | **0.9852** | -| 174 | 🟢 classic174_technical_symbols | ✅ | 0.9971 | 0.9848 | 1/1 | **0.9928** | -| 175 | 🟢 classic175_multiscript_catalog | ✅ | 0.9686 | 0.9774 | 1/1 | **0.9784** | -| 176 | 🟢 classic176_combining_characters | ✅ | 0.9469 | 0.9886 | 1/1 | **0.9742** | -| 177 | 🟢 classic177_emoji_calendar | ✅ | 1.0 | 0.9864 | 1/1 | **0.9946** | -| 178 | 🟢 classic178_caucasus_ethiopic | ✅ | 0.9936 | 0.9887 | 1/1 | **0.9929** | -| 179 | 🟢 classic179_emoji_inventory | ✅ | 1.0 | 0.9782 | 1/1 | **0.9913** | -| 180 | 🟢 classic180_polyglot_paragraph | ✅ | 0.9772 | 0.9884 | 1/1 | **0.9862** | -| 181 | 🟢 classic181_feedback_tracker_with_images | ✅ | 0.9865 | 0.9574 | 2/2 | **0.9776** | -| 182 | 🟢 classic182_dense_long_text_columns | ✅ | 0.9302 | 0.9742 | 2/2 | **0.9618** | -| 183 | 🟢 classic183_mixed_content_grid | ✅ | 1.0 | 0.961 | 1/1 | **0.9844** | -| 184 | 🟢 classic184_wide_narrow_columns | ✅ | 1.0 | 0.9453 | 1/1 | **0.9781** | -| 185 | 🟢 classic185_tall_rows_vertical_align | ✅ | 1.0 | 0.9817 | 1/1 | **0.9927** | -| 186 | 🟢 classic186_multi_sheet_image_report | ✅ | 1.0 | 0.9734 | 2/2 | **0.9894** | -| 187 | 🟢 classic187_bug_report_with_screenshots | ✅ | 1.0 | 0.9306 | 1/1 | **0.9722** | -| 188 | 🟢 classic188_merged_header_with_images | ✅ | 1.0 | 0.9723 | 1/1 | **0.9889** | -| 189 | 🟢 classic189_alternating_image_text_rows | ✅ | 0.9713 | 0.9222 | 1/1 | **0.9574** | -| 190 | 🟢 classic190_dashboard_kpi_images | ✅ | 1.0 | 0.9637 | 1/1 | **0.9855** | -| 191 | 🟡 classic191_payroll_calculator | ✅ | 0.8377 | 0.8429 | 9/9 | **0.8722** | - -**Average Overall Score: 0.9487** - -## Visual Comparison - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfLibreOffice (Reference)
classic01_basic_table_with_headersclassic01_basic_table_with_headers ⬤ 99.9%
MiniPdfReference
classic02_multiple_worksheetsclassic02_multiple_worksheets ⬤ 99.5%
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic03_empty_workbookclassic03_empty_workbook ⬤ 100.0%
MiniPdfReference
classic04_single_cellclassic04_single_cell ⬤ 100.0%
MiniPdfReference
classic05_wide_tableclassic05_wide_table ⬤ 95.0%
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic06_tall_tableclassic06_tall_table ⬤ 96.9%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic07_numbers_onlyclassic07_numbers_only ⬤ 99.9%
MiniPdfReference
classic08_mixed_text_and_numbersclassic08_mixed_text_and_numbers ⬤ 99.9%
MiniPdfReference
classic09_long_textclassic09_long_text ⬤ 62.9%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic10_special_xml_charactersclassic10_special_xml_characters ⬤ 99.8%
MiniPdfReference
classic11_sparse_rowsclassic11_sparse_rows ⬤ 99.9%
MiniPdfReference
MiniPdfReference
classic12_sparse_columnsclassic12_sparse_columns ⬤ 69.9%
MiniPdfReference
missingReference
classic13_date_stringsclassic13_date_strings ⬤ 98.8%
MiniPdfReference
classic14_decimal_numbersclassic14_decimal_numbers ⬤ 99.9%
MiniPdfReference
classic15_negative_numbersclassic15_negative_numbers ⬤ 97.3%
MiniPdfReference
classic16_percentage_stringsclassic16_percentage_strings ⬤ 99.6%
MiniPdfReference
classic17_currency_stringsclassic17_currency_strings ⬤ 99.8%
MiniPdfReference
classic18_large_datasetclassic18_large_dataset ⬤ 65.4%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
missingReference
classic19_single_column_listclassic19_single_column_list ⬤ 99.8%
MiniPdfReference
classic20_all_empty_cellsclassic20_all_empty_cells ⬤ 100.0%
MiniPdfReference
classic21_header_onlyclassic21_header_only ⬤ 99.9%
MiniPdfReference
classic22_long_sheet_nameclassic22_long_sheet_name ⬤ 99.9%
MiniPdfReference
classic23_unicode_textclassic23_unicode_text ⬤ 95.6%
MiniPdfReference
classic24_red_textclassic24_red_text ⬤ 99.8%
MiniPdfReference
classic25_multiple_colorsclassic25_multiple_colors ⬤ 99.6%
MiniPdfReference
classic26_inline_stringsclassic26_inline_strings ⬤ 99.8%
MiniPdfReference
classic27_single_rowclassic27_single_row ⬤ 99.9%
MiniPdfReference
classic28_duplicate_valuesclassic28_duplicate_values ⬤ 99.8%
MiniPdfReference
classic29_formula_resultsclassic29_formula_results ⬤ 99.8%
MiniPdfReference
classic30_mixed_empty_and_filled_sheetsclassic30_mixed_empty_and_filled_sheets ⬤ 99.9%
MiniPdfReference
MiniPdfReference
classic31_bold_header_rowclassic31_bold_header_row ⬤ 99.7%
MiniPdfReference
classic32_right_aligned_numbersclassic32_right_aligned_numbers ⬤ 99.9%
MiniPdfReference
classic33_centered_textclassic33_centered_text ⬤ 99.9%
MiniPdfReference
classic34_explicit_column_widthsclassic34_explicit_column_widths ⬤ 99.8%
MiniPdfReference
classic35_explicit_row_heightsclassic35_explicit_row_heights ⬤ 98.2%
MiniPdfReference
classic36_merged_cellsclassic36_merged_cells ⬤ 98.3%
MiniPdfReference
classic37_freeze_panesclassic37_freeze_panes ⬤ 99.4%
MiniPdfReference
classic38_hyperlink_cellclassic38_hyperlink_cell ⬤ 99.7%
MiniPdfReference
classic39_financial_tableclassic39_financial_table ⬤ 99.7%
MiniPdfReference
classic40_scientific_notationclassic40_scientific_notation ⬤ 94.3%
MiniPdfReference
classic41_integer_vs_floatclassic41_integer_vs_float ⬤ 99.8%
MiniPdfReference
classic42_boolean_valuesclassic42_boolean_values ⬤ 98.7%
MiniPdfReference
classic43_inventory_reportclassic43_inventory_report ⬤ 99.3%
MiniPdfReference
classic44_employee_rosterclassic44_employee_roster ⬤ 91.2%
MiniPdfReference
classic45_sales_by_regionclassic45_sales_by_region ⬤ 99.9%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic46_grade_bookclassic46_grade_book ⬤ 99.6%
MiniPdfReference
classic47_time_seriesclassic47_time_series ⬤ 99.0%
MiniPdfReference
classic48_survey_resultsclassic48_survey_results ⬤ 98.9%
MiniPdfReference
classic49_contact_listclassic49_contact_list ⬤ 85.6%
MiniPdfReference
classic50_budget_vs_actualsclassic50_budget_vs_actuals ⬤ 99.2%
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic51_product_catalogclassic51_product_catalog ⬤ 83.9%
MiniPdfReference
classic52_pivot_summaryclassic52_pivot_summary ⬤ 99.3%
MiniPdfReference
classic53_invoiceclassic53_invoice ⬤ 96.9%
MiniPdfReference
classic54_multi_level_headerclassic54_multi_level_header ⬤ 99.6%
MiniPdfReference
classic55_error_valuesclassic55_error_values ⬤ 99.7%
MiniPdfReference
classic56_alternating_row_colorsclassic56_alternating_row_colors ⬤ 99.1%
MiniPdfReference
classic57_cjk_onlyclassic57_cjk_only ⬤ 99.4%
MiniPdfReference
classic58_mixed_numeric_formatsclassic58_mixed_numeric_formats ⬤ 98.5%
MiniPdfReference
classic59_multi_sheet_summaryclassic59_multi_sheet_summary ⬤ 99.8%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic60_large_wide_tableclassic60_large_wide_table ⬤ 68.1%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
missingReference
missingReference
classic61_product_card_with_imageclassic61_product_card_with_image ⬤ 99.6%
MiniPdfReference
classic62_company_logo_headerclassic62_company_logo_header ⬤ 99.0%
MiniPdfReference
classic63_two_products_side_by_sideclassic63_two_products_side_by_side ⬤ 99.1%
MiniPdfReference
classic64_employee_directory_with_photoclassic64_employee_directory_with_photo ⬤ 98.6%
MiniPdfReference
classic65_inventory_with_product_photosclassic65_inventory_with_product_photos ⬤ 98.6%
MiniPdfReference
classic66_invoice_with_logoclassic66_invoice_with_logo ⬤ 96.8%
MiniPdfReference
classic67_real_estate_listingclassic67_real_estate_listing ⬤ 99.3%
MiniPdfReference
classic68_restaurant_menuclassic68_restaurant_menu ⬤ 91.9%
MiniPdfReference
classic69_image_only_sheetclassic69_image_only_sheet ⬤ 99.1%
MiniPdfReference
classic70_product_catalog_with_imagesclassic70_product_catalog_with_images ⬤ 97.4%
MiniPdfReference
classic71_multi_sheet_with_imagesclassic71_multi_sheet_with_images ⬤ 99.3%
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic72_bar_chart_image_with_dataclassic72_bar_chart_image_with_data ⬤ 98.1%
MiniPdfReference
classic73_event_flyer_with_bannerclassic73_event_flyer_with_banner ⬤ 94.9%
MiniPdfReference
classic74_dashboard_with_kpi_imageclassic74_dashboard_with_kpi_image ⬤ 97.2%
MiniPdfReference
classic75_certificate_with_sealclassic75_certificate_with_seal ⬤ 99.0%
MiniPdfReference
classic76_product_image_gridclassic76_product_image_grid ⬤ 98.0%
MiniPdfReference
classic77_news_article_with_hero_imageclassic77_news_article_with_hero_image ⬤ 98.5%
MiniPdfReference
classic78_small_icon_per_rowclassic78_small_icon_per_row ⬤ 96.5%
MiniPdfReference
classic79_wide_panoramic_bannerclassic79_wide_panoramic_banner ⬤ 98.4%
MiniPdfReference
classic80_portrait_tall_imageclassic80_portrait_tall_image ⬤ 99.5%
MiniPdfReference
classic81_step_by_step_with_imagesclassic81_step_by_step_with_images ⬤ 98.6%
MiniPdfReference
classic82_before_after_imagesclassic82_before_after_images ⬤ 97.3%
MiniPdfReference
classic83_color_swatch_paletteclassic83_color_swatch_palette ⬤ 97.9%
MiniPdfReference
classic84_travel_destination_cardsclassic84_travel_destination_cards ⬤ 98.2%
MiniPdfReference
classic85_lab_results_with_imageclassic85_lab_results_with_image ⬤ 97.6%
MiniPdfReference
classic86_software_screenshot_featuresclassic86_software_screenshot_features ⬤ 98.4%
MiniPdfReference
classic87_sports_results_with_logosclassic87_sports_results_with_logos ⬤ 99.5%
MiniPdfReference
classic88_image_after_dataclassic88_image_after_data ⬤ 99.0%
MiniPdfReference
classic89_nutrition_label_with_imageclassic89_nutrition_label_with_image ⬤ 97.2%
MiniPdfReference
classic90_project_status_with_milestonesclassic90_project_status_with_milestones ⬤ 90.4%
MiniPdfReference
classic91_simple_bar_chartclassic91_simple_bar_chart ⬤ 84.4%
MiniPdfReference
MiniPdfReference
classic92_horizontal_bar_chartclassic92_horizontal_bar_chart ⬤ 77.2%
MiniPdfReference
MiniPdfReference
classic93_line_chartclassic93_line_chart ⬤ 85.4%
MiniPdfReference
MiniPdfReference
classic94_pie_chartclassic94_pie_chart ⬤ 89.7%
MiniPdfReference
MiniPdfReference
classic95_area_chartclassic95_area_chart ⬤ 86.1%
MiniPdfReference
MiniPdfReference
classic96_scatter_chartclassic96_scatter_chart ⬤ 81.4%
MiniPdfReference
MiniPdfReference
classic97_doughnut_chartclassic97_doughnut_chart ⬤ 88.5%
MiniPdfReference
MiniPdfReference
classic98_radar_chartclassic98_radar_chart ⬤ 88.7%
MiniPdfReference
MiniPdfReference
classic99_bubble_chartclassic99_bubble_chart ⬤ 83.7%
MiniPdfReference
MiniPdfReference
classic100_stacked_bar_chartclassic100_stacked_bar_chart ⬤ 89.2%
MiniPdfReference
classic101_percent_stacked_barclassic101_percent_stacked_bar ⬤ 88.6%
MiniPdfReference
classic102_line_chart_with_markersclassic102_line_chart_with_markers ⬤ 80.6%
MiniPdfReference
MiniPdfReference
classic103_pie_chart_with_labelsclassic103_pie_chart_with_labels ⬤ 79.6%
MiniPdfReference
MiniPdfReference
classic104_combo_bar_line_chartclassic104_combo_bar_line_chart ⬤ 79.2%
MiniPdfReference
MiniPdfReference
classic105_3d_bar_chartclassic105_3d_bar_chart ⬤ 77.1%
MiniPdfReference
MiniPdfReference
classic106_3d_pie_chartclassic106_3d_pie_chart ⬤ 87.0%
MiniPdfReference
MiniPdfReference
classic107_multi_series_lineclassic107_multi_series_line ⬤ 84.0%
MiniPdfReference
MiniPdfReference
classic108_stacked_area_chartclassic108_stacked_area_chart ⬤ 61.2%
MiniPdfReference
missingReference
classic109_scatter_with_trendlineclassic109_scatter_with_trendline ⬤ 79.2%
MiniPdfReference
MiniPdfReference
classic110_chart_with_legendclassic110_chart_with_legend ⬤ 80.2%
MiniPdfReference
MiniPdfReference
classic111_chart_with_axis_labelsclassic111_chart_with_axis_labels ⬤ 80.2%
MiniPdfReference
MiniPdfReference
classic112_multiple_chartsclassic112_multiple_charts ⬤ 76.5%
MiniPdfReference
MiniPdfReference
classic113_chart_sheetclassic113_chart_sheet ⬤ 79.0%
MiniPdfReference
MiniPdfReference
classic114_chart_large_datasetclassic114_chart_large_dataset ⬤ 92.7%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic115_chart_negative_valuesclassic115_chart_negative_values ⬤ 84.0%
MiniPdfReference
MiniPdfReference
classic116_percent_stacked_areaclassic116_percent_stacked_area ⬤ 59.9%
MiniPdfReference
missingReference
classic117_stock_ohlc_chartclassic117_stock_ohlc_chart ⬤ 79.9%
MiniPdfReference
MiniPdfReference
classic118_bar_chart_custom_colorsclassic118_bar_chart_custom_colors ⬤ 83.5%
MiniPdfReference
MiniPdfReference
classic119_dashboard_multi_chartsclassic119_dashboard_multi_charts ⬤ 80.1%
MiniPdfReference
MiniPdfReference
classic120_chart_with_date_axisclassic120_chart_with_date_axis ⬤ 82.4%
MiniPdfReference
MiniPdfReference
classic121_thin_bordersclassic121_thin_borders ⬤ 99.2%
MiniPdfReference
classic122_thick_outer_thin_innerclassic122_thick_outer_thin_inner ⬤ 99.1%
MiniPdfReference
classic123_dashed_bordersclassic123_dashed_borders ⬤ 98.3%
MiniPdfReference
classic124_colored_bordersclassic124_colored_borders ⬤ 99.5%
MiniPdfReference
classic125_solid_fillsclassic125_solid_fills ⬤ 98.4%
MiniPdfReference
classic126_dark_headerclassic126_dark_header ⬤ 98.8%
MiniPdfReference
classic127_font_stylesclassic127_font_styles ⬤ 96.1%
MiniPdfReference
classic128_font_sizesclassic128_font_sizes ⬤ 99.6%
MiniPdfReference
classic129_alignment_combosclassic129_alignment_combos ⬤ 99.6%
MiniPdfReference
classic130_wrap_and_indentclassic130_wrap_and_indent ⬤ 99.5%
MiniPdfReference
classic131_number_formatsclassic131_number_formats ⬤ 99.4%
MiniPdfReference
classic132_striped_tableclassic132_striped_table ⬤ 98.2%
MiniPdfReference
classic133_gradient_rowsclassic133_gradient_rows ⬤ 98.9%
MiniPdfReference
classic134_heatmapclassic134_heatmap ⬤ 97.6%
MiniPdfReference
classic135_bottom_border_onlyclassic135_bottom_border_only ⬤ 99.5%
MiniPdfReference
classic136_financial_report_styledclassic136_financial_report_styled ⬤ 98.3%
MiniPdfReference
classic137_checkerboardclassic137_checkerboard ⬤ 98.2%
MiniPdfReference
classic138_color_gridclassic138_color_grid ⬤ 98.7%
MiniPdfReference
classic139_pattern_fillsclassic139_pattern_fills ⬤ 98.4%
MiniPdfReference
classic140_rotated_textclassic140_rotated_text ⬤ 98.0%
MiniPdfReference
classic141_mixed_edge_bordersclassic141_mixed_edge_borders ⬤ 99.4%
MiniPdfReference
classic142_styled_invoiceclassic142_styled_invoice ⬤ 97.7%
MiniPdfReference
classic143_colored_tabsclassic143_colored_tabs ⬤ 99.8%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic144_note_style_cellsclassic144_note_style_cells ⬤ 98.6%
MiniPdfReference
classic145_status_badgesclassic145_status_badges ⬤ 98.0%
MiniPdfReference
classic146_double_border_tableclassic146_double_border_table ⬤ 98.7%
MiniPdfReference
classic147_multi_sheet_styledclassic147_multi_sheet_styled ⬤ 99.0%
MiniPdfReference
MiniPdfReference
MiniPdfReference
classic148_frozen_styled_gridclassic148_frozen_styled_grid ⬤ 94.3%
MiniPdfReference
classic149_merged_styled_sectionsclassic149_merged_styled_sections ⬤ 97.0%
MiniPdfReference
classic150_kitchen_sink_stylesclassic150_kitchen_sink_styles ⬤ 97.4%
MiniPdfReference
classic151_multilingual_greetingsclassic151_multilingual_greetings ⬤ 96.6%
MiniPdfReference
classic152_emoji_samplerclassic152_emoji_sampler ⬤ 99.5%
MiniPdfReference
classic153_currency_symbolsclassic153_currency_symbols ⬤ 99.2%
MiniPdfReference
classic154_math_symbolsclassic154_math_symbols ⬤ 99.1%
MiniPdfReference
classic155_diacritical_marksclassic155_diacritical_marks ⬤ 99.7%
MiniPdfReference
classic156_rtl_bidi_textclassic156_rtl_bidi_text ⬤ 83.5%
MiniPdfReference
classic157_cjk_extendedclassic157_cjk_extended ⬤ 99.1%
MiniPdfReference
classic158_emoji_skin_tonesclassic158_emoji_skin_tones ⬤ 99.2%
MiniPdfReference
classic159_zwj_emojiclassic159_zwj_emoji ⬤ 97.0%
MiniPdfReference
classic160_punctuation_marksclassic160_punctuation_marks ⬤ 99.4%
MiniPdfReference
classic161_box_drawingclassic161_box_drawing ⬤ 99.4%
MiniPdfReference
classic162_cjk_emoji_styledclassic162_cjk_emoji_styled ⬤ 99.5%
MiniPdfReference
classic163_cyrillic_alphabetsclassic163_cyrillic_alphabets ⬤ 96.9%
MiniPdfReference
classic164_indic_scriptsclassic164_indic_scripts ⬤ 99.6%
MiniPdfReference
classic165_southeast_asianclassic165_southeast_asian ⬤ 91.4%
MiniPdfReference
classic166_emoji_progressclassic166_emoji_progress ⬤ 99.0%
MiniPdfReference
classic167_musical_symbolsclassic167_musical_symbols ⬤ 99.4%
MiniPdfReference
classic168_mixed_ltr_rtl_styledclassic168_mixed_ltr_rtl_styled ⬤ 93.4%
MiniPdfReference
classic169_korean_invoiceclassic169_korean_invoice ⬤ 99.4%
MiniPdfReference
classic170_emoji_dashboardclassic170_emoji_dashboard ⬤ 99.1%
MiniPdfReference
classic171_ipa_phoneticclassic171_ipa_phonetic ⬤ 98.5%
MiniPdfReference
classic172_emoji_timelineclassic172_emoji_timeline ⬤ 99.4%
MiniPdfReference
classic173_african_languagesclassic173_african_languages ⬤ 98.5%
MiniPdfReference
classic174_technical_symbolsclassic174_technical_symbols ⬤ 99.3%
MiniPdfReference
classic175_multiscript_catalogclassic175_multiscript_catalog ⬤ 97.8%
MiniPdfReference
classic176_combining_charactersclassic176_combining_characters ⬤ 97.4%
MiniPdfReference
classic177_emoji_calendarclassic177_emoji_calendar ⬤ 99.5%
MiniPdfReference
classic178_caucasus_ethiopicclassic178_caucasus_ethiopic ⬤ 99.3%
MiniPdfReference
classic179_emoji_inventoryclassic179_emoji_inventory ⬤ 99.1%
MiniPdfReference
classic180_polyglot_paragraphclassic180_polyglot_paragraph ⬤ 98.6%
MiniPdfReference
classic181_feedback_tracker_with_imagesclassic181_feedback_tracker_with_images ⬤ 97.8%
MiniPdfReference
MiniPdfReference
classic182_dense_long_text_columnsclassic182_dense_long_text_columns ⬤ 96.2%
MiniPdfReference
MiniPdfReference
classic183_mixed_content_gridclassic183_mixed_content_grid ⬤ 98.4%
MiniPdfReference
classic184_wide_narrow_columnsclassic184_wide_narrow_columns ⬤ 97.8%
MiniPdfReference
classic185_tall_rows_vertical_alignclassic185_tall_rows_vertical_align ⬤ 99.3%
MiniPdfReference
classic186_multi_sheet_image_reportclassic186_multi_sheet_image_report ⬤ 98.9%
MiniPdfReference
MiniPdfReference
classic187_bug_report_with_screenshotsclassic187_bug_report_with_screenshots ⬤ 97.2%
MiniPdfReference
classic188_merged_header_with_imagesclassic188_merged_header_with_images ⬤ 98.9%
MiniPdfReference
classic189_alternating_image_text_rowsclassic189_alternating_image_text_rows ⬤ 95.7%
MiniPdfReference
classic190_dashboard_kpi_imagesclassic190_dashboard_kpi_images ⬤ 98.6%
MiniPdfReference
classic191_payroll_calculatorclassic191_payroll_calculator ⬤ 87.2%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
- -## Detailed Results - -### classic01_basic_table_with_headers - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9965 -- **Overall Score:** 0.9986 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2049 bytes, Reference=51282 bytes - -Text content: ✅ Identical - -### classic02_multiple_worksheets - -- **Text Similarity:** 0.9914 -- **Visual Average:** 0.9966 -- **Overall Score:** 0.9952 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=3347 bytes, Reference=56518 bytes - -
Text Diff - -```diff ---- minipdf/classic02_multiple_worksheets.pdf -+++ reference/classic02_multiple_worksheets.pdf -@@ -10,6 +10,6 @@ - Utilities 200 - - ---PAGE--- - - Metric Value - --Total Revenue 1130 - -+Total Reve 1130 - - Total Costs 3700 - - Net -2570 -``` -
- -### classic03_empty_workbook - -- **Text Similarity:** 1.0 -- **Visual Average:** 1.0 -- **Overall Score:** 1.0 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=986 bytes, Reference=7283 bytes - -Text content: ✅ Identical - -### classic04_single_cell - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9994 -- **Overall Score:** 0.9998 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1056 bytes, Reference=27469 bytes - -Text content: ✅ Identical - -### classic05_wide_table - -- **Text Similarity:** 0.8846 -- **Visual Average:** 0.9899 -- **Overall Score:** 0.9498 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=12325 bytes, Reference=60760 bytes - -
Text Diff - -```diff ---- minipdf/classic05_wide_table.pdf -+++ reference/classic05_wide_table.pdf -@@ -1,20 +1,20 @@ --A B C D E F G H I J - --A1 B1 C1 D1 E1 F1 G1 H1 I1 J1 - --A2 B2 C2 D2 E2 F2 G2 H2 I2 J2 - --A3 B3 C3 D3 E3 F3 G3 H3 I3 J3 - --A4 B4 C4 D4 E4 F4 G4 H4 I4 J4 - --A5 B5 C5 D5 E5 F5 G5 H5 I5 J5 - -+A B C D E F G H I - -+A1 B1 C1 D1 E1 F1 G1 H1 I1 - -+A2 B2 C2 D2 E2 F2 G2 H2 I2 - -+A3 B3 C3 D3 E3 F3 G3 H3 I3 - -+A4 B4 C4 D4 E4 F4 G4 H4 I4 - -+A5 B5 C5 D5 E5 F5 G5 H5 I5 - - ---PAGE--- - --K L M N O P Q R S T - --K1 L1 M1 N1 O1 P1 Q1 R1 S1 T1 - --K2 L2 M2 N2 O2 P2 Q2 R2 S2 T2 - --K3 L3 M3 N3 O3 P3 Q3 R3 S3 T3 - --K4 L4 M4 N4 O4 P4 Q4 R4 S4 T4 - --K5 L5 M5 N5 O5 P5 Q5 R5 S5 T5 - -+J K L M N O P Q R - -+J1 K1 L1 M1 N1 O1 P1 Q1 R1 - -+J2 K2 L2 M2 N2 O2 P2 Q2 R2 - -+J3 K3 L3 M3 N3 O3 P3 Q3 R3 - -+J4 K4 L4 M4 N4 O4 P4 Q4 R4 - -+J5 K5 L5 M5 N5 O5 P5 Q5 R5 - - ---PAGE--- - --U V W X Y Z - --U1 V1 W1 X1 Y1 Z1 - --U2 V2 W2 X2 Y2 Z2 - --U3 V3 W3 X3 Y3 Z3 - --U4 V4 W4 X4 Y4 Z4 - --U5 V5 W5 X5 Y5 Z5 -+S T U V W X Y Z - -+S1 T1 U1 V1 W1 X1 Y1 Z1 - -+S2 T2 U2 V2 W2 X2 Y2 Z2 - -+S3 T3 U3 V3 W3 X3 Y3 Z3 - -+S4 T4 U4 V4 W4 X4 Y4 Z4 - -+S5 T5 U5 V5 W5 X5 Y5 Z5 -``` -
- -### classic06_tall_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9226 -- **Overall Score:** 0.969 -- **Pages:** MiniPdf=5, Reference=5 -- **File Size:** MiniPdf=52715 bytes, Reference=116996 bytes - -
Text Diff - -```diff ---- minipdf/classic06_tall_table.pdf -+++ reference/classic06_tall_table.pdf -@@ -41,12 +41,12 @@ - Row40 Val40 This is the description for row number 40 - - Row41 Val41 This is the description for row number 41 - - Row42 Val42 This is the description for row number 42 - -----PAGE--- - - Row43 Val43 This is the description for row number 43 - - Row44 Val44 This is the description for row number 44 - - Row45 Val45 This is the description for row number 45 - - Row46 Val46 This is the description for row number 46 - - Row47 Val47 This is the description for row number 47 - -+---PAGE--- - - Row48 Val48 This is the description for row number 48 - - Row49 Val49 This is the description for row number 49 - - Row50 Val50 This is the description for row number 50 - -@@ -85,7 +85,6 @@ - Row83 Val83 This is the description for row number 83 - - Row84 Val84 This is the description for row number 84 - - Row85 Val85 This is the description for row number 85 - -----PAGE--- - - Row86 Val86 This is the description for row number 86 - - Row87 Val87 This is the description for row number 87 - - Row88 Val88 This is the description for row number 88 - -@@ -96,6 +95,7 @@ - Row93 Val93 This is the description for row number 93 - - Row94 Val94 This is the description for row number 94 - - Row95 Val95 This is the description for row number 95 - -+---PAGE--- - - Row96 Val96 This is the description for row number 96 - - Row97 Val97 This is the description for row number 97 - - Row98 Val98 This is the description for row number 98 - -@@ -129,7 +129,6 @@ - Row126 Val126 This is the description for row number 126 - - Row127 Val127 This is the description for row number 127 - - Row128 Val128 This is the description for row number 128 - -----PAGE--- - - Row129 Val129 This is the description for row number 129 - - Row130 Val130 This is the description for row number 130 - - Row131 Val131 This is the description for row number 131 - -@@ -145,6 +144,7 @@ - Row141 Val141 This is the description for row number 141 - - Row142 Val142 This is the description for row number 142 - - Row143 Val143 This is the description for row number 143 - -+---PAGE--- - - Row144 Val144 This is the description for row number 144 - - Row145 Val145 This is the description for row number 145 - - Row146 Val146 This is the description for row number 146 - -@@ -173,7 +173,6 @@ - Row169 Val169 This is the description for row number 169 - - Row170 Val170 This is the description for row number 170 - - Row171 Val171 This is the description for row number 171 - -----PAGE--- - - Row172 Val172 This is the description for row number 172 - - Row173 Val173 This is the description for row number 173 - - Row174 Val174 This is the description for row number 174 - -@@ -194,6 +193,7 @@ - Row189 Val189 This is the description for row number 189 - - Row190 Val190 This is the description for row number 190 - - Row191 Val191 This is the description for row number 191 - -+---PAGE--- - - Row192 Val192 This is the description for row number 192 - - Row193 Val193 This is the description for row number 193 - - Row194 Val194 This is the description -... (19 more characters) - -``` -
- -### classic07_numbers_only - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9976 -- **Overall Score:** 0.999 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1818 bytes, Reference=42110 bytes - -Text content: ✅ Identical - -### classic08_mixed_text_and_numbers - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9969 -- **Overall Score:** 0.9988 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1829 bytes, Reference=44923 bytes - -Text content: ✅ Identical - -### classic09_long_text - -- **Text Similarity:** 0.2972 -- **Visual Average:** 0.7757 -- **Overall Score:** 0.6292 -- **Pages:** MiniPdf=12, Reference=12 -- **File Size:** MiniPdf=4447 bytes, Reference=44367 bytes - -
Text Diff - -```diff ---- minipdf/classic09_long_text.pdf -+++ reference/classic09_long_text.pdf -@@ -1,26 +1,38 @@ - Long Text Column - --XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - --AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - - Short - --YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+AAAAAAAAAAAAAAAAA BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -+BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - - ---PAGE--- - -- - -----PAGE--- -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY - -+---PAGE--- - -+YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY -``` -
- -### classic10_special_xml_characters - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9951 -- **Overall Score:** 0.998 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1540 bytes, Reference=43022 bytes - -Text content: ✅ Identical - -### classic11_sparse_rows - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9982 -- **Overall Score:** 0.9993 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=1601 bytes, Reference=34964 bytes - -Text content: ✅ Identical - -### classic12_sparse_columns - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.4976 -- **Overall Score:** 0.699 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=1418 bytes, Reference=41546 bytes - -
Text Diff - -```diff ---- minipdf/classic12_sparse_columns.pdf -+++ reference/classic12_sparse_columns.pdf -@@ -1,3 +1,5 @@ - Left Right - - Data1 FarRight - --Row3 VeryFar -+Row3 - -+---PAGE--- - -+VeryFar -``` -
- -### classic13_date_strings - -- **Text Similarity:** 0.9751 -- **Visual Average:** 0.9952 -- **Overall Score:** 0.9881 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1850 bytes, Reference=49430 bytes - -
Text Diff - -```diff ---- minipdf/classic13_date_strings.pdf -+++ reference/classic13_date_strings.pdf -@@ -1,6 +1,6 @@ - Date Event - --2025-01-15 Launch - --2025-06-30 Release - --2025-12-25 Holiday - --2026-01-01 New Year - --2026-02-23 Today -+2025-01-15Launch - -+2025-06-30Release - -+2025-12-25Holiday - -+2026-01-01New Year - -+2026-02-23Today -``` -
- -### classic14_decimal_numbers - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9962 -- **Overall Score:** 0.9985 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1853 bytes, Reference=52898 bytes - -Text content: ✅ Identical - -### classic15_negative_numbers - -- **Text Similarity:** 0.9375 -- **Visual Average:** 0.9954 -- **Overall Score:** 0.9732 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1974 bytes, Reference=42915 bytes - -
Text Diff - -```diff ---- minipdf/classic15_negative_numbers.pdf -+++ reference/classic15_negative_numbers.pdf -@@ -3,5 +3,5 @@ - Small Loss -0.5 - - Zero 0 - - Gain 50 - --Big Loss -99999.99 - -+Big Loss -100000 - - Tiny -0.001 -``` -
- -### classic16_percentage_strings - -- **Text Similarity:** 0.9939 -- **Visual Average:** 0.9953 -- **Overall Score:** 0.9957 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1834 bytes, Reference=52564 bytes - -
Text Diff - -```diff ---- minipdf/classic16_percentage_strings.pdf -+++ reference/classic16_percentage_strings.pdf -@@ -1,5 +1,5 @@ - Metric Rate - --Conversion 12.5% - -+Conversion12.5% - - Bounce 45.3% - - Retention 88.7% - - Churn 3.2% - -``` -
- -### classic17_currency_strings - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9946 -- **Overall Score:** 0.9978 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1981 bytes, Reference=52509 bytes - -Text content: ✅ Identical - -### classic18_large_dataset - -- **Text Similarity:** 0.9001 -- **Visual Average:** 0.4838 -- **Overall Score:** 0.6536 -- **Pages:** MiniPdf=24, Reference=42 -- **File Size:** MiniPdf=741197 bytes, Reference=920992 bytes - -
Text Diff - -```diff ---- minipdf/classic18_large_dataset.pdf -+++ reference/classic18_large_dataset.pdf -@@ -1,1024 +1,2043 @@ --Col0 Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 Col9 - --R0C0 R0C1 R0C2 R0C3 R0C4 R0C5 R0C6 R0C7 R0C8 R0C9 - --R1C0 R1C1 R1C2 R1C3 R1C4 R1C5 R1C6 R1C7 R1C8 R1C9 - --R2C0 R2C1 R2C2 R2C3 R2C4 R2C5 R2C6 R2C7 R2C8 R2C9 - --R3C0 R3C1 R3C2 R3C3 R3C4 R3C5 R3C6 R3C7 R3C8 R3C9 - --R4C0 R4C1 R4C2 R4C3 R4C4 R4C5 R4C6 R4C7 R4C8 R4C9 - --R5C0 R5C1 R5C2 R5C3 R5C4 R5C5 R5C6 R5C7 R5C8 R5C9 - --R6C0 R6C1 R6C2 R6C3 R6C4 R6C5 R6C6 R6C7 R6C8 R6C9 - --R7C0 R7C1 R7C2 R7C3 R7C4 R7C5 R7C6 R7C7 R7C8 R7C9 - --R8C0 R8C1 R8C2 R8C3 R8C4 R8C5 R8C6 R8C7 R8C8 R8C9 - --R9C0 R9C1 R9C2 R9C3 R9C4 R9C5 R9C6 R9C7 R9C8 R9C9 - --R10C0 R10C1 R10C2 R10C3 R10C4 R10C5 R10C6 R10C7 R10C8 R10C9 - --R11C0 R11C1 R11C2 R11C3 R11C4 R11C5 R11C6 R11C7 R11C8 R11C9 - --R12C0 R12C1 R12C2 R12C3 R12C4 R12C5 R12C6 R12C7 R12C8 R12C9 - --R13C0 R13C1 R13C2 R13C3 R13C4 R13C5 R13C6 R13C7 R13C8 R13C9 - --R14C0 R14C1 R14C2 R14C3 R14C4 R14C5 R14C6 R14C7 R14C8 R14C9 - --R15C0 R15C1 R15C2 R15C3 R15C4 R15C5 R15C6 R15C7 R15C8 R15C9 - --R16C0 R16C1 R16C2 R16C3 R16C4 R16C5 R16C6 R16C7 R16C8 R16C9 - --R17C0 R17C1 R17C2 R17C3 R17C4 R17C5 R17C6 R17C7 R17C8 R17C9 - --R18C0 R18C1 R18C2 R18C3 R18C4 R18C5 R18C6 R18C7 R18C8 R18C9 - --R19C0 R19C1 R19C2 R19C3 R19C4 R19C5 R19C6 R19C7 R19C8 R19C9 - --R20C0 R20C1 R20C2 R20C3 R20C4 R20C5 R20C6 R20C7 R20C8 R20C9 - --R21C0 R21C1 R21C2 R21C3 R21C4 R21C5 R21C6 R21C7 R21C8 R21C9 - --R22C0 R22C1 R22C2 R22C3 R22C4 R22C5 R22C6 R22C7 R22C8 R22C9 - --R23C0 R23C1 R23C2 R23C3 R23C4 R23C5 R23C6 R23C7 R23C8 R23C9 - --R24C0 R24C1 R24C2 R24C3 R24C4 R24C5 R24C6 R24C7 R24C8 R24C9 - --R25C0 R25C1 R25C2 R25C3 R25C4 R25C5 R25C6 R25C7 R25C8 R25C9 - --R26C0 R26C1 R26C2 R26C3 R26C4 R26C5 R26C6 R26C7 R26C8 R26C9 - --R27C0 R27C1 R27C2 R27C3 R27C4 R27C5 R27C6 R27C7 R27C8 R27C9 - --R28C0 R28C1 R28C2 R28C3 R28C4 R28C5 R28C6 R28C7 R28C8 R28C9 - --R29C0 R29C1 R29C2 R29C3 R29C4 R29C5 R29C6 R29C7 R29C8 R29C9 - --R30C0 R30C1 R30C2 R30C3 R30C4 R30C5 R30C6 R30C7 R30C8 R30C9 - --R31C0 R31C1 R31C2 R31C3 R31C4 R31C5 R31C6 R31C7 R31C8 R31C9 - --R32C0 R32C1 R32C2 R32C3 R32C4 R32C5 R32C6 R32C7 R32C8 R32C9 - --R33C0 R33C1 R33C2 R33C3 R33C4 R33C5 R33C6 R33C7 R33C8 R33C9 - --R34C0 R34C1 R34C2 R34C3 R34C4 R34C5 R34C6 R34C7 R34C8 R34C9 - --R35C0 R35C1 R35C2 R35C3 R35C4 R35C5 R35C6 R35C7 R35C8 R35C9 - --R36C0 R36C1 R36C2 R36C3 R36C4 R36C5 R36C6 R36C7 R36C8 R36C9 - --R37C0 R37C1 R37C2 R37C3 R37C4 R37C5 R37C6 R37C7 R37C8 R37C9 - --R38C0 R38C1 R38C2 R38C3 R38C4 R38C5 R38C6 R38C7 R38C8 R38C9 - --R39C0 R39C1 R39C2 R39C3 R39C4 R39C5 R39C6 R39C7 R39C8 R39C9 - --R40C0 R40C1 R40C2 R40C3 R40C4 R40C5 R40C6 R40C7 R40C8 R40C9 - --R41C0 R41C1 R41C2 R41C3 R41C4 R41C5 R41C6 R41C7 R41C8 R41C9 - -----PAGE--- - --R42C0 R42C1 R42C2 R42C3 R42C4 R42C5 R42C6 R42C7 R42C8 R42C9 - --R43C0 R43C1 R43C2 R43C3 R43C4 R43C5 R43C6 R43C7 R43C8 R43C9 - --R44C0 R44C1 R44C2 R44C3 R44C4 R44C5 R44C6 R44C7 R44C8 R44C9 - --R45C0 R45C1 R45C2 R45C3 R45C4 R45C5 R45C6 R45C7 R45C8 R45C9 - --R46C0 R46C1 R46C2 R46C3 R46C4 R46C5 R46C6 R46C7 R46C8 R46C9 - --R47C0 R47C1 R47C -... (141839 more characters) - -``` -
- -### classic19_single_column_list - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9947 -- **Overall Score:** 0.9979 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2470 bytes, Reference=47524 bytes - -Text content: ✅ Identical - -### classic20_all_empty_cells - -- **Text Similarity:** 1.0 -- **Visual Average:** 1.0 -- **Overall Score:** 1.0 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=986 bytes, Reference=7283 bytes - -Text content: ✅ Identical - -### classic21_header_only - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9977 -- **Overall Score:** 0.9991 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1344 bytes, Reference=35519 bytes - -Text content: ✅ Identical - -### classic22_long_sheet_name - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9969 -- **Overall Score:** 0.9988 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1407 bytes, Reference=36175 bytes - -Text content: ✅ Identical - -### classic23_unicode_text - -- **Text Similarity:** 0.8971 -- **Visual Average:** 0.9918 -- **Overall Score:** 0.9556 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=686944 bytes, Reference=121984 bytes - -
Text Diff - -```diff ---- minipdf/classic23_unicode_text.pdf -+++ reference/classic23_unicode_text.pdf -@@ -1,7 +1,7 @@ - Language Greeting Extra - - English Hello World - - Chinese 你好 世界 - --Japanese こんにちは 世界 - --Korean 안녕하세요 세계 - --Arabic ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺍ - -+Japanese こんにちは世界 - -+Korean 안녕하세요세계 - -+Arabicمرحبا العالم - - Emoji 😀🎉 ✅❌ -``` -
- -### classic24_red_text - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9959 -- **Overall Score:** 0.9984 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1655 bytes, Reference=41978 bytes - -Text content: ✅ Identical - -### classic25_multiple_colors - -- **Text Similarity:** 0.9978 -- **Visual Average:** 0.9925 -- **Overall Score:** 0.9961 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2549 bytes, Reference=44930 bytes - -
Text Diff - -```diff ---- minipdf/classic25_multiple_colors.pdf -+++ reference/classic25_multiple_colors.pdf -@@ -1,4 +1,4 @@ --Color Name Sample Text - -+Color Nam Sample Text - - Red This is red text - - Green This is green text - - Blue This is blue text - -``` -
- -### classic26_inline_strings - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9945 -- **Overall Score:** 0.9978 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1643 bytes, Reference=39664 bytes - -Text content: ✅ Identical - -### classic27_single_row - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9972 -- **Overall Score:** 0.9989 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1482 bytes, Reference=33233 bytes - -Text content: ✅ Identical - -### classic28_duplicate_values - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.996 -- **Overall Score:** 0.9984 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2375 bytes, Reference=30315 bytes - -Text content: ✅ Identical - -### classic29_formula_results - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9956 -- **Overall Score:** 0.9982 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2252 bytes, Reference=42240 bytes - -Text content: ✅ Identical - -### classic30_mixed_empty_and_filled_sheets - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9973 -- **Overall Score:** 0.9989 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=2096 bytes, Reference=40960 bytes - -Text content: ✅ Identical - -### classic31_bold_header_row - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9927 -- **Overall Score:** 0.9971 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2440 bytes, Reference=77301 bytes - -Text content: ✅ Identical - -### classic32_right_aligned_numbers - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.997 -- **Overall Score:** 0.9988 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1560 bytes, Reference=50644 bytes - -Text content: ✅ Identical - -### classic33_centered_text - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9962 -- **Overall Score:** 0.9985 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2031 bytes, Reference=41368 bytes - -Text content: ✅ Identical - -### classic34_explicit_column_widths - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9939 -- **Overall Score:** 0.9976 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1879 bytes, Reference=47831 bytes - -Text content: ✅ Identical - -### classic35_explicit_row_heights - -- **Text Similarity:** 0.9574 -- **Visual Average:** 0.9968 -- **Overall Score:** 0.9817 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1429 bytes, Reference=40677 bytes - -
Text Diff - -```diff ---- minipdf/classic35_explicit_row_heights.pdf -+++ reference/classic35_explicit_row_heights.pdf -@@ -1,3 +1,3 @@ --Tall Header Value - --Extra Tall Row 42 - --Normal Row 10 -+Tall Heade Value - -+Extra Tall R 42 - -+Normal Ro 10 -``` -
- -### classic36_merged_cells - -- **Text Similarity:** 0.9643 -- **Visual Average:** 0.993 -- **Overall Score:** 0.9829 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1731 bytes, Reference=43920 bytes - -
Text Diff - -```diff ---- minipdf/classic36_merged_cells.pdf -+++ reference/classic36_merged_cells.pdf -@@ -1,4 +1,4 @@ --Merged Header Spanning Three Columns - -+Merged Header Spanning Three C - - Col1 Col2 Col3 - - Row2A Row2B Row2C - - Row3A Row3B Row3C -``` -
- -### classic37_freeze_panes - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9852 -- **Overall Score:** 0.9941 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6956 bytes, Reference=58159 bytes - -Text content: ✅ Identical - -### classic38_hyperlink_cell - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9932 -- **Overall Score:** 0.9973 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1517 bytes, Reference=41405 bytes - -Text content: ✅ Identical - -### classic39_financial_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9924 -- **Overall Score:** 0.997 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3050 bytes, Reference=52570 bytes - -Text content: ✅ Identical - -### classic40_scientific_notation - -- **Text Similarity:** 0.8636 -- **Visual Average:** 0.9928 -- **Overall Score:** 0.9426 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1888 bytes, Reference=60659 bytes - -
Text Diff - -```diff ---- minipdf/classic40_scientific_notation.pdf -+++ reference/classic40_scientific_notation.pdf -@@ -1,6 +1,6 @@ - Label Value - --Avogadro 6.022E+23 - --Planck 6.626E-34 - --Speed of Light 299800000 - --Electron mass 9.109E-31 - --Pi approx 3.141592654 -+Avogadro 6.02E+23 - -+Planck 6.63E-34 - -+Speed of Li 3E+08 - -+Electron m 9.11E-31 - -+Pi approx 3.141593 -``` -
- -### classic41_integer_vs_float - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9957 -- **Overall Score:** 0.9983 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2245 bytes, Reference=46475 bytes - -Text content: ✅ Identical - -### classic42_boolean_values - -- **Text Similarity:** 0.9744 -- **Visual Average:** 0.9938 -- **Overall Score:** 0.9873 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1870 bytes, Reference=44451 bytes - -
Text Diff - -```diff ---- minipdf/classic42_boolean_values.pdf -+++ reference/classic42_boolean_values.pdf -@@ -1,6 +1,6 @@ - Feature Enabled - - Dark Mode TRUE - --Notifications FALSE - -+Notificatio FALSE - - Auto-save TRUE - - Analytics FALSE - --Beta Features TRUE -+Beta Featu TRUE -``` -
- -### classic43_inventory_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9834 -- **Overall Score:** 0.9934 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4461 bytes, Reference=89289 bytes - -Text content: ✅ Identical - -### classic44_employee_roster - -- **Text Similarity:** 0.8067 -- **Visual Average:** 0.9727 -- **Overall Score:** 0.9118 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5084 bytes, Reference=69090 bytes - -
Text Diff - -```diff ---- minipdf/classic44_employee_roster.pdf -+++ reference/classic44_employee_roster.pdf -@@ -1,9 +1,9 @@ - EmpID First Last Dept Title Email - --1001 Alice Smith Engineering Senior Engineer alice@example.com - --1002 Bob Jones Marketing Marketing Manager bob@example.com - --1003 Carol Williams HR HR Specialist carol@example.com - --1004 David Brown Engineering Junior Engineer david@example.com - --1005 Eve Davis Finance Financial Analyst eve@example.com - --1006 Frank Miller Sales Sales Representative frank@example.com - --1007 Grace Wilson Engineering Tech Lead grace@example.com - --1008 Henry Moore Support Support Specialist henry@example.com -+1001 Alice Smith Engineerin Senior Eng alice@example.com - -+1002 Bob Jones Marketing Marketing bob@example.com - -+1003 Carol Williams HR HR Specialicarol@example.com - -+1004 David Brown Engineerin Junior Engidavid@example.com - -+1005 Eve Davis Finance Financial A eve@example.com - -+1006 Frank Miller Sales Sales Reprefrank@example.com - -+1007 Grace Wilson Engineerin Tech Lead grace@example.com - -+1008 Henry Moore Support Support Sphenry@example.com -``` -
- -### classic45_sales_by_region - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9972 -- **Overall Score:** 0.9989 -- **Pages:** MiniPdf=4, Reference=4 -- **File Size:** MiniPdf=4576 bytes, Reference=52603 bytes - -Text content: ✅ Identical - -### classic46_grade_book - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9889 -- **Overall Score:** 0.9956 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4912 bytes, Reference=60464 bytes - -Text content: ✅ Identical - -### classic47_time_series - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9748 -- **Overall Score:** 0.9899 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10059 bytes, Reference=60034 bytes - -Text content: ✅ Identical - -### classic48_survey_results - -- **Text Similarity:** 0.9831 -- **Visual Average:** 0.9885 -- **Overall Score:** 0.9886 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3542 bytes, Reference=57959 bytes - -
Text Diff - -```diff ---- minipdf/classic48_survey_results.pdf -+++ reference/classic48_survey_results.pdf -@@ -1,6 +1,6 @@ --Question StrongAgree Agree Neutral Disagree StrongDisagree - -+Question StrongAgreAgree Neutral Disagree StrongDisagree - - Easy to use 30 45 15 7 3 - --Recommend 25 40 20 10 5 - -+Recommen 25 40 20 10 5 - - Fair price 20 35 25 15 5 - --Good support 35 40 15 7 3 - -+Good supp 35 40 15 7 3 - - Satisfied 28 42 18 8 4 -``` -
- -### classic49_contact_list - -- **Text Similarity:** 0.6658 -- **Visual Average:** 0.9753 -- **Overall Score:** 0.8564 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4037 bytes, Reference=72007 bytes - -
Text Diff - -```diff ---- minipdf/classic49_contact_list.pdf -+++ reference/classic49_contact_list.pdf -@@ -1,8 +1,8 @@ - Name Phone Email City Country - --Alice Smith +1-555-0101 alice@example.com New York USA - --Bob Jones +44-20-7946-0958 bob@example.co.uk London UK - --Carol Wang +86-10-1234-5678 carol@example.cn Beijing China - --David Muller +49-30-1234567 david@example.de Berlin Germany - --Eve Martin +33-1-23-45-67-89 eve@example.fr Paris France - --Frank Tanaka +81-3-1234-5678 frank@example.jp Tokyo Japan - --Grace Kim +82-2-1234-5678 grace@example.kr Seoul Korea -+Alice Smith+1-555-010alice@examNew York USA - -+Bob Jones +44-20-794bob@examLondon UK - -+Carol Wang+86-10-123carol@exa Beijing China - -+David Mull +49-30-123david@exaBerlin Germany - -+Eve Martin+33-1-23-4eve@examParis France - -+Frank Tana+81-3-1234frank@exaTokyo Japan - -+Grace Kim +82-2-1234grace@exaSeoul Korea -``` -
- -### classic50_budget_vs_actuals - -- **Text Similarity:** 0.9934 -- **Visual Average:** 0.9873 -- **Overall Score:** 0.9923 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=9270 bytes, Reference=65935 bytes - -
Text Diff - -```diff ---- minipdf/classic50_budget_vs_actuals.pdf -+++ reference/classic50_budget_vs_actuals.pdf -@@ -1,19 +1,19 @@ --Department Q1 Q2 Q3 Q4 Annual - --Engineering 200000 200000 210000 220000 830000 - -+DepartmenQ1 Q2 Q3 Q4 Annual - -+Engineerin 200000 200000 210000 220000 830000 - - Marketing 80000 90000 85000 95000 350000 - - Sales 120000 130000 140000 150000 540000 - - HR 40000 40000 42000 43000 165000 - - Finance 35000 35000 37000 38000 145000 - - ---PAGE--- - --Department Q1 Q2 Q3 Q4 Annual - --Engineering 195000 205000 215000 225000 840000 - -+DepartmenQ1 Q2 Q3 Q4 Annual - -+Engineerin 195000 205000 215000 225000 840000 - - Marketing 82000 88000 91000 97000 358000 - - Sales 118000 135000 142000 148000 543000 - - HR 39000 41000 41500 44000 165500 - - Finance 34000 36000 37500 39000 146500 - - ---PAGE--- - --Department Q1 Q2 Q3 Q4 Annual - --Engineering -5000 5000 5000 5000 10000 - -+DepartmenQ1 Q2 Q3 Q4 Annual - -+Engineerin -5000 5000 5000 5000 10000 - - Marketing 2000 -2000 6000 2000 8000 - - Sales -2000 5000 2000 -2000 3000 - - HR -1000 1000 -500 1000 500 - -``` -
- -### classic51_product_catalog - -- **Text Similarity:** 0.6341 -- **Visual Average:** 0.9633 -- **Overall Score:** 0.839 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5242 bytes, Reference=72763 bytes - -
Text Diff - -```diff ---- minipdf/classic51_product_catalog.pdf -+++ reference/classic51_product_catalog.pdf -@@ -1,11 +1,11 @@ --Part# Name Description Weight(g) Price - --P-001 Basic Widget Standard widget for everyday use 150 4.99 - --P-002 Pro Widget Enhanced widget with premium features 180 12.99 - --P-003 Mini Gadget Compact gadget for mobile use 90 19.99 - --P-004 Max Gadget Full-size gadget, industrial grade 450 89.99 - --P-005 Connector A Type-A connector cable, 1m 80 7.49 - --P-006 Connector B Type-B connector cable, 2m 110 9.99 - --P-007 Adapter X Universal power adapter 200 15.99 - --P-008 Adapter Y Travel power adapter 120 11.99 - --P-009 Mount Bracket Wall mount bracket, steel 600 24.99 - --P-010 Carry Case Padded carry case, waterproof 350 34.99 -+Part# Name DescriptionWeight(g) Price - -+P-001 Basic WidgStandard w 150 4.99 - -+P-002 Pro WidgetEnhanced w 180 12.99 - -+P-003 Mini GadgeCompact g 90 19.99 - -+P-004 Max GadgeFull-size ga 450 89.99 - -+P-005 Connector Type-A con 80 7.49 - -+P-006 Connector Type-B con 110 9.99 - -+P-007 Adapter X Universal p 200 15.99 - -+P-008 Adapter Y Travel pow 120 11.99 - -+P-009 Mount Bra Wall moun 600 24.99 - -+P-010 Carry Case Padded car 350 34.99 -``` -
- -### classic52_pivot_summary - -- **Text Similarity:** 0.9978 -- **Visual Average:** 0.9858 -- **Overall Score:** 0.9934 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3599 bytes, Reference=88958 bytes - -
Text Diff - -```diff ---- minipdf/classic52_pivot_summary.pdf -+++ reference/classic52_pivot_summary.pdf -@@ -1,4 +1,4 @@ --Region Electronics Furniture Clothing Food Total - -+Region ElectronicsFurniture Clothing Food Total - - North 45000 12000 8000 22000 87000 - - South 38000 15000 11000 25000 89000 - - East 52000 9000 14000 18000 93000 - -``` -
- -### classic53_invoice - -- **Text Similarity:** 0.9444 -- **Visual Average:** 0.9773 -- **Overall Score:** 0.9687 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3819 bytes, Reference=105898 bytes - -
Text Diff - -```diff ---- minipdf/classic53_invoice.pdf -+++ reference/classic53_invoice.pdf -@@ -7,10 +7,10 @@ - 123 Business Rd, Suite 400 - - New York, NY 10001 - - Item Qty Unit Price Total - --Consulting Services 10 150 1500 - --Software License 5 99 495 - -+Consulting 10 150 1500 - -+Software L 5 99 495 - - Hardware 2 249.99 499.98 - --Support Plan (annual) 1 1200 1200 - -+Support Pla 1 1200 1200 - - Subtotal 3694.98 - - Tax (8%) 295.6 - - Total Due 3990.58 -``` -
- -### classic54_multi_level_header - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.989 -- **Overall Score:** 0.9956 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3229 bytes, Reference=73000 bytes - -Text content: ✅ Identical - -### classic55_error_values - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9931 -- **Overall Score:** 0.9972 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2511 bytes, Reference=60359 bytes - -Text content: ✅ Identical - -### classic56_alternating_row_colors - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9765 -- **Overall Score:** 0.9906 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3639 bytes, Reference=50296 bytes - -Text content: ✅ Identical - -### classic57_cjk_only - -- **Text Similarity:** 0.9945 -- **Visual Average:** 0.9904 -- **Overall Score:** 0.994 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=156847 bytes, Reference=54240 bytes - -
Text Diff - -```diff ---- minipdf/classic57_cjk_only.pdf -+++ reference/classic57_cjk_only.pdf -@@ -1,4 +1,4 @@ --序号 产品名称 价格 库存 - -+序号 产品名称价格 库存 - - 1 笔记本电脑 5999 100 - - 2 智能手机 2999 250 - - 3 平板电脑 1999 150 - -``` -
- -### classic58_mixed_numeric_formats - -- **Text Similarity:** 0.9726 -- **Visual Average:** 0.9908 -- **Overall Score:** 0.9854 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2460 bytes, Reference=56245 bytes - -
Text Diff - -```diff ---- minipdf/classic58_mixed_numeric_formats.pdf -+++ reference/classic58_mixed_numeric_formats.pdf -@@ -2,9 +2,9 @@ - Integer 1000000 - - Float 2dp 3.14 - - Float 5dp 3.14159 - --Negative int -42 - --Negative float -3.14 - -+Negative in -42 - -+Negative fl -3.14 - - Very small 0.0001 - - Very large 10000000 - - Zero 0 - --Scientific approx 1.23E+10 -+Scientific a 1.23E+10 -``` -
- -### classic59_multi_sheet_summary - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9954 -- **Overall Score:** 0.9982 -- **Pages:** MiniPdf=4, Reference=4 -- **File Size:** MiniPdf=6198 bytes, Reference=61161 bytes - -Text content: ✅ Identical - -### classic60_large_wide_table - -- **Text Similarity:** 0.852 -- **Visual Average:** 0.6012 -- **Overall Score:** 0.6813 -- **Pages:** MiniPdf=4, Reference=6 -- **File Size:** MiniPdf=76587 bytes, Reference=130804 bytes - -
Text Diff - -```diff ---- minipdf/classic60_large_wide_table.pdf -+++ reference/classic60_large_wide_table.pdf -@@ -1,105 +1,158 @@ --Col01 Col02 Col03 Col04 Col05 Col06 Col07 Col08 Col09 Col10 - --R01C01 R01C02 R01C03 R01C04 R01C05 R01C06 R01C07 R01C08 R01C09 R01C10 - --R02C01 R02C02 R02C03 R02C04 R02C05 R02C06 R02C07 R02C08 R02C09 R02C10 - --R03C01 R03C02 R03C03 R03C04 R03C05 R03C06 R03C07 R03C08 R03C09 R03C10 - --R04C01 R04C02 R04C03 R04C04 R04C05 R04C06 R04C07 R04C08 R04C09 R04C10 - --R05C01 R05C02 R05C03 R05C04 R05C05 R05C06 R05C07 R05C08 R05C09 R05C10 - --R06C01 R06C02 R06C03 R06C04 R06C05 R06C06 R06C07 R06C08 R06C09 R06C10 - --R07C01 R07C02 R07C03 R07C04 R07C05 R07C06 R07C07 R07C08 R07C09 R07C10 - --R08C01 R08C02 R08C03 R08C04 R08C05 R08C06 R08C07 R08C08 R08C09 R08C10 - --R09C01 R09C02 R09C03 R09C04 R09C05 R09C06 R09C07 R09C08 R09C09 R09C10 - --R10C01 R10C02 R10C03 R10C04 R10C05 R10C06 R10C07 R10C08 R10C09 R10C10 - --R11C01 R11C02 R11C03 R11C04 R11C05 R11C06 R11C07 R11C08 R11C09 R11C10 - --R12C01 R12C02 R12C03 R12C04 R12C05 R12C06 R12C07 R12C08 R12C09 R12C10 - --R13C01 R13C02 R13C03 R13C04 R13C05 R13C06 R13C07 R13C08 R13C09 R13C10 - --R14C01 R14C02 R14C03 R14C04 R14C05 R14C06 R14C07 R14C08 R14C09 R14C10 - --R15C01 R15C02 R15C03 R15C04 R15C05 R15C06 R15C07 R15C08 R15C09 R15C10 - --R16C01 R16C02 R16C03 R16C04 R16C05 R16C06 R16C07 R16C08 R16C09 R16C10 - --R17C01 R17C02 R17C03 R17C04 R17C05 R17C06 R17C07 R17C08 R17C09 R17C10 - --R18C01 R18C02 R18C03 R18C04 R18C05 R18C06 R18C07 R18C08 R18C09 R18C10 - --R19C01 R19C02 R19C03 R19C04 R19C05 R19C06 R19C07 R19C08 R19C09 R19C10 - --R20C01 R20C02 R20C03 R20C04 R20C05 R20C06 R20C07 R20C08 R20C09 R20C10 - --R21C01 R21C02 R21C03 R21C04 R21C05 R21C06 R21C07 R21C08 R21C09 R21C10 - --R22C01 R22C02 R22C03 R22C04 R22C05 R22C06 R22C07 R22C08 R22C09 R22C10 - --R23C01 R23C02 R23C03 R23C04 R23C05 R23C06 R23C07 R23C08 R23C09 R23C10 - --R24C01 R24C02 R24C03 R24C04 R24C05 R24C06 R24C07 R24C08 R24C09 R24C10 - --R25C01 R25C02 R25C03 R25C04 R25C05 R25C06 R25C07 R25C08 R25C09 R25C10 - --R26C01 R26C02 R26C03 R26C04 R26C05 R26C06 R26C07 R26C08 R26C09 R26C10 - --R27C01 R27C02 R27C03 R27C04 R27C05 R27C06 R27C07 R27C08 R27C09 R27C10 - --R28C01 R28C02 R28C03 R28C04 R28C05 R28C06 R28C07 R28C08 R28C09 R28C10 - --R29C01 R29C02 R29C03 R29C04 R29C05 R29C06 R29C07 R29C08 R29C09 R29C10 - --R30C01 R30C02 R30C03 R30C04 R30C05 R30C06 R30C07 R30C08 R30C09 R30C10 - --R31C01 R31C02 R31C03 R31C04 R31C05 R31C06 R31C07 R31C08 R31C09 R31C10 - --R32C01 R32C02 R32C03 R32C04 R32C05 R32C06 R32C07 R32C08 R32C09 R32C10 - --R33C01 R33C02 R33C03 R33C04 R33C05 R33C06 R33C07 R33C08 R33C09 R33C10 - --R34C01 R34C02 R34C03 R34C04 R34C05 R34C06 R34C07 R34C08 R34C09 R34C10 - --R35C01 R35C02 R35C03 R35C04 R35C05 R35C06 R35C07 R35C08 R35C09 R35C10 - --R36C01 R36C02 R36C03 R36C04 R36C05 R36C06 R36C07 R36C08 R36C09 R36C10 - --R37C01 R37C02 R37C03 R37C04 R37C05 R37C06 R37C07 R37C08 R37C09 R37C10 - --R38C01 R38C02 R38C03 R38C04 R38C05 R38C06 R38C07 R38C08 R38C09 R38C10 - --R39C01 R39C02 R39C03 R39C04 R39C05 R39C06 R39C07 R39C08 R39C09 R39C10 - --R40C01 R40C02 R40C03 -... (11920 more characters) - -``` -
- -### classic61_product_card_with_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.989 -- **Overall Score:** 0.9956 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2590 bytes, Reference=71701 bytes - -Text content: ✅ Identical - -### classic62_company_logo_header - -- **Text Similarity:** 0.988 -- **Visual Average:** 0.9869 -- **Overall Score:** 0.99 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3627 bytes, Reference=79788 bytes - -
Text Diff - -```diff ---- minipdf/classic62_company_logo_header.pdf -+++ reference/classic62_company_logo_header.pdf -@@ -1,6 +1,6 @@ - ACME Corporation - - Annual Report 2025 - --Department Q1 Q2 Q3 Q4 - -+DepartmenQ1 Q2 Q3 Q4 - - Sales 120 135 142 160 - --Engineering 85 90 95 100 - -+Engineerin 85 90 95 100 - - Marketing 60 65 70 75 -``` -
- -### classic63_two_products_side_by_side - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9778 -- **Overall Score:** 0.9911 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3613 bytes, Reference=46024 bytes - -Text content: ✅ Identical - -### classic64_employee_directory_with_photo - -- **Text Similarity:** 0.9903 -- **Visual Average:** 0.9744 -- **Overall Score:** 0.9859 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5233 bytes, Reference=71738 bytes - -
Text Diff - -```diff ---- minipdf/classic64_employee_directory_with_photo.pdf -+++ reference/classic64_employee_directory_with_photo.pdf -@@ -1,4 +1,4 @@ --Photo Name Title Department Email - -+Photo Name Title DepartmenEmail - - Alice Chen Engineer R&D alice@example.com - - Bob Smith Manager Sales bob@example.com - --Carol Wang Designer UX carol@example.com -+Carol WangDesigner UX carol@example.com -``` -
- -### classic65_inventory_with_product_photos - -- **Text Similarity:** 0.9786 -- **Visual Average:** 0.9872 -- **Overall Score:** 0.9863 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7526 bytes, Reference=81216 bytes - -
Text Diff - -```diff ---- minipdf/classic65_inventory_with_product_photos.pdf -+++ reference/classic65_inventory_with_product_photos.pdf -@@ -1,6 +1,6 @@ - Image SKU Name Qty Price - --SKU-001 Red Widget 50 9.99 - --SKU-002 Blue Gadget 30 14.99 - --SKU-003 Green Tool 100 4.49 - --SKU-004 Yellow Device 25 29.99 - --SKU-005 Purple Gear 75 7.99 -+SKU-001 Red Widge 50 9.99 - -+SKU-002 Blue Gadge 30 14.99 - -+SKU-003 Green Too 100 4.49 - -+SKU-004 Yellow Dev 25 29.99 - -+SKU-005 Purple Gea 75 7.99 -``` -
- -### classic66_invoice_with_logo - -- **Text Similarity:** 0.9358 -- **Visual Average:** 0.9836 -- **Overall Score:** 0.9678 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3600 bytes, Reference=87535 bytes - -
Text Diff - -```diff ---- minipdf/classic66_invoice_with_logo.pdf -+++ reference/classic66_invoice_with_logo.pdf -@@ -1,8 +1,8 @@ - INVOICE - - Invoice #: INV-20250301 - - Date: 2025-03-01 - --Description Qty Unit Price Total - --Consulting Services 8 150 1200 - --Software License 1 299 299 - --Support Package 1 99 99 - -+DescriptionQty Unit Price Total - -+Consulting 8 150 1200 - -+Software L 1 299 299 - -+Support Pa 1 99 99 - - Total 1598 -``` -
- -### classic67_real_estate_listing - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9828 -- **Overall Score:** 0.9931 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3467 bytes, Reference=95016 bytes - -Text content: ✅ Identical - -### classic68_restaurant_menu - -- **Text Similarity:** 0.875 -- **Visual Average:** 0.9218 -- **Overall Score:** 0.9187 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5975 bytes, Reference=89964 bytes - -
Text Diff - -```diff ---- minipdf/classic68_restaurant_menu.pdf -+++ reference/classic68_restaurant_menu.pdf -@@ -1,9 +1,9 @@ - Today's Menu - --Grilled Salmon $18.99 - -+Grilled Salm $18.99 - - Fresh Atlantic salmon with herbs - --Caesar Salad $12.99 - -+Caesar Sala $12.99 - - Romaine lettuce, croutons, parmesan - --Beef Burger $14.99 - -+Beef Burge $14.99 - - 8oz Angus beef, brioche bun - --Pasta Primavera $13.99 - -+Pasta Prim $13.99 - - Seasonal vegetables, olive oil -``` -
- -### classic69_image_only_sheet - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9767 -- **Overall Score:** 0.9907 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2871 bytes, Reference=6125 bytes - -Text content: ✅ Identical - -### classic70_product_catalog_with_images - -- **Text Similarity:** 0.9675 -- **Visual Average:** 0.9665 -- **Overall Score:** 0.9736 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5053 bytes, Reference=85583 bytes - -
Text Diff - -```diff ---- minipdf/classic70_product_catalog_with_images.pdf -+++ reference/classic70_product_catalog_with_images.pdf -@@ -1,7 +1,7 @@ - Product Catalog - Spring 2025 - - Classic Pen $3.99 - - A reliable ballpoint pen - --Leather Notebook $12.99 - -+Leather No $12.99 - - Premium A5 notebook - --Desk Organizer $24.99 - -+Desk Organ $24.99 - - Bamboo desk tidy set -``` -
- -### classic71_multi_sheet_with_images - -- **Text Similarity:** 0.9898 -- **Visual Average:** 0.9926 -- **Overall Score:** 0.993 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=5900 bytes, Reference=56101 bytes - -
Text Diff - -```diff ---- minipdf/classic71_multi_sheet_with_images.pdf -+++ reference/classic71_multi_sheet_with_images.pdf -@@ -6,6 +6,6 @@ - Digital 50000 - - Print 20000 - - ---PAGE--- - --Department Headcount - --Engineering 45 - -+DepartmenHeadcount - -+Engineerin 45 - - Sales 30 -``` -
- -### classic72_bar_chart_image_with_data - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.953 -- **Overall Score:** 0.9812 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4032 bytes, Reference=74026 bytes - -Text content: ✅ Identical - -### classic73_event_flyer_with_banner - -- **Text Similarity:** 0.9087 -- **Visual Average:** 0.9636 -- **Overall Score:** 0.9489 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3975 bytes, Reference=87466 bytes - -
Text Diff - -```diff ---- minipdf/classic73_event_flyer_with_banner.pdf -+++ reference/classic73_event_flyer_with_banner.pdf -@@ -3,7 +3,7 @@ - Venue: Convention Center Hall A - - Speakers: 20+ Industry Leaders - - Time Session Speaker - --09:00 Opening Keynote Dr. Jane Kim - --10:30 AI in Practice Prof. Mark Liu - --13:00 Cloud Architecture Eng. Sara Patel - --15:00 Panel Discussion All Speakers -+09:00 Opening KeDr. Jane Kim - -+10:30 AI in Practi Prof. Mark Liu - -+13:00 Cloud ArchEng. Sara Patel - -+15:00 Panel DiscuAll Speakers -``` -
- -### classic74_dashboard_with_kpi_image - -- **Text Similarity:** 0.9846 -- **Visual Average:** 0.9454 -- **Overall Score:** 0.972 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=295923 bytes, Reference=99265 bytes - -
Text Diff - -```diff ---- minipdf/classic74_dashboard_with_kpi_image.pdf -+++ reference/classic74_dashboard_with_kpi_image.pdf -@@ -1,6 +1,6 @@ - Executive Dashboard Q1 2025 - - KPI Target Actual Status - - Revenue 500000 523000 ✓ Above - --New Customers 200 187 ✗ Below - -+New Custo 200 187 ✗ Below - - NPS Score 70 74 ✓ Above - --Churn Rate < 3% 2.8% ✓ Above -+Churn Rate< 3% 2.8% ✓ Above -``` -
- -### classic75_certificate_with_seal - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9743 -- **Overall Score:** 0.9897 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1473 bytes, Reference=77570 bytes - -Text content: ✅ Identical - -### classic76_product_image_grid - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9495 -- **Overall Score:** 0.9798 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5634 bytes, Reference=67180 bytes - -Text content: ✅ Identical - -### classic77_news_article_with_hero_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9627 -- **Overall Score:** 0.9851 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3270 bytes, Reference=112553 bytes - -Text content: ✅ Identical - -### classic78_small_icon_per_row - -- **Text Similarity:** 0.9226 -- **Visual Average:** 0.9894 -- **Overall Score:** 0.9648 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6908 bytes, Reference=76703 bytes - -
Text Diff - -```diff ---- minipdf/classic78_small_icon_per_row.pdf -+++ reference/classic78_small_icon_per_row.pdf -@@ -1,6 +1,6 @@ - Icon Task Assignee Status - --Fix login bug Alice Done - --Write unit tests Bob In Progress - --Deploy to staging Carol Pending - --Code review PR #42 Alice Done - --Update docs Dave In Progress -+Fix login buAlice Done - -+Write unit Bob In Progress - -+Deploy to sCarol Pending - -+Code revie Alice Done - -+Update docDave In Progress -``` -
- -### classic79_wide_panoramic_banner - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.959 -- **Overall Score:** 0.9836 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3669 bytes, Reference=87926 bytes - -Text content: ✅ Identical - -### classic80_portrait_tall_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9874 -- **Overall Score:** 0.995 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2896 bytes, Reference=71550 bytes - -Text content: ✅ Identical - -### classic81_step_by_step_with_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.965 -- **Overall Score:** 0.986 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5735 bytes, Reference=93150 bytes - -Text content: ✅ Identical - -### classic82_before_after_images - -- **Text Similarity:** 0.9963 -- **Visual Average:** 0.9372 -- **Overall Score:** 0.9734 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4593 bytes, Reference=79534 bytes - -
Text Diff - -```diff ---- minipdf/classic82_before_after_images.pdf -+++ reference/classic82_before_after_images.pdf -@@ -2,4 +2,4 @@ - Old design – legacy UI New design – modern UI - - Metric Before After Delta - - Load time 4.2s 1.1s -74% - --Conversion 2.1% 4.8% +129% -+Conversion2.1% 4.8% +129% -``` -
- -### classic83_color_swatch_palette - -- **Text Similarity:** 0.9708 -- **Visual Average:** 0.9771 -- **Overall Score:** 0.9792 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7653 bytes, Reference=82749 bytes - -
Text Diff - -```diff ---- minipdf/classic83_color_swatch_palette.pdf -+++ reference/classic83_color_swatch_palette.pdf -@@ -1,7 +1,7 @@ - Brand Color Palette - --Primary Blue RGB(0, 82, 165) - --Primary Red RGB(197, 27, 50) - --Accent Green RGB(0, 163, 108) - --Neutral Grey RGB(128, 128, 128) - --Warm Yellow RGB(255, 193, 7) - -+Primary BluRGB(0, 82, 165) - -+Primary ReRGB(197, 27, 50) - -+Accent GreRGB(0, 163, 108) - -+Neutral GreRGB(128, 128, 128) - -+Warm YelloRGB(255, 193, 7) - - Dark Navy RGB(10, 30, 70) -``` -
- -### classic84_travel_destination_cards - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9553 -- **Overall Score:** 0.9821 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4952 bytes, Reference=83209 bytes - -Text content: ✅ Identical - -### classic85_lab_results_with_image - -- **Text Similarity:** 0.9847 -- **Visual Average:** 0.9557 -- **Overall Score:** 0.9762 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4404 bytes, Reference=91041 bytes - -
Text Diff - -```diff ---- minipdf/classic85_lab_results_with_image.pdf -+++ reference/classic85_lab_results_with_image.pdf -@@ -1,6 +1,6 @@ - Sample Analysis Report - --Parameter Value Unit Reference Range Flag - --pH 7.35 7.35 – 7.45 Normal - -+Parameter Value Unit Reference Flag - -+pH 7.35 7.35 – 7.45Normal - - Glucose 5.2 mmol/L 3.9 – 5.5 Normal - - Sodium 142 mEq/L 136 – 145 Normal - - Potassium 5 mEq/L 3.5 – 5.0 Normal - -``` -
- -### classic86_software_screenshot_features - -- **Text Similarity:** 0.977 -- **Visual Average:** 0.9824 -- **Overall Score:** 0.9838 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3604 bytes, Reference=75924 bytes - -
Text Diff - -```diff ---- minipdf/classic86_software_screenshot_features.pdf -+++ reference/classic86_software_screenshot_features.pdf -@@ -1,9 +1,9 @@ - MiniApp v2.0 - - The fastest lightweight app - - Feature Available - --Dark Mode Yes - -+Dark ModeYes - - Auto Save Yes - --Cloud Sync Yes - --Offline Mode Yes - -+Cloud SyncYes - -+Offline Mo Yes - - API Access Pro only - --Export to PDF Yes -+Export to PYes -``` -
- -### classic87_sports_results_with_logos - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9879 -- **Overall Score:** 0.9952 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6654 bytes, Reference=84228 bytes - -Text content: ✅ Identical - -### classic88_image_after_data - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9739 -- **Overall Score:** 0.9896 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3759 bytes, Reference=84797 bytes - -Text content: ✅ Identical - -### classic89_nutrition_label_with_image - -- **Text Similarity:** 0.9452 -- **Visual Average:** 0.9836 -- **Overall Score:** 0.9715 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4152 bytes, Reference=90810 bytes - -
Text Diff - -```diff ---- minipdf/classic89_nutrition_label_with_image.pdf -+++ reference/classic89_nutrition_label_with_image.pdf -@@ -1,11 +1,11 @@ - Nutrition Facts - - Serving Size: 30g (approx. 1 cup) - --Nutrient Amount per serving % Daily Value - -+Nutrient Amount pe% Daily Value - - Calories 120 kcal - - Total Fat 3g 4% - --Saturated Fat 0.5g 3% - -+Saturated F0.5g 3% - - Sodium 160mg 7% - --Total Carbohydrate 22g 8% - --Dietary Fiber 3g 11% - -+Total Carbo22g 8% - -+Dietary Fib3g 11% - - Sugars 4g - - Protein 3g -``` -
- -### classic90_project_status_with_milestones - -- **Text Similarity:** 0.8211 -- **Visual Average:** 0.94 -- **Overall Score:** 0.9044 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4254 bytes, Reference=88752 bytes - -
Text Diff - -```diff ---- minipdf/classic90_project_status_with_milestones.pdf -+++ reference/classic90_project_status_with_milestones.pdf -@@ -1,8 +1,8 @@ - Project Orion – Status Report - - Reporting Period: Q1 2025 - - Milestone Due Date Owner Status - --Requirements Freeze Jan 15 PM Team Complete - --Architecture Review Feb 1 Tech Lead Complete - --Alpha Release Feb 28 Dev Team In Progress - --Beta Testing Mar 31 QA Team Not Started - --Production Deploy Apr 15 DevOps Not Started -+RequiremeJan 15 PM Team Complete - -+ArchitecturFeb 1 Tech Lead Complete - -+Alpha Rele Feb 28 Dev Team In Progress - -+Beta TestinMar 31 QA Team Not Started - -+ProductionApr 15 DevOps Not Started -``` -
- -### classic91_simple_bar_chart - -- **Text Similarity:** 0.8732 -- **Visual Average:** 0.7369 -- **Overall Score:** 0.844 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=4050 bytes, Reference=76902 bytes - -
Text Diff - -```diff ---- minipdf/classic91_simple_bar_chart.pdf -+++ reference/classic91_simple_bar_chart.pdf -@@ -2,16 +2,14 @@ - Widget A 12000 - - Product Revenue - - Widget B 18500 - --25000 - - Widget C 9200 - - Widget D 22000 - - Widget E 15600 - --20000 - --15000 - - Revenue ($) - --10000 - --5000 - --0 - --Widget A Widget B Widget C Widget D Widget E - - Product - -----PAGE--- -+---PAGE--- - -+Widget A - -+Widget B - -+Widget C - -+Widget D - -+Widget E -``` -
- -### classic92_horizontal_bar_chart - -- **Text Similarity:** 0.6833 -- **Visual Average:** 0.7472 -- **Overall Score:** 0.7722 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=4866 bytes, Reference=78581 bytes - -
Text Diff - -```diff ---- minipdf/classic92_horizontal_bar_chart.pdf -+++ reference/classic92_horizontal_bar_chart.pdf -@@ -1,15 +1,15 @@ --Department Headcount - --Engineering 45 - -+DepartmenHeadcount - -+Engineerin 45 - - Headcount by Department - - Sales 30 - - Marketing 18 - --HR 12 Operations - -+HR 12 - - Finance 15 - - Operations 25 - -+---PAGE--- - -+Engineering - -+Sales - -+Marketing - -+HR - - Finance - --HR - --Marketing - --Sales - --Engineering - --0 5 10 15 20 25 30 35 40 45 - -----PAGE--- -+Operations -``` -
- -### classic93_line_chart - -- **Text Similarity:** 0.8542 -- **Visual Average:** 0.7805 -- **Overall Score:** 0.8539 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=6697 bytes, Reference=85633 bytes - -
Text Diff - -```diff ---- minipdf/classic93_line_chart.pdf -+++ reference/classic93_line_chart.pdf -@@ -2,22 +2,27 @@ - Jan 3 - - Monthly Average Temperature - - Feb 5 - --30 - - Mar 10 - - Apr 15 - - May 20 - --25 - - Jun 25 - - Jul 28 - --20 - - Aug 27 - - Sep 22 - --15 - - Oct 15 - --Nov 8 Temperature (C) - -+Nov 8 - - Dec 4 - --10 - --5 - --0 - --Jan Feb Mar Apr May Jun Jul Aug Sep Oct - -----PAGE--- -+Temperature (C) - -+---PAGE--- - -+Jan - -+Feb - -+Mar - -+Apr - -+May - -+Jun - -+Jul - -+Aug - -+Sep - -+Oct - -+Nov - -+Dec -``` -
- -### classic94_pie_chart - -- **Text Similarity:** 0.8679 -- **Visual Average:** 0.8743 -- **Overall Score:** 0.8969 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=404665 bytes, Reference=78532 bytes - -
Text Diff - -```diff ---- minipdf/classic94_pie_chart.pdf -+++ reference/classic94_pie_chart.pdf -@@ -3,11 +3,15 @@ - Market Share by Segment - - SMB 28 - - Consumer 22 - --Government 10 - -+Governme 10 - - Education 5 - --Enterprise - -+Enterp - - SMB - --Consumer - --Government - --Education - -----PAGE--- -+Consu - -+Gover - -+Educa - -+---PAGE--- - -+prise - -+umer - -+rnment - -+ation -``` -
- -### classic95_area_chart - -- **Text Similarity:** 0.9 -- **Visual Average:** 0.7524 -- **Overall Score:** 0.861 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=14891 bytes, Reference=80677 bytes - -
Text Diff - -```diff ---- minipdf/classic95_area_chart.pdf -+++ reference/classic95_area_chart.pdf -@@ -2,29 +2,22 @@ - 00:00 214 - - Website Traffic by Hour - - 01:00 216 - --1200 - - 02:00 218 - - 03:00 221 - - 04:00 224 - --1000 - - 05:00 228 - - 06:00 233 - --800 - - 07:00 240 - - 08:00 250 - --600 - - 09:00 265 - --10:00 288 Users - -+Users - -+10:00 288 - - 11:00 329 - --400 - - 12:00 408 - - 13:00 600 - --200 - - 14:00 1000 - - 15:00 600 - --0 - - 16:00 408 - --00:001:002:003:004:005:006:007:008:009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0 - - 17:00 329 - - 18:00 288 - - 19:00 265 - -@@ -32,4 +25,5 @@ - 21:00 240 - - 22:00 233 - - 23:00 228 - -----PAGE--- -+---PAGE--- - -+Users -``` -
- -### classic96_scatter_chart - -- **Text Similarity:** 0.7626 -- **Visual Average:** 0.7733 -- **Overall Score:** 0.8144 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=8046 bytes, Reference=82367 bytes - -
Text Diff - -```diff ---- minipdf/classic96_scatter_chart.pdf -+++ reference/classic96_scatter_chart.pdf -@@ -1,33 +1,39 @@ --Ad Spend ($K) Sales ($K) - -+Ad Spend ( Sales ($K) - - 45 96 - - Ad Spend vs Sales - - 6 11 - --Data Points - --140 - - 20 43 - - 13 22 - --120 - - 48 117 - - 10 31 - --100 - - 32 64 - - 6 5 - --80 - - 18 38 - - 37 94 - --60 - --6 20 Sales ($K) - -+6 20 - -+Sales ($K) - - 17 49 - --40 - - 49 119 - - 31 68 - --20 - - 33 83 - - 22 40 - --0 - - 15 37 - --0 10 20 30 40 50 - --26 57 Ad Spend ($K) - -+26 57 - -+Ad Spend ($K) - - 14 28 - - 26 52 - -----PAGE--- -+---PAGE--- - -+45 - -+6 - -+20 - -+13 - -+48 - -+10 - -+32 - -+6 - -+18 - -+37 - -+6 - -+17 - -+49 - -+31 -``` -
- -### classic97_doughnut_chart - -- **Text Similarity:** 0.872 -- **Visual Average:** 0.8415 -- **Overall Score:** 0.8854 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=303290 bytes, Reference=76024 bytes - -
Text Diff - -```diff ---- minipdf/classic97_doughnut_chart.pdf -+++ reference/classic97_doughnut_chart.pdf -@@ -5,9 +5,14 @@ - Marketing 8000 - - R&D 15000 - - Other 5000 - --Salaries - --Rent - --Marketing - -+Sala - -+Ren - -+Ma - - R&D - --Other - -----PAGE--- -+Oth - -+---PAGE--- - -+aries - -+nt - -+rketing - -+D - -+her -``` -
- -### classic98_radar_chart - -- **Text Similarity:** 0.7305 -- **Visual Average:** 0.9869 -- **Overall Score:** 0.887 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5200 bytes, Reference=75968 bytes - -
Text Diff - -```diff ---- minipdf/classic98_radar_chart.pdf -+++ reference/classic98_radar_chart.pdf -@@ -2,21 +2,16 @@ - Python 9 - - Developer Skill Radar - - SQL 8 - -+Communic 7 - -+Leadership 6 - -+Design 5 - -+DevOps 7 - - Python - --Communication 7 - --Leadership 6 10 - --9 - --Design 5 - --8 - --7 - --DevOps 7 DevOps SQL - --6 - --5 - --4 - --3 - --2 - --1 - --0 - --Design Communication - --Leadership - -----PAGE--- -+SQL - -+Commun - -+Leadersh - -+Design - -+DevOps - -+---PAGE--- - -+nication - -+hip -``` -
- -### classic99_bubble_chart - -- **Text Similarity:** 0.8278 -- **Visual Average:** 0.7655 -- **Overall Score:** 0.8373 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5575 bytes, Reference=86738 bytes - -
Text Diff - -```diff ---- minipdf/classic99_bubble_chart.pdf -+++ reference/classic99_bubble_chart.pdf -@@ -2,19 +2,16 @@ - 10 4.2 500 - - Product Comparison - - 25 4.5 300 - --Products - --6 - - 50 3.8 150 - - 15 4 420 - - 35 4.7 200 - --5 - - 8 3.5 600 - --4 - --3 - - Rating - --2 - --1 - --0 - --0 10 20 30 40 50 - - Price ($) - -----PAGE--- -+---PAGE--- - -+10 - -+25 - -+50 - -+15 - -+35 - -+8 -``` -
- -### classic100_stacked_bar_chart - -- **Text Similarity:** 0.825 -- **Visual Average:** 0.9056 -- **Overall Score:** 0.8922 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6049 bytes, Reference=75642 bytes - -
Text Diff - -```diff ---- minipdf/classic100_stacked_bar_chart.pdf -+++ reference/classic100_stacked_bar_chart.pdf -@@ -4,15 +4,7 @@ - East 40 35 30 45 - - West 20 25 40 35 - - Quarterly Revenue by Region - --Q4 Q3 Q2 Q1 - --180 - --160 - --140 - --120 - --100 - --80 - --60 - --40 - --20 - --0 - --North South East West -+Q4 - -+Q3 - -+Q2 - -+Q1 -``` -
- -### classic101_percent_stacked_bar - -- **Text Similarity:** 0.8298 -- **Visual Average:** 0.8863 -- **Overall Score:** 0.8864 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6888 bytes, Reference=78650 bytes - -
Text Diff - -```diff ---- minipdf/classic101_percent_stacked_bar.pdf -+++ reference/classic101_percent_stacked_bar.pdf -@@ -5,16 +5,7 @@ - 2024 33 35 18 14 - - 2025 30 38 17 15 - - Traffic Source Mix by Year - --Direct Referral Paid Organic - --100% - --90% - --80% - --70% - --60% - --50% - --40% - --30% - --20% - --10% - --0% - --2021 2022 2023 2024 2025 -+Direct - -+Referral - -+Paid - -+Organic -``` -
- -### classic102_line_chart_with_markers - -- **Text Similarity:** 0.7322 -- **Visual Average:** 0.7822 -- **Overall Score:** 0.8058 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=6148 bytes, Reference=78986 bytes - -
Text Diff - -```diff ---- minipdf/classic102_line_chart_with_markers.pdf -+++ reference/classic102_line_chart_with_markers.pdf -@@ -1,19 +1,13 @@ - Year Users (K) Revenue (K) - - 2020 10 50 - --Company Growth - -+Company Grow - - 2021 25 120 - --Users (K) Revenue (K) - --1200 - - 2022 55 280 - - 2023 90 500 - - 2024 140 780 - --1000 - - 2025 200 1100 - --800 - --600 - - Value (K) - --400 - --200 - --0 - --2020 2021 2022 2023 - -----PAGE--- -+---PAGE--- - -+wth - -+Users (K) - -+Revenue (K) -``` -
- -### classic103_pie_chart_with_labels - -- **Text Similarity:** 0.5474 -- **Visual Average:** 0.9425 -- **Overall Score:** 0.796 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=405116 bytes, Reference=76626 bytes - -
Text Diff - -```diff ---- minipdf/classic103_pie_chart_with_labels.pdf -+++ reference/classic103_pie_chart_with_labels.pdf -@@ -1,18 +1,23 @@ - OS Share (%) - - Windows 42 - -+Share (%), - - Desktop OS Market Share - --macOS 28 - --Linux 15 - --Other; Share (%); 5; 5% - -+macOS 28 Other, 5, 5% - -+Share (%), - -+Linux 15 ChromeOS, 10, - -+10% - - ChromeOS 10 - --ChromeOS; Share (%); 10; 10% - - Other 5 - --Windows; Share (%); 42; 42% - --Linux; Share (%); 15; 15% - --macOS; Share (%); 28; 28% - -+Share (%), - -+Share (%), Linux, - -+Windows, 42, - -+15, 15% - -+42% - -+Share (%), - -+macOS, 28, 28% - -+---PAGE--- - - Windows - - macOS - - Linux - - ChromeOS - --Other - -----PAGE--- -+Other -``` -
- -### classic104_combo_bar_line_chart - -- **Text Similarity:** 0.7402 -- **Visual Average:** 0.7388 -- **Overall Score:** 0.7916 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5810 bytes, Reference=76509 bytes - -
Text Diff - -```diff ---- minipdf/classic104_combo_bar_line_chart.pdf -+++ reference/classic104_combo_bar_line_chart.pdf -@@ -1,19 +1,12 @@ - Month Sales Target - - Jan 42 45 - --Sales vs Target - -+Sales vs Targe - - Feb 48 47 - --Sales Target - --70 - - Mar 51 50 - - Apr 45 50 - --60 - - May 56 54 - - Jun 62 60 - --50 - --40 - --30 - --20 - --10 - --0 - --Jan Feb Mar Apr May - -----PAGE--- -+---PAGE--- - -+et - -+Sales - -+Target -``` -
- -### classic105_3d_bar_chart - -- **Text Similarity:** 0.6962 -- **Visual Average:** 0.7309 -- **Overall Score:** 0.7708 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5129 bytes, Reference=103089 bytes - -
Text Diff - -```diff ---- minipdf/classic105_3d_bar_chart.pdf -+++ reference/classic105_3d_bar_chart.pdf -@@ -1,20 +1,10 @@ - Region 2024 2025 - - APAC 120 145 - --Revenue by Region (3D) - -+Revenue by Region (3 - - EMEA 95 110 - --2024 2025 - --200 - - Americas 150 175 - - LATAM 40 55 - --180 - --160 - --140 - --120 - --100 - --80 - --60 - --40 - --20 - --0 - --APAC EMEA Americas LATAM - -----PAGE--- -+---PAGE--- - -+3D) - -+2024 - -+2025 -``` -
- -### classic106_3d_pie_chart - -- **Text Similarity:** 0.929 -- **Visual Average:** 0.7468 -- **Overall Score:** 0.8703 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=404956 bytes, Reference=113656 bytes - -
Text Diff - -```diff ---- minipdf/classic106_3d_pie_chart.pdf -+++ reference/classic106_3d_pie_chart.pdf -@@ -3,13 +3,19 @@ - Monthly Expense Breakdown (3D) - - Housing 1500 - - Transport 400 - --Entertainment 300 - -+Entertainm 300 - - Savings 700 - - Other 200 - -+F - -+H - -+T - -+E - -+S - -+O - -+---PAGE--- - - Food - - Housing - - Transport - - Entertainment - - Savings - --Other - -----PAGE--- -+Other -``` -
- -### classic107_multi_series_line - -- **Text Similarity:** 0.8379 -- **Visual Average:** 0.7608 -- **Overall Score:** 0.8395 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=18408 bytes, Reference=91236 bytes - -
Text Diff - -```diff ---- minipdf/classic107_multi_series_line.pdf -+++ reference/classic107_multi_series_line.pdf -@@ -1,33 +1,28 @@ - Day AAPL GOOG MSFT - - Day 1 178.48 140.49 402.83 - --Stock Price Trend (20 Day - -+S - - Day 2 179.43 140.38 401.69 - --AAPL GOOG MSFT - --450 - - Day 3 177.25 143.38 403.21 - - Day 4 175.75 143.94 404.47 - --400 - - Day 5 178.19 142.62 403.35 - --Day 6 176.32 143.16 405.88 350 - -+Day 6 176.32 143.16 405.88 - - Day 7 177.72 141 405.11 - --300 - - Day 8 175.18 138.97 405.07 - --Day 9 173.1 137.59 403.53 250 - -+Day 9 173.1 137.59 403.53 - - Day 10 172.64 139.72 401.94 - --200 - --Day 11 173.32 139.12 400.69 Price ($) - -+Day 11 173.32 139.12 400.69 - -+Price ($) - - Day 12 172.11 140.8 402.75 - --150 - - Day 13 173.5 143.13 404.12 - --100 - - Day 14 172.29 141.53 404.52 - - Day 15 172.95 143.24 406.95 - --50 - - Day 16 174.74 146.1 408 - --0 - - Day 17 175.83 147.89 407.98 - --Day 1Day 2Day 3Day 4Day 5Day 6Day 7Day 8Day 9Day 10Day 11Day 12D - - Day 18 177.62 150.15 408.05 - - Day 19 176.68 149.43 408.73 - - Day 20 177.07 149.4 408.07 - -----PAGE--- -+---PAGE--- - -+Stock Price Trend (20 Days) - -+AAPL - -+GOOG - -+MSFT -``` -
- -### classic108_stacked_area_chart - -- **Text Similarity:** 0.8431 -- **Visual Average:** 0.4364 -- **Overall Score:** 0.6118 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=12748 bytes, Reference=86751 bytes - -
Text Diff - -```diff ---- minipdf/classic108_stacked_area_chart.pdf -+++ reference/classic108_stacked_area_chart.pdf -@@ -6,14 +6,8 @@ - May 150 130 240 125 - - Jun 160 140 260 130 - - Traffic by Channel (Stacked) - --Direct Search Social Email - --800 - --700 - --600 - --500 - --400 - --300 - --200 - --100 - --0 - --Jan Feb Mar Apr May Jun -+Direct - -+Search - -+Social - -+Email - -+---PAGE--- -``` -
- -### classic109_scatter_with_trendline - -- **Text Similarity:** 0.7037 -- **Visual Average:** 0.7764 -- **Overall Score:** 0.792 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=6773 bytes, Reference=86322 bytes - -
Text Diff - -```diff ---- minipdf/classic109_scatter_with_trendline.pdf -+++ reference/classic109_scatter_with_trendline.pdf -@@ -1,28 +1,25 @@ --Study Hours Exam Score - -+Study HourExam Score - - 5 59 - - Study Hours vs Exam Score - - 8 90 - --Students - --120 - - 9 85 - -+y = 8.1272x + 20.8 - - 2 35 - -+R² = 0.9586 - - 9 99 - --100 - - 5 68 - - 2 35 - --80 - - 8 92 - - 5 65 - --60 - - 3 45 - --9 100 Score - -+Score - -+9 100 - - 6 62 - --40 - - 9 89 - - 1 30 - --20 - - 10 98 - --0 - --0 2 4 6 8 10 - - Hours - -----PAGE--- -+---PAGE--- - -+828 - -+Students - -+Linear (Students) -``` -
- -### classic110_chart_with_legend - -- **Text Similarity:** 0.7447 -- **Visual Average:** 0.7603 -- **Overall Score:** 0.802 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5187 bytes, Reference=88129 bytes - -
Text Diff - -```diff ---- minipdf/classic110_chart_with_legend.pdf -+++ reference/classic110_chart_with_legend.pdf -@@ -1,19 +1,12 @@ - Browser 2024 (%) 2025 (%) - - Chrome 65 62 - --Browser Market Share Comparison - -+Browser Market Share Com - - Safari 18 20 - --2024 (%) 2025 (%) - --70 - - Firefox 8 7 - - Edge 6 8 - --60 - - Other 3 3 - --50 - --40 - --30 - - Market Share (%) - --20 - --10 - --0 - --Chrome Safari Firefox Edge O - -----PAGE--- -+2024 (%) 2025 ( - -+---PAGE--- - -+mparison - -+(%) -``` -
- -### classic111_chart_with_axis_labels - -- **Text Similarity:** 0.735 -- **Visual Average:** 0.7691 -- **Overall Score:** 0.8016 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=4470 bytes, Reference=79609 bytes - -
Text Diff - -```diff ---- minipdf/classic111_chart_with_axis_labels.pdf -+++ reference/classic111_chart_with_axis_labels.pdf -@@ -3,14 +3,15 @@ - CO2 Emissions by Country - - USA 5000 - - India 2700 - --Russia 1700 Germany - -+Russia 1700 - - Japan 1100 - - Germany 700 - -+Country - -+CO2 Emissions (Megatons) - -+---PAGE--- - -+China - -+USA - -+India - -+Russia - - Japan - --Russia - --CO2 Emissions (Megatons) India - --USA - --China - --0 2,000 4,000 6,000 8,000 10,000 - --Country - -----PAGE--- -+Germany -``` -
- -### classic112_multiple_charts - -- **Text Similarity:** 0.6715 -- **Visual Average:** 0.7401 -- **Overall Score:** 0.7646 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=8568 bytes, Reference=86399 bytes - -
Text Diff - -```diff ---- minipdf/classic112_multiple_charts.pdf -+++ reference/classic112_multiple_charts.pdf -@@ -1,30 +1,20 @@ - Month Revenue Costs Profit - - Jan 50 30 20 - --Revenue & Costs - -+Revenue - - Feb 55 32 23 - --Revenue Costs - --80 - - Mar 60 35 25 - - Apr 52 28 24 - --70 - - May 70 40 30 - --60 - - Jun 75 42 33 - --50 - --40 - --30 - --20 - --10 - --0 - --Jan Feb Mar Apr May - --Profit Trend - --35 - --30 - --25 - --20 - --15 - --10 - --5 - --0 - --Jan Feb Mar Apr M - -----PAGE--- -+Profit T - -+---PAGE--- - -+& Costs - -+Revenue - -+Costs - -+Trend - -+Jan - -+Feb - -+Mar - -+Apr - -+May - -+Jun -``` -
- -### classic113_chart_sheet - -- **Text Similarity:** 0.7442 -- **Visual Average:** 0.7306 -- **Overall Score:** 0.7899 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=4129 bytes, Reference=68612 bytes - -
Text Diff - -```diff ---- minipdf/classic113_chart_sheet.pdf -+++ reference/classic113_chart_sheet.pdf -@@ -2,17 +2,10 @@ - Q1 250 - - Quarterly Revenue - - Q2 310 - --450 - - Q3 285 - - Q4 400 - --400 - --350 - --300 - --250 - --200 - --150 - --100 - --50 - --0 - --Q1 Q2 Q3 Q4 - -----PAGE--- -+---PAGE--- - -+Q1 - -+Q2 - -+Q3 - -+Q4 -``` -
- -### classic114_chart_large_dataset - -- **Text Similarity:** 0.9379 -- **Visual Average:** 0.879 -- **Overall Score:** 0.9268 -- **Pages:** MiniPdf=4, Reference=4 -- **File Size:** MiniPdf=37593 bytes, Reference=97214 bytes - -
Text Diff - -```diff ---- minipdf/classic114_chart_large_dataset.pdf -+++ reference/classic114_chart_large_dataset.pdf -@@ -1,30 +1,22 @@ - Day Value - - 1 97.7 - --100-Day Value Trend - -+100-Day Value - - 2 93.7 - --160 - - 3 96.1 - - 4 93.7 - --140 - - 5 95.6 - - 6 92.3 - --120 - - 7 98.1 - --8 100.5 100 - -+8 100.5 - - 9 98.7 - --80 - - 10 94.4 - - 11 98.6 - --60 - - 12 103.5 - - 13 102.2 - --40 - - 14 98.4 - --15 104.2 20 - -+15 104.2 - - 16 109 - --0 - - 17 109.1 - --1234567891011213141516171819202122324252627282930313233435363738394041424344546474849505152535455657585960616263646566768697071727374757677879808182838485868788 - - 18 105.3 - - 19 108.6 - - 20 114.2 - -@@ -50,12 +42,12 @@ - 40 131 - - 41 131.7 - - 42 137.3 - -----PAGE--- - - 43 137.6 - - 44 133.5 - - 45 130 - - 46 128.3 - - 47 127 - -+---PAGE--- - - 48 124.3 - - 49 120.2 - - 50 118.9 - -@@ -94,7 +86,6 @@ - 83 111.2 - - 84 107 - - 85 112.6 - -----PAGE--- - - 86 114.8 - - 87 118 - - 88 118.9 - -@@ -105,9 +96,25 @@ - 93 129.2 - - 94 126.2 - - 95 131.7 - -+---PAGE--- - - 96 133.1 - - 97 129.3 - - 98 133.6 - - 99 138 - - 100 142.1 - -----PAGE--- -+---PAGE--- - -+Trend - -+1 - -+2 - -+3 - -+4 - -+5 - -+6 - -+7 - -+8 - -+9 - -+10 - -+11 - -+12 - -+13 - -+14 -``` -
- -### classic115_chart_negative_values - -- **Text Similarity:** 0.8421 -- **Visual Average:** 0.759 -- **Overall Score:** 0.8404 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5421 bytes, Reference=85182 bytes - -
Text Diff - -```diff ---- minipdf/classic115_chart_negative_values.pdf -+++ reference/classic115_chart_negative_values.pdf -@@ -2,22 +2,19 @@ - Jan 15 - - Monthly Profit & Loss - - Feb -8 - --35 - - Mar 22 - - Apr -3 - --30 - - May 30 - --25 - - Jun -12 - --Jul 18 20 - -+Jul 18 - - Aug 5 - --15 - --10 - - Amount ($K) - --5 - --0 - ---5 - ---10 - ---15 - --Jan Feb Mar Apr May Jun Jul Aug - -----PAGE--- -+---PAGE--- - -+Jan - -+Feb - -+Mar - -+Apr - -+May - -+Jun - -+Jul - -+Aug -``` -
- -### classic116_percent_stacked_area - -- **Text Similarity:** 0.8235 -- **Visual Average:** 0.4232 -- **Overall Score:** 0.5987 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=13028 bytes, Reference=80966 bytes - -
Text Diff - -```diff ---- minipdf/classic116_percent_stacked_area.pdf -+++ reference/classic116_percent_stacked_area.pdf -@@ -6,16 +6,8 @@ - 2023 20 26 17 37 - - 2025 15 24 16 45 - - Energy Mix Transition - --Renewable Nuclear Gas Coal - --100% - --90% - --80% - --70% - --60% - --50% - --40% - --30% - --20% - --10% - --0% - --2015 2017 2019 2021 2023 2025 -+Renewable - -+Nuclear - -+Gas - -+Coal - -+---PAGE--- -``` -
- -### classic117_stock_ohlc_chart - -- **Text Similarity:** 0.7882 -- **Visual Average:** 0.7103 -- **Overall Score:** 0.7994 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=10510 bytes, Reference=91947 bytes - -
Text Diff - -```diff ---- minipdf/classic117_stock_ohlc_chart.pdf -+++ reference/classic117_stock_ohlc_chart.pdf -@@ -1,24 +1,18 @@ - Day Open High Low Close - - Day 1 148.96 149.78 146.96 147.41 - --Stock OHLC (1 - - Day 2 147.04 147.63 144.4 146.23 - --Open High Low Close - --180 - - Day 3 145.63 149.68 145.47 149.58 - - Day 4 149.32 150.14 147.39 148.55 - --160 - - Day 5 146.58 150.1 143.38 147.36 - --Day 6 147.91 152.44 145.49 149.32 140 - -+Day 6 147.91 152.44 145.49 149.32 - - Day 7 151.08 155.51 150.22 150.81 - --120 - - Day 8 152.42 155.53 152.31 152.99 - --Day 9 152.32 154.36 151.02 152.05 100 - -+Day 9 152.32 154.36 151.02 152.05 - - Day 10 152.27 156.85 148.76 156.35 - --80 - - Price ($) - --60 - --40 - --20 - --0 - --Day 1 Day 2 Day 3 Day 4 Day 5 - -----PAGE--- -+---PAGE--- - -+Stock OHLC (10 Days) - -+Open - -+High - -+Low - -+Close -``` -
- -### classic118_bar_chart_custom_colors - -- **Text Similarity:** 0.8344 -- **Visual Average:** 0.7529 -- **Overall Score:** 0.8349 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=4574 bytes, Reference=78458 bytes - -
Text Diff - -```diff ---- minipdf/classic118_bar_chart_custom_colors.pdf -+++ reference/classic118_bar_chart_custom_colors.pdf -@@ -2,19 +2,12 @@ - Excellent 45 - - Customer Satisfaction Survey - - Good 30 - --50 - - Average 15 - - Poor 7 - --45 - - Very Poor 3 - --40 - --35 - --30 - --25 - --20 - --15 - --10 - --5 - --0 - --Excellent Good Average Poor Very Poor - -----PAGE--- -+---PAGE--- - -+Excellent - -+Good - -+Average - -+Poor - -+Very Poor -``` -
- -### classic119_dashboard_multi_charts - -- **Text Similarity:** 0.7958 -- **Visual Average:** 0.7056 -- **Overall Score:** 0.8006 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=219801 bytes, Reference=94742 bytes - -
Text Diff - -```diff ---- minipdf/classic119_dashboard_multi_charts.pdf -+++ reference/classic119_dashboard_multi_charts.pdf -@@ -1,25 +1,19 @@ - KPI Dashboard - Q4 2025 - - Revenue vs Expenses - - Month Revenue Expenses - --Revenue Expenses - --120 - - Oct 85 60 - - Nov 92 65 - --100 - - Dec 110 70 - --80 - --60 - - Segment Share - --40 - - Enterprise 45 - - SMB 30 - --20 - - Consumer 25 - --0 - --Oct Nov Dec - - Revenue by Segment - --Enterprise - -+Enter - - SMB - --Consumer - --Slice4 - -----PAGE--- -+Cons - -+---PAGE--- - -+Revenue - -+Expenses - -+rprise - -+sumer -``` -
- -### classic120_chart_with_date_axis - -- **Text Similarity:** 0.7917 -- **Visual Average:** 0.7689 -- **Overall Score:** 0.8242 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=7348 bytes, Reference=82299 bytes - -
Text Diff - -```diff ---- minipdf/classic120_chart_with_date_axis.pdf -+++ reference/classic120_chart_with_date_axis.pdf -@@ -1,25 +1,30 @@ - Date Downloads - - 2025-01-01 581 - --Monthly Downloads (2025) - -+Monthly Downloads (202 - - 2025-01-31 594 - --900 - - 2025-03-02 592 - - 2025-04-01 692 - --800 - - 2025-05-01 760 - --2025-05-31 733 700 - -+2025-05-31 733 - - 2025-06-30 763 - --600 - - 2025-07-30 767 - --2025-08-29 774 500 - -+2025-08-29 774 - - 2025-09-28 788 - --400 - --2025-10-28 820 Downloads - -+2025-10-28 820 - -+Downloads - - 2025-11-27 865 - --300 - --200 - --100 - --0 - --2025-01-01 2025-01-31 2025-03-02 2025-04-01 2025-05-01 2025-05-31 2025-06-30 2025-07-30 2025-08-29 20 - - Date - -----PAGE--- -+---PAGE--- - -+25) - -+2025-01-01 - -+2025-01-31 - -+2025-03-02 - -+2025-04-01 - -+2025-05-01 - -+2025-05-31 - -+2025-06-30 - -+2025-07-30 - -+2025-08-29 - -+2025-09-28 - -+2025-10-28 - -+2025-11-27 -``` -
- -### classic121_thin_borders - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9808 -- **Overall Score:** 0.9923 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9765 bytes, Reference=74465 bytes - -Text content: ✅ Identical - -### classic122_thick_outer_thin_inner - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9762 -- **Overall Score:** 0.9905 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9773 bytes, Reference=78822 bytes - -Text content: ✅ Identical - -### classic123_dashed_borders - -- **Text Similarity:** 0.9655 -- **Visual Average:** 0.991 -- **Overall Score:** 0.9826 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3623 bytes, Reference=61720 bytes - -
Text Diff - -```diff ---- minipdf/classic123_dashed_borders.pdf -+++ reference/classic123_dashed_borders.pdf -@@ -1,6 +1,6 @@ --Border Style Sample - -+Border Sty Sample - - dashed Bordered cell - - dotted Bordered cell - - dashDot Bordered cell - --dashDotDot Bordered cell - --mediumDashed Bordered cell -+dashDotDoBordered cell - -+mediumDaBordered cell -``` -
- -### classic124_colored_borders - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9868 -- **Overall Score:** 0.9947 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4365 bytes, Reference=63553 bytes - -Text content: ✅ Identical - -### classic125_solid_fills - -- **Text Similarity:** 0.9873 -- **Visual Average:** 0.9736 -- **Overall Score:** 0.9844 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2810 bytes, Reference=69321 bytes - -
Text Diff - -```diff ---- minipdf/classic125_solid_fills.pdf -+++ reference/classic125_solid_fills.pdf -@@ -1,9 +1,9 @@ - Fill Name Filled Cell - - Light Blue Background - --Light Green Background - --Light Yellow Background - -+Light GreenBackground - -+Light YellowBackground - - Light Red Background - --Light Purple Background - --Light Orange Background - -+Light Purpl Background - -+Light OrangBackground - - Gray 25% Background - - Sky Blue Background -``` -
- -### classic126_dark_header - -- **Text Similarity:** 0.9908 -- **Visual Average:** 0.9795 -- **Overall Score:** 0.9881 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2911 bytes, Reference=83023 bytes - -
Text Diff - -```diff ---- minipdf/classic126_dark_header.pdf -+++ reference/classic126_dark_header.pdf -@@ -1,6 +1,6 @@ --Employee Department Salary Start Date - --Alice Smith Engineering 95000 2020-03-15 - -+EmployeeDepartment Salary Start Date - -+Alice SmithEngineerin 95000 2020-03-15 - - Bob Jones Marketing 72000 2019-07-01 - - Carol Lee Finance 88000 2021-01-10 - --David Kim Engineering 102000 2018-11-20 - -+David Kim Engineerin 102000 2018-11-20 - - Eva Chen HR 68000 2022-05-03 -``` -
- -### classic127_font_styles - -- **Text Similarity:** 0.9195 -- **Visual Average:** 0.9827 -- **Overall Score:** 0.9609 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2738 bytes, Reference=121281 bytes - -
Text Diff - -```diff ---- minipdf/classic127_font_styles.pdf -+++ reference/classic127_font_styles.pdf -@@ -2,8 +2,8 @@ - Bold Sample Bold text - - Italic Sample Italic text - - Underline Sample Underline text - --Strikethrough Sample Strikethrough text - -+StrikethrouSample Strikethrough text - - Bold Italic Sample Bold Italic text - --Bold Underline Sample Bold Underline text - --Double Underline Sample Double Underline text - -+Bold Under Sample Bold Underline text - -+Double Un Sample Double Underline text - - Bold + Red Sample Bold + Red text -``` -
- -### classic128_font_sizes - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9904 -- **Overall Score:** 0.9962 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2643 bytes, Reference=66894 bytes - -Text content: ✅ Identical - -### classic129_alignment_combos - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9907 -- **Overall Score:** 0.9963 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2124 bytes, Reference=65763 bytes - -Text content: ✅ Identical - -### classic130_wrap_and_indent - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9885 -- **Overall Score:** 0.9954 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1828 bytes, Reference=70816 bytes - -Text content: ✅ Identical - -### classic131_number_formats - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9849 -- **Overall Score:** 0.994 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3426 bytes, Reference=77127 bytes - -Text content: ✅ Identical - -### classic132_striped_table - -- **Text Similarity:** 0.9984 -- **Visual Average:** 0.9571 -- **Overall Score:** 0.9822 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=18534 bytes, Reference=84504 bytes - -
Text Diff - -```diff ---- minipdf/classic132_striped_table.pdf -+++ reference/classic132_striped_table.pdf -@@ -8,4 +8,4 @@ - Product 7 Sports 399.94 4.5 - - Product 8 Sports 281.79 2.5 - - Product 9 Sports 445.84 1.8 - --Product 10 Electronics 276.34 3.4 -+Product 10Electronics 276.34 3.4 -``` -
- -### classic133_gradient_rows - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9716 -- **Overall Score:** 0.9886 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4093 bytes, Reference=75810 bytes - -Text content: ✅ Identical - -### classic134_heatmap - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9409 -- **Overall Score:** 0.9764 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7526 bytes, Reference=78105 bytes - -Text content: ✅ Identical - -### classic135_bottom_border_only - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9882 -- **Overall Score:** 0.9953 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1898 bytes, Reference=58955 bytes - -Text content: ✅ Identical - -### classic136_financial_report_styled - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9575 -- **Overall Score:** 0.983 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10262 bytes, Reference=100226 bytes - -Text content: ✅ Identical - -### classic137_checkerboard - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9557 -- **Overall Score:** 0.9823 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9310 bytes, Reference=31191 bytes - -Text content: ✅ Identical - -### classic138_color_grid - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9683 -- **Overall Score:** 0.9873 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2542 bytes, Reference=45006 bytes - -Text content: ✅ Identical - -### classic139_pattern_fills - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9589 -- **Overall Score:** 0.9836 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3609 bytes, Reference=80842 bytes - -Text content: ✅ Identical - -### classic140_rotated_text - -- **Text Similarity:** 0.9583 -- **Visual Average:** 0.991 -- **Overall Score:** 0.9797 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2702 bytes, Reference=68994 bytes - -
Text Diff - -```diff ---- minipdf/classic140_rotated_text.pdf -+++ reference/classic140_rotated_text.pdf -@@ -1,12 +1,22 @@ - Rotation Text - - 0 Rotated - --15 Rotated - --30 Rotated - --45 Rotated - --60 Rotated - --90 Rotated - --105 Rotated - --120 Rotated - --135 Rotated - --150 Rotated - --180 Rotated -+15 - -+Rotated - -+30 - -+Rotated - -+45 - -+Rotated - -+60 - -+Rotated - -+90 - -+Rotated - -+Rotated - -+105 - -+Rotated - -+120 - -+Rotated - -+135 - -+Rotated - -+150 - -+Rotated - -+180 -``` -
- -### classic141_mixed_edge_borders - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9853 -- **Overall Score:** 0.9941 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3046 bytes, Reference=66621 bytes - -Text content: ✅ Identical - -### classic142_styled_invoice - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9421 -- **Overall Score:** 0.9768 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=12189 bytes, Reference=105680 bytes - -Text content: ✅ Identical - -### classic143_colored_tabs - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9961 -- **Overall Score:** 0.9984 -- **Pages:** MiniPdf=4, Reference=4 -- **File Size:** MiniPdf=3479 bytes, Reference=74632 bytes - -Text content: ✅ Identical - -### classic144_note_style_cells - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9658 -- **Overall Score:** 0.9863 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3746 bytes, Reference=94925 bytes - -Text content: ✅ Identical - -### classic145_status_badges - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9501 -- **Overall Score:** 0.98 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13576 bytes, Reference=89140 bytes - -Text content: ✅ Identical - -### classic146_double_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9678 -- **Overall Score:** 0.9871 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8546 bytes, Reference=77024 bytes - -Text content: ✅ Identical - -### classic147_multi_sheet_styled - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9748 -- **Overall Score:** 0.9899 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=18627 bytes, Reference=97561 bytes - -Text content: ✅ Identical - -### classic148_frozen_styled_grid - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.8586 -- **Overall Score:** 0.9434 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=51253 bytes, Reference=90882 bytes - -Text content: ✅ Identical - -### classic149_merged_styled_sections - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9251 -- **Overall Score:** 0.97 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13282 bytes, Reference=93062 bytes - -Text content: ✅ Identical - -### classic150_kitchen_sink_styles - -- **Text Similarity:** 0.9839 -- **Visual Average:** 0.9506 -- **Overall Score:** 0.9738 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4522 bytes, Reference=121318 bytes - -
Text Diff - -```diff ---- minipdf/classic150_kitchen_sink_styles.pdf -+++ reference/classic150_kitchen_sink_styles.pdf -@@ -10,5 +10,4 @@ - This text wraps in the cell nicely - - Wrap + Center Multi-line - - Pattern Fill Gray pattern Hatched - --Large Font Size 24 - --BIG -+Large Font BIG Size 24 -``` -
- -### classic151_multilingual_greetings - -- **Text Similarity:** 0.9291 -- **Visual Average:** 0.9851 -- **Overall Score:** 0.9657 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4542507 bytes, Reference=108265 bytes - -
Text Diff - -```diff ---- minipdf/classic151_multilingual_greetings.pdf -+++ reference/classic151_multilingual_greetings.pdf -@@ -5,9 +5,9 @@ - Korean 안녕하세요 감사합니다 - - Thai สวัสดี ขอบคุณ - - Hindi नमस्ते धन्यवाद - --Arabic ﺎﺒﺣﺮﻣ ﺍﺮﻜﺷ - --Hebrew םולש הדות - --Greek Γεια σου Ευχαριστ ώ - -+Arabicمرحبا شكرا - -+Hebrewשלום תודה - -+Greek Γεια σου Ευχαριστώ - - Russian Привет Спасибо - --Vietnamese Xin chào C ả m ơ n - --Turkish Merhaba Te ş ekkürler -+Vietnamese Xin chào Cảm ơn - -+Turkish Merhaba Teşekkürler -``` -
- -### classic152_emoji_sampler - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9869 -- **Overall Score:** 0.9948 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=165578 bytes, Reference=105280 bytes - -Text content: ✅ Identical - -### classic153_currency_symbols - -- **Text Similarity:** 0.9918 -- **Visual Average:** 0.9869 -- **Overall Score:** 0.9915 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=328402 bytes, Reference=66698 bytes - -
Text Diff - -```diff ---- minipdf/classic153_currency_symbols.pdf -+++ reference/classic153_currency_symbols.pdf -@@ -5,9 +5,9 @@ - Japanese Yen ¥ ¥123,456 - - Chinese Yuan ¥ ¥1,234.56 - - Korean Won ₩ ₩1,234,560 - --Indian Rupee ₹ ₹ 1,23,456 - --Thai Baht ฿ ฿ 1,234.56 - --Russian Ruble ₽ ₽ 1 234,56 - --Turkish Lira ₺ ₺ 1.234,56 - --Bitcoin ₿ ₿ 0.05 - -+Indian Rupee ₹ ₹1,23,456 - -+Thai Baht ฿ ฿1,234.56 - -+Russian Ruble ₽ ₽1 234,56 - -+Turkish Lira ₺ ₺1.234,56 - -+Bitcoin ₿ ₿0.05 - - Swiss Franc CHF CHF 1'234.56 -``` -
- -### classic154_math_symbols - -- **Text Similarity:** 0.9881 -- **Visual Average:** 0.9898 -- **Overall Score:** 0.9912 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1215783 bytes, Reference=85712 bytes - -
Text Diff - -```diff ---- minipdf/classic154_math_symbols.pdf -+++ reference/classic154_math_symbols.pdf -@@ -6,5 +6,5 @@ - Calculus ∫ ∬ ∮ ∂ ∇ ∑ ∏ √ - - Arrows → ← ↑ ↓ ↔ ⇒ ⇐ ⇔ - - Misc ∞ ℏ ℝ ℤ ℚ ℕ ℂ - --Superscripts x² y³ a ⁿ e ⁱ - --Subscripts H ₂ O CO ₂ x ₙ a ᵢ -+Superscripts x² y³ aⁿ eⁱ - -+Subscripts H₂O CO₂ x ₙ aᵢ -``` -
- -### classic155_diacritical_marks - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9922 -- **Overall Score:** 0.9969 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4325726 bytes, Reference=63383 bytes - -Text content: ✅ Identical - -### classic156_rtl_bidi_text - -- **Text Similarity:** 0.5912 -- **Visual Average:** 0.995 -- **Overall Score:** 0.8345 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=329179 bytes, Reference=47337 bytes - -
Text Diff - -```diff ---- minipdf/classic156_rtl_bidi_text.pdf -+++ reference/classic156_rtl_bidi_text.pdf -@@ -1,5 +1,5 @@ - Script Text - --Arabic ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺎﺑ - --Hebrew םולש םלוע - --Persian ﻡﻼﺳ ﺍیﻥﺩ - --Urdu ﻮﻟیہ ﺍیﻥﺩ -+Arabicمرحبا بالعالم - -+Hebrewשלום עולם - -+Persianسالم دنیا - -+Urduہیلو دنیا -``` -
- -### classic157_cjk_extended - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9775 -- **Overall Score:** 0.991 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=368634 bytes, Reference=118155 bytes - -Text content: ✅ Identical - -### classic158_emoji_skin_tones - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9791 -- **Overall Score:** 0.9916 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=298065 bytes, Reference=99585 bytes - -Text content: ✅ Identical - -### classic159_zwj_emoji - -- **Text Similarity:** 0.9372 -- **Visual Average:** 0.9886 -- **Overall Score:** 0.9703 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=362013 bytes, Reference=106035 bytes - -
Text Diff - -```diff ---- minipdf/classic159_zwj_emoji.pdf -+++ reference/classic159_zwj_emoji.pdf -@@ -1,10 +1,10 @@ - Description Emoji - --Family 👨 ‍ 👩 ‍ 👧 ‍ 👦 - --Couple with heart 👩 ‍ ❤️ ‍ 👨 - --Woman technologist 👩 ‍ 💻 - --Man cook 👨 ‍ 🍳 - --Rainbow flag 🏳️ ‍ 🌈 - --Trans flag 🏳️ ‍ ⚧️ - --Firefighter 🧑 ‍ 🚒 - --Health worker 🧑 ‍ ⚕️ - --Service dog 🐕 ‍ 🦺 -+Family 👨‍👩‍👧‍👦 - -+Couple with heart 👩‍❤️‍👨 - -+Woman technologist 👩‍💻 - -+Man cook 👨‍🍳 - -+Rainbow flag 🏳️‍🌈 - -+Trans flag 🏳️‍⚧️ - -+Firefighter 🧑‍🚒 - -+Health worker 🧑‍⚕️ - -+Service dog 🐕‍🦺 -``` -
- -### classic160_punctuation_marks - -- **Text Similarity:** 0.9915 -- **Visual Average:** 0.9936 -- **Overall Score:** 0.994 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=581270 bytes, Reference=110515 bytes - -
Text Diff - -```diff ---- minipdf/classic160_punctuation_marks.pdf -+++ reference/classic160_punctuation_marks.pdf -@@ -1,7 +1,7 @@ - Type Characters - - Latin . , ; : ! ? … — – ' ' « » - - CJK 。、;:!?「」『』【】() - --Arabic ، ؛٪ ؟ ﷽ - -+Arabic ، ؛ ؟ ٪ ﷽ - - Devanagari । ॥ ꣸ ꣹ ꣺ - - Thai ฯ ๆ ๏ ๚ ๛ - - Misc brackets ⟨⟩ ⟪⟫ ⌈⌉ ⌊⌋ ‖ - -``` -
- -### classic161_box_drawing - -- **Text Similarity:** 0.9976 -- **Visual Average:** 0.9867 -- **Overall Score:** 0.9937 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=330036 bytes, Reference=94886 bytes - -
Text Diff - -```diff ---- minipdf/classic161_box_drawing.pdf -+++ reference/classic161_box_drawing.pdf -@@ -2,6 +2,6 @@ - Light box ┌──┬──┐│ │ │├──┼──┤└──┴──┘ - - Heavy box ┏━━┳━━┓┃ ┃ ┃┣━━╋━━┫┗━━┻━━┛ - - Double box ╔══╦══╗║ ║ ║╠══╬══╣╚══╩══╝ - --Blocks ▀ ▁▂▃ ▄ ▅▆▇ █ ░▒▓ - -+Blocks ▀ ▁ ▂▃ ▄ ▅▆▇ █ ░▒▓ - - Geometric ■□▪▫▲ △ ▼ ▽◆◇ ○● ◎ - - Braille ⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊ -``` -
- -### classic162_cjk_emoji_styled - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9872 -- **Overall Score:** 0.9949 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=299740 bytes, Reference=133693 bytes - -Text content: ✅ Identical - -### classic163_cyrillic_alphabets - -- **Text Similarity:** 0.9398 -- **Visual Average:** 0.9834 -- **Overall Score:** 0.9693 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3911706 bytes, Reference=56100 bytes - -
Text Diff - -```diff ---- minipdf/classic163_cyrillic_alphabets.pdf -+++ reference/classic163_cyrillic_alphabets.pdf -@@ -1,6 +1,6 @@ - Language Sample Text - --Russian Съешь ещё этих мягких французских булок , да вып - --Ukrainian Жебракують ф і лософи при ґ анку церкви в Гадяч і . - --Serbian Ђ ура ђ Бранкови ћ ј е био владар Срби ј е . - --Bulgarian Щъркел яде бялата жаба . - --Mongolian Би монгол хэл дээр бичиж байна . -+Russian Съешь ещё этих мягких французских булок, да выпей чаю. - -+Ukrainian Жебракують філософи при ґанку церкви в Гадячі. - -+Serbian Ђурађ Бранковић је био владар Србије. - -+Bulgarian Щъркел яде бялата жаба. - -+Mongolian Би монгол хэл дээр бичиж байна. -``` -
- -### classic164_indic_scripts - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9903 -- **Overall Score:** 0.9961 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=146373 bytes, Reference=53352 bytes - -Text content: ✅ Identical - -### classic165_southeast_asian - -- **Text Similarity:** 0.9672 -- **Visual Average:** 0.8185 -- **Overall Score:** 0.9143 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=147442 bytes, Reference=94767 bytes - -
Text Diff - -```diff ---- minipdf/classic165_southeast_asian.pdf -+++ reference/classic165_southeast_asian.pdf -@@ -1,6 +1,7 @@ - Script Sample - - Thai ภาษาไทยเป็นภาษาที่มีวรรณยุกต์ - --Lao ພາສາລາວເປັນພາສາທີ່ສວຍງາມ - --Myanmar မြန်မာဘာသာစကားသည် လှပသည် - -+ີ່ - -+Lao ພາສາລາວເປັນພາສາທ ສວຍງາມ - -+Myanmar မြန်ြာဘာသာစကာားသည် လှပသည် - - Khmer ភាសាខ្មែរជាភាសាចំណាស់ - --Tibetan བོད་ཀྱི་སྐད་ཡིག་ནི་གལ་ཆེན་པོ་ཡིན། -+Tibetan བོད་ཀྱི་སྐད་ཡྱིག་ནྱི་གལ་ཆེན་པོ་ཡྱིན། -``` -
- -### classic166_emoji_progress - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9761 -- **Overall Score:** 0.9904 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=295550 bytes, Reference=101519 bytes - -Text content: ✅ Identical - -### classic167_musical_symbols - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9843 -- **Overall Score:** 0.9937 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=638695 bytes, Reference=107225 bytes - -Text content: ✅ Identical - -### classic168_mixed_ltr_rtl_styled - -- **Text Similarity:** 0.8621 -- **Visual Average:** 0.9732 -- **Overall Score:** 0.9341 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=319318 bytes, Reference=83592 bytes - -
Text Diff - -```diff ---- minipdf/classic168_mixed_ltr_rtl_styled.pdf -+++ reference/classic168_mixed_ltr_rtl_styled.pdf -@@ -1,5 +1,5 @@ - Code Name Price - --EN-001 Programming Book$29.99 - -+EN-001 Programming Book $29.99 - - FR-002 Livre de code €25.00 - --AR-003 ﺔﺠﻣﺮﺑ ﺏﺎﺘﻛ 50 SAR - --HE-004 דוק רפס₪120 -+AR-003كتاب برمجة50 SAR - -+HE-004ספר קוד₪120 -``` -
- -### classic169_korean_invoice - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9839 -- **Overall Score:** 0.9936 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=370044 bytes, Reference=118888 bytes - -Text content: ✅ Identical - -### classic170_emoji_dashboard - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9778 -- **Overall Score:** 0.9911 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=150954 bytes, Reference=137376 bytes - -Text content: ✅ Identical - -### classic171_ipa_phonetic - -- **Text Similarity:** 0.9703 -- **Visual Average:** 0.9911 -- **Overall Score:** 0.9846 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4095258 bytes, Reference=76615 bytes - -
Text Diff - -```diff ---- minipdf/classic171_ipa_phonetic.pdf -+++ reference/classic171_ipa_phonetic.pdf -@@ -5,4 +5,4 @@ - Vowels i y ɨ ʉ ɯ u e ø ɘ ɵ ɤ o ɛ œ ɜ ɞ ʌ ɔ æ a ɶ ɑ ɒ - - Tones ˥ ˦ ˧ ˨ ˩ ˥˩ ˩˥ - - Diacritics ʰ ʷ ʲ ˠ ˤ ⁿ ˡ - --Example word / ˌ ɪ nt əˈ næ ʃ ə n ə l/ (international) -+Example word /ˌɪntəˈnæʃənəl/ (international) -``` -
- -### classic172_emoji_timeline - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9849 -- **Overall Score:** 0.994 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=153787 bytes, Reference=117160 bytes - -Text content: ✅ Identical - -### classic173_african_languages - -- **Text Similarity:** 0.9783 -- **Visual Average:** 0.9847 -- **Overall Score:** 0.9852 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=328234 bytes, Reference=64361 bytes - -
Text Diff - -```diff ---- minipdf/classic173_african_languages.pdf -+++ reference/classic173_african_languages.pdf -@@ -1,8 +1,8 @@ - Language Greeting Region - - Swahili Habari! Karibu sana. East Africa - --Amharic ሰላም! እንኳን ደህና መጣህ. Ethiopia - --Yoruba Ẹ kú àár ọ̀ ! Ẹ kú al ẹ́ ! Nigeria - -+Amharic ሰላም ! እንኳን ደህና መጣህ . Ethiopia - -+Yoruba Ẹ kú àárọ̀! Ẹ kú alẹ́! Nigeria - - Zulu Sawubona! Unjani? South Africa - - Hausa Sannu! Barka da zuwa. West Africa - --Igbo Nn ọọ ! Ked ụ ? Nigeria - --Tigrinya ሰላም! ከመይ ኣለኻ? Eritrea -+Igbo Nnọọ! Kedụ? Nigeria - -+Tigrinya ሰላም ! ከመይ ኣለኻ ? Eritrea -``` -
- -### classic174_technical_symbols - -- **Text Similarity:** 0.9971 -- **Visual Average:** 0.9848 -- **Overall Score:** 0.9928 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=870257 bytes, Reference=81967 bytes - -
Text Diff - -```diff ---- minipdf/classic174_technical_symbols.pdf -+++ reference/classic174_technical_symbols.pdf -@@ -6,4 +6,4 @@ - Temp 100°C = 212°F = 373.15 K - - Copyright © 2025 Company™ — All Rights Reserved® - - Fractions ½ ⅓ ¼ ⅕ ⅙ ⅛ ⅔ ¾ ⅘ - --Roman nums Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ -+Roman nums Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅺ -``` -
- -### classic175_multiscript_catalog - -- **Text Similarity:** 0.9686 -- **Visual Average:** 0.9774 -- **Overall Score:** 0.9784 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4175241 bytes, Reference=191190 bytes - -
Text Diff - -```diff ---- minipdf/classic175_multiscript_catalog.pdf -+++ reference/classic175_multiscript_catalog.pdf -@@ -1,9 +1,9 @@ - # Product (EN) Product (Local) Price Icon - - 1 Green Tea 緑茶 ¥500 🍵 - - 2 Kimchi 김치 ₩3,000 🥬 - --3 Samosa समोसा ₹ 50 🥟 - -+3 Samosa समोसा ₹50 🥟 - - 4 Croissant Croissant €2.50 🥐 - - 5 Taco Taco $3.99 🌮 - --6 Borscht Борщ ₽ 250 🍲 - --7 Falafel ﻞﻓﻼﻓ ₪15 🧆 - --8 Pad Thai ผัดไทย ฿ 80 🍜 -+6 Borscht Борщ ₽250 🍲 - -+7 Falafelفالفل₪15 🧆 - -+8 Pad Thai ผัดไทย ฿80 🍜 -``` -
- -### classic176_combining_characters - -- **Text Similarity:** 0.9469 -- **Visual Average:** 0.9886 -- **Overall Score:** 0.9742 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=541775 bytes, Reference=68236 bytes - -
Text Diff - -```diff ---- minipdf/classic176_combining_characters.pdf -+++ reference/classic176_combining_characters.pdf -@@ -1,7 +1,7 @@ - Type Examples - --Single combining é = e + ́ ñ = n + - --Double combining ệ = e + ̣ + - -+Single combining é = e + ́ ñ = n + ̃ - -+Double combining ệ = e + ̣ + ̂ - - Vietnamese ắ ằ ẵ ẳ ặ ố ồ ỗ ổ ộ ứ ừ ữ ử ự - --Zalgo-like H e ̵̖̘ ̷̝̣ l l ̶̤ o ̴̥ - --Precomposed vs decomposed ü (precomposed) vs u (decomposed) ̈ - -+Zalgo-like H ̵̖̘e ̣l ̶̤l ̴̥o ̸̮ - -+Precomposed vs decomposed ü (precomposed) vs ü (decomposed) - - Hangul Jamo ㅎ ㅏ ㄴ ㄱ ㅡ ㄹ → 한글 -``` -
- -### classic177_emoji_calendar - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9864 -- **Overall Score:** 0.9946 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=157580 bytes, Reference=107156 bytes - -Text content: ✅ Identical - -### classic178_caucasus_ethiopic - -- **Text Similarity:** 0.9936 -- **Visual Average:** 0.9887 -- **Overall Score:** 0.9929 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=337227 bytes, Reference=58144 bytes - -
Text Diff - -```diff ---- minipdf/classic178_caucasus_ethiopic.pdf -+++ reference/classic178_caucasus_ethiopic.pdf -@@ -1,6 +1,6 @@ - Script Sample Text - --Georgian საქართველო არის ძველი ცივილიზაცია . - --Armenian Հայաստանը հին քաղաքակրթություն ունի . - -+Georgian საქართველო არის ძველი ცივილიზაცია. - -+Armenian Հայաստանը հին քաղաքակրթություն ունի. - - Ethiopic ኢትዮጵያ የጥንታዊ ሥልጣኔ ምድር ናት። - --Georgian mkhedr ა ბ გ დ ე ვ ზ თ ი კ ლ მ ნ ო პ - -+Georgian mkhedrა ბ გ დ ე ვ ზ თ ი კ ლ მ ნ ო პ - - Armenian alphab Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ -``` -
- -### classic179_emoji_inventory - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9782 -- **Overall Score:** 0.9913 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=301317 bytes, Reference=138581 bytes - -Text content: ✅ Identical - -### classic180_polyglot_paragraph - -- **Text Similarity:** 0.9772 -- **Visual Average:** 0.9884 -- **Overall Score:** 0.9862 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4229552 bytes, Reference=153951 bytes - -
Text Diff - -```diff ---- minipdf/classic180_polyglot_paragraph.pdf -+++ reference/classic180_polyglot_paragraph.pdf -@@ -2,8 +2,8 @@ - English The quick brown fox. - - Japanese 速い茶色の狐。 - - Korean 빠른 갈색 여우 . - --Russian Быстрая бурая лиса . - --Greek Η γρ ή γορη αλεπο ύ . - --Thai สุนัขจิ้งจอกสีน้ำตาล - --Hindi तेज़ भूरी लोमड़ी - -+Russian Быстрая бурая лиса. - -+Greek Η γρήγορη αλεπού. - -+Thai สุนัขจิ้งจอกสีน ้ำตำล - -+Hindi तेज़ भूरी लोमडी - - Emoji 🦊 ➡️ 🐕 -``` -
- -### classic181_feedback_tracker_with_images - -- **Text Similarity:** 0.9865 -- **Visual Average:** 0.9574 -- **Overall Score:** 0.9776 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=12691 bytes, Reference=93919 bytes - -
Text Diff - -```diff ---- minipdf/classic181_feedback_tracker_with_images.pdf -+++ reference/classic181_feedback_tracker_with_images.pdf -@@ -6,6 +6,7 @@ - 2026-03-03 Eve Wrong checklist used for application - - 2026-03-03 Frank Name and contact details missing on cover letter - - 2026-03-04 Grace Unable to scroll and read the privacy policy - --2026-03-04 Hank Applicant has three children, only one birth cert uploaded - -+2026-03-04 Hank Applicant has three children, only one birth cert up - - ---PAGE--- - --Screenshot -+Screenshot - -+ploaded -``` -
- -### classic182_dense_long_text_columns - -- **Text Similarity:** 0.9302 -- **Visual Average:** 0.9742 -- **Overall Score:** 0.9618 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=7154 bytes, Reference=105199 bytes - -
Text Diff - -```diff ---- minipdf/classic182_dense_long_text_columns.pdf -+++ reference/classic182_dense_long_text_columns.pdf -@@ -1,19 +1,19 @@ - ID First Name Last Name Department Position Title - - 1001 Alexander Papadopoulos Engineering Senior Software Engineer - --1002 Magdalena Kowalczyk Human ResourceHR Business Partner Lead - -+1002 Magdalena Kowalczyk Human Resource HR Business Partner Lead - - 1003 Christopher O'Sullivan Finance Chief Financial Analyst - --1004 Priyanka RamasubramaMarketing Digital Marketing Strategist - --1005 Jean-Pierre Beaumont Sales Regional Sales Director (EMEA) - -+1004 Priyanka Ramasubrama Marketing Digital Marketing Strategist - -+1005 Jean-Pierre Beaumont Sales Regional Sales Director (EM - - 1006 Anastasia Volkov Engineering Principal Data Scientist - --1007 Mohammed Al-Rashidi Operations Supply Chain Optimization Manager - -+1007 Mohammed Al-Rashidi Operations Supply Chain Optimization - - 1008 Guadalupe Hernandez Legal Senior Corporate Counsel - - ---PAGE--- - - Email Address Phone Notes - --alexander.papadopoulos@example. +1-555-0101 Transferred from Athens office in Q2 - --magdalena.kowalczyk@example.co +1-555-0102 Fluent in Polish, German, and English - --christopher.osullivan@example.com +1-555-0103 CPA certified, MBA from Wharton - -+alexander.papadopoulos@example+1-555-0101 Transferred from Athens office in Q2 - -+magdalena.kowalczyk@example.co+1-555-0102 Fluent in Polish, German, and English - -+christopher.osullivan@example.co +1-555-0103 CPA certified, MBA from Wharton - - priyanka.r@example.com +1-555-0104 Led rebranding campaign for APAC region - --jean-pierre.beaumont@example.co +1-555-0105 15+ years experience in B2B SaaS - -+jean-pierre.beaumont@example.co+1-555-0105 15+ years experience in B2B SaaS - - anastasia.volkov@example.com +1-555-0106 PhD in Machine Learning, Stanford - --mohammed.alrashidi@example.co +1-555-0107 Six Sigma Black Belt certified - --guadalupe.hernandez@example.co +1-555-0108 Bar admitted in CA, NY, TX -+mohammed.alrashidi@example.co+1-555-0107 Six Sigma Black Belt certified - -+guadalupe.hernandez@example.co+1-555-0108 Bar admitted in CA, NY, TX -``` -
- -### classic183_mixed_content_grid - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.961 -- **Overall Score:** 0.9844 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5985 bytes, Reference=79725 bytes - -Text content: ✅ Identical - -### classic184_wide_narrow_columns - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9453 -- **Overall Score:** 0.9781 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=16134 bytes, Reference=102871 bytes - -Text content: ✅ Identical - -### classic185_tall_rows_vertical_align - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9817 -- **Overall Score:** 0.9927 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2496 bytes, Reference=72408 bytes - -Text content: ✅ Identical - -### classic186_multi_sheet_image_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9734 -- **Overall Score:** 0.9894 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=8140 bytes, Reference=92322 bytes - -Text content: ✅ Identical - -### classic187_bug_report_with_screenshots - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9306 -- **Overall Score:** 0.9722 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8414 bytes, Reference=94413 bytes - -Text content: ✅ Identical - -### classic188_merged_header_with_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9723 -- **Overall Score:** 0.9889 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8078 bytes, Reference=81139 bytes - -Text content: ✅ Identical - -### classic189_alternating_image_text_rows - -- **Text Similarity:** 0.9713 -- **Visual Average:** 0.9222 -- **Overall Score:** 0.9574 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10000 bytes, Reference=93481 bytes - -
Text Diff - -```diff ---- minipdf/classic189_alternating_image_text_rows.pdf -+++ reference/classic189_alternating_image_text_rows.pdf -@@ -1,7 +1,7 @@ - Step Action Expected Result Evidence - - Step 1 Open login page Login form is displayed with e See below - --Step 2 Enter valid credentials Dashboard loads within 3 seco See below - --Step 3 Click export button CSV file downloads with all visi See below - --Step 4 Apply date filter Table updates to show only m See below - -+Step 2 Enter valid credentials Dashboard loads within 3 secoSee below - -+Step 3 Click export button CSV file downloads with all visSee below - -+Step 4 Apply date filter Table updates to show only mSee below - - Step 5 Resize browser window Layout remains responsive at See below - --Step 6 Toggle dark mode All components switch to dark t See below -+Step 6 Toggle dark mode All components switch to darkSee below -``` -
- -### classic190_dashboard_kpi_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9637 -- **Overall Score:** 0.9855 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7177 bytes, Reference=96601 bytes - -Text content: ✅ Identical - -### classic191_payroll_calculator - -- **Text Similarity:** 0.8377 -- **Visual Average:** 0.8429 -- **Overall Score:** 0.8722 -- **Pages:** MiniPdf=9, Reference=9 -- **File Size:** MiniPdf=114658 bytes, Reference=189742 bytes - -
Text Diff - -```diff ---- minipdf/classic191_payroll_calculator.pdf -+++ reference/classic191_payroll_calculator.pdf -@@ -1,64 +1,66 @@ - Employee Register - - Information contained in this employee register is highly confidential - --ID Employee's Name M/F Hire Date Occupation - --1 Adam Jones M 2013-02-15 Senior Accountant - --2 Nichola Brown F 2011-09-28 CR Manager - --3 Benny Erwin M 2011-05-11 Applications PM - --4 Rachel Kim F 2016-08-03 HR Specialist - --5 Carlos Ruiz M 2019-11-20 Sales Rep - -+ID Employee's Name M/F Hire Date - -+1 Adam Jones M 2013-02-15 - -+2 Nichola Brown F 2011-09-28 - -+3 Benny Erwin M 2011-05-11 - -+4 Rachel Kim F 2016-08-03 - -+5 Carlos Ruiz M 2019-11-20 - - ---PAGE--- - - Regular Hourly Overtime Hourly Exempt from - --Annual Salary ($) Pay Frequency W-4 Form - -+Occupation Annual Salary ($) - - Rate ($) Rate ($) Overtime - --42,000.00 20.19 30.29 Yes Monthly W-4 (2020+) - --54,481.00 26.19 39.29 Yes Monthly W-4 (2020+) - --48,785.00 23.45 35.18 No Monthly W-4 (pre-2020) - --39,500.00 19.00 28.50 Yes Bi-Weekly W-4 (2020+) - --51,200.00 24.62 36.92 No Monthly W-4 (2020+) - -+Senior Accountant 42,000.00 20.19 30.29 Yes - -+CR Manager 54,481.00 26.19 39.29 Yes - -+Applications PM 48,785.00 23.45 35.18 No - -+HR Specialist 39,500.00 19.00 28.50 Yes - -+Sales Rep 51,200.00 24.62 36.92 No - - ---PAGE--- - --Additional Withhold - --Filing Status Federal Allowance - --($) - --Exempt 2 50.00 - --Married 4 0.00 - --Married 4 0.00 - --Single 1 25.00 - --Single 0 0.00 - -+Additional - -+Pay Frequency W-4 Form Filing Status Federal Allowance - -+Withhold ($) - -+Monthly W-4 (2020+) Exempt 2 50.00 - -+Monthly W-4 (2020+) Married 4 0.00 - -+Monthly W-4 (pre-2020) Married 4 0.00 - -+Bi-Weekly W-4 (2020+) Single 1 25.00 - -+Monthly W-4 (2020+) Single 0 0.00 - - ---PAGE--- - - Payroll Calculator - --Pay Period Hours - --ID Employee Name From To Regular Hours Holiday Hours - --1 Adam Jones 2020-12-01 2020-12-31 173.33 0.00 - --2 Nichola Brown 2020-12-01 2020-12-31 173.33 0.00 - --3 Benny Erwin 2020-12-01 2020-12-31 173.33 0.00 - --4 Rachel Kim 2020-12-01 2020-12-31 80.00 8.00 - --5 Carlos Ruiz 2020-12-01 2020-12-31 173.33 0.00 - -+Pay Period - -+ID Employee Name From To Regular Hours - -+1 Adam Jones 2020-12-01 2020-12-31 173.33 - -+2 Nichola Brown 2020-12-01 2020-12-31 173.33 - -+3 Benny Erwin 2020-12-01 2020-12-31 173.33 - -+4 Rachel Kim 2020-12-01 2020-12-31 80.00 - -+5 Carlos Ruiz 2020-12-01 2020-12-31 173.33 - - ---PAGE--- - --Taxable Pre-Tax Deduction Post-Tax - --Vacation Hours Sick Hours Overtime Hours - --Compensation s Reimbursements - --0.00 0.00 0.00 500.00 0.00 500.00 - -+Hours - -+Taxable Pre-Tax - -+Holiday Hours Vacation Hours Sick Hours Overtime Hours - -+Compensation Deductions - -+0.00 0.00 0.00 0.00 500.00 0.00 - - 0.00 0.00 0.00 0.00 0.00 0.00 - --0.00 0.00 8.00 0.00 0.00 0.00 - --0.00 0.00 0.00 0.00 0.00 0.00 - --16.00 0.00 4.00 200.00 0.00 200.00 - -+0.00 0.00 0.00 8.00 0.00 0.00 - -+8.00 0.00 0.00 0.00 0.00 0.00 - -+0.00 16.00 0.00 4.00 200.00 0.00 - - ---PAGE--- - --Pre-Tax Adjustments Withholdings - --Tax Deferral Plan - --Gross Pay Health Insurance Other Federal Tax State Tax - --(401k) - --3,999 -... (741 more characters) - -``` -
- -## Improvement Suggestions - -### ⚠ Low-Score Test Cases (below 0.8) - -1. **classic116_percent_stacked_area** (score: 0.5987) -1. **classic108_stacked_area_chart** (score: 0.6118) -1. **classic09_long_text** (score: 0.6292) -1. **classic18_large_dataset** (score: 0.6536) -1. **classic60_large_wide_table** (score: 0.6813) -1. **classic12_sparse_columns** (score: 0.699) -1. **classic112_multiple_charts** (score: 0.7646) -1. **classic105_3d_bar_chart** (score: 0.7708) -1. **classic92_horizontal_bar_chart** (score: 0.7722) -1. **classic113_chart_sheet** (score: 0.7899) -1. **classic104_combo_bar_line_chart** (score: 0.7916) -1. **classic109_scatter_with_trendline** (score: 0.792) -1. **classic103_pie_chart_with_labels** (score: 0.796) -1. **classic117_stock_ohlc_chart** (score: 0.7994) - -Review the text diffs and visual comparisons above to identify specific rendering issues. diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p10_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p10_minipdf.png deleted file mode 100644 index 2fb6f791..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p10_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p11_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p11_minipdf.png deleted file mode 100644 index 31d13bd1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p11_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p12_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p12_minipdf.png deleted file mode 100644 index 49e737ab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p12_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p13_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p13_minipdf.png deleted file mode 100644 index 6b566b98..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p13_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p14_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p14_minipdf.png deleted file mode 100644 index 49e737ab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p14_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p15_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p15_minipdf.png deleted file mode 100644 index 2fb6f791..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p15_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p16_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p16_minipdf.png deleted file mode 100644 index 49e737ab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p16_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_minipdf.png deleted file mode 100644 index 369b33c9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_reference.png deleted file mode 100644 index 6ab97c8d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_minipdf.png deleted file mode 100644 index 4d95ea67..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_reference.png deleted file mode 100644 index 2b74c1c4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_minipdf.png deleted file mode 100644 index 228441b7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_reference.png deleted file mode 100644 index afcbe979..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_minipdf.png deleted file mode 100644 index 95efd265..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_reference.png deleted file mode 100644 index 87a55732..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_minipdf.png deleted file mode 100644 index 113509da..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_reference.png deleted file mode 100644 index 1c23f5b7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_minipdf.png deleted file mode 100644 index 866a9603..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_reference.png deleted file mode 100644 index 8e06b9c8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_minipdf.png deleted file mode 100644 index a001d102..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_reference.png deleted file mode 100644 index 6cc8a0aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_minipdf.png deleted file mode 100644 index e88cf96a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_reference.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_reference.png deleted file mode 100644 index 74237e4f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p8_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p9_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p9_minipdf.png deleted file mode 100644 index 2fb6f791..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/PO_anonymized_p9_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_minipdf.png deleted file mode 100644 index 1efd85bb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_reference.png deleted file mode 100644 index a7914521..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic01_basic_table_with_headers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_minipdf.png deleted file mode 100644 index b2fb9bff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_reference.png deleted file mode 100644 index f88ffaab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_minipdf.png deleted file mode 100644 index b8d8733e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_reference.png deleted file mode 100644 index c33c7154..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_minipdf.png deleted file mode 100644 index 6576fab6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_reference.png deleted file mode 100644 index 372dfbef..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic02_multiple_worksheets_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_reference.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic03_empty_workbook_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_minipdf.png deleted file mode 100644 index a2dd648f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_reference.png deleted file mode 100644 index b3e9a9ff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic04_single_cell_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_minipdf.png deleted file mode 100644 index 57ca000b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_reference.png deleted file mode 100644 index 33ba3d3b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_minipdf.png deleted file mode 100644 index f1ab767e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_reference.png deleted file mode 100644 index 12c7386b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_minipdf.png deleted file mode 100644 index 6b09c7c9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_reference.png deleted file mode 100644 index 990a1f9d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic05_wide_table_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_minipdf.png deleted file mode 100644 index a1179179..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_reference.png deleted file mode 100644 index cd25a4f2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_minipdf.png deleted file mode 100644 index 4f3dd02a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_reference.png deleted file mode 100644 index 12e4ef73..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_minipdf.png deleted file mode 100644 index 64f32fa8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_reference.png deleted file mode 100644 index fba32589..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_minipdf.png deleted file mode 100644 index 37658969..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_reference.png deleted file mode 100644 index f91bb1ce..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_minipdf.png deleted file mode 100644 index 63af70ae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_reference.png deleted file mode 100644 index d8db07f3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic06_tall_table_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_minipdf.png deleted file mode 100644 index e959955b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_reference.png deleted file mode 100644 index 3a9da7e9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic07_numbers_only_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_minipdf.png deleted file mode 100644 index aab85220..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_reference.png deleted file mode 100644 index 26668fff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic08_mixed_text_and_numbers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_reference.png deleted file mode 100644 index 96ea1d5b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p10_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_reference.png deleted file mode 100644 index a2512d15..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p11_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_reference.png deleted file mode 100644 index f74b430e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p12_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_minipdf.png deleted file mode 100644 index 2b27e036..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_reference.png deleted file mode 100644 index 77c98d2a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_reference.png deleted file mode 100644 index 0921b89c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_reference.png deleted file mode 100644 index 877f9e80..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_reference.png deleted file mode 100644 index 6e375687..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_reference.png deleted file mode 100644 index df2ddc25..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_reference.png deleted file mode 100644 index a312767b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_reference.png deleted file mode 100644 index b2a81d6d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_reference.png deleted file mode 100644 index b81754a0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p8_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_reference.png deleted file mode 100644 index 093b4a58..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic09_long_text_p9_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_minipdf.png deleted file mode 100644 index 0b92f11a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_reference.png deleted file mode 100644 index 22b83bca..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic100_stacked_bar_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_minipdf.png deleted file mode 100644 index 9cd2825f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_reference.png deleted file mode 100644 index a5f3d148..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic101_percent_stacked_bar_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_minipdf.png deleted file mode 100644 index b7dfcc1f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_reference.png deleted file mode 100644 index ef9f0bac..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_reference.png deleted file mode 100644 index 6a931837..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic102_line_chart_with_markers_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_minipdf.png deleted file mode 100644 index ae00560f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_reference.png deleted file mode 100644 index b8fd005e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_reference.png deleted file mode 100644 index 2babaf36..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic103_pie_chart_with_labels_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_minipdf.png deleted file mode 100644 index c821e687..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_reference.png deleted file mode 100644 index 8aeb2840..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_reference.png deleted file mode 100644 index 565608d1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic104_combo_bar_line_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_minipdf.png deleted file mode 100644 index 97b9c821..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_reference.png deleted file mode 100644 index 10c602ee..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_reference.png deleted file mode 100644 index 4d05fd2a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic105_3d_bar_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_minipdf.png deleted file mode 100644 index 88fbad78..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_reference.png deleted file mode 100644 index d69e4670..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_reference.png deleted file mode 100644 index e3074408..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic106_3d_pie_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_minipdf.png deleted file mode 100644 index 2155f0b1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_reference.png deleted file mode 100644 index 6f1c3bbd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_reference.png deleted file mode 100644 index 6fab87b9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic107_multi_series_line_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_minipdf.png deleted file mode 100644 index 53787104..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_reference.png deleted file mode 100644 index 6d79cf24..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p2_reference.png deleted file mode 100644 index fbc4cffe..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic108_stacked_area_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_minipdf.png deleted file mode 100644 index c806e64c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_reference.png deleted file mode 100644 index 907b892c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_reference.png deleted file mode 100644 index 9baeff66..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic109_scatter_with_trendline_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_minipdf.png deleted file mode 100644 index 26d5ad0d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_reference.png deleted file mode 100644 index 597c183a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic10_special_xml_characters_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_minipdf.png deleted file mode 100644 index 6f1942a4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_reference.png deleted file mode 100644 index dd879f47..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_reference.png deleted file mode 100644 index 30db6834..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic110_chart_with_legend_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_minipdf.png deleted file mode 100644 index 91c9ae8d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_reference.png deleted file mode 100644 index b5a79e38..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_reference.png deleted file mode 100644 index 7dc1165c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic111_chart_with_axis_labels_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_minipdf.png deleted file mode 100644 index 43bf0738..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_reference.png deleted file mode 100644 index 86974723..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_reference.png deleted file mode 100644 index a60a9376..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic112_multiple_charts_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_minipdf.png deleted file mode 100644 index 2590705e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_reference.png deleted file mode 100644 index 62912f5f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_reference.png deleted file mode 100644 index ae90c067..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic113_chart_sheet_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_minipdf.png deleted file mode 100644 index 9ab6974e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_reference.png deleted file mode 100644 index a3f89b44..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_minipdf.png deleted file mode 100644 index b6af9c04..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_reference.png deleted file mode 100644 index b18c6d2c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_minipdf.png deleted file mode 100644 index 265398d4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_reference.png deleted file mode 100644 index d66cfae9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_reference.png deleted file mode 100644 index 8ea64ad4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic114_chart_large_dataset_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_minipdf.png deleted file mode 100644 index e3a0ce3c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_reference.png deleted file mode 100644 index 88d9590c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_reference.png deleted file mode 100644 index 28e1da1b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic115_chart_negative_values_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_minipdf.png deleted file mode 100644 index 8e23ac98..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_reference.png deleted file mode 100644 index 5f736373..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p2_reference.png deleted file mode 100644 index fbc4cffe..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic116_percent_stacked_area_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_minipdf.png deleted file mode 100644 index f8b7995e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_reference.png deleted file mode 100644 index e1a6ded2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_reference.png deleted file mode 100644 index c38b1149..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic117_stock_ohlc_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_minipdf.png deleted file mode 100644 index a131d0e2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_reference.png deleted file mode 100644 index eccf6549..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_reference.png deleted file mode 100644 index d4f37cc9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic118_bar_chart_custom_colors_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_minipdf.png deleted file mode 100644 index 1034b760..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_reference.png deleted file mode 100644 index d8222da1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_reference.png deleted file mode 100644 index 1282c5a2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic119_dashboard_multi_charts_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_minipdf.png deleted file mode 100644 index 6f59bf58..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_reference.png deleted file mode 100644 index b001f68a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_minipdf.png deleted file mode 100644 index e60b1208..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_reference.png deleted file mode 100644 index 058f4981..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic11_sparse_rows_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_minipdf.png deleted file mode 100644 index 4dadf6ed..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_reference.png deleted file mode 100644 index ae715aa3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_reference.png deleted file mode 100644 index f13d0f3a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic120_chart_with_date_axis_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_minipdf.png deleted file mode 100644 index ecbc3f79..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_reference.png deleted file mode 100644 index 19d42829..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic121_thin_borders_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_minipdf.png deleted file mode 100644 index 2da914f0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_reference.png deleted file mode 100644 index e09a7d8f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic122_thick_outer_thin_inner_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_minipdf.png deleted file mode 100644 index 0971e261..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_reference.png deleted file mode 100644 index e557ceee..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic123_dashed_borders_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_minipdf.png deleted file mode 100644 index 510f562a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_reference.png deleted file mode 100644 index 8dfba586..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic124_colored_borders_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_minipdf.png deleted file mode 100644 index a070a7b6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_reference.png deleted file mode 100644 index 454faeca..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic125_solid_fills_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_minipdf.png deleted file mode 100644 index a781e3e6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_reference.png deleted file mode 100644 index 32b1352f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic126_dark_header_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_minipdf.png deleted file mode 100644 index 14ce2e8a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_reference.png deleted file mode 100644 index dc6dcb34..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic127_font_styles_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_minipdf.png deleted file mode 100644 index 2e913aea..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_reference.png deleted file mode 100644 index 63bf81ec..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic128_font_sizes_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_minipdf.png deleted file mode 100644 index 0d7893df..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_reference.png deleted file mode 100644 index f3eaa026..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic129_alignment_combos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_minipdf.png deleted file mode 100644 index 5ea4b4bf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_reference.png deleted file mode 100644 index 31ae19d6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p2_reference.png deleted file mode 100644 index b3933268..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic12_sparse_columns_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_minipdf.png deleted file mode 100644 index 3f88dd3b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_reference.png deleted file mode 100644 index 64aa908b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic130_wrap_and_indent_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_minipdf.png deleted file mode 100644 index 8205837e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_reference.png deleted file mode 100644 index bc3d255e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic131_number_formats_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_minipdf.png deleted file mode 100644 index cbde3cf1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_reference.png deleted file mode 100644 index 81804c82..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic132_striped_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_minipdf.png deleted file mode 100644 index 06a3a037..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_reference.png deleted file mode 100644 index ea3ef667..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic133_gradient_rows_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_minipdf.png deleted file mode 100644 index f65e358b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_reference.png deleted file mode 100644 index f89be180..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic134_heatmap_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_minipdf.png deleted file mode 100644 index d3ddc739..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_reference.png deleted file mode 100644 index b30731b4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic135_bottom_border_only_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_minipdf.png deleted file mode 100644 index 53a264b4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_reference.png deleted file mode 100644 index f8f21a42..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic136_financial_report_styled_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_minipdf.png deleted file mode 100644 index a1c64099..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_reference.png deleted file mode 100644 index 2304f669..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic137_checkerboard_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_minipdf.png deleted file mode 100644 index 0478938e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_reference.png deleted file mode 100644 index 0c9ba331..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic138_color_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_minipdf.png deleted file mode 100644 index 3240591a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_reference.png deleted file mode 100644 index c66d5b78..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic139_pattern_fills_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_minipdf.png deleted file mode 100644 index 49d54802..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_reference.png deleted file mode 100644 index 51d8719c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic13_date_strings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_minipdf.png deleted file mode 100644 index 4d06b8db..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_reference.png deleted file mode 100644 index 05db8b24..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic140_rotated_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_minipdf.png deleted file mode 100644 index 896252dd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_reference.png deleted file mode 100644 index 4b033154..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic141_mixed_edge_borders_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_minipdf.png deleted file mode 100644 index ecacdb6f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_reference.png deleted file mode 100644 index 3fc5517d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic142_styled_invoice_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_minipdf.png deleted file mode 100644 index 4f01a161..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_reference.png deleted file mode 100644 index f5d88117..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_minipdf.png deleted file mode 100644 index 9b874af4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_reference.png deleted file mode 100644 index dd07196c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_minipdf.png deleted file mode 100644 index c6eca81c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_reference.png deleted file mode 100644 index 27ad76d6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_minipdf.png deleted file mode 100644 index a95b12cd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_reference.png deleted file mode 100644 index a1fd1743..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic143_colored_tabs_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_minipdf.png deleted file mode 100644 index cfd62b5c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_reference.png deleted file mode 100644 index 28cc6bc9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic144_note_style_cells_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_minipdf.png deleted file mode 100644 index 6f0692fa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_reference.png deleted file mode 100644 index 4276744e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic145_status_badges_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_minipdf.png deleted file mode 100644 index 72664efc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_reference.png deleted file mode 100644 index c3ec4fd5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic146_double_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_minipdf.png deleted file mode 100644 index 77666f4c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_reference.png deleted file mode 100644 index 6aa08840..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_minipdf.png deleted file mode 100644 index 7bf27acc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_reference.png deleted file mode 100644 index f6b8b670..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_minipdf.png deleted file mode 100644 index 45a89799..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_reference.png deleted file mode 100644 index 3c1043ea..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic147_multi_sheet_styled_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_minipdf.png deleted file mode 100644 index 1b58e9c8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_reference.png deleted file mode 100644 index 6127fa3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic148_frozen_styled_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_minipdf.png deleted file mode 100644 index f9e6bbc1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_reference.png deleted file mode 100644 index 6fde6b13..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic149_merged_styled_sections_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_minipdf.png deleted file mode 100644 index 0daa6292..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_reference.png deleted file mode 100644 index 75d4665a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic14_decimal_numbers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_minipdf.png deleted file mode 100644 index eb4af4fe..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_reference.png deleted file mode 100644 index 60de7869..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic150_kitchen_sink_styles_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_minipdf.png deleted file mode 100644 index bb07e786..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_reference.png deleted file mode 100644 index 8c92fc50..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic151_multilingual_greetings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_minipdf.png deleted file mode 100644 index f0d6909e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_reference.png deleted file mode 100644 index b3366bb5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic152_emoji_sampler_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_minipdf.png deleted file mode 100644 index 38104566..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_reference.png deleted file mode 100644 index 1df269dc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic153_currency_symbols_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_minipdf.png deleted file mode 100644 index 7e0b9ead..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_reference.png deleted file mode 100644 index 6764a8ac..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic154_math_symbols_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_minipdf.png deleted file mode 100644 index 5335105d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_reference.png deleted file mode 100644 index 4ea3c371..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic155_diacritical_marks_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_minipdf.png deleted file mode 100644 index d77663e1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_reference.png deleted file mode 100644 index c989c0e7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic156_rtl_bidi_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_minipdf.png deleted file mode 100644 index 0624c422..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_reference.png deleted file mode 100644 index da9a7b6b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic157_cjk_extended_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_minipdf.png deleted file mode 100644 index 1a986d0c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_reference.png deleted file mode 100644 index 5cfb2ec3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic158_emoji_skin_tones_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_minipdf.png deleted file mode 100644 index c01244aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_reference.png deleted file mode 100644 index 83aee80b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic159_zwj_emoji_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_minipdf.png deleted file mode 100644 index 4c18c556..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_reference.png deleted file mode 100644 index 17c2c18a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic15_negative_numbers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_minipdf.png deleted file mode 100644 index e8582365..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_reference.png deleted file mode 100644 index 631f86f6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic160_punctuation_marks_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_minipdf.png deleted file mode 100644 index 0fe24264..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_reference.png deleted file mode 100644 index 9294bd36..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic161_box_drawing_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_minipdf.png deleted file mode 100644 index 530425ad..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_reference.png deleted file mode 100644 index 1bd9b632..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic162_cjk_emoji_styled_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_minipdf.png deleted file mode 100644 index c935a114..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_reference.png deleted file mode 100644 index f211b17f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic163_cyrillic_alphabets_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_minipdf.png deleted file mode 100644 index 93519be7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_reference.png deleted file mode 100644 index f4c70681..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic164_indic_scripts_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_minipdf.png deleted file mode 100644 index 85162282..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_reference.png deleted file mode 100644 index c6bc73d8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic165_southeast_asian_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_minipdf.png deleted file mode 100644 index 571970e4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_reference.png deleted file mode 100644 index 39bbbd43..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic166_emoji_progress_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_minipdf.png deleted file mode 100644 index c82b0857..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_reference.png deleted file mode 100644 index dd99672a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic167_musical_symbols_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_minipdf.png deleted file mode 100644 index 4add6500..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_reference.png deleted file mode 100644 index 54e3fc62..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic168_mixed_ltr_rtl_styled_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_minipdf.png deleted file mode 100644 index be15a1ce..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_reference.png deleted file mode 100644 index 91e32c43..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic169_korean_invoice_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_minipdf.png deleted file mode 100644 index 6df1884e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_reference.png deleted file mode 100644 index ff927350..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic16_percentage_strings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_minipdf.png deleted file mode 100644 index eafa6360..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_reference.png deleted file mode 100644 index 3c716965..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic170_emoji_dashboard_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_minipdf.png deleted file mode 100644 index f8ea1f23..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_reference.png deleted file mode 100644 index 9f6f74ed..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic171_ipa_phonetic_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_minipdf.png deleted file mode 100644 index 9e169e1e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_reference.png deleted file mode 100644 index 5d771b82..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic172_emoji_timeline_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_minipdf.png deleted file mode 100644 index d21abfd6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_reference.png deleted file mode 100644 index e632eb4d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic173_african_languages_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_minipdf.png deleted file mode 100644 index b4854f15..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_reference.png deleted file mode 100644 index 9c0f8aae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic174_technical_symbols_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_minipdf.png deleted file mode 100644 index 863dcb76..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_reference.png deleted file mode 100644 index 055973fd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic175_multiscript_catalog_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_minipdf.png deleted file mode 100644 index 09016db1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_reference.png deleted file mode 100644 index 184b131b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic176_combining_characters_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_minipdf.png deleted file mode 100644 index b4c812a7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_reference.png deleted file mode 100644 index ef06a02e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic177_emoji_calendar_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_minipdf.png deleted file mode 100644 index 506798d6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_reference.png deleted file mode 100644 index 47de25df..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic178_caucasus_ethiopic_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_minipdf.png deleted file mode 100644 index 673a75ab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_reference.png deleted file mode 100644 index ff80e94a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic179_emoji_inventory_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_minipdf.png deleted file mode 100644 index 41ce7254..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_reference.png deleted file mode 100644 index a8f18d1a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic17_currency_strings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_minipdf.png deleted file mode 100644 index 57a9a901..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_reference.png deleted file mode 100644 index 76cb27e1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic180_polyglot_paragraph_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_minipdf.png deleted file mode 100644 index 84483ab4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_reference.png deleted file mode 100644 index e0bbb969..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_minipdf.png deleted file mode 100644 index 2e6f6441..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_reference.png deleted file mode 100644 index 4ad3f5ce..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic181_feedback_tracker_with_images_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_minipdf.png deleted file mode 100644 index deaff19f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_reference.png deleted file mode 100644 index e71135cb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_minipdf.png deleted file mode 100644 index 82b50699..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_reference.png deleted file mode 100644 index 078fb78d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic182_dense_long_text_columns_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_minipdf.png deleted file mode 100644 index 6bf02d6e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_reference.png deleted file mode 100644 index 8a27ae51..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic183_mixed_content_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_minipdf.png deleted file mode 100644 index e2e36326..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_reference.png deleted file mode 100644 index 33f952cf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic184_wide_narrow_columns_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_minipdf.png deleted file mode 100644 index f8d72428..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_reference.png deleted file mode 100644 index fbeac19b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic185_tall_rows_vertical_align_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_minipdf.png deleted file mode 100644 index 7f949106..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_reference.png deleted file mode 100644 index d05f0991..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_minipdf.png deleted file mode 100644 index e245326b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_reference.png deleted file mode 100644 index c49f8683..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic186_multi_sheet_image_report_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_minipdf.png deleted file mode 100644 index e8997784..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_reference.png deleted file mode 100644 index dc083eab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic187_bug_report_with_screenshots_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_minipdf.png deleted file mode 100644 index 34936482..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_reference.png deleted file mode 100644 index f2d62980..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic188_merged_header_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_minipdf.png deleted file mode 100644 index e094e14c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_reference.png deleted file mode 100644 index db1593bb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic189_alternating_image_text_rows_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_minipdf.png deleted file mode 100644 index a811e635..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_reference.png deleted file mode 100644 index f6d77c5a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p10_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_minipdf.png deleted file mode 100644 index 8df65efc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_reference.png deleted file mode 100644 index 0b6c2de5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p11_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_minipdf.png deleted file mode 100644 index 1756a55c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_reference.png deleted file mode 100644 index 60b9b486..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p12_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_minipdf.png deleted file mode 100644 index 1c34ed78..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_reference.png deleted file mode 100644 index b1a9fedd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p13_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_minipdf.png deleted file mode 100644 index aff8bd2c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_reference.png deleted file mode 100644 index 3ec23f2a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p14_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_minipdf.png deleted file mode 100644 index 5cde4334..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_reference.png deleted file mode 100644 index bf48f8f7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p15_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_minipdf.png deleted file mode 100644 index e19bacb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_reference.png deleted file mode 100644 index 0707e18a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p16_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_minipdf.png deleted file mode 100644 index d670528f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_reference.png deleted file mode 100644 index cca21edf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p17_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_minipdf.png deleted file mode 100644 index 2dbcbed0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_reference.png deleted file mode 100644 index d2a73ea7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p18_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_minipdf.png deleted file mode 100644 index cb100b8f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_reference.png deleted file mode 100644 index be57646a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p19_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_minipdf.png deleted file mode 100644 index 6212d2b7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_reference.png deleted file mode 100644 index c8d004a3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_minipdf.png deleted file mode 100644 index 75b0c438..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_reference.png deleted file mode 100644 index 7a2343d5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p20_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_minipdf.png deleted file mode 100644 index c3fedfdd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_reference.png deleted file mode 100644 index 5be6d93b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p21_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_minipdf.png deleted file mode 100644 index dbb10083..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_reference.png deleted file mode 100644 index b7ef9876..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p22_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_minipdf.png deleted file mode 100644 index d73aced9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_reference.png deleted file mode 100644 index fa1bd4e9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p23_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_minipdf.png deleted file mode 100644 index 3f4c2b85..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_reference.png deleted file mode 100644 index 0c8da263..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p24_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p25_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p25_reference.png deleted file mode 100644 index 9e62c139..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p25_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p26_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p26_reference.png deleted file mode 100644 index 8ccc6de3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p26_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p27_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p27_reference.png deleted file mode 100644 index 668b4720..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p27_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p28_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p28_reference.png deleted file mode 100644 index 744aadc0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p28_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p29_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p29_reference.png deleted file mode 100644 index 93395289..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p29_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_minipdf.png deleted file mode 100644 index 06920711..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_reference.png deleted file mode 100644 index 63fb8c2b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p30_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p30_reference.png deleted file mode 100644 index 18f222c5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p30_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p31_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p31_reference.png deleted file mode 100644 index 4f21f4a2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p31_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p32_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p32_reference.png deleted file mode 100644 index 901b3bd4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p32_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p33_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p33_reference.png deleted file mode 100644 index c91722f7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p33_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p34_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p34_reference.png deleted file mode 100644 index 82328148..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p34_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p35_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p35_reference.png deleted file mode 100644 index 9d60e67f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p35_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p36_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p36_reference.png deleted file mode 100644 index 1a840589..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p36_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p37_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p37_reference.png deleted file mode 100644 index edb68f8b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p37_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p38_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p38_reference.png deleted file mode 100644 index 42a7c36d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p38_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p39_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p39_reference.png deleted file mode 100644 index b0e8788c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p39_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_minipdf.png deleted file mode 100644 index c9e9a918..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_reference.png deleted file mode 100644 index 45af1538..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p40_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p40_reference.png deleted file mode 100644 index 16290bad..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p40_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p41_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p41_reference.png deleted file mode 100644 index 5c384a73..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p41_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p42_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p42_reference.png deleted file mode 100644 index 954a9850..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p42_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_minipdf.png deleted file mode 100644 index bacb59bb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_reference.png deleted file mode 100644 index 39d0d15e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_minipdf.png deleted file mode 100644 index 84c711b9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_reference.png deleted file mode 100644 index 69fd1795..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_minipdf.png deleted file mode 100644 index c382bc4b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_reference.png deleted file mode 100644 index d968227b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_minipdf.png deleted file mode 100644 index bf2f7ac7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_reference.png deleted file mode 100644 index d708a10b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_minipdf.png deleted file mode 100644 index 2cbf9c7f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_reference.png deleted file mode 100644 index 94701f38..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p8_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_minipdf.png deleted file mode 100644 index c396bf25..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_reference.png deleted file mode 100644 index f2d752bd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic18_large_dataset_p9_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_minipdf.png deleted file mode 100644 index 947bcf61..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_reference.png deleted file mode 100644 index 8f7babe8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic190_dashboard_kpi_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_minipdf.png deleted file mode 100644 index cc3edef1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_reference.png deleted file mode 100644 index 37ffd800..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_minipdf.png deleted file mode 100644 index b34910c9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_reference.png deleted file mode 100644 index 82384699..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_minipdf.png deleted file mode 100644 index 93574b9d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_reference.png deleted file mode 100644 index e0d655aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_minipdf.png deleted file mode 100644 index ff867d06..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_reference.png deleted file mode 100644 index c18bce76..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_minipdf.png deleted file mode 100644 index ac1576e5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_reference.png deleted file mode 100644 index c4502991..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_minipdf.png deleted file mode 100644 index c0bcfabd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_reference.png deleted file mode 100644 index ea2603ac..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_minipdf.png deleted file mode 100644 index 8e83332f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_reference.png deleted file mode 100644 index cbbe730e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_minipdf.png deleted file mode 100644 index e48e3d4b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_reference.png deleted file mode 100644 index 81a335eb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p8_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_minipdf.png deleted file mode 100644 index 793eb542..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_reference.png deleted file mode 100644 index 9c04ee66..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic191_payroll_calculator_p9_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_minipdf.png deleted file mode 100644 index 333c169f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_reference.png deleted file mode 100644 index 67e93171..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic19_single_column_list_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_reference.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic20_all_empty_cells_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_minipdf.png deleted file mode 100644 index dac49385..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_reference.png deleted file mode 100644 index 7286acc6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic21_header_only_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_minipdf.png deleted file mode 100644 index 908b2aae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_reference.png deleted file mode 100644 index 2f3e2a5e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic22_long_sheet_name_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_minipdf.png deleted file mode 100644 index 6adc2004..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_reference.png deleted file mode 100644 index e6cf8974..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic23_unicode_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_minipdf.png deleted file mode 100644 index d576065a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_reference.png deleted file mode 100644 index bed200a8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic24_red_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_minipdf.png deleted file mode 100644 index 058c9661..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_reference.png deleted file mode 100644 index b5a7a354..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic25_multiple_colors_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_minipdf.png deleted file mode 100644 index b1357429..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_reference.png deleted file mode 100644 index a097ceae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic26_inline_strings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_minipdf.png deleted file mode 100644 index ed34d8a1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_reference.png deleted file mode 100644 index 53d38886..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic27_single_row_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_minipdf.png deleted file mode 100644 index 32b33984..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_reference.png deleted file mode 100644 index 91a8fcca..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic28_duplicate_values_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_minipdf.png deleted file mode 100644 index cf483cad..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_reference.png deleted file mode 100644 index 7504dbd8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic29_formula_results_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_minipdf.png deleted file mode 100644 index 48694779..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_reference.png deleted file mode 100644 index 41d6df85..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_minipdf.png deleted file mode 100644 index f85d4250..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_reference.png deleted file mode 100644 index 08926a84..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic30_mixed_empty_and_filled_sheets_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_minipdf.png deleted file mode 100644 index 905ff3ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_reference.png deleted file mode 100644 index 8c0d7821..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic31_bold_header_row_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_minipdf.png deleted file mode 100644 index c0bd817e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_reference.png deleted file mode 100644 index 6afeef5c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic32_right_aligned_numbers_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_minipdf.png deleted file mode 100644 index 11d634dd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_reference.png deleted file mode 100644 index 60cce8a6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic33_centered_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_minipdf.png deleted file mode 100644 index 139c3370..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_reference.png deleted file mode 100644 index 71363012..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic34_explicit_column_widths_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_minipdf.png deleted file mode 100644 index fa12a4d0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_reference.png deleted file mode 100644 index 22af5b8a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic35_explicit_row_heights_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_minipdf.png deleted file mode 100644 index 6f720bc9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_reference.png deleted file mode 100644 index 3a1aae44..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic36_merged_cells_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_minipdf.png deleted file mode 100644 index 99014feb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_reference.png deleted file mode 100644 index b3c4f298..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic37_freeze_panes_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_minipdf.png deleted file mode 100644 index 95d83ded..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_reference.png deleted file mode 100644 index 923a37b1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic38_hyperlink_cell_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_minipdf.png deleted file mode 100644 index a1792a78..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_reference.png deleted file mode 100644 index 253ab917..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic39_financial_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_minipdf.png deleted file mode 100644 index 40440089..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_reference.png deleted file mode 100644 index 857e4842..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic40_scientific_notation_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_minipdf.png deleted file mode 100644 index 3b8e6ff8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_reference.png deleted file mode 100644 index 45185045..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic41_integer_vs_float_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_minipdf.png deleted file mode 100644 index 3a712cfa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_reference.png deleted file mode 100644 index 5a175efa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic42_boolean_values_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_minipdf.png deleted file mode 100644 index dd3667ff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_reference.png deleted file mode 100644 index 90e16ae4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic43_inventory_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_minipdf.png deleted file mode 100644 index 4663c040..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_reference.png deleted file mode 100644 index 08780c25..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic44_employee_roster_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_minipdf.png deleted file mode 100644 index f14d8ac7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_reference.png deleted file mode 100644 index f3602407..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_minipdf.png deleted file mode 100644 index 2d8a9679..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_reference.png deleted file mode 100644 index 9a568699..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_minipdf.png deleted file mode 100644 index 1c66abe9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_reference.png deleted file mode 100644 index 4630e6db..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_minipdf.png deleted file mode 100644 index 8f2b3442..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_reference.png deleted file mode 100644 index dffb6647..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic45_sales_by_region_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_minipdf.png deleted file mode 100644 index f4059d9e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_reference.png deleted file mode 100644 index bd941d7a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic46_grade_book_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_minipdf.png deleted file mode 100644 index 43b1ba46..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_reference.png deleted file mode 100644 index 0e1cc106..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic47_time_series_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_minipdf.png deleted file mode 100644 index 8f113c3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_reference.png deleted file mode 100644 index 37e6dced..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic48_survey_results_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_minipdf.png deleted file mode 100644 index 7d9296cf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_reference.png deleted file mode 100644 index 0e6face5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic49_contact_list_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_minipdf.png deleted file mode 100644 index c8016d66..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_reference.png deleted file mode 100644 index d08a1452..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_minipdf.png deleted file mode 100644 index 1ebee7d8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_reference.png deleted file mode 100644 index d930625c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_minipdf.png deleted file mode 100644 index 29704cda..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_reference.png deleted file mode 100644 index cf39963b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic50_budget_vs_actuals_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_minipdf.png deleted file mode 100644 index ae66386d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_reference.png deleted file mode 100644 index 3c10b8d3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic51_product_catalog_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_minipdf.png deleted file mode 100644 index 78581b94..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_reference.png deleted file mode 100644 index 210c975a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic52_pivot_summary_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_minipdf.png deleted file mode 100644 index 5e4510e8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_reference.png deleted file mode 100644 index f285e42c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic53_invoice_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_minipdf.png deleted file mode 100644 index ba032e38..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_reference.png deleted file mode 100644 index 872133e2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic54_multi_level_header_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_minipdf.png deleted file mode 100644 index 2fa3ff04..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_reference.png deleted file mode 100644 index ae4d09d7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic55_error_values_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_minipdf.png deleted file mode 100644 index 89babf78..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_reference.png deleted file mode 100644 index 4d83ed0d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic56_alternating_row_colors_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_minipdf.png deleted file mode 100644 index 67eb3842..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_reference.png deleted file mode 100644 index 94829243..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic57_cjk_only_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_minipdf.png deleted file mode 100644 index 9ed8b428..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_reference.png deleted file mode 100644 index 212efca4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic58_mixed_numeric_formats_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_minipdf.png deleted file mode 100644 index 55a15ee2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_reference.png deleted file mode 100644 index 410e2c32..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_minipdf.png deleted file mode 100644 index 55a15ee2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_reference.png deleted file mode 100644 index 410e2c32..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_minipdf.png deleted file mode 100644 index 55a15ee2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_reference.png deleted file mode 100644 index 410e2c32..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_minipdf.png deleted file mode 100644 index 58639d22..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_reference.png deleted file mode 100644 index 1642a347..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic59_multi_sheet_summary_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_minipdf.png deleted file mode 100644 index a7fe624f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_reference.png deleted file mode 100644 index 87792d8e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_minipdf.png deleted file mode 100644 index 8c89a5fa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_reference.png deleted file mode 100644 index 2b3d2fa9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_minipdf.png deleted file mode 100644 index 672b6454..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_reference.png deleted file mode 100644 index dc2c1360..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_minipdf.png deleted file mode 100644 index 0d31d122..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_reference.png deleted file mode 100644 index 4955c718..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p5_reference.png deleted file mode 100644 index 11e53121..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p6_reference.png deleted file mode 100644 index b5067777..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic60_large_wide_table_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_minipdf.png deleted file mode 100644 index 65374704..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_reference.png deleted file mode 100644 index 1d07c34e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic61_product_card_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_minipdf.png deleted file mode 100644 index 3e4a5430..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_reference.png deleted file mode 100644 index ee69bc6f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic62_company_logo_header_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_minipdf.png deleted file mode 100644 index 4310659d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_reference.png deleted file mode 100644 index 6c8f7665..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic63_two_products_side_by_side_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_minipdf.png deleted file mode 100644 index 12011f3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_reference.png deleted file mode 100644 index b8dd3deb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic64_employee_directory_with_photo_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_minipdf.png deleted file mode 100644 index 2813d9db..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_reference.png deleted file mode 100644 index 78164e90..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic65_inventory_with_product_photos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_minipdf.png deleted file mode 100644 index 85cf54d2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_reference.png deleted file mode 100644 index d1d0bc5a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic66_invoice_with_logo_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_minipdf.png deleted file mode 100644 index e0264bb8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_reference.png deleted file mode 100644 index 7fe77653..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic67_real_estate_listing_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_minipdf.png deleted file mode 100644 index dff7f15d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_reference.png deleted file mode 100644 index d8c10228..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic68_restaurant_menu_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_minipdf.png deleted file mode 100644 index f962266c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_reference.png deleted file mode 100644 index 1b22978f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic69_image_only_sheet_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_minipdf.png deleted file mode 100644 index fb7daf04..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_reference.png deleted file mode 100644 index b367f327..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic70_product_catalog_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_minipdf.png deleted file mode 100644 index 8f4ce6e6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_reference.png deleted file mode 100644 index b602cdda..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_minipdf.png deleted file mode 100644 index d72f3a40..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_reference.png deleted file mode 100644 index b9e306e6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_minipdf.png deleted file mode 100644 index f3877be6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_reference.png deleted file mode 100644 index 0de143c1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic71_multi_sheet_with_images_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_minipdf.png deleted file mode 100644 index 9f1a703b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_reference.png deleted file mode 100644 index 8326765c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic72_bar_chart_image_with_data_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_minipdf.png deleted file mode 100644 index 8e0c830d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_reference.png deleted file mode 100644 index 3c25a00c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic73_event_flyer_with_banner_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_minipdf.png deleted file mode 100644 index c924fb12..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_reference.png deleted file mode 100644 index cfb79865..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic74_dashboard_with_kpi_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_minipdf.png deleted file mode 100644 index 70949583..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_reference.png deleted file mode 100644 index 4e68f810..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic75_certificate_with_seal_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_minipdf.png deleted file mode 100644 index feb91ce2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_reference.png deleted file mode 100644 index 1088edff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic76_product_image_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_minipdf.png deleted file mode 100644 index a500a57e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_reference.png deleted file mode 100644 index 4dfa2370..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic77_news_article_with_hero_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_minipdf.png deleted file mode 100644 index 4078137c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_reference.png deleted file mode 100644 index ae84f437..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic78_small_icon_per_row_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_minipdf.png deleted file mode 100644 index 80d5050e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_reference.png deleted file mode 100644 index 71151000..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic79_wide_panoramic_banner_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_minipdf.png deleted file mode 100644 index b663bca3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_reference.png deleted file mode 100644 index a2b5d3b4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic80_portrait_tall_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_minipdf.png deleted file mode 100644 index ea5903be..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_reference.png deleted file mode 100644 index d7f03ee2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic81_step_by_step_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_minipdf.png deleted file mode 100644 index 3c9a2da8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_reference.png deleted file mode 100644 index 185c1e32..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic82_before_after_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_minipdf.png deleted file mode 100644 index 50eb4043..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_reference.png deleted file mode 100644 index cf4e6ae8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic83_color_swatch_palette_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_minipdf.png deleted file mode 100644 index 425a9734..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_reference.png deleted file mode 100644 index ec57318f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic84_travel_destination_cards_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_minipdf.png deleted file mode 100644 index 4edf6d67..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_reference.png deleted file mode 100644 index 1cbf6b45..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic85_lab_results_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_minipdf.png deleted file mode 100644 index d5d4cce0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_reference.png deleted file mode 100644 index bb7dcae8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic86_software_screenshot_features_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_minipdf.png deleted file mode 100644 index 440d7457..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_reference.png deleted file mode 100644 index b34e326d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic87_sports_results_with_logos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_minipdf.png deleted file mode 100644 index afc5c1ec..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_reference.png deleted file mode 100644 index 588ac389..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic88_image_after_data_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_minipdf.png deleted file mode 100644 index 0c0bccb6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_reference.png deleted file mode 100644 index e29438ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic89_nutrition_label_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_minipdf.png deleted file mode 100644 index 867bf841..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_reference.png deleted file mode 100644 index 0f7b7ff3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic90_project_status_with_milestones_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_minipdf.png deleted file mode 100644 index d9281399..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_reference.png deleted file mode 100644 index c9e0cafa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_reference.png deleted file mode 100644 index 7e97f8aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic91_simple_bar_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_minipdf.png deleted file mode 100644 index 50a34543..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_reference.png deleted file mode 100644 index 0b2c7840..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_reference.png deleted file mode 100644 index d4bf9139..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic92_horizontal_bar_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_minipdf.png deleted file mode 100644 index 01b0a6a7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_reference.png deleted file mode 100644 index c6633498..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_reference.png deleted file mode 100644 index b9221079..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic93_line_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_minipdf.png deleted file mode 100644 index 18cf5ed9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_reference.png deleted file mode 100644 index 455dee60..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_reference.png deleted file mode 100644 index f3bc6409..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic94_pie_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_minipdf.png deleted file mode 100644 index 57731601..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_reference.png deleted file mode 100644 index 6f683cdf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_reference.png deleted file mode 100644 index 653a8ec9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic95_area_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_minipdf.png deleted file mode 100644 index 8166874f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_reference.png deleted file mode 100644 index 98794163..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_reference.png deleted file mode 100644 index 5b17845f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic96_scatter_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_minipdf.png deleted file mode 100644 index 0db3f3d3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_reference.png deleted file mode 100644 index 656d232f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_reference.png deleted file mode 100644 index 5e8a0fc0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic97_doughnut_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_minipdf.png deleted file mode 100644 index ae31ca7f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_reference.png deleted file mode 100644 index fbd35af1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_reference.png deleted file mode 100644 index 4b13243f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic98_radar_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_minipdf.png deleted file mode 100644 index 4d420fd8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_reference.png deleted file mode 100644 index 45de854f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_minipdf.png deleted file mode 100644 index ff04bfb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_reference.png deleted file mode 100644 index 19b3ac8b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/classic99_bubble_chart_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_minipdf.png deleted file mode 100644 index 28240232..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_reference.png deleted file mode 100644 index bc244d57..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p10_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_minipdf.png deleted file mode 100644 index 763d0392..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_reference.png deleted file mode 100644 index f96848b8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p11_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_minipdf.png deleted file mode 100644 index 81faeb03..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_reference.png deleted file mode 100644 index 1b251083..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p12_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_minipdf.png deleted file mode 100644 index e7ad0722..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_reference.png deleted file mode 100644 index c6869d2e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p13_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_minipdf.png deleted file mode 100644 index 777432ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_reference.png deleted file mode 100644 index 3cb95167..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p14_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_minipdf.png deleted file mode 100644 index a489e003..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_reference.png deleted file mode 100644 index 3062b605..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p15_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_minipdf.png deleted file mode 100644 index 237e702e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_reference.png deleted file mode 100644 index 532100ab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p16_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_minipdf.png deleted file mode 100644 index 1b94b270..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_reference.png deleted file mode 100644 index 0c49a1dc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p17_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_minipdf.png deleted file mode 100644 index fc1032d1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_reference.png deleted file mode 100644 index ea84714c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p18_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_minipdf.png deleted file mode 100644 index 16a5a362..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_reference.png deleted file mode 100644 index 7c736b06..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p19_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_minipdf.png deleted file mode 100644 index 0f2aa04d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_reference.png deleted file mode 100644 index e1d14bb6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_minipdf.png deleted file mode 100644 index 2df33923..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_reference.png deleted file mode 100644 index 583df485..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p20_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p21_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p21_minipdf.png deleted file mode 100644 index fe8e67aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p21_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_minipdf.png deleted file mode 100644 index e7eaa1d3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_reference.png deleted file mode 100644 index 65b805f1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_minipdf.png deleted file mode 100644 index e5360dea..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_reference.png deleted file mode 100644 index 9fc02b3b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_minipdf.png deleted file mode 100644 index 8231a06f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_reference.png deleted file mode 100644 index 15a6b498..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_minipdf.png deleted file mode 100644 index 7a9096d3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_reference.png deleted file mode 100644 index 8f07e06c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_minipdf.png deleted file mode 100644 index 6f6e90c2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_reference.png deleted file mode 100644 index 9869953f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_minipdf.png deleted file mode 100644 index f1891c62..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_reference.png deleted file mode 100644 index 9c2f33ef..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_minipdf.png deleted file mode 100644 index 985eb859..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_reference.png deleted file mode 100644 index 1d4e8493..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p8_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_minipdf.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_minipdf.png deleted file mode 100644 index ae827de3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_reference.png b/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_reference.png deleted file mode 100644 index 7fd90c3a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports/images/nthu_article_p9_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/comparison_report.json b/tests/MiniPdf.Benchmark/reports_docx/comparison_report.json deleted file mode 100644 index 96d34b85..00000000 --- a/tests/MiniPdf.Benchmark/reports_docx/comparison_report.json +++ /dev/null @@ -1,4910 +0,0 @@ -[ - { - "name": "docx_classic01_single_paragraph", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1225, - "reference_size": 48037, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9945 - ], - "visual_avg": 0.9945, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic01_single_paragraph_p1_minipdf.png", - "reference_img": "docx_classic01_single_paragraph_p1_reference.png" - } - ], - "overall_score": 0.9978 - }, - { - "name": "docx_classic02_multiple_paragraphs", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2273, - "reference_size": 48946, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9363, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic02_multiple_paragraphs.pdf\n+++ reference/docx_classic02_multiple_paragraphs.pdf\n@@ -1,10 +1,10 @@\n-This is paragraph 1. It contains some sample text to test how MiniPdf handles multiple consecutive\n\n-paragraphs with default spacing.\n\n-This is paragraph 2. It contains some sample text to test how MiniPdf handles multiple consecutive\n\n-paragraphs with default spacing.\n\n-This is paragraph 3. It contains some sample text to test how MiniPdf handles multiple consecutive\n\n-paragraphs with default spacing.\n\n-This is paragraph 4. It contains some sample text to test how MiniPdf handles multiple consecutive\n\n-paragraphs with default spacing.\n\n-This is paragraph 5. It contains some sample text to test how MiniPdf handles multiple consecutive\n\n-paragraphs with default spacing.\n+This is paragraph 1. It contains some sample text to test how MiniPdf handles multiple\n\n+consecutive paragraphs with default spacing.\n\n+This is paragraph 2. It contains some sample text to test how MiniPdf handles multiple\n\n+consecutive paragraphs with default spacing.\n\n+This is paragraph 3. It contains some sample text to test how MiniPdf handles multiple\n\n+consecutive paragraphs with default spacing.\n\n+This is paragraph 4. It contains some sample text to test how MiniPdf handles multiple\n\n+consecutive paragraphs with default spacing.\n\n+This is paragraph 5. It contains some sample text to test how MiniPdf handles multiple\n\n+consecutive paragraphs with default spacing.", - "visual_scores": [ - 0.9797 - ], - "visual_avg": 0.9797, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic02_multiple_paragraphs_p1_minipdf.png", - "reference_img": "docx_classic02_multiple_paragraphs_p1_reference.png" - } - ], - "overall_score": 0.9919 - }, - { - "name": "docx_classic03_headings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1699, - "reference_size": 95865, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.989 - ], - "visual_avg": 0.989, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic03_headings_p1_minipdf.png", - "reference_img": "docx_classic03_headings_p1_reference.png" - } - ], - "overall_score": 0.9956 - }, - { - "name": "docx_classic04_bold_italic", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1316, - "reference_size": 94134, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9975 - ], - "visual_avg": 0.9975, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic04_bold_italic_p1_minipdf.png", - "reference_img": "docx_classic04_bold_italic_p1_reference.png" - } - ], - "overall_score": 0.999 - }, - { - "name": "docx_classic05_font_sizes", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1557, - "reference_size": 43230, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9896 - ], - "visual_avg": 0.9896, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic05_font_sizes_p1_minipdf.png", - "reference_img": "docx_classic05_font_sizes_p1_reference.png" - } - ], - "overall_score": 0.9958 - }, - { - "name": "docx_classic06_font_colors", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1414, - "reference_size": 41050, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9984 - ], - "visual_avg": 0.9984, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic06_font_colors_p1_minipdf.png", - "reference_img": "docx_classic06_font_colors_p1_reference.png" - } - ], - "overall_score": 0.9994 - }, - { - "name": "docx_classic07_alignment", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 259671, - "reference_size": 43210, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9904 - ], - "visual_avg": 0.9904, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic07_alignment_p1_minipdf.png", - "reference_img": "docx_classic07_alignment_p1_reference.png" - } - ], - "overall_score": 0.9962 - }, - { - "name": "docx_classic08_bullet_list", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1755, - "reference_size": 92213, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9949 - ], - "visual_avg": 0.9949, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic08_bullet_list_p1_minipdf.png", - "reference_img": "docx_classic08_bullet_list_p1_reference.png" - } - ], - "overall_score": 0.998 - }, - { - "name": "docx_classic09_numbered_list", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1801, - "reference_size": 91983, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9915 - ], - "visual_avg": 0.9915, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic09_numbered_list_p1_minipdf.png", - "reference_img": "docx_classic09_numbered_list_p1_reference.png" - } - ], - "overall_score": 0.9966 - }, - { - "name": "docx_classic10_simple_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5534, - "reference_size": 73744, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9874 - ], - "visual_avg": 0.9874, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic10_simple_table_p1_minipdf.png", - "reference_img": "docx_classic10_simple_table_p1_reference.png" - } - ], - "overall_score": 0.995 - }, - { - "name": "docx_classic11_table_with_shading", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9168, - "reference_size": 91111, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9811 - ], - "visual_avg": 0.9811, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic11_table_with_shading_p1_minipdf.png", - "reference_img": "docx_classic11_table_with_shading_p1_reference.png" - } - ], - "overall_score": 0.9924 - }, - { - "name": "docx_classic12_merged_cells_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5134, - "reference_size": 71750, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9901 - ], - "visual_avg": 0.9901, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic12_merged_cells_table_p1_minipdf.png", - "reference_img": "docx_classic12_merged_cells_table_p1_reference.png" - } - ], - "overall_score": 0.996 - }, - { - "name": "docx_classic13_long_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 17162, - "reference_size": 102517, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 4, - "text_similarity": 1.0, - "flat_text_similarity": 0.8587, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic13_long_document.pdf\n+++ reference/docx_classic13_long_document.pdf\n@@ -1,109 +1,125 @@\n Project Report\n\n This document is designed to span multiple pages to test pagination in MiniPdf.\n\n Section 1\n\n-This is section 1 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 1 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 1 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 1 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 2\n\n-This is section 2 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 2 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 2 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 2 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 3\n\n-This is section 3 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 3 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 3 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 3 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 4\n\n-This is section 4 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 4 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 4 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 4 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 5\n\n-This is section 5 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 5 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 5 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n ---PAGE---\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 5 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 6\n\n-This is section 6 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 6 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 6 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 6 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 7\n\n-This is section 7 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 7 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 7 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 7 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 8\n\n-This is section 8 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 8 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 8 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 8 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 9\n\n-This is section 9 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 9 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 9 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 9 of the report. It contains detailed analysis of the topic at hand. The\n\n+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n+---PAGE---\n\n Section 10\n\n-This is section 10 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 10 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+This is section 10 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 10 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n+Section 11\n\n+This is section 11 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 11 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n+Section 12\n\n+This is section 12 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 12 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n+Section 13\n\n+This is section 13 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 13 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n+Section 14\n\n+This is section 14 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 14 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n ---PAGE---\n\n-Section 11\n\n-This is section 11 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 11 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n-Section 12\n\n-This is section 12 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 12 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n-Section 13\n\n-This is section 13 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 13 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n-Section 14\n\n-This is section 14 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 14 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.\n\n Section 15\n\n-This is section 15 of the report. It contains detailed analysis of the topic at hand. The quick brown\n\n-fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft\n\n-zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is\n\n-section 15 of the report. It contains detailed analysis of the topic at hand. The quick brown fox\n\n-jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras\n\n-jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.\n+This is section 15 of the report. It contains detailed analysis of the topic at hand. The quick\n\n+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly\n\n+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge\n\n+my vow.This is section 15 of the report. It contains detailed analysis of the topic at hand.\n\n+The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How\n\n+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black\n\n+quartz, judge my vow.", - "visual_scores": [ - 0.9014, - 0.9144, - 0.9138, - 0.0 - ], - "visual_avg": 0.6824, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic13_long_document_p1_minipdf.png", - "reference_img": "docx_classic13_long_document_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic13_long_document_p2_minipdf.png", - "reference_img": "docx_classic13_long_document_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic13_long_document_p3_minipdf.png", - "reference_img": "docx_classic13_long_document_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": null, - "reference_img": "docx_classic13_long_document_p4_reference.png" - } - ], - "overall_score": 0.773 - }, - { - "name": "docx_classic14_mixed_content", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5145, - "reference_size": 115112, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9688 - ], - "visual_avg": 0.9688, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic14_mixed_content_p1_minipdf.png", - "reference_img": "docx_classic14_mixed_content_p1_reference.png" - } - ], - "overall_score": 0.9875 - }, - { - "name": "docx_classic15_indentation", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1941, - "reference_size": 74243, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9499, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic15_indentation.pdf\n+++ reference/docx_classic15_indentation.pdf\n@@ -3,6 +3,7 @@\n This paragraph is indented by 36 points from the left margin.\n\n This paragraph is indented by 72 points from the left margin.\n\n This paragraph is indented by 108 points from the left margin.\n\n-This paragraph is indented by 144 points from the left margin.\n\n-This paragraph has a first-line indent of 36 points. The remaining lines wrap normally back\n\n-to the left margin.\n+This paragraph is indented by 144 points from the left\n\n+margin.\n\n+This paragraph has a first-line indent of 36 points. The remaining lines wrap\n\n+normally back to the left margin.", - "visual_scores": [ - 0.9784 - ], - "visual_avg": 0.9784, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic15_indentation_p1_minipdf.png", - "reference_img": "docx_classic15_indentation_p1_reference.png" - } - ], - "overall_score": 0.9914 - }, - { - "name": "docx_classic16_line_spacing", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2059, - "reference_size": 78004, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9787 - ], - "visual_avg": 0.9787, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic16_line_spacing_p1_minipdf.png", - "reference_img": "docx_classic16_line_spacing_p1_reference.png" - } - ], - "overall_score": 0.9915 - }, - { - "name": "docx_classic17_page_break", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2038, - "reference_size": 69855, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9941, - 0.9967, - 0.9981 - ], - "visual_avg": 0.9963, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic17_page_break_p1_minipdf.png", - "reference_img": "docx_classic17_page_break_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic17_page_break_p2_minipdf.png", - "reference_img": "docx_classic17_page_break_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic17_page_break_p3_minipdf.png", - "reference_img": "docx_classic17_page_break_p3_reference.png" - } - ], - "overall_score": 0.9985 - }, - { - "name": "docx_classic18_embedded_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1828, - "reference_size": 67381, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9915 - ], - "visual_avg": 0.9915, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic18_embedded_image_p1_minipdf.png", - "reference_img": "docx_classic18_embedded_image_p1_reference.png" - } - ], - "overall_score": 0.9966 - }, - { - "name": "docx_classic19_multiple_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2644, - "reference_size": 66233, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9871 - ], - "visual_avg": 0.9871, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic19_multiple_images_p1_minipdf.png", - "reference_img": "docx_classic19_multiple_images_p1_reference.png" - } - ], - "overall_score": 0.9948 - }, - { - "name": "docx_classic20_table_with_many_rows", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 31913, - "reference_size": 95029, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9603 - ], - "visual_avg": 0.9603, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic20_table_with_many_rows_p1_minipdf.png", - "reference_img": "docx_classic20_table_with_many_rows_p1_reference.png" - } - ], - "overall_score": 0.9841 - }, - { - "name": "docx_classic21_nested_lists", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2488, - "reference_size": 98694, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9913 - ], - "visual_avg": 0.9913, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic21_nested_lists_p1_minipdf.png", - "reference_img": "docx_classic21_nested_lists_p1_reference.png" - } - ], - "overall_score": 0.9965 - }, - { - "name": "docx_classic22_horizontal_rule", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1579, - "reference_size": 70951, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9902 - ], - "visual_avg": 0.9902, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic22_horizontal_rule_p1_minipdf.png", - "reference_img": "docx_classic22_horizontal_rule_p1_reference.png" - } - ], - "overall_score": 0.9961 - }, - { - "name": "docx_classic23_mixed_formatting_runs", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1682, - "reference_size": 100389, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9949 - ], - "visual_avg": 0.9949, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic23_mixed_formatting_runs_p1_minipdf.png", - "reference_img": "docx_classic23_mixed_formatting_runs_p1_reference.png" - } - ], - "overall_score": 0.998 - }, - { - "name": "docx_classic24_two_column_table_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1705, - "reference_size": 72170, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.7907, - "flat_text_similarity": 0.636, - "word_text_similarity": 0.7907, - "text_diff": "--- minipdf/docx_classic24_two_column_table_layout.pdf\n+++ reference/docx_classic24_two_column_table_layout.pdf\n@@ -1,4 +1,5 @@\n Two-Column Layout\n\n-Left column content. This is the first column of Right column content. This is the second\n\n-a two-column layout. It demonstrates how column. Both columns should render side-by-\n\n-tables can be used for text layout purposes. side in the PDF output.\n+Left column content. This is the first Right column content. This is the second\n\n+column of a two-column layout. It column. Both columns should render side-\n\n+demonstrates how tables can be used for by-side in the PDF output.\n\n+text layout purposes.", - "visual_scores": [ - 0.9889 - ], - "visual_avg": 0.9889, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic24_two_column_table_layout_p1_minipdf.png", - "reference_img": "docx_classic24_two_column_table_layout_p1_reference.png" - } - ], - "overall_score": 0.9118 - }, - { - "name": "docx_classic25_title_and_subtitle", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1865, - "reference_size": 134268, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9924, - 0.9957 - ], - "visual_avg": 0.994, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic25_title_and_subtitle_p1_minipdf.png", - "reference_img": "docx_classic25_title_and_subtitle_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic25_title_and_subtitle_p2_minipdf.png", - "reference_img": "docx_classic25_title_and_subtitle_p2_reference.png" - } - ], - "overall_score": 0.9976 - }, - { - "name": "docx_classic26_table_alignment", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5513, - "reference_size": 94051, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9895 - ], - "visual_avg": 0.9895, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic26_table_alignment_p1_minipdf.png", - "reference_img": "docx_classic26_table_alignment_p1_reference.png" - } - ], - "overall_score": 0.9958 - }, - { - "name": "docx_classic27_long_paragraph_wrapping", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4477, - "reference_size": 72456, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9627, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic27_long_paragraph_wrapping.pdf\n+++ reference/docx_classic27_long_paragraph_wrapping.pdf\n@@ -1,23 +1,25 @@\n Word Wrapping Test\n\n-This is a very long paragraph designed to test how MiniPdf handles word wrapping across line\n\n-boundaries. The text should flow naturally from one line to the next without any awkward breaks or\n\n-overflow. This is a very long paragraph designed to test how MiniPdf handles word wrapping\n\n-across line boundaries. The text should flow naturally from one line to the next without any\n\n-awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf handles\n\n-word wrapping across line boundaries. The text should flow naturally from one line to the next\n\n-without any awkward breaks or overflow. This is a very long paragraph designed to test how\n\n-MiniPdf handles word wrapping across line boundaries. The text should flow naturally from one\n\n-line to the next without any awkward breaks or overflow. This is a very long paragraph designed to\n\n-test how MiniPdf handles word wrapping across line boundaries. The text should flow naturally\n\n-from one line to the next without any awkward breaks or overflow. This is a very long paragraph\n\n-designed to test how MiniPdf handles word wrapping across line boundaries. The text should flow\n\n-naturally from one line to the next without any awkward breaks or overflow. This is a very long\n\n-paragraph designed to test how MiniPdf handles word wrapping across line boundaries. The text\n\n-should flow naturally from one line to the next without any awkward breaks or overflow. This is a\n\n-very long paragraph designed to test how MiniPdf handles word wrapping across line boundaries.\n\n-The text should flow naturally from one line to the next without any awkward breaks or overflow.\n\n-This is a very long paragraph designed to test how MiniPdf handles word wrapping across line\n\n-boundaries. The text should flow naturally from one line to the next without any awkward breaks or\n\n-overflow. This is a very long paragraph designed to test how MiniPdf handles word wrapping\n\n-across line boundaries. The text should flow naturally from one line to the next without any\n\n+This is a very long paragraph designed to test how MiniPdf handles word wrapping across\n\n+line boundaries. The text should flow naturally from one line to the next without any\n\n+awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf\n\n+handles word wrapping across line boundaries. The text should flow naturally from one line\n\n+to the next without any awkward breaks or overflow. This is a very long paragraph\n\n+designed to test how MiniPdf handles word wrapping across line boundaries. The text\n\n+should flow naturally from one line to the next without any awkward breaks or overflow.\n\n+This is a very long paragraph designed to test how MiniPdf handles word wrapping across\n\n+line boundaries. The text should flow naturally from one line to the next without any\n\n+awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf\n\n+handles word wrapping across line boundaries. The text should flow naturally from one line\n\n+to the next without any awkward breaks or overflow. This is a very long paragraph\n\n+designed to test how MiniPdf handles word wrapping across line boundaries. The text\n\n+should flow naturally from one line to the next without any awkward breaks or overflow.\n\n+This is a very long paragraph designed to test how MiniPdf handles word wrapping across\n\n+line boundaries. The text should flow naturally from one line to the next without any\n\n+awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf\n\n+handles word wrapping across line boundaries. The text should flow naturally from one line\n\n+to the next without any awkward breaks or overflow. This is a very long paragraph\n\n+designed to test how MiniPdf handles word wrapping across line boundaries. The text\n\n+should flow naturally from one line to the next without any awkward breaks or overflow.\n\n+This is a very long paragraph designed to test how MiniPdf handles word wrapping across\n\n+line boundaries. The text should flow naturally from one line to the next without any\n\n awkward breaks or overflow.", - "visual_scores": [ - 0.9268 - ], - "visual_avg": 0.9268, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic27_long_paragraph_wrapping_p1_minipdf.png", - "reference_img": "docx_classic27_long_paragraph_wrapping_p1_reference.png" - } - ], - "overall_score": 0.9707 - }, - { - "name": "docx_classic28_special_characters", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 255498, - "reference_size": 80991, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9826 - ], - "visual_avg": 0.9826, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic28_special_characters_p1_minipdf.png", - "reference_img": "docx_classic28_special_characters_p1_reference.png" - } - ], - "overall_score": 0.993 - }, - { - "name": "docx_classic29_table_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3061, - "reference_size": 70208, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9728, - "flat_text_similarity": 0.9728, - "word_text_similarity": 0.9143, - "text_diff": "--- minipdf/docx_classic29_table_with_image.pdf\n+++ reference/docx_classic29_table_with_image.pdf\n@@ -1,5 +1,5 @@\n Product Card\n\n Product Description\n\n-MiniPdf Widget - A compact, efficient tool for\n\n-PDF conversion. Lightweight and dependency-\n\n-free.\n+MiniPdf Widget - A compact, efficient tool\n\n+for PDF conversion. Lightweight and\n\n+dependency-free.", - "visual_scores": [ - 0.9868 - ], - "visual_avg": 0.9868, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic29_table_with_image_p1_minipdf.png", - "reference_img": "docx_classic29_table_with_image_p1_reference.png" - } - ], - "overall_score": 0.9838 - }, - { - "name": "docx_classic30_comprehensive_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 11510, - "reference_size": 220886, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 1.0, - "flat_text_similarity": 0.9797, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic30_comprehensive_report.pdf\n+++ reference/docx_classic30_comprehensive_report.pdf\n@@ -8,9 +8,9 @@\n 4. Financial Overview\n\n 5. Recommendations\n\n 1. Executive Summary\n\n-This report provides a comprehensive analysis of the technology landscape in 2026. Key findings\n\n-include continued growth in AI adoption, increased focus on sustainability, and emerging trends in\n\n-quantum computing.\n\n+This report provides a comprehensive analysis of the technology landscape in 2026. Key\n\n+findings include continued growth in AI adoption, increased focus on sustainability, and\n\n+emerging trends in quantum computing.\n\n 2. Market Analysis\n\n The following table summarizes market share across key sectors:\n\n Sector Market Share Growth\n", - "visual_scores": [ - 0.9941, - 0.8948, - 0.4551 - ], - "visual_avg": 0.7813, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic30_comprehensive_report_p1_minipdf.png", - "reference_img": "docx_classic30_comprehensive_report_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic30_comprehensive_report_p2_minipdf.png", - "reference_img": "docx_classic30_comprehensive_report_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic30_comprehensive_report_p3_minipdf.png", - "reference_img": "docx_classic30_comprehensive_report_p3_reference.png" - } - ], - "overall_score": 0.9125 - }, - { - "name": "docx_classic31_product_card_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5328, - "reference_size": 108260, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9756 - ], - "visual_avg": 0.9756, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic31_product_card_with_image_p1_minipdf.png", - "reference_img": "docx_classic31_product_card_with_image_p1_reference.png" - } - ], - "overall_score": 0.9902 - }, - { - "name": "docx_classic31_strikethrough_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1675, - "reference_size": 73919, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9917 - ], - "visual_avg": 0.9917, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic31_strikethrough_text_p1_minipdf.png", - "reference_img": "docx_classic31_strikethrough_text_p1_reference.png" - } - ], - "overall_score": 0.9967 - }, - { - "name": "docx_classic32_company_logo_header", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7681, - "reference_size": 112769, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9934, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic32_company_logo_header.pdf\n+++ reference/docx_classic32_company_logo_header.pdf\n@@ -1,8 +1,8 @@\n ACME CORPORATION\n\n 123 Business Ave, Suite 500 | New York, NY 10001\n\n Quarterly Report Q1 2026\n\n-This report summarizes the activities and financial performance of ACME Corporation during the\n\n-first quarter of 2026.\n\n+This report summarizes the activities and financial performance of ACME Corporation\n\n+during the first quarter of 2026.\n\n Metric Target Actual\n\n Revenue $5M $5.3M\n\n Customers 500 520\n", - "visual_scores": [ - 0.9544 - ], - "visual_avg": 0.9544, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic32_company_logo_header_p1_minipdf.png", - "reference_img": "docx_classic32_company_logo_header_p1_reference.png" - } - ], - "overall_score": 0.9818 - }, - { - "name": "docx_classic32_superscript_subscript", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2221, - "reference_size": 73303, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9762, - "flat_text_similarity": 0.9762, - "word_text_similarity": 0.9643, - "text_diff": "--- minipdf/docx_classic32_superscript_subscript.pdf\n+++ reference/docx_classic32_superscript_subscript.pdf\n@@ -1,10 +1,8 @@\n Superscript and Subscript\n\n 2\n\n Einstein's equation: E = mc\n\n-Water: H O\n\n-2\n\n-Carbon dioxide: CO\n\n-2\n\n+Water: H 2 O\n\n+Carbon dioxide: CO 2\n\n 1\n\n Footnote reference\n\n n n n\n", - "visual_scores": [ - 0.993 - ], - "visual_avg": 0.993, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic32_superscript_subscript_p1_minipdf.png", - "reference_img": "docx_classic32_superscript_subscript_p1_reference.png" - } - ], - "overall_score": 0.9877 - }, - { - "name": "docx_classic33_highlighted_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1547, - "reference_size": 67420, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9798 - ], - "visual_avg": 0.9798, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic33_highlighted_text_p1_minipdf.png", - "reference_img": "docx_classic33_highlighted_text_p1_reference.png" - } - ], - "overall_score": 0.9919 - }, - { - "name": "docx_classic33_two_products_side_by_side", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8701, - "reference_size": 107718, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9765 - ], - "visual_avg": 0.9765, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic33_two_products_side_by_side_p1_minipdf.png", - "reference_img": "docx_classic33_two_products_side_by_side_p1_reference.png" - } - ], - "overall_score": 0.9906 - }, - { - "name": "docx_classic34_employee_directory_with_photo", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3350, - "reference_size": 99625, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic34_employee_directory_with_photo.pdf\n+++ reference/docx_classic34_employee_directory_with_photo.pdf\n@@ -10,4 +10,5 @@\n Carol Williams\n\n UX Designer\n\n Email: carol@company.com\n\n+---PAGE---\n\n Department: Design", - "visual_scores": [ - 0.9757, - 0.0 - ], - "visual_avg": 0.4879, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic34_employee_directory_with_photo_p1_minipdf.png", - "reference_img": "docx_classic34_employee_directory_with_photo_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "docx_classic34_employee_directory_with_photo_p2_reference.png" - } - ], - "overall_score": 0.6952 - }, - { - "name": "docx_classic34_paragraph_borders", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2321, - "reference_size": 69819, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9777 - ], - "visual_avg": 0.9777, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic34_paragraph_borders_p1_minipdf.png", - "reference_img": "docx_classic34_paragraph_borders_p1_reference.png" - } - ], - "overall_score": 0.9911 - }, - { - "name": "docx_classic35_inventory_with_product_photos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9530, - "reference_size": 84431, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9626, - 0.9951 - ], - "visual_avg": 0.9788, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic35_inventory_with_product_photos_p1_minipdf.png", - "reference_img": "docx_classic35_inventory_with_product_photos_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic35_inventory_with_product_photos_p2_minipdf.png", - "reference_img": "docx_classic35_inventory_with_product_photos_p2_reference.png" - } - ], - "overall_score": 0.9915 - }, - { - "name": "docx_classic35_tab_stops", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2274, - "reference_size": 76285, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.64, - "flat_text_similarity": 0.489, - "word_text_similarity": 0.64, - "text_diff": "--- minipdf/docx_classic35_tab_stops.pdf\n+++ reference/docx_classic35_tab_stops.pdf\n@@ -1,6 +1,6 @@\n Tab Stop Alignment\n\n-Chapter 1: Introduction.............................................................................................................................................................1\n\n-Chapter 2: Getting Started......................................................................................................................................................5\n\n-Chapter 3: Advanced Topics..............................................................................................................................................15\n\n-Chapter 4: Best Practices.....................................................................................................................................................28\n\n-Chapter 5: Conclusion............................................................................................................................................................35\n+Chapter 1: Introduction ......................................................................................................................................................... 1\n\n+Chapter 2: Getting Started..................................................................................................................................................... 5\n\n+Chapter 3: Advanced Topics.............................................................................................................................................. 15\n\n+Chapter 4: Best Practices .................................................................................................................................................... 28\n\n+Chapter 5: Conclusion .......................................................................................................................................................... 35", - "visual_scores": [ - 0.9894 - ], - "visual_avg": 0.9894, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic35_tab_stops_p1_minipdf.png", - "reference_img": "docx_classic35_tab_stops_p1_reference.png" - } - ], - "overall_score": 0.8518 - }, - { - "name": "docx_classic36_invoice_with_logo", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9627, - "reference_size": 86303, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9646 - ], - "visual_avg": 0.9646, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic36_invoice_with_logo_p1_minipdf.png", - "reference_img": "docx_classic36_invoice_with_logo_p1_reference.png" - } - ], - "overall_score": 0.9858 - }, - { - "name": "docx_classic36_wide_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 19194, - "reference_size": 100125, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.984 - ], - "visual_avg": 0.984, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic36_wide_table_p1_minipdf.png", - "reference_img": "docx_classic36_wide_table_p1_reference.png" - } - ], - "overall_score": 0.9936 - }, - { - "name": "docx_classic37_nested_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2901, - "reference_size": 76696, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.963, - "flat_text_similarity": 0.94, - "word_text_similarity": 0.963, - "text_diff": "--- minipdf/docx_classic37_nested_table.pdf\n+++ reference/docx_classic37_nested_table.pdf\n@@ -1,6 +1,6 @@\n Nested Table Layout\n\n Section A Section B\n\n-Details: This cell contains plain text while the adjacent\n\n-Item Qty cell has a nested table.\n\n+Details: This cell contains plain text while the\n\n+Item Qty adjacent cell has a nested table.\n\n Widget 10\n\n Gadget 5", - "visual_scores": [ - 0.9876 - ], - "visual_avg": 0.9876, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic37_nested_table_p1_minipdf.png", - "reference_img": "docx_classic37_nested_table_p1_reference.png" - } - ], - "overall_score": 0.9802 - }, - { - "name": "docx_classic37_real_estate_listing", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6434, - "reference_size": 106313, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9756 - ], - "visual_avg": 0.9756, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic37_real_estate_listing_p1_minipdf.png", - "reference_img": "docx_classic37_real_estate_listing_p1_reference.png" - } - ], - "overall_score": 0.9902 - }, - { - "name": "docx_classic38_restaurant_menu_with_photos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5087, - "reference_size": 104667, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.967, - 0.9798 - ], - "visual_avg": 0.9734, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic38_restaurant_menu_with_photos_p1_minipdf.png", - "reference_img": "docx_classic38_restaurant_menu_with_photos_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic38_restaurant_menu_with_photos_p2_minipdf.png", - "reference_img": "docx_classic38_restaurant_menu_with_photos_p2_reference.png" - } - ], - "overall_score": 0.9894 - }, - { - "name": "docx_classic38_table_column_widths", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8752, - "reference_size": 102328, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8485, - "flat_text_similarity": 0.806, - "word_text_similarity": 0.8485, - "text_diff": "--- minipdf/docx_classic38_table_column_widths.pdf\n+++ reference/docx_classic38_table_column_widths.pdf\n@@ -1,10 +1,6 @@\n Custom Column Widths\n\n # Description Category Amount\n\n-1 Office supplies and Operations $245.00\n\n-stationery\n\n-2 Cloud hosting Technology $1,200.00\n\n-monthly fee\n\n-3 Team lunch and Meals $380.00\n\n-catering\n\n-4 Conference Travel $599.00\n\n-registration\n+1 Office supplies and stationery Operations $245.00\n\n+2 Cloud hosting monthly fee Technology $1,200.00\n\n+3 Team lunch and catering Meals $380.00\n\n+4 Conference registration Travel $599.00", - "visual_scores": [ - 0.9782 - ], - "visual_avg": 0.9782, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic38_table_column_widths_p1_minipdf.png", - "reference_img": "docx_classic38_table_column_widths_p1_reference.png" - } - ], - "overall_score": 0.9307 - }, - { - "name": "docx_classic39_cover_page_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3758, - "reference_size": 120726, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9745, - 0.9956 - ], - "visual_avg": 0.985, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic39_cover_page_with_image_p1_minipdf.png", - "reference_img": "docx_classic39_cover_page_with_image_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic39_cover_page_with_image_p2_minipdf.png", - "reference_img": "docx_classic39_cover_page_with_image_p2_reference.png" - } - ], - "overall_score": 0.994 - }, - { - "name": "docx_classic39_financial_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 11910, - "reference_size": 111342, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9743 - ], - "visual_avg": 0.9743, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic39_financial_report_p1_minipdf.png", - "reference_img": "docx_classic39_financial_report_p1_reference.png" - } - ], - "overall_score": 0.9897 - }, - { - "name": "docx_classic40_product_catalog_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6767, - "reference_size": 117045, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9735 - ], - "visual_avg": 0.9735, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic40_product_catalog_with_images_p1_minipdf.png", - "reference_img": "docx_classic40_product_catalog_with_images_p1_reference.png" - } - ], - "overall_score": 0.9894 - }, - { - "name": "docx_classic40_resume", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3559, - "reference_size": 197726, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.982, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic40_resume.pdf\n+++ reference/docx_classic40_resume.pdf\n@@ -1,8 +1,8 @@\n JOHN DOE\n\n john.doe@email.com | +1-555-0100 | New York, NY\n\n Professional Summary\n\n-Experienced software engineer with 8+ years of expertise in building scalable web applications\n\n-and distributed systems. Proficient in C#, Python, and JavaScript.\n\n+Experienced software engineer with 8+ years of expertise in building scalable web\n\n+applications and distributed systems. Proficient in C#, Python, and JavaScript.\n\n Experience\n\n Senior Software Engineer - Tech Corp Inc.\n\n January 2020 - Present\n", - "visual_scores": [ - 0.972 - ], - "visual_avg": 0.972, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic40_resume_p1_minipdf.png", - "reference_img": "docx_classic40_resume_p1_reference.png" - } - ], - "overall_score": 0.9888 - }, - { - "name": "docx_classic41_business_letter", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2903, - "reference_size": 80009, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9893, - "flat_text_similarity": 0.9893, - "word_text_similarity": 0.9868, - "text_diff": "--- minipdf/docx_classic41_business_letter.pdf\n+++ reference/docx_classic41_business_letter.pdf\n@@ -7,11 +7,11 @@\n 456 Commerce St\n\n San Francisco, CA 94102\n\n Dear Mr. Wilson,\n\n-Thank you for your interest in our products. We are pleased to inform you that your order #ORD-\n\n-2026-0315 has been processed and is scheduled for delivery by March 15, 2026.\n\n-Please find enclosed the detailed invoice and shipping confirmation. If you have any questions\n\n-regarding your order, please do not hesitate to contact our customer service team at\n\n-support@acme.com or call us at +1-555-0200.\n\n+Thank you for your interest in our products. We are pleased to inform you that your order\n\n+#ORD-2026-0315 has been processed and is scheduled for delivery by March 15, 2026.\n\n+Please find enclosed the detailed invoice and shipping confirmation. If you have any\n\n+questions regarding your order, please do not hesitate to contact our customer service team\n\n+at support@acme.com or call us at +1-555-0200.\n\n We value your business and look forward to a continued partnership.\n\n Sincerely,\n\n Sarah Johnson\n", - "visual_scores": [ - 0.9819 - ], - "visual_avg": 0.9819, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic41_business_letter_p1_minipdf.png", - "reference_img": "docx_classic41_business_letter_p1_reference.png" - } - ], - "overall_score": 0.9885 - }, - { - "name": "docx_classic41_newsletter_with_hero_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4228, - "reference_size": 132792, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.993, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic41_newsletter_with_hero_image.pdf\n+++ reference/docx_classic41_newsletter_with_hero_image.pdf\n@@ -1,11 +1,11 @@\n TECH WEEKLY\n\n Issue #42 | March 2026\n\n AI-Powered Code Review Tools\n\n-New AI-powered code review tools are transforming how development teams collaborate. Early\n\n-adopters report 30% faster review cycles and 25% fewer bugs reaching production.\n\n+New AI-powered code review tools are transforming how development teams collaborate.\n\n+Early adopters report 30% faster review cycles and 25% fewer bugs reaching production.\n\n Cloud Migration Best Practices\n\n-As organizations accelerate cloud adoption, a structured migration approach becomes critical. We\n\n-explore five proven strategies for seamless transitions.\n\n+As organizations accelerate cloud adoption, a structured migration approach becomes\n\n+critical. We explore five proven strategies for seamless transitions.\n\n • Assess workload compatibility\n\n • Plan data migration carefully\n\n • Implement security from day one\n", - "visual_scores": [ - 0.9199 - ], - "visual_avg": 0.9199, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic41_newsletter_with_hero_image_p1_minipdf.png", - "reference_img": "docx_classic41_newsletter_with_hero_image_p1_reference.png" - } - ], - "overall_score": 0.968 - }, - { - "name": "docx_classic42_chart_image_with_data", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13126, - "reference_size": 112851, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9704 - ], - "visual_avg": 0.9704, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic42_chart_image_with_data_p1_minipdf.png", - "reference_img": "docx_classic42_chart_image_with_data_p1_reference.png" - } - ], - "overall_score": 0.9882 - }, - { - "name": "docx_classic42_meeting_minutes", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 11010, - "reference_size": 112714, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9903, - "flat_text_similarity": 0.9642, - "word_text_similarity": 0.9903, - "text_diff": "--- minipdf/docx_classic42_meeting_minutes.pdf\n+++ reference/docx_classic42_meeting_minutes.pdf\n@@ -9,14 +9,15 @@\n 3. New Hire Onboarding\n\n 4. Action Items\n\n Discussion Summary\n\n-Alice presented the Q4 results showing a 15% revenue increase. Bob proposed reallocating 10%\n\n-of the marketing budget to R&D. Carol reported that three new engineering positions have been\n\n-approved.\n\n+Alice presented the Q4 results showing a 15% revenue increase. Bob proposed reallocating\n\n+10% of the marketing budget to R&D. Carol reported that three new engineering positions\n\n+have been approved.\n\n Action Items\n\n Owner Action Due Date\n\n Bob Submit revised budget March 10\n\n proposal\n\n Carol Post job listings for March 7\n\n engineering roles\n\n-David Prepare onboarding materials March 14\n\n+David Prepare onboarding March 14\n\n+materials\n\n Eve Schedule follow-up meeting March 5", - "visual_scores": [ - 0.9657 - ], - "visual_avg": 0.9657, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic42_meeting_minutes_p1_minipdf.png", - "reference_img": "docx_classic42_meeting_minutes_p1_reference.png" - } - ], - "overall_score": 0.9824 - }, - { - "name": "docx_classic43_event_flyer_with_banner", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9365, - "reference_size": 109856, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.918 - ], - "visual_avg": 0.918, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic43_event_flyer_with_banner_p1_minipdf.png", - "reference_img": "docx_classic43_event_flyer_with_banner_p1_reference.png" - } - ], - "overall_score": 0.9672 - }, - { - "name": "docx_classic43_invoice_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 14494, - "reference_size": 99728, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9775, - "flat_text_similarity": 0.925, - "word_text_similarity": 0.9775, - "text_diff": "--- minipdf/docx_classic43_invoice_document.pdf\n+++ reference/docx_classic43_invoice_document.pdf\n@@ -7,14 +7,18 @@\n Bill To: Widget Industries Ship To: Same as billing\n\n Item Description Qty Unit Price Total\n\n SVC-001 Consulting 40 $150.00 $6,000.00\n\n-Services (40 hrs)\n\n+Services (40\n\n+hrs)\n\n LIC-002 Enterprise 5 $499.00 $2,495.00\n\n-License (Annual)\n\n-HW-003 Server Hardware 2 $2,499.00 $4,998.00\n\n+License\n\n+(Annual)\n\n+HW-003 Server 2 $2,499.00 $4,998.00\n\n+Hardware\n\n SUP-004 Premium 1 $1,800.00 $1,800.00\n\n Support Plan\n\n-TRN-005 On-site Training 1 $3,000.00 $3,000.00\n\n-(2 days)\n\n+TRN-005 On-site 1 $3,000.00 $3,000.00\n\n+Training (2\n\n+days)\n\n Subtotal: $18,293.00\n\n Tax (8.25%): $1,509.17\n\n Total Due: $19,802.17", - "visual_scores": [ - 0.9506 - ], - "visual_avg": 0.9506, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic43_invoice_document_p1_minipdf.png", - "reference_img": "docx_classic43_invoice_document_p1_reference.png" - } - ], - "overall_score": 0.9712 - }, - { - "name": "docx_classic44_dashboard_with_kpi_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12032, - "reference_size": 116297, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9703 - ], - "visual_avg": 0.9703, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic44_dashboard_with_kpi_image_p1_minipdf.png", - "reference_img": "docx_classic44_dashboard_with_kpi_image_p1_reference.png" - } - ], - "overall_score": 0.9881 - }, - { - "name": "docx_classic44_memo", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3454, - "reference_size": 129775, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9536, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic44_memo.pdf\n+++ reference/docx_classic44_memo.pdf\n@@ -3,14 +3,14 @@\n FROM: Maria Garcia, CEO\n\n DATE: March 3, 2026\n\n RE: Quarterly Performance Review Process Changes\n\n-Effective immediately, we are implementing several changes to our quarterly performance review\n\n-process. These changes are designed to streamline evaluation procedures and provide more\n\n-actionable feedback to team members.\n\n+Effective immediately, we are implementing several changes to our quarterly performance\n\n+review process. These changes are designed to streamline evaluation procedures and\n\n+provide more actionable feedback to team members.\n\n Key Changes\n\n • Reviews will now be conducted bi-monthly instead of quarterly\n\n • Self-assessment forms must be submitted 5 business days before the review\n\n • 360-degree feedback will be incorporated for all managerial positions\n\n • New rating scale: 1-5 (replacing the current A-F system)\n\n • All reviews must be completed within a 2-week window\n\n-Please share this information with your teams and direct any questions to the HR department at\n\n-hr@company.com.\n+Please share this information with your teams and direct any questions to the HR\n\n+department at hr@company.com.", - "visual_scores": [ - 0.9723 - ], - "visual_avg": 0.9723, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic44_memo_p1_minipdf.png", - "reference_img": "docx_classic44_memo_p1_reference.png" - } - ], - "overall_score": 0.9889 - }, - { - "name": "docx_classic45_certificate_with_seal", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2083, - "reference_size": 71997, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9728 - ], - "visual_avg": 0.9728, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic45_certificate_with_seal_p1_minipdf.png", - "reference_img": "docx_classic45_certificate_with_seal_p1_reference.png" - } - ], - "overall_score": 0.9891 - }, - { - "name": "docx_classic45_project_plan", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 20988, - "reference_size": 128979, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9931, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic45_project_plan.pdf\n+++ reference/docx_classic45_project_plan.pdf\n@@ -1,8 +1,8 @@\n Project Plan: Website Redesign\n\n Project Manager: Sarah Chen | Start Date: March 2026\n\n Project Overview\n\n-This project aims to redesign the company website to improve user experience, modernize the\n\n-visual design, and optimize for mobile devices.\n\n+This project aims to redesign the company website to improve user experience, modernize\n\n+the visual design, and optimize for mobile devices.\n\n Timeline\n\n Phase Task Owner Start End\n\n Discovery User research & UX Team Mar 1 Mar 14\n", - "visual_scores": [ - 0.9505 - ], - "visual_avg": 0.9505, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic45_project_plan_p1_minipdf.png", - "reference_img": "docx_classic45_project_plan_p1_reference.png" - } - ], - "overall_score": 0.9802 - }, - { - "name": "docx_classic46_comparison_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 14692, - "reference_size": 107695, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9746 - ], - "visual_avg": 0.9746, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic46_comparison_table_p1_minipdf.png", - "reference_img": "docx_classic46_comparison_table_p1_reference.png" - } - ], - "overall_score": 0.9898 - }, - { - "name": "docx_classic46_product_image_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3138, - "reference_size": 83076, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9787 - ], - "visual_avg": 0.9787, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic46_product_image_grid_p1_minipdf.png", - "reference_img": "docx_classic46_product_image_grid_p1_reference.png" - } - ], - "overall_score": 0.9915 - }, - { - "name": "docx_classic47_data_dictionary", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 19910, - "reference_size": 114030, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9985, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic47_data_dictionary.pdf\n+++ reference/docx_classic47_data_dictionary.pdf\n@@ -6,7 +6,8 @@\n identifier\n\n name VARCHAR(100) NOT NULL Full name\n\n email VARCHAR(255) UNIQUE Email address\n\n-created_at DATETIME DEFAULT NOW() Account creation date\n\n+created_at DATETIME DEFAULT NOW() Account creation\n\n+date\n\n status ENUM DEFAULT 'active' Account status\n\n Table: orders\n\n Column Type Constraints Description\n", - "visual_scores": [ - 0.9447 - ], - "visual_avg": 0.9447, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic47_data_dictionary_p1_minipdf.png", - "reference_img": "docx_classic47_data_dictionary_p1_reference.png" - } - ], - "overall_score": 0.9779 - }, - { - "name": "docx_classic47_news_article_with_hero_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3646, - "reference_size": 131080, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9696, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic47_news_article_with_hero_image.pdf\n+++ reference/docx_classic47_news_article_with_hero_image.pdf\n@@ -1,10 +1,10 @@\n Open Source Software Adoption Hits Record High\n\n By Sarah Mitchell | March 6, 2026 | Technology\n\n-A new survey shows that 92% of enterprise organizations now use open source software in their\n\n-technology stacks, up from 78% in 2024. The trend is driven by cost savings, community\n\n-innovation, and increased security transparency.\n\n-Key findings include a 45% increase in open source contributions from corporate developers, and\n\n-growing adoption of open source AI frameworks across industries.\n\n+A new survey shows that 92% of enterprise organizations now use open source software in\n\n+their technology stacks, up from 78% in 2024. The trend is driven by cost savings,\n\n+community innovation, and increased security transparency.\n\n+Key findings include a 45% increase in open source contributions from corporate\n\n+developers, and growing adoption of open source AI frameworks across industries.\n\n Industry Reactions\n\n \"Open source has become the backbone of modern software development,\" said CTO James\n\n Walker. \"Organizations that embrace it gain a competitive advantage.\"", - "visual_scores": [ - 0.9192 - ], - "visual_avg": 0.9192, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic47_news_article_with_hero_image_p1_minipdf.png", - "reference_img": "docx_classic47_news_article_with_hero_image_p1_reference.png" - } - ], - "overall_score": 0.9677 - }, - { - "name": "docx_classic48_multi_level_headings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8695, - "reference_size": 118651, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic48_multi_level_headings.pdf\n+++ reference/docx_classic48_multi_level_headings.pdf\n@@ -54,9 +54,9 @@\n Implementation uses factory pattern with dependency injection.\n\n 3.1.2 Sub-component\n\n Detailed description of sub-component 3.1.2.\n\n----PAGE---\n\n 3.1.2.1 Implementation Notes\n\n Implementation uses factory pattern with dependency injection.\n\n+---PAGE---\n\n 3.2 Component 2\n\n Component 3.2 handles specific operations within Module 3.\n\n 3.2.1 Sub-component\n", - "visual_scores": [ - 0.9616, - 0.9659, - 0.9806 - ], - "visual_avg": 0.9694, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic48_multi_level_headings_p1_minipdf.png", - "reference_img": "docx_classic48_multi_level_headings_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic48_multi_level_headings_p2_minipdf.png", - "reference_img": "docx_classic48_multi_level_headings_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic48_multi_level_headings_p3_minipdf.png", - "reference_img": "docx_classic48_multi_level_headings_p3_reference.png" - } - ], - "overall_score": 0.9878 - }, - { - "name": "docx_classic48_task_list_with_status_icons", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10317, - "reference_size": 106209, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9747 - ], - "visual_avg": 0.9747, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic48_task_list_with_status_icons_p1_minipdf.png", - "reference_img": "docx_classic48_task_list_with_status_icons_p1_reference.png" - } - ], - "overall_score": 0.9899 - }, - { - "name": "docx_classic49_cjk_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3734059, - "reference_size": 141092, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9849, - "flat_text_similarity": 0.9849, - "word_text_similarity": 0.8511, - "text_diff": "--- minipdf/docx_classic49_cjk_document.pdf\n+++ reference/docx_classic49_cjk_document.pdf\n@@ -1,16 +1,18 @@\n CJK Text Sample\n\n Chinese (Simplified)\n\n-MiniPdf 是一个轻量级的 .NET 库,用于将 Office 文档转换为 PDF 格式。\n\n-它不依赖 Microsoft Office,可以在任何平台上运行。\n\n+MiniPdf 是一个 轻 量 级 的 .NET 库 ,用于将 Office 文档 转换为 PDF 格式。\n\n+它不依 赖 Microsoft Office ,可以在任何平台上运行。\n\n Chinese (Traditional)\n\n MiniPdf 是一個輕量級的 .NET 庫,用於將 Office 文檔轉換為 PDF 格式。\n\n Japanese\n\n-MiniPdf は軽量な .NET ライブラリで、Office ドキュメントを PDF に変換します。\n\n+MiniPdf は軽量な .NET ライブラリで、 Office ドキュメントを PDF に変換します。\n\n Korean\n\n MiniPdf 는 Office 문서를 PDF 로 변환하는 경량 .NET 라이브러리입니다 .\n\n Mixed CJK Table\n\n Language Hello Thank You\n\n-Chinese 你好 谢谢\n\n+Chinese 你好\n\n+谢谢\n\n Japanese こんにちは ありがとう\n\n-Korean 안녕하세요 감사합니다\n\n+Korean\n\n+안녕하세요 감사합니다\n\n English Hello Thank you", - "visual_scores": [ - 0.9698 - ], - "visual_avg": 0.9698, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic49_cjk_document_p1_minipdf.png", - "reference_img": "docx_classic49_cjk_document_p1_reference.png" - } - ], - "overall_score": 0.9819 - }, - { - "name": "docx_classic49_wide_panoramic_banner", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8045, - "reference_size": 108687, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9114 - ], - "visual_avg": 0.9114, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic49_wide_panoramic_banner_p1_minipdf.png", - "reference_img": "docx_classic49_wide_panoramic_banner_p1_reference.png" - } - ], - "overall_score": 0.9646 - }, - { - "name": "docx_classic50_long_table_with_formatting", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 64873, - "reference_size": 122324, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 0.7465, - "flat_text_similarity": 0.5841, - "word_text_similarity": 0.7465, - "text_diff": "--- minipdf/docx_classic50_long_table_with_formatting.pdf\n+++ reference/docx_classic50_long_table_with_formatting.pdf\n@@ -1,44 +1,63 @@\n Server Inventory Report\n\n Server ID Hostname IP Address OS Status\n\n-SRV-001 server-001.local 10.0.0.1 Ubuntu 22.04 Online\n\n-SRV-002 server-002.local 10.0.0.2 Windows Server Online\n\n-2022\n\n-SRV-003 server-003.local 10.0.0.3 RHEL 9 Online\n\n-SRV-004 server-004.local 10.0.0.4 Debian 12 Maintenance\n\n-SRV-005 server-005.local 10.0.0.5 CentOS Stream Online\n\n-9\n\n-SRV-006 server-006.local 10.0.0.6 Ubuntu 22.04 Online\n\n-SRV-007 server-007.local 10.0.0.7 Windows Server Offline\n\n-2022\n\n-SRV-008 server-008.local 10.0.0.8 RHEL 9 Online\n\n-SRV-009 server-009.local 10.0.0.9 Debian 12 Online\n\n-SRV-010 server-010.local 10.0.0.10 CentOS Stream Online\n\n-9\n\n-SRV-011 server-011.local 10.0.0.11 Ubuntu 22.04 Online\n\n-SRV-012 server-012.local 10.0.0.12 Windows Server Online\n\n-2022\n\n-SRV-013 server-013.local 10.0.0.13 RHEL 9 Online\n\n-SRV-014 server-014.local 10.0.0.14 Debian 12 Maintenance\n\n-SRV-015 server-015.local 10.0.0.15 CentOS Stream Online\n\n-9\n\n-SRV-016 server-016.local 10.0.0.16 Ubuntu 22.04 Online\n\n-SRV-017 server-017.local 10.0.0.17 Windows Server Offline\n\n-2022\n\n-SRV-018 server-018.local 10.0.0.18 RHEL 9 Online\n\n-SRV-019 server-019.local 10.0.0.19 Debian 12 Online\n\n-SRV-020 server-020.local 10.0.0.20 CentOS Stream Online\n\n-9\n\n-SRV-021 server-021.local 10.0.0.21 Ubuntu 22.04 Online\n\n-SRV-022 server-022.local 10.0.0.22 Windows Server Online\n\n-2022\n\n-SRV-023 server-023.local 10.0.0.23 RHEL 9 Online\n\n-SRV-024 server-024.local 10.0.0.24 Debian 12 Maintenance\n\n-SRV-025 server-025.local 10.0.0.25 CentOS Stream Online\n\n-9\n\n-SRV-026 server-026.local 10.0.0.26 Ubuntu 22.04 Online\n\n-SRV-027 server-027.local 10.0.0.27 Windows Server Offline\n\n-2022\n\n-SRV-028 server-028.local 10.0.0.28 RHEL 9 Online\n\n-SRV-029 server-029.local 10.0.0.29 Debian 12 Online\n\n-SRV-030 server-030.local 10.0.0.30 CentOS Stream Online\n\n-9\n+SRV-001 server- 10.0.0.1 Ubuntu 22.04 Online\n\n+001.local\n\n+SRV-002 server- 10.0.0.2 Windows Online\n\n+002.local Server 2022\n\n+SRV-003 server- 10.0.0.3 RHEL 9 Online\n\n+003.local\n\n+SRV-004 server- 10.0.0.4 Debian 12 Maintenance\n\n+004.local\n\n+SRV-005 server- 10.0.0.5 CentOS Stream Online\n\n+005.local 9\n\n+SRV-006 server- 10.0.0.6 Ubuntu 22.04 Online\n\n+006.local\n\n+SRV-007 server- 10.0.0.7 Windows Offline\n\n+007.local Server 2022\n\n+SRV-008 server- 10.0.0.8 RHEL 9 Online\n\n+008.local\n\n+SRV-009 server- 10.0.0.9 Debian 12 Online\n\n+009.local\n\n+SRV-010 server- 10.0.0.10 CentOS Stream Online\n\n+010.local 9\n\n+SRV-011 server- 10.0.0.11 Ubuntu 22.04 Online\n\n+011.local\n\n+SRV-012 server- 10.0.0.12 Windows Online\n\n+012.local Server 2022\n\n+SRV-013 server- 10.0.0.13 RHEL 9 Online\n\n+013.local\n\n+SRV-014 server- 10.0.0.14 Debian 12 Maintenance\n\n+014.local\n\n+SRV-015 server- 10.0.0.15 CentOS Stream Online\n\n+015.local 9\n\n+SRV-016 server- 10.0.0.16 Ubuntu 22.04 Online\n\n+016.local\n\n+SRV-017 server- 10.0.0.17 Windows Offline\n\n+017.local Server 2022\n\n+SRV-018 server- 10.0.0.18 RHEL 9 Online\n\n+018.local\n\n+SRV-019 server- 10.0.0.19 Debian 12 Online\n\n+019.local\n\n+SRV-020 server- 10.0.0.20 CentOS Stream Online\n\n+020.local 9\n\n+SRV-021 server- 10.0.0.21 Ubuntu 22.04 Online\n\n+021.local\n\n+SRV-022 server- 10.0.0.22 Windows Online\n\n+022.local Server 2022\n\n+---PAGE---\n\n+SRV-023 server- 10.0.0.23 RHEL 9 Online\n\n+023.local\n\n+SRV-024 server- 10.0.0.24 Debian 12 Maintenance\n\n+024.local\n\n+SRV-025 server- 10.0.0.25 CentOS Stream Online\n\n+025.local 9\n\n+SRV-026 server- 10.0.0.26 Ubuntu 22.04 Online\n\n+026.local\n\n+SRV-027 server- 10.0.0.27 Windows Offline\n\n+027.local Server 2022\n\n+SRV-028 server- 10.0.0.28 RHEL 9 Online\n\n+028.local\n\n+SRV-029 server- 10.0.0.29 Debian 12 Online\n\n+029.local\n\n+SRV-030 server- 10.0.0.30 CentOS Stream Online\n\n+030.local 9", - "visual_scores": [ - 0.8083, - 0.0 - ], - "visual_avg": 0.4042, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic50_long_table_with_formatting_p1_minipdf.png", - "reference_img": "docx_classic50_long_table_with_formatting_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "docx_classic50_long_table_with_formatting_p2_reference.png" - } - ], - "overall_score": 0.5603 - }, - { - "name": "docx_classic50_portrait_tall_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3015, - "reference_size": 156207, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9886, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic50_portrait_tall_image.pdf\n+++ reference/docx_classic50_portrait_tall_image.pdf\n@@ -3,8 +3,8 @@\n Chief Technology Officer, NovaTech Inc.\n\n Biography\n\n Dr. Zhang is a recognized leader in distributed systems with over 15 years of experience in\n\n-building large-scale cloud platforms. She holds a Ph.D. in Computer Science from MIT and has\n\n-published 30+ papers on scalable architectures.\n\n+building large-scale cloud platforms. She holds a Ph.D. in Computer Science from MIT and\n\n+has published 30+ papers on scalable architectures.\n\n Speaking Topics\n\n • Microservices at Scale\n\n • AI-Driven Infrastructure\n", - "visual_scores": [ - 0.9777 - ], - "visual_avg": 0.9777, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic50_portrait_tall_image_p1_minipdf.png", - "reference_img": "docx_classic50_portrait_tall_image_p1_reference.png" - } - ], - "overall_score": 0.9911 - }, - { - "name": "docx_classic51_step_by_step_with_images", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3386, - "reference_size": 86405, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9715 - ], - "visual_avg": 0.9715, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic51_step_by_step_with_images_p1_minipdf.png", - "reference_img": "docx_classic51_step_by_step_with_images_p1_reference.png" - } - ], - "overall_score": 0.9886 - }, - { - "name": "docx_classic51_underline_styles", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1943, - "reference_size": 68896, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9926 - ], - "visual_avg": 0.9926, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic51_underline_styles_p1_minipdf.png", - "reference_img": "docx_classic51_underline_styles_p1_reference.png" - } - ], - "overall_score": 0.997 - }, - { - "name": "docx_classic52_before_after_comparison", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3302, - "reference_size": 71180, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9695 - ], - "visual_avg": 0.9695, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic52_before_after_comparison_p1_minipdf.png", - "reference_img": "docx_classic52_before_after_comparison_p1_reference.png" - } - ], - "overall_score": 0.9878 - }, - { - "name": "docx_classic52_spacing_before_after", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1942, - "reference_size": 76163, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.966 - ], - "visual_avg": 0.966, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic52_spacing_before_after_p1_minipdf.png", - "reference_img": "docx_classic52_spacing_before_after_p1_reference.png" - } - ], - "overall_score": 0.9864 - }, - { - "name": "docx_classic53_color_swatch_palette", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4274, - "reference_size": 105872, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9695 - ], - "visual_avg": 0.9695, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic53_color_swatch_palette_p1_minipdf.png", - "reference_img": "docx_classic53_color_swatch_palette_p1_reference.png" - } - ], - "overall_score": 0.9878 - }, - { - "name": "docx_classic53_table_merged_complex", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12364, - "reference_size": 93385, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9771 - ], - "visual_avg": 0.9771, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic53_table_merged_complex_p1_minipdf.png", - "reference_img": "docx_classic53_table_merged_complex_p1_reference.png" - } - ], - "overall_score": 0.9908 - }, - { - "name": "docx_classic54_multi_font_family", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 170737, - "reference_size": 250187, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9835 - ], - "visual_avg": 0.9835, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic54_multi_font_family_p1_minipdf.png", - "reference_img": "docx_classic54_multi_font_family_p1_reference.png" - } - ], - "overall_score": 0.9934 - }, - { - "name": "docx_classic54_travel_destination_cards", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5505, - "reference_size": 105061, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9792 - ], - "visual_avg": 0.9792, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic54_travel_destination_cards_p1_minipdf.png", - "reference_img": "docx_classic54_travel_destination_cards_p1_reference.png" - } - ], - "overall_score": 0.9917 - }, - { - "name": "docx_classic55_background_shading_paragraph", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1997, - "reference_size": 67663, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9393 - ], - "visual_avg": 0.9393, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic55_background_shading_paragraph_p1_minipdf.png", - "reference_img": "docx_classic55_background_shading_paragraph_p1_reference.png" - } - ], - "overall_score": 0.9757 - }, - { - "name": "docx_classic55_lab_results_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 14240, - "reference_size": 118015, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9624 - ], - "visual_avg": 0.9624, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic55_lab_results_with_image_p1_minipdf.png", - "reference_img": "docx_classic55_lab_results_with_image_p1_reference.png" - } - ], - "overall_score": 0.985 - }, - { - "name": "docx_classic56_images_and_tables_mixed", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9537, - "reference_size": 84307, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9651 - ], - "visual_avg": 0.9651, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic56_images_and_tables_mixed_p1_minipdf.png", - "reference_img": "docx_classic56_images_and_tables_mixed_p1_reference.png" - } - ], - "overall_score": 0.986 - }, - { - "name": "docx_classic56_software_screenshot_features", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7844, - "reference_size": 118476, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9654 - ], - "visual_avg": 0.9654, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic56_software_screenshot_features_p1_minipdf.png", - "reference_img": "docx_classic56_software_screenshot_features_p1_reference.png" - } - ], - "overall_score": 0.9862 - }, - { - "name": "docx_classic57_right_to_left_text", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 434928, - "reference_size": 97228, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.875, - "flat_text_similarity": 0.875, - "word_text_similarity": 0.8125, - "text_diff": "--- minipdf/docx_classic57_right_to_left_text.pdf\n+++ reference/docx_classic57_right_to_left_text.pdf\n@@ -2,8 +2,8 @@\n Left-to-right (default):\n\n This is standard left-to-right English text.\n\n Right-aligned text (simulating RTL):\n\n-This text is right-aligned to simu\n\n+This text is right-aligned to simulate right-to-left layout.\n\n Hebrew sample (RTL):\n\n-םולש םלוע\n\n+עולם שלום\n\n Arabic sample (RTL):\n\n-ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺎﺑ\n+بالعالم مرحبا", - "visual_scores": [ - 0.9802 - ], - "visual_avg": 0.9802, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic57_right_to_left_text_p1_minipdf.png", - "reference_img": "docx_classic57_right_to_left_text_p1_reference.png" - } - ], - "overall_score": 0.9421 - }, - { - "name": "docx_classic57_sports_results_with_logos", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 17284, - "reference_size": 112026, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9484 - ], - "visual_avg": 0.9484, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic57_sports_results_with_logos_p1_minipdf.png", - "reference_img": "docx_classic57_sports_results_with_logos_p1_reference.png" - } - ], - "overall_score": 0.9794 - }, - { - "name": "docx_classic58_dense_paragraph_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 37679, - "reference_size": 107116, - "pdf_valid": true, - "minipdf_pages": 6, - "reference_pages": 7, - "text_similarity": 1.0, - "flat_text_similarity": 0.9637, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic58_dense_paragraph_document.pdf\n+++ reference/docx_classic58_dense_paragraph_document.pdf\n@@ -1,245 +1,267 @@\n Research Paper: Modern Software Engineering\n\n Author: Dr. Jane Smith | Published: March 2026\n\n Abstract\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.\n\n 1. Introduction\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n----PAGE---\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+---PAGE---\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.\n\n 2. Literature Review\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n----PAGE---\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+---PAGE---\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.\n\n 3. Methodology\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n----PAGE---\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+---PAGE---\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.\n\n 4. Results\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n----PAGE---\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+---PAGE---\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+---PAGE---\n\n 5. Discussion\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n----PAGE---\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.\n\n 6. Conclusion\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n-deployment of components.\n\n-Modern software engineering practices emphasize continuous integration, automated testing, and\n\n-agile methodologies. The rapid evolution of cloud computing and containerization has transformed\n\n-how teams build and deploy applications. Microservices architecture enables independent scaling\n\n-and deployment of components. Modern software engineering practices emphasize continuous\n\n-integration, automated testing, and agile methodologies. The rapid evolution of cloud computing\n\n-and containerization has transformed how teams build and deploy applications. Microservices\n\n-architecture enables independent scaling and deployment of components. Modern software\n\n-engineering practices emphasize continuous integration, automated testing, and agile\n\n-methodologies. The rapid evolution of cloud computing and containerization has transformed how\n\n-teams build and deploy applications. Microservices architecture enables independent scaling and\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+---PAGE---\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n+deployment of components.\n\n+Modern software engineering practices emphasize continuous integration, automated\n\n+testing, and agile methodologies. The rapid evolution of cloud computing and\n\n+containerization has transformed how teams build and deploy applications. Microservices\n\n+architecture enables independent scaling and deployment of components. Modern software\n\n+engineering practices emphasize continuous integration, automated testing, and agile\n\n+methodologies. The rapid evolution of cloud computing and containerization has\n\n+transformed how teams build and deploy applications. Microservices architecture enables\n\n+independent scaling and deployment of components. Modern software engineering\n\n+practices emphasize continuous integration, automated testing, and agile methodologies.\n\n+The rapid evolution of cloud computing and containerization has transformed how teams\n\n+build and deploy applications. Microservices architecture enables independent scaling and\n\n deployment of components.", - "visual_scores": [ - 0.8977, - 0.8769, - 0.8972, - 0.8983, - 0.8875, - 0.8751, - 0.0 - ], - "visual_avg": 0.7618, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic58_dense_paragraph_document_p1_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic58_dense_paragraph_document_p2_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic58_dense_paragraph_document_p3_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "docx_classic58_dense_paragraph_document_p4_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p4_reference.png" - }, - { - "page": 5, - "minipdf_img": "docx_classic58_dense_paragraph_document_p5_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p5_reference.png" - }, - { - "page": 6, - "minipdf_img": "docx_classic58_dense_paragraph_document_p6_minipdf.png", - "reference_img": "docx_classic58_dense_paragraph_document_p6_reference.png" - }, - { - "page": 7, - "minipdf_img": null, - "reference_img": "docx_classic58_dense_paragraph_document_p7_reference.png" - } - ], - "overall_score": 0.8047 - }, - { - "name": "docx_classic58_report_with_footer_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12413, - "reference_size": 136402, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9666 - ], - "visual_avg": 0.9666, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic58_report_with_footer_image_p1_minipdf.png", - "reference_img": "docx_classic58_report_with_footer_image_p1_reference.png" - } - ], - "overall_score": 0.9866 - }, - { - "name": "docx_classic59_numbered_and_bullet_mixed", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3826, - "reference_size": 119386, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9948, - "flat_text_similarity": 0.9948, - "word_text_similarity": 0.967, - "text_diff": "--- minipdf/docx_classic59_numbered_and_bullet_mixed.pdf\n+++ reference/docx_classic59_numbered_and_bullet_mixed.pdf\n@@ -15,6 +15,6 @@\n • Configure font embedding preferences\n\n • Enable or disable image compression\n\n Troubleshooting\n\n-1. Verify .NET SDK installation with dotnet --version\n\n-2. Clear NuGet cache if packages fail to restore\n\n-3. Check file permissions on output directory\n+6. Verify .NET SDK installation with dotnet --version\n\n+7. Clear NuGet cache if packages fail to restore\n\n+8. Check file permissions on output directory", - "visual_scores": [ - 0.9773 - ], - "visual_avg": 0.9773, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic59_numbered_and_bullet_mixed_p1_minipdf.png", - "reference_img": "docx_classic59_numbered_and_bullet_mixed_p1_reference.png" - } - ], - "overall_score": 0.9888 - }, - { - "name": "docx_classic59_nutrition_label_with_image", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8658, - "reference_size": 109697, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9695 - ], - "visual_avg": 0.9695, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic59_nutrition_label_with_image_p1_minipdf.png", - "reference_img": "docx_classic59_nutrition_label_with_image_p1_reference.png" - } - ], - "overall_score": 0.9878 - }, - { - "name": "docx_classic60_comprehensive_styled_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 15521, - "reference_size": 244937, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 1.0, - "flat_text_similarity": 0.998, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic60_comprehensive_styled_report.pdf\n+++ reference/docx_classic60_comprehensive_styled_report.pdf\n@@ -4,8 +4,8 @@\n March 2026\n\n ---PAGE---\n\n Executive Summary\n\n-Key Findings: The technology sector continues to show strong growth driven by AI adoption,\n\n-cloud migration, and digital transformation initiatives.\n\n+Key Findings: The technology sector continues to show strong growth driven by AI\n\n+adoption, cloud migration, and digital transformation initiatives.\n\n Market Overview\n\n Sector Q4 2025 Q1 2026 Change\n\n Cloud Computing $180B $195B +8.3%\n\n@@ -24,11 +24,11 @@\n • Edge computing gaining traction\n\n Visual Summary\n\n Growth indicator (placeholder):\n\n----PAGE---\n\n Recommendations\n\n 1. Accelerate AI integration strategy\n\n 2. Diversify cloud vendor dependencies\n\n 3. Invest in employee upskilling programs\n\n+---PAGE---\n\n 4. Strengthen data governance frameworks\n\n 5. Evaluate emerging quantum computing capabilities\n\n --- End of Report ---", - "visual_scores": [ - 0.9929, - 0.905, - 0.9867 - ], - "visual_avg": 0.9615, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic60_comprehensive_styled_report_p1_minipdf.png", - "reference_img": "docx_classic60_comprehensive_styled_report_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic60_comprehensive_styled_report_p2_minipdf.png", - "reference_img": "docx_classic60_comprehensive_styled_report_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic60_comprehensive_styled_report_p3_minipdf.png", - "reference_img": "docx_classic60_comprehensive_styled_report_p3_reference.png" - } - ], - "overall_score": 0.9846 - }, - { - "name": "docx_classic60_project_status_with_milestones", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 14705, - "reference_size": 141002, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic60_project_status_with_milestones.pdf\n+++ reference/docx_classic60_project_status_with_milestones.pdf\n@@ -14,4 +14,5 @@\n • Database migration downtime exceeding 4-hour window\n\n • Third-party API compatibility issues\n\n • Team capacity constraints during March\n\n+---PAGE---\n\n Figure: Sprint velocity chart", - "visual_scores": [ - 0.9607, - 0.0 - ], - "visual_avg": 0.4803, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic60_project_status_with_milestones_p1_minipdf.png", - "reference_img": "docx_classic60_project_status_with_milestones_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": null, - "reference_img": "docx_classic60_project_status_with_milestones_p2_reference.png" - } - ], - "overall_score": 0.6921 - }, - { - "name": "docx_classic61_header_and_footer", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2627, - "reference_size": 76328, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9873, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic61_header_and_footer.pdf\n+++ reference/docx_classic61_header_and_footer.pdf\n@@ -1,13 +1,13 @@\n MiniPdf Benchmark Report\n\n Header and Footer Test\n\n-Section 1: This content appears between the header and footer. It demonstrates how MiniPdf\n\n-handles page headers and footers in DOCX conversion.\n\n-Section 2: This content appears between the header and footer. It demonstrates how MiniPdf\n\n-handles page headers and footers in DOCX conversion.\n\n-Section 3: This content appears between the header and footer. It demonstrates how MiniPdf\n\n-handles page headers and footers in DOCX conversion.\n\n-Section 4: This content appears between the header and footer. It demonstrates how MiniPdf\n\n-handles page headers and footers in DOCX conversion.\n\n-Section 5: This content appears between the header and footer. It demonstrates how MiniPdf\n\n-handles page headers and footers in DOCX conversion.\n\n+Section 1: This content appears between the header and footer. It demonstrates how\n\n+MiniPdf handles page headers and footers in DOCX conversion.\n\n+Section 2: This content appears between the header and footer. It demonstrates how\n\n+MiniPdf handles page headers and footers in DOCX conversion.\n\n+Section 3: This content appears between the header and footer. It demonstrates how\n\n+MiniPdf handles page headers and footers in DOCX conversion.\n\n+Section 4: This content appears between the header and footer. It demonstrates how\n\n+MiniPdf handles page headers and footers in DOCX conversion.\n\n+Section 5: This content appears between the header and footer. It demonstrates how\n\n+MiniPdf handles page headers and footers in DOCX conversion.\n\n Page 1 | Confidential", - "visual_scores": [ - 0.9599 - ], - "visual_avg": 0.9599, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic61_header_and_footer_p1_minipdf.png", - "reference_img": "docx_classic61_header_and_footer_p1_reference.png" - } - ], - "overall_score": 0.984 - }, - { - "name": "docx_classic62_footnote_references", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2296, - "reference_size": 83417, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9724 - ], - "visual_avg": 0.9724, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic62_footnote_references_p1_minipdf.png", - "reference_img": "docx_classic62_footnote_references_p1_reference.png" - } - ], - "overall_score": 0.989 - }, - { - "name": "docx_classic63_toc_style_headings", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3471, - "reference_size": 116889, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.986, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic63_toc_style_headings.pdf\n+++ reference/docx_classic63_toc_style_headings.pdf\n@@ -1,17 +1,22 @@\n Table of Contents\n\n Chapter 1: Introduction 1\n\n-1.1 Background 3\n\n-1.2 Objectives 5\n\n+1.1 Background\n\n+3\n\n+1.2 Objectives\n\n+5\n\n Chapter 2: Literature Review 7\n\n 2.1 Historical Context 8\n\n-2.2 Current Research 12\n\n+2.2 Current Research\n\n+12\n\n 2.2.1 Methodology\n\n 13\n\n 2.2.2 Findings\n\n 15\n\n Chapter 3: Methodology 18\n\n-3.1 Data Collection 19\n\n-3.2 Analysis Framework 22\n\n+3.1 Data Collection\n\n+19\n\n+3.2 Analysis Framework\n\n+22\n\n Chapter 4: Results 25\n\n Chapter 5: Discussion 30\n\n Chapter 6: Conclusion 35\n", - "visual_scores": [ - 0.9824 - ], - "visual_avg": 0.9824, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic63_toc_style_headings_p1_minipdf.png", - "reference_img": "docx_classic63_toc_style_headings_p1_reference.png" - } - ], - "overall_score": 0.993 - }, - { - "name": "docx_classic64_multi_column_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3358, - "reference_size": 84036, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8494, - "flat_text_similarity": 0.6278, - "word_text_similarity": 0.8494, - "text_diff": "--- minipdf/docx_classic64_multi_column_layout.pdf\n+++ reference/docx_classic64_multi_column_layout.pdf\n@@ -1,14 +1,15 @@\n Newsletter - March 2026\n\n-Artificial intelligence continues to reshape the Cloud computing has become the backbone of\n\n-technology landscape. New advances in large modern enterprise IT. Multi-cloud strategies\n\n-language models enable more natural human- allow organizations to leverage the best\n\n-computer interaction. Companies worldwide features of different providers while avoiding\n\n-are investing heavily in AI research and vendor lock-in. Edge computing supplements\n\n-development, anticipating transformative cloud by processing data closer to its source,\n\n-impacts across industries from healthcare to reducing latency for critical applications.\n\n-manufacturing.\n\n+Artificial intelligence continues to reshape Cloud computing has become the backbone\n\n+the technology landscape. New advances in of modern enterprise IT. Multi-cloud\n\n+large language models enable more natural strategies allow organizations to leverage\n\n+human-computer interaction. Companies the best features of different providers\n\n+worldwide are investing heavily in AI while avoiding vendor lock-in. Edge\n\n+research and development, anticipating computing supplements cloud by\n\n+transformative impacts across industries processing data closer to its source,\n\n+from healthcare to manufacturing. reducing latency for critical applications.\n\n Featured Article\n\n-Open source software has become the foundation of modern software development. Projects like\n\n-Linux, Kubernetes, and .NET have demonstrated how community-driven development can\n\n-produce enterprise-grade software. The MiniPdf project itself is an example of this approach,\n\n-providing PDF generation capabilities without proprietary dependencies.\n+Open source software has become the foundation of modern software development.\n\n+Projects like Linux, Kubernetes, and .NET have demonstrated how community-driven\n\n+development can produce enterprise-grade software. The MiniPdf project itself is an\n\n+example of this approach, providing PDF generation capabilities without proprietary\n\n+dependencies.", - "visual_scores": [ - 0.9694 - ], - "visual_avg": 0.9694, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic64_multi_column_layout_p1_minipdf.png", - "reference_img": "docx_classic64_multi_column_layout_p1_reference.png" - } - ], - "overall_score": 0.9275 - }, - { - "name": "docx_classic65_code_block_styling", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2886, - "reference_size": 91759, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.8699 - ], - "visual_avg": 0.8699, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic65_code_block_styling_p1_minipdf.png", - "reference_img": "docx_classic65_code_block_styling_p1_reference.png" - } - ], - "overall_score": 0.948 - }, - { - "name": "docx_classic66_colored_title_page", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2738, - "reference_size": 89358, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9644 - ], - "visual_avg": 0.9644, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic66_colored_title_page_p1_minipdf.png", - "reference_img": "docx_classic66_colored_title_page_p1_reference.png" - } - ], - "overall_score": 0.9858 - }, - { - "name": "docx_classic67_alternating_row_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 27628, - "reference_size": 115887, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9778, - "flat_text_similarity": 0.9718, - "word_text_similarity": 0.9778, - "text_diff": "--- minipdf/docx_classic67_alternating_row_table.pdf\n+++ reference/docx_classic67_alternating_row_table.pdf\n@@ -4,10 +4,12 @@\n Developer\n\n E002 Bob Williams Marketing Marketing $95,000\n\n Manager\n\n-E003 Carol Davis Finance Financial Analyst $88,000\n\n+E003 Carol Davis Finance Financial $88,000\n\n+Analyst\n\n E004 David Brown Engineering Tech Lead $135,000\n\n E005 Emily Chen Design UX Designer $92,000\n\n-E006 Frank Miller Engineering Junior Developer $75,000\n\n+E006 Frank Miller Engineering Junior $75,000\n\n+Developer\n\n E007 Grace Lee HR HR Specialist $82,000\n\n E008 Henry Wilson Engineering DevOps $110,000\n\n Engineer\n", - "visual_scores": [ - 0.9204 - ], - "visual_avg": 0.9204, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic67_alternating_row_table_p1_minipdf.png", - "reference_img": "docx_classic67_alternating_row_table_p1_reference.png" - } - ], - "overall_score": 0.9593 - }, - { - "name": "docx_classic68_sidebar_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3236, - "reference_size": 129996, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9091, - "flat_text_similarity": 0.8271, - "word_text_similarity": 0.9091, - "text_diff": "--- minipdf/docx_classic68_sidebar_layout.pdf\n+++ reference/docx_classic68_sidebar_layout.pdf\n@@ -2,17 +2,17 @@\n Navigation\n\n Overview\n\n Overview\n\n-MiniPdf is a lightweight .NET library for\n\n+MiniPdf is a lightweight .NET library for converting Word and\n\n Installation\n\n-converting Word and Excel documents to PDF\n\n+Excel documents to PDF format without requiring Microsoft\n\n Configuration\n\n-format without requiring Microsoft Office.\n\n+Office.\n\n API Reference\n\n Key Features\n\n FAQ\n\n-DOCX to PDF conversion\n\n+• DOCX to PDF conversion\n\n Changelog\n\n-XLSX to PDF conversion\n\n-CJK font support\n\n-Image embedding\n\n-Table formatting\n+• XLSX to PDF conversion\n\n+• CJK font support\n\n+• Image embedding\n\n+• Table formatting", - "visual_scores": [ - 0.9544 - ], - "visual_avg": 0.9544, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic68_sidebar_layout_p1_minipdf.png", - "reference_img": "docx_classic68_sidebar_layout_p1_reference.png" - } - ], - "overall_score": 0.9454 - }, - { - "name": "docx_classic69_blockquote_styling", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2514, - "reference_size": 110121, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9715 - ], - "visual_avg": 0.9715, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic69_blockquote_styling_p1_minipdf.png", - "reference_img": "docx_classic69_blockquote_styling_p1_reference.png" - } - ], - "overall_score": 0.9886 - }, - { - "name": "docx_classic70_academic_paper", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9601, - "reference_size": 158286, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9924, - "flat_text_similarity": 0.9491, - "word_text_similarity": 0.9924, - "text_diff": "--- minipdf/docx_classic70_academic_paper.pdf\n+++ reference/docx_classic70_academic_paper.pdf\n@@ -3,17 +3,17 @@\n Department of Computer Science, University of Technology\n\n Abstract\n\n This paper surveys modern techniques for generating PDF documents from\n\n-structured office formats. We evaluate the quality and performance of conversion\n\n-tools across a benchmark suite of 90 test documents covering diverse formatting\n\n-features.\n\n+structured office formats. We evaluate the quality and performance of\n\n+conversion tools across a benchmark suite of 90 test documents covering\n\n+diverse formatting features.\n\n 1. Introduction\n\n-PDF (Portable Document Format) remains the standard for sharing documents with consistent\n\n-visual fidelity. Converting from editable office formats such as DOCX and XLSX to PDF requires\n\n-careful handling of fonts, layouts, images, and styling attributes.\n\n+PDF (Portable Document Format) remains the standard for sharing documents with\n\n+consistent visual fidelity. Converting from editable office formats such as DOCX and XLSX to\n\n+PDF requires careful handling of fonts, layouts, images, and styling attributes.\n\n 2. Methodology\n\n-Our benchmark suite consists of 90 DOCX test files and 90 XLSX test files, each targeting specific\n\n-formatting features. We compare output from MiniPdf against LibreOffice-generated reference\n\n-PDFs using pixel-level similarity scoring.\n\n+Our benchmark suite consists of 90 DOCX test files and 90 XLSX test files, each targeting\n\n+specific formatting features. We compare output from MiniPdf against LibreOffice-\n\n+generated reference PDFs using pixel-level similarity scoring.\n\n 3. Results\n\n Feature Category Avg Score Sample Size\n\n Basic Text 98.5% 20\n\n@@ -21,8 +21,8 @@\n Images 94.8% 15\n\n Mixed Content 95.1% 30\n\n 4. Conclusion\n\n-Modern lightweight PDF generation libraries can achieve high fidelity output for the majority of\n\n-common document formatting features.\n\n+Modern lightweight PDF generation libraries can achieve high fidelity output for the\n\n+majority of common document formatting features.\n\n References\n\n [1] ISO 32000-2:2020. Document management - Portable document format.\n\n [2] ECMA-376. Office Open XML File Formats.\n", - "visual_scores": [ - 0.94 - ], - "visual_avg": 0.94, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic70_academic_paper_p1_minipdf.png", - "reference_img": "docx_classic70_academic_paper_p1_reference.png" - } - ], - "overall_score": 0.973 - }, - { - "name": "docx_classic71_legal_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3746, - "reference_size": 91798, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9961, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic71_legal_document.pdf\n+++ reference/docx_classic71_legal_document.pdf\n@@ -1,6 +1,6 @@\n SOFTWARE LICENSE AGREEMENT\n\n-This Software License Agreement (the \"Agreement\") is entered into as of March 1, 2026, by and\n\n-between MiniPdf Corporation (\"Licensor\") and the End User (\"Licensee\").\n\n+This Software License Agreement (the \"Agreement\") is entered into as of March 1, 2026, by\n\n+and between MiniPdf Corporation (\"Licensor\") and the End User (\"Licensee\").\n\n 1. GRANT OF LICENSE\n\n 1.1 Subject to the terms of this Agreement, Licensor grants Licensee a non-exclusive,\n\n non-transferable license to use the Software.\n", - "visual_scores": [ - 0.9612 - ], - "visual_avg": 0.9612, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic71_legal_document_p1_minipdf.png", - "reference_img": "docx_classic71_legal_document_p1_reference.png" - } - ], - "overall_score": 0.9845 - }, - { - "name": "docx_classic72_technical_specification", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 16161, - "reference_size": 158590, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9448 - ], - "visual_avg": 0.9448, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic72_technical_specification_p1_minipdf.png", - "reference_img": "docx_classic72_technical_specification_p1_reference.png" - } - ], - "overall_score": 0.9779 - }, - { - "name": "docx_classic73_calendar_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 17205, - "reference_size": 68915, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9567 - ], - "visual_avg": 0.9567, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic73_calendar_layout_p1_minipdf.png", - "reference_img": "docx_classic73_calendar_layout_p1_reference.png" - } - ], - "overall_score": 0.9827 - }, - { - "name": "docx_classic74_org_chart", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5996, - "reference_size": 102171, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9284 - ], - "visual_avg": 0.9284, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic74_org_chart_p1_minipdf.png", - "reference_img": "docx_classic74_org_chart_p1_reference.png" - } - ], - "overall_score": 0.9714 - }, - { - "name": "docx_classic75_newsletter_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3265, - "reference_size": 112463, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9857, - "flat_text_similarity": 0.9578, - "word_text_similarity": 0.9857, - "text_diff": "--- minipdf/docx_classic75_newsletter_layout.pdf\n+++ reference/docx_classic75_newsletter_layout.pdf\n@@ -1,10 +1,11 @@\n THE TECH WEEKLY\n\n Issue #42 | March 6, 2026\n\n AI Revolution in Software Development\n\n-The integration of large language models into development workflows is transforming how teams\n\n-write, review, and deploy code. Industry experts predict that AI-assisted development will become\n\n-standard practice by 2027.\n\n+The integration of large language models into development workflows is transforming how\n\n+teams write, review, and deploy code. Industry experts predict that AI-assisted\n\n+development will become standard practice by 2027.\n\n Quick Updates\n\n Cloud Infrastructure Open Source\n\n-Major cloud providers announce new edge The .NET Foundation releases new guidelines\n\n-computing regions in Asia-Pacific. for community project governance.\n+Major cloud providers announce new edge The .NET Foundation releases new\n\n+computing regions in Asia-Pacific. guidelines for community project\n\n+governance.", - "visual_scores": [ - 0.9656 - ], - "visual_avg": 0.9656, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic75_newsletter_layout_p1_minipdf.png", - "reference_img": "docx_classic75_newsletter_layout_p1_reference.png" - } - ], - "overall_score": 0.9805 - }, - { - "name": "docx_classic76_recipe_card", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5610, - "reference_size": 138002, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9678 - ], - "visual_avg": 0.9678, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic76_recipe_card_p1_minipdf.png", - "reference_img": "docx_classic76_recipe_card_p1_reference.png" - } - ], - "overall_score": 0.9871 - }, - { - "name": "docx_classic77_timeline_layout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9069, - "reference_size": 120673, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.96, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic77_timeline_layout.pdf\n+++ reference/docx_classic77_timeline_layout.pdf\n@@ -1,8 +1,10 @@\n Project Timeline: MiniPdf v2.0\n\n-Q1 2025 Project Inception Initial requirements gathering\n\n-and architecture design.\n\n+Q1 2025 Project Inception Initial requirements\n\n+gathering and architecture\n\n+design.\n\n Q2 2025 XLSX Support Implemented Excel-to-PDF\n\n-conversion with chart support.\n\n+conversion with chart\n\n+support.\n\n Q3 2025 Benchmark Suite Created automated\n\n benchmark pipeline with 60\n\n test cases.\n", - "visual_scores": [ - 0.9241 - ], - "visual_avg": 0.9241, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic77_timeline_layout_p1_minipdf.png", - "reference_img": "docx_classic77_timeline_layout_p1_reference.png" - } - ], - "overall_score": 0.9696 - }, - { - "name": "docx_classic78_faq_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6107, - "reference_size": 128489, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 0.9822, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic78_faq_document.pdf\n+++ reference/docx_classic78_faq_document.pdf\n@@ -1,8 +1,9 @@\n Frequently Asked Questions\n\n Find answers to the most common questions about MiniPdf.\n\n Q1: What is MiniPdf?\n\n-A: MiniPdf is a lightweight .NET library for converting DOCX and XLSX files to PDF without\n\n-requiring Microsoft Office installation. It supports both DOCX and XLSX formats.\n\n+A: MiniPdf is a lightweight .NET library for converting DOCX and XLSX files to PDF\n\n+without requiring Microsoft Office installation. It supports both DOCX and XLSX\n\n+formats.\n\n Q2: Which .NET versions are supported?\n\n A: .NET 8.0 and later versions are supported. The library targets .NET Standard 2.0 for\n\n maximum compatibility across different .NET implementations.\n\n@@ -10,30 +11,30 @@\n A: Yes, MiniPdf supports embedded images in both DOCX and XLSX formats. Images are\n\n converted and embedded in the output PDF with proper scaling.\n\n Q4: How is the conversion quality measured?\n\n-A: Quality is measured by pixel-level comparison against LibreOffice-generated reference\n\n-PDFs. Each test case receives a similarity score from 0% to 100%.\n\n+A: Quality is measured by pixel-level comparison against LibreOffice-generated\n\n+reference PDFs. Each test case receives a similarity score from 0% to 100%.\n\n Q5: Can MiniPdf handle CJK characters?\n\n A: Yes, MiniPdf includes CJK font embedding support for Chinese, Japanese, and Korean\n\n text in both DOCX and XLSX documents.\n\n Q6: Is MiniPdf available on NuGet?\n\n A: Yes, MiniPdf is published as a NuGet package and can be installed via dotnet add\n\n package MiniPdf.\n\n+---PAGE---\n\n Q7: What table features are supported?\n\n----PAGE---\n\n-A: MiniPdf supports table borders, cell shading, merged cells, column widths, and alternating\n\n-row colors in both DOCX and XLSX formats.\n\n+A: MiniPdf supports table borders, cell shading, merged cells, column widths, and\n\n+alternating row colors in both DOCX and XLSX formats.\n\n Q8: How do I report a bug?\n\n-A: Please open an issue on the GitHub repository with a minimal reproduction case and the\n\n-expected vs actual output.\n\n+A: Please open an issue on the GitHub repository with a minimal reproduction case and\n\n+the expected vs actual output.\n\n Q9: Does MiniPdf support headers and footers?\n\n-A: MiniPdf does not currently render headers and footers from DOCX files. The content area\n\n-of each page is fully supported including text, tables, and images.\n\n+A: MiniPdf does not currently render headers and footers from DOCX files. The content\n\n+area of each page is fully supported including text, tables, and images.\n\n Q10: What is the maximum file size supported?\n\n A: There is no hard limit on file size. MiniPdf processes files in a streaming fashion and\n\n memory usage scales with document complexity rather than file size.\n\n Q11: Can I use MiniPdf in a web application?\n\n-A: Yes, MiniPdf works in any .NET environment including ASP.NET Core web applications,\n\n-Azure Functions, and containerized services.\n\n+A: Yes, MiniPdf works in any .NET environment including ASP.NET Core web\n\n+applications, Azure Functions, and containerized services.\n\n Q12: Does MiniPdf preserve hyperlinks?\n\n A: Hyperlink text is preserved in the output PDF, but clickable URLs are not currently\n\n supported. The link text appears as regular styled text.", - "visual_scores": [ - 0.9381, - 0.9587 - ], - "visual_avg": 0.9484, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic78_faq_document_p1_minipdf.png", - "reference_img": "docx_classic78_faq_document_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic78_faq_document_p2_minipdf.png", - "reference_img": "docx_classic78_faq_document_p2_reference.png" - } - ], - "overall_score": 0.9794 - }, - { - "name": "docx_classic79_glossary", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3536, - "reference_size": 112625, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9955, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic79_glossary.pdf\n+++ reference/docx_classic79_glossary.pdf\n@@ -1,10 +1,10 @@\n Glossary of Terms\n\n API\n\n-Application Programming Interface. A set of protocols and tools for building software\n\n-applications.\n\n+Application Programming Interface. A set of protocols and tools for building\n\n+software applications.\n\n CI/CD\n\n-Continuous Integration / Continuous Deployment. Practices for automating software\n\n-delivery.\n\n+Continuous Integration / Continuous Deployment. Practices for automating\n\n+software delivery.\n\n CJK\n\n Chinese, Japanese, Korean. Refers to the character sets used in these languages.\n\n DOCX\n", - "visual_scores": [ - 0.9636 - ], - "visual_avg": 0.9636, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic79_glossary_p1_minipdf.png", - "reference_img": "docx_classic79_glossary_p1_reference.png" - } - ], - "overall_score": 0.9854 - }, - { - "name": "docx_classic80_matrix_grid", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 24950, - "reference_size": 111032, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9737, - "flat_text_similarity": 0.9185, - "word_text_similarity": 0.9737, - "text_diff": "--- minipdf/docx_classic80_matrix_grid.pdf\n+++ reference/docx_classic80_matrix_grid.pdf\n@@ -10,9 +10,10 @@\n implementation\n\n PDF writer A R I I\n\n implementation\n\n-Benchmark suite C R A I\n\n-creation\n\n-CJK font support A R C I\n\n+Benchmark C R A I\n\n+suite creation\n\n+CJK font A R C I\n\n+support\n\n Code review C R A I\n\n Documentation A R C C\n\n Release R I C A\n", - "visual_scores": [ - 0.9376 - ], - "visual_avg": 0.9376, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic80_matrix_grid_p1_minipdf.png", - "reference_img": "docx_classic80_matrix_grid_p1_reference.png" - } - ], - "overall_score": 0.9645 - }, - { - "name": "docx_classic81_budget_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 22125, - "reference_size": 129792, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9382 - ], - "visual_avg": 0.9382, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic81_budget_table_p1_minipdf.png", - "reference_img": "docx_classic81_budget_table_p1_reference.png" - } - ], - "overall_score": 0.9753 - }, - { - "name": "docx_classic82_survey_questionnaire", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 37305, - "reference_size": 123279, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9883, - "flat_text_similarity": 0.945, - "word_text_similarity": 0.9883, - "text_diff": "--- minipdf/docx_classic82_survey_questionnaire.pdf\n+++ reference/docx_classic82_survey_questionnaire.pdf\n@@ -3,7 +3,8 @@\n Work Environment\n\n Statement 1 2 3 4 5\n\n My\n\n-workspace is\n\n+workspace\n\n+is\n\n comfortable\n\n and well-\n\n equipped.\n\n@@ -18,22 +19,25 @@\n Management\n\n Statement 1 2 3 4 5\n\n My manager\n\n-provides clear\n\n-direction and\n\n+provides\n\n+clear\n\n+direction\n\n+and\n\n expectations.\n\n I receive\n\n regular and\n\n constructive\n\n feedback.\n\n Management\n\n-is transparent\n\n+is\n\n+transparent\n\n about\n\n company\n\n goals.\n\n Career Development\n\n Statement 1 2 3 4 5\n\n+I have\n\n ---PAGE---\n\n-I have\n\n opportunities\n\n for\n\n professional\n\n@@ -48,10 +52,10 @@\n advancement.\n\n Work-Life Balance\n\n Statement 1 2 3 4 5\n\n-I can maintain\n\n-a healthy\n\n-work-life\n\n-balance.\n\n+I can\n\n+maintain a\n\n+healthy work-\n\n+life balance.\n\n Flexible work\n\n arrangements\n\n are available.\n", - "visual_scores": [ - 0.9286, - 0.9708 - ], - "visual_avg": 0.9497, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic82_survey_questionnaire_p1_minipdf.png", - "reference_img": "docx_classic82_survey_questionnaire_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic82_survey_questionnaire_p2_minipdf.png", - "reference_img": "docx_classic82_survey_questionnaire_p2_reference.png" - } - ], - "overall_score": 0.9752 - }, - { - "name": "docx_classic83_medical_form", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 22650, - "reference_size": 116392, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9433 - ], - "visual_avg": 0.9433, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic83_medical_form_p1_minipdf.png", - "reference_img": "docx_classic83_medical_form_p1_reference.png" - } - ], - "overall_score": 0.9773 - }, - { - "name": "docx_classic84_shipping_label", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7625, - "reference_size": 115136, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9292 - ], - "visual_avg": 0.9292, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic84_shipping_label_p1_minipdf.png", - "reference_img": "docx_classic84_shipping_label_p1_reference.png" - } - ], - "overall_score": 0.9717 - }, - { - "name": "docx_classic85_report_card", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 21525, - "reference_size": 95268, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9405 - ], - "visual_avg": 0.9405, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic85_report_card_p1_minipdf.png", - "reference_img": "docx_classic85_report_card_p1_reference.png" - } - ], - "overall_score": 0.9762 - }, - { - "name": "docx_classic86_checklist_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 411348, - "reference_size": 89619, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9992, - "flat_text_similarity": 0.9992, - "word_text_similarity": 0.9829, - "text_diff": "--- minipdf/docx_classic86_checklist_document.pdf\n+++ reference/docx_classic86_checklist_document.pdf\n@@ -1,5 +1,5 @@\n Project Launch Checklist\n\n-Complete all items before the scheduled launch date .\n\n+Complete all items before the scheduled launch date.\n\n Pre-Launch\n\n ☑ Code review completed\n\n ☑ Unit tests passing\n", - "visual_scores": [ - 0.9686 - ], - "visual_avg": 0.9686, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic86_checklist_document_p1_minipdf.png", - "reference_img": "docx_classic86_checklist_document_p1_reference.png" - } - ], - "overall_score": 0.9871 - }, - { - "name": "docx_classic87_bibliography", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4131, - "reference_size": 141475, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9934, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic87_bibliography.pdf\n+++ reference/docx_classic87_bibliography.pdf\n@@ -3,12 +3,12 @@\n Journal of Software Engineering, 42(3), 125-148.\n\n [2] Chen, L., Wang, M., & Liu, X. (2024). Benchmarking PDF Generation Libraries: Quality and\n\n Performance. ACM Computing Surveys, 57(1), 1-35.\n\n-[3] Brown, A. (2025). Office Open XML: Architecture and Implementation. IEEE Transactions on\n\n-Document Analysis, 28(4), 890-905.\n\n+[3] Brown, A. (2025). Office Open XML: Architecture and Implementation. IEEE Transactions\n\n+on Document Analysis, 28(4), 890-905.\n\n [4] ISO (2020). ISO 32000-2:2020 Document Management - Portable Document Format.\n\n International Organization for Standardization.\n\n-[5] ECMA International (2016). ECMA-376: Office Open XML File Formats. ECMA International,\n\n-5th Edition.\n\n+[5] ECMA International (2016). ECMA-376: Office Open XML File Formats. ECMA\n\n+International, 5th Edition.\n\n [6] Davis, K., & Martinez, S. (2024). AI-Driven Code Review: Patterns and Anti-Patterns.\n\n Proceedings of ICSE 2024, pp. 445-460.\n\n [7] Taylor, P. (2025). CJK Font Embedding in Portable Documents. International Journal of\n", - "visual_scores": [ - 0.9711 - ], - "visual_avg": 0.9711, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic87_bibliography_p1_minipdf.png", - "reference_img": "docx_classic87_bibliography_p1_reference.png" - } - ], - "overall_score": 0.9884 - }, - { - "name": "docx_classic88_presentation_handout", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10480, - "reference_size": 112210, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic88_presentation_handout.pdf\n+++ reference/docx_classic88_presentation_handout.pdf\n@@ -20,11 +20,11 @@\n ______________________________________________________________________\n\n Slide 4: XLSX Support\n\n Excel workbook processing and chart rendering.\n\n----PAGE---\n\n Notes:\n\n ______________________________________________________________________\n\n ______________________________________________________________________\n\n ______________________________________________________________________\n\n+---PAGE---\n\n Slide 5: Quality Assurance\n\n Benchmark pipeline and self-evolution cycle.\n\n Notes:\n", - "visual_scores": [ - 0.7974, - 0.6261 - ], - "visual_avg": 0.7117, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic88_presentation_handout_p1_minipdf.png", - "reference_img": "docx_classic88_presentation_handout_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic88_presentation_handout_p2_minipdf.png", - "reference_img": "docx_classic88_presentation_handout_p2_reference.png" - } - ], - "overall_score": 0.8847 - }, - { - "name": "docx_classic89_multi_image_gallery", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8447, - "reference_size": 103275, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9919, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic89_multi_image_gallery.pdf\n+++ reference/docx_classic89_multi_image_gallery.pdf\n@@ -3,5 +3,5 @@\n Steel Blue Crimson Lime Green\n\n Orange Purple Turquoise\n\n Gold Rosy Brown Cornflower\n\n-Each image demonstrates a different color channel for testing image encoding fidelity in PDF\n\n-output.\n+Each image demonstrates a different color channel for testing image encoding fidelity in\n\n+PDF output.", - "visual_scores": [ - 0.9521 - ], - "visual_avg": 0.9521, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic89_multi_image_gallery_p1_minipdf.png", - "reference_img": "docx_classic89_multi_image_gallery_p1_reference.png" - } - ], - "overall_score": 0.9808 - }, - { - "name": "docx_classic90_comprehensive_annual_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 20696, - "reference_size": 198798, - "pdf_valid": true, - "minipdf_pages": 4, - "reference_pages": 4, - "text_similarity": 1.0, - "flat_text_similarity": 0.9973, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic90_comprehensive_annual_report.pdf\n+++ reference/docx_classic90_comprehensive_annual_report.pdf\n@@ -11,9 +11,9 @@\n Outlook & Strategy................................10\n\n ---PAGE---\n\n Executive Summary\n\n-Dear Stakeholders, We are pleased to present the annual report for MiniPdf Corporation. This\n\n-year marked significant milestones in our product development, including the launch of\n\n-DOCX-to-PDF conversion and expansion of our benchmark suite to 180 test cases.\n\n+Dear Stakeholders, We are pleased to present the annual report for MiniPdf Corporation.\n\n+This year marked significant milestones in our product development, including the launch\n\n+of DOCX-to-PDF conversion and expansion of our benchmark suite to 180 test cases.\n\n Key Metrics\n\n Revenue Users Test Cases Quality Score\n\n $2.4M 12,500 180 97.2%\n", - "visual_scores": [ - 0.9771, - 0.9934, - 0.8944, - 0.9895 - ], - "visual_avg": 0.9636, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic90_comprehensive_annual_report_p1_minipdf.png", - "reference_img": "docx_classic90_comprehensive_annual_report_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic90_comprehensive_annual_report_p2_minipdf.png", - "reference_img": "docx_classic90_comprehensive_annual_report_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic90_comprehensive_annual_report_p3_minipdf.png", - "reference_img": "docx_classic90_comprehensive_annual_report_p3_reference.png" - }, - { - "page": 4, - "minipdf_img": "docx_classic90_comprehensive_annual_report_p4_minipdf.png", - "reference_img": "docx_classic90_comprehensive_annual_report_p4_reference.png" - } - ], - "overall_score": 0.9854 - }, - { - "name": "docx_classic91_landscape_page", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13703, - "reference_size": 109003, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9751 - ], - "visual_avg": 0.9751, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic91_landscape_page_p1_minipdf.png", - "reference_img": "docx_classic91_landscape_page_p1_reference.png" - } - ], - "overall_score": 0.99 - }, - { - "name": "docx_classic92_first_line_indent", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2466, - "reference_size": 77578, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9868, - "flat_text_similarity": 0.9542, - "word_text_similarity": 0.9868, - "text_diff": "--- minipdf/docx_classic92_first_line_indent.pdf\n+++ reference/docx_classic92_first_line_indent.pdf\n@@ -1,11 +1,12 @@\n First-Line Indentation Example\n\n-The quick brown fox jumps over the lazy dog. This paragraph demonstrates first-line\n\n-indentation, a common typographic convention in printed books and formal documents to indicate\n\n-the start of a new paragraph.\n\n-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt\n\n-ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n\n-laboris.\n\n-In traditional typography, the first paragraph after a heading is often not indented, while\n\n-subsequent paragraphs use a first-line indent of about 0.5 inches to visually separate them.\n\n+The quick brown fox jumps over the lazy dog. This paragraph demonstrates first-\n\n+line indentation, a common typographic convention in printed books and formal documents\n\n+to indicate the start of a new paragraph.\n\n+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor\n\n+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud\n\n+exercitation ullamco laboris.\n\n+In traditional typography, the first paragraph after a heading is often not indented,\n\n+while subsequent paragraphs use a first-line indent of about 0.5 inches to visually separate\n\n+them.\n\n This style of formatting creates a clean, professional appearance and helps readers\n\n distinguish between paragraph boundaries without relying on extra spacing.", - "visual_scores": [ - 0.9573 - ], - "visual_avg": 0.9573, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic92_first_line_indent_p1_minipdf.png", - "reference_img": "docx_classic92_first_line_indent_p1_reference.png" - } - ], - "overall_score": 0.9776 - }, - { - "name": "docx_classic93_hanging_indent", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2850, - "reference_size": 93155, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9842, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic93_hanging_indent.pdf\n+++ reference/docx_classic93_hanging_indent.pdf\n@@ -5,10 +5,11 @@\n Applications.\" Journal of Document Processing, 15(3), 234-251.\n\n Williams, D. R. (2023). \"Cross-Platform Document Conversion: Challenges and Solutions.\" In\n\n Proceedings of the International Conference on Software Engineering, pp. 89-102.\n\n-Chen, L., & Martinez, R. (2025). \"Benchmarking Document Fidelity: A Comprehensive Framework\n\n-for PDF Quality Assessment.\" ACM Computing Surveys, 58(1), Article 12.\n\n-Anderson, K. M., Brown, T. P., & Davis, S. (2024). \"Open-Source Approaches to Office Document\n\n-Rendering Without Native Dependencies.\" Software: Practice and Experience, 54(7),\n\n-1120-1145.\n\n+Chen, L., & Martinez, R. (2025). \"Benchmarking Document Fidelity: A Comprehensive\n\n+Framework for PDF Quality Assessment.\" ACM Computing Surveys, 58(1), Article\n\n+12.\n\n+Anderson, K. M., Brown, T. P., & Davis, S. (2024). \"Open-Source Approaches to Office\n\n+Document Rendering Without Native Dependencies.\" Software: Practice and\n\n+Experience, 54(7), 1120-1145.\n\n Taylor, E. F. (2025). \"CJK Font Embedding Strategies in Cross-Platform PDF Generators.\"\n\n International Journal of Digital Typography, 8(2), 67-84.", - "visual_scores": [ - 0.9506 - ], - "visual_avg": 0.9506, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic93_hanging_indent_p1_minipdf.png", - "reference_img": "docx_classic93_hanging_indent_p1_reference.png" - } - ], - "overall_score": 0.9802 - }, - { - "name": "docx_classic94_custom_bullet_characters", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 409668, - "reference_size": 117189, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9966, - "flat_text_similarity": 0.9966, - "word_text_similarity": 0.951, - "text_diff": "--- minipdf/docx_classic94_custom_bullet_characters.pdf\n+++ reference/docx_classic94_custom_bullet_characters.pdf\n@@ -1,6 +1,6 @@\n Custom Bullet Characters\n\n Standard Bullets\n\n-•F irst item with default b ullet\n\n+• First item with default bullet\n\n • Second item\n\n • Third item\n\n Arrow-Style Items\n", - "visual_scores": [ - 0.981 - ], - "visual_avg": 0.981, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic94_custom_bullet_characters_p1_minipdf.png", - "reference_img": "docx_classic94_custom_bullet_characters_p1_reference.png" - } - ], - "overall_score": 0.991 - }, - { - "name": "docx_classic95_contract_template", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3055, - "reference_size": 82650, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9747 - ], - "visual_avg": 0.9747, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic95_contract_template_p1_minipdf.png", - "reference_img": "docx_classic95_contract_template_p1_reference.png" - } - ], - "overall_score": 0.9899 - }, - { - "name": "docx_classic96_dense_data_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 71128, - "reference_size": 126875, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.8839 - ], - "visual_avg": 0.8839, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic96_dense_data_table_p1_minipdf.png", - "reference_img": "docx_classic96_dense_data_table_p1_reference.png" - } - ], - "overall_score": 0.9536 - }, - { - "name": "docx_classic97_product_catalog", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5519, - "reference_size": 84145, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9839, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic97_product_catalog.pdf\n+++ reference/docx_classic97_product_catalog.pdf\n@@ -11,6 +11,6 @@\n rendering, and batch processing.\n\n MiniPdf Enterprise\n\n $199/mo\n\n-Complete enterprise solution with API access,\n\n-custom branding, SLA guarantee, and\n\n-dedicated support.\n+Complete enterprise solution with API\n\n+access, custom branding, SLA guarantee,\n\n+and dedicated support.", - "visual_scores": [ - 0.9335 - ], - "visual_avg": 0.9335, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic97_product_catalog_p1_minipdf.png", - "reference_img": "docx_classic97_product_catalog_p1_reference.png" - } - ], - "overall_score": 0.9734 - }, - { - "name": "docx_classic98_training_manual", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4363, - "reference_size": 173553, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9991, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic98_training_manual.pdf\n+++ reference/docx_classic98_training_manual.pdf\n@@ -15,7 +15,8 @@\n using MiniPdf;\n\n var converter = new DocxToPdfConverter();\n\n converter.Convert(\"input.docx\", \"output.pdf\");\n\n-WARNING: Large files may require additional memory. Set appropriate limits for production use.\n\n+WARNING: Large files may require additional memory. Set appropriate limits for\n\n+production use.\n\n Chapter 3: Advanced Features\n\n CJK Support: Enable Chinese, Japanese, and Korean font embedding for international\n\n documents.\n", - "visual_scores": [ - 0.9536 - ], - "visual_avg": 0.9536, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic98_training_manual_p1_minipdf.png", - "reference_img": "docx_classic98_training_manual_p1_reference.png" - } - ], - "overall_score": 0.9814 - }, - { - "name": "docx_classic99_policy_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9552, - "reference_size": 139982, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9937, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic99_policy_document.pdf\n+++ reference/docx_classic99_policy_document.pdf\n@@ -6,20 +6,20 @@\n Reviewer A. Chen 2026-02-20\n\n Approver D. Williams 2026-03-01\n\n 1. PURPOSE\n\n-This policy establishes the information security requirements for all employees, contractors, and\n\n-third-party users of MiniPdf Corporation systems and data.\n\n+This policy establishes the information security requirements for all employees,\n\n+contractors, and third-party users of MiniPdf Corporation systems and data.\n\n 2. SCOPE\n\n This policy applies to all information assets, IT systems, and personnel who access, process,\n\n store, or transmit company data regardless of format or location.\n\n 3. PASSWORD REQUIREMENTS\n\n-All passwords must be at least 12 characters long and include uppercase letters, lowercase letters,\n\n-numbers, and special characters. Passwords must be changed every 90 days.\n\n+All passwords must be at least 12 characters long and include uppercase letters, lowercase\n\n+letters, numbers, and special characters. Passwords must be changed every 90 days.\n\n 4. DATA CLASSIFICATION\n\n-Data shall be classified as: Public, Internal, Confidential, or Restricted. Each classification level\n\n-has specific handling requirements detailed in Appendix A.\n\n+Data shall be classified as: Public, Internal, Confidential, or Restricted. Each classification\n\n+level has specific handling requirements detailed in Appendix A.\n\n 5. INCIDENT REPORTING\n\n-All security incidents must be reported within 24 hours to the Information Security Team. Failure to\n\n-report incidents may result in disciplinary action.\n\n+All security incidents must be reported within 24 hours to the Information Security Team.\n\n+Failure to report incidents may result in disciplinary action.\n\n 6. COMPLIANCE\n\n Violations of this policy may result in disciplinary action up to and including termination of\n\n employment or contract.\n", - "visual_scores": [ - 0.9477 - ], - "visual_avg": 0.9477, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic99_policy_document_p1_minipdf.png", - "reference_img": "docx_classic99_policy_document_p1_reference.png" - } - ], - "overall_score": 0.9791 - }, - { - "name": "docx_classic100_multi_page_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 106005, - "reference_size": 141154, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9866, - "flat_text_similarity": 0.9866, - "word_text_similarity": 0.9625, - "text_diff": "--- minipdf/docx_classic100_multi_page_table.pdf\n+++ reference/docx_classic100_multi_page_table.pdf\n@@ -41,10 +41,10 @@\n EMP-038 Grace Smith Operations Manager New York\n\n EMP-039 Eva Smith Engineering Coordinator London\n\n EMP-040 Frank Davis Engineering Specialist New York\n\n+---PAGE---\n\n+ID Name Department Title Location\n\n EMP-041 Bob Smith Operations Coordinator London\n\n EMP-042 Iris Williams Marketing Specialist San Francisco\n\n----PAGE---\n\n-ID Name Department Title Location\n\n EMP-043 Alice Garcia HR Director New York\n\n EMP-044 Grace Miller Operations Director New York\n\n EMP-045 David Williams HR Coordinator Berlin\n", - "visual_scores": [ - 0.7909, - 0.9492 - ], - "visual_avg": 0.87, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic100_multi_page_table_p1_minipdf.png", - "reference_img": "docx_classic100_multi_page_table_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic100_multi_page_table_p2_minipdf.png", - "reference_img": "docx_classic100_multi_page_table_p2_reference.png" - } - ], - "overall_score": 0.9426 - }, - { - "name": "docx_classic101_warranty_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3908, - "reference_size": 134098, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.987, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic101_warranty_document.pdf\n+++ reference/docx_classic101_warranty_document.pdf\n@@ -2,8 +2,8 @@\n MiniPdf Software Products\n\n WARRANTY COVERAGE\n\n MiniPdf Corporation (\"Company\") warrants that the Software will perform substantially in\n\n-accordance with the accompanying documentation for a period of one (1) year from the date of\n\n-purchase (\"Warranty Period\").\n\n+accordance with the accompanying documentation for a period of one (1) year from the\n\n+date of purchase (\"Warranty Period\").\n\n WHAT IS COVERED\n\n • Defects in the conversion engine that cause incorrect output\n\n • Font rendering issues for supported font families\n\n@@ -15,7 +15,7 @@\n • Third-party integration failures\n\n • Cosmetic differences between source and output documents\n\n LIMITATION OF LIABILITY\n\n-IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY INDIRECT,\n\n-INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING\n\n-OUT OF OR IN CONNECTION WITH THIS WARRANTY.\n\n+IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY INDIRECT, INCIDENTAL,\n\n+SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR IN\n\n+CONNECTION WITH THIS WARRANTY.\n\n For warranty claims, contact: support@minipdf.example.com", - "visual_scores": [ - 0.9567 - ], - "visual_avg": 0.9567, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic101_warranty_document_p1_minipdf.png", - "reference_img": "docx_classic101_warranty_document_p1_reference.png" - } - ], - "overall_score": 0.9827 - }, - { - "name": "docx_classic102_curriculum_syllabus", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13076, - "reference_size": 150812, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9961, - "flat_text_similarity": 0.9961, - "word_text_similarity": 0.9882, - "text_diff": "--- minipdf/docx_classic102_curriculum_syllabus.pdf\n+++ reference/docx_classic102_curriculum_syllabus.pdf\n@@ -3,9 +3,9 @@\n Instructor\n\n Dr. Jane Smith | jane.smith@university.edu | Office: CS Building 312\n\n Course Description\n\n-This course covers modern software engineering practices including agile methodologies, test-\n\n-driven development, continuous integration, and software architecture patterns. Students will work\n\n-in teams on a semester-long project.\n\n+This course covers modern software engineering practices including agile methodologies,\n\n+test-driven development, continuous integration, and software architecture patterns.\n\n+Students will work in teams on a semester-long project.\n\n Learning Objectives\n\n 1. Apply software design patterns to real-world problems\n\n 2. Implement CI/CD pipelines for automated testing\n", - "visual_scores": [ - 0.9466 - ], - "visual_avg": 0.9466, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic102_curriculum_syllabus_p1_minipdf.png", - "reference_img": "docx_classic102_curriculum_syllabus_p1_reference.png" - } - ], - "overall_score": 0.9771 - }, - { - "name": "docx_classic103_event_program", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13902, - "reference_size": 147081, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9917, - "flat_text_similarity": 0.9908, - "word_text_similarity": 0.9917, - "text_diff": "--- minipdf/docx_classic103_event_program.pdf\n+++ reference/docx_classic103_event_program.pdf\n@@ -5,7 +5,8 @@\n Time Session Location\n\n 09:00 - 09:30 Registration & Coffee Lobby\n\n 09:30 - 10:30 Keynote: The Future of .NET Main Hall\n\n-10:45 - 11:30 Building PDF Libraries in C# Room A\n\n+10:45 - 11:30 Building PDF Libraries in Room A\n\n+C#\n\n 11:45 - 12:30 AI-Powered Code Review Room B\n\n 12:30 - 14:00 Lunch Break Restaurant\n\n 14:00 - 14:45 Benchmark-Driven Room A\n", - "visual_scores": [ - 0.9773, - 0.9484 - ], - "visual_avg": 0.9628, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic103_event_program_p1_minipdf.png", - "reference_img": "docx_classic103_event_program_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic103_event_program_p2_minipdf.png", - "reference_img": "docx_classic103_event_program_p2_reference.png" - } - ], - "overall_score": 0.9818 - }, - { - "name": "docx_classic104_sop_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7637, - "reference_size": 161569, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 0.9915, - "flat_text_similarity": 0.9581, - "word_text_similarity": 0.9915, - "text_diff": "--- minipdf/docx_classic104_sop_document.pdf\n+++ reference/docx_classic104_sop_document.pdf\n@@ -1,13 +1,14 @@\n MiniPdf Corp SOP-QA-001 Rev: 3 Page 1 of 1\n\n-Department: QA Effective: 2026-03-01 Author: J. Smith Approved: D. Lee\n\n+Department: QA Effective: 2026-03- Author: J. Smith Approved: D. Lee\n\n+01\n\n STANDARD OPERATING PROCEDURE\n\n Quality Assurance Testing Procedure\n\n 1. Purpose\n\n-This SOP defines the standard process for running quality assurance benchmarks on the MiniPdf\n\n-conversion engine.\n\n+This SOP defines the standard process for running quality assurance benchmarks on the\n\n+MiniPdf conversion engine.\n\n 2. Scope\n\n-Applies to all QA engineers responsible for validating DOCX-to-PDF and XLSX-to-PDF conversion\n\n-quality.\n\n+Applies to all QA engineers responsible for validating DOCX-to-PDF and XLSX-to-PDF\n\n+conversion quality.\n\n 3. Procedure\n\n 3.1 Prepare Test Files\n\n Generate test documents using the benchmark generator scripts.\n", - "visual_scores": [ - 0.9486, - 0.9917 - ], - "visual_avg": 0.9702, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic104_sop_document_p1_minipdf.png", - "reference_img": "docx_classic104_sop_document_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic104_sop_document_p2_minipdf.png", - "reference_img": "docx_classic104_sop_document_p2_reference.png" - } - ], - "overall_score": 0.9847 - }, - { - "name": "docx_classic105_certificate", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4207087, - "reference_size": 104606, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9719 - ], - "visual_avg": 0.9719, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic105_certificate_p1_minipdf.png", - "reference_img": "docx_classic105_certificate_p1_reference.png" - } - ], - "overall_score": 0.9888 - }, - { - "name": "docx_classic106_multi_section_orientation", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18365, - "reference_size": 121828, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.9933, - "flat_text_similarity": 0.9565, - "word_text_similarity": 0.9933, - "text_diff": "--- minipdf/docx_classic106_multi_section_orientation.pdf\n+++ reference/docx_classic106_multi_section_orientation.pdf\n@@ -1,19 +1,20 @@\n Section 1: Executive Summary (Portrait)\n\n-This document demonstrates multiple sections with different page orientations. The first section\n\n-uses portrait layout for narrative content.\n\n-Key finding 1: The analysis shows significant improvement in document conversion quality metrics\n\n-across all test categories.\n\n-Key finding 2: The analysis shows significant improvement in document conversion quality metrics\n\n-across all test categories.\n\n-Key finding 3: The analysis shows significant improvement in document conversion quality metrics\n\n-across all test categories.\n\n+This document demonstrates multiple sections with different page orientations. The first\n\n+section uses portrait layout for narrative content.\n\n+Key finding 1: The analysis shows significant improvement in document conversion quality\n\n+metrics across all test categories.\n\n+Key finding 2: The analysis shows significant improvement in document conversion quality\n\n+metrics across all test categories.\n\n+Key finding 3: The analysis shows significant improvement in document conversion quality\n\n+metrics across all test categories.\n\n ---PAGE---\n\n Section 2: Data Analysis (Landscape)\n\n Metric Jan Feb Mar Apr May Jun Avg\n\n Quality Score 96% 99% 92% 85% 93% 93% 93%\n\n Conversion 98% 92% 85% 97% 89% 97% 93%\n\n Time\n\n-File Size Ratio 86% 88% 97% 92% 90% 91% 90%\n\n+File Size 86% 88% 97% 92% 90% 91% 90%\n\n+Ratio\n\n Error Rate 92% 96% 95% 89% 96% 88% 92%\n\n ---PAGE---\n\n Section 3: Conclusions (Portrait)\n", - "visual_scores": [ - 0.9641, - 0.9672, - 0.982 - ], - "visual_avg": 0.9711, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic106_multi_section_orientation_p1_minipdf.png", - "reference_img": "docx_classic106_multi_section_orientation_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic106_multi_section_orientation_p2_minipdf.png", - "reference_img": "docx_classic106_multi_section_orientation_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic106_multi_section_orientation_p3_minipdf.png", - "reference_img": "docx_classic106_multi_section_orientation_p3_reference.png" - } - ], - "overall_score": 0.9858 - }, - { - "name": "docx_classic107_order_form", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18588, - "reference_size": 96453, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9859, - "flat_text_similarity": 0.9795, - "word_text_similarity": 0.9859, - "text_diff": "--- minipdf/docx_classic107_order_form.pdf\n+++ reference/docx_classic107_order_form.pdf\n@@ -3,13 +3,15 @@\n Vendor: MiniPdf Corp Ship To: Acme Inc\n\n Payment: Net 30 Delivery: March 20, 2026\n\n Item # Description Qty Unit Price Total\n\n-001 MiniPdf Standard 5 $29.00 $145.00\n\n+001 MiniPdf 5 $29.00 $145.00\n\n+Standard\n\n License\n\n 002 MiniPdf 2 $199.00 $398.00\n\n Enterprise\n\n License\n\n 003 Premium 1 $500.00 $500.00\n\n-Support (Annual)\n\n+Support\n\n+(Annual)\n\n 004 Training 10 $50.00 $500.00\n\n Workshop (Per\n\n Seat)\n", - "visual_scores": [ - 0.9559 - ], - "visual_avg": 0.9559, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic107_order_form_p1_minipdf.png", - "reference_img": "docx_classic107_order_form_p1_reference.png" - } - ], - "overall_score": 0.9767 - }, - { - "name": "docx_classic108_comparison_matrix", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 642572, - "reference_size": 118891, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.95, - "flat_text_similarity": 0.9104, - "word_text_similarity": 0.95, - "text_diff": "--- minipdf/docx_classic108_comparison_matrix.pdf\n+++ reference/docx_classic108_comparison_matrix.pdf\n@@ -1,18 +1,30 @@\n PDF Library Comparison Matrix\n\n-Feature comparison across leading PDF generation\n\n-Feature MiniPdf LibreOfficeCommercial\n\n-XLSX to PDF ✓ ✓ ✓\n\n-DOCX to PDF ✓ ✓ ✓\n\n-No Office ✓ ✗ ✓\n\n+Feature comparison across leading PDF generation libraries.\n\n+Feature MiniPdf LibreOffice Commercial\n\n+XLSX to PDF\n\n+✓ ✓ ✓\n\n+DOCX to PDF\n\n+✓ ✓ ✓\n\n+No Office\n\n+✓ ✗ ✓\n\n Dependency\n\n-CJK Font Support ✓ ✓ ✓\n\n-Chart Rendering ✓ ✓ ✓\n\n-Cross-Platform ✓ ✓ Varies\n\n-Open Source ✓ ✓ ✗\n\n-NuGet Package ✓ ✗ ✓\n\n-Batch Processing ✓ ✓ ✓\n\n-Custom Page Size ✓ ✓ ✓\n\n-Free for ✓ ✓ ✗\n\n+CJK Font Support\n\n+✓ ✓ ✓\n\n+Chart Rendering\n\n+✓ ✓ ✓\n\n+Cross-Platform Varies\n\n+✓ ✓\n\n+Open Source\n\n+✓ ✓ ✗\n\n+NuGet Package\n\n+✓ ✗ ✓\n\n+Batch Processing\n\n+✓ ✓ ✓\n\n+Custom Page Size\n\n+✓ ✓ ✓\n\n+Free for\n\n+✓ ✓ ✗\n\n Commercial\n\n-Active Benchmark ✓ N/A Varies\n\n+Active Benchmark N/A Varies\n\n+✓\n\n Suite", - "visual_scores": [ - 0.8898 - ], - "visual_avg": 0.8898, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic108_comparison_matrix_p1_minipdf.png", - "reference_img": "docx_classic108_comparison_matrix_p1_reference.png" - } - ], - "overall_score": 0.9359 - }, - { - "name": "docx_classic109_release_notes", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 4512, - "reference_size": 161252, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9652 - ], - "visual_avg": 0.9652, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic109_release_notes_p1_minipdf.png", - "reference_img": "docx_classic109_release_notes_p1_reference.png" - } - ], - "overall_score": 0.9861 - }, - { - "name": "docx_classic110_troubleshooting_guide", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2874, - "reference_size": 111746, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9653 - ], - "visual_avg": 0.9653, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic110_troubleshooting_guide_p1_minipdf.png", - "reference_img": "docx_classic110_troubleshooting_guide_p1_reference.png" - } - ], - "overall_score": 0.9861 - }, - { - "name": "docx_classic111_meeting_agenda", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 423124, - "reference_size": 130313, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8407, - "flat_text_similarity": 0.8407, - "word_text_similarity": 0.5035, - "text_diff": "--- minipdf/docx_classic111_meeting_agenda.pdf\n+++ reference/docx_classic111_meeting_agenda.pdf\n@@ -1,23 +1,23 @@\n-TE A M MEETING A GEND A\n\n-D ate : M arch 6, 202 6\n\n-T ime : 10 : 00 A M - 11 :3 0 A M\n\n-L ocation : Conference Room B / T eams\n\n-F acilitator : Jane S mith\n\n-Attendees : E ngineering T eam ( 8 members)\n\n+TEAM MEETING AGENDA\n\n+Date: March 6, 2026\n\n+Time: 10:00 AM - 11:30 AM\n\n+Location: Conference Room B / Teams\n\n+Facilitator: Jane Smith\n\n+Attendees: Engineering Team (8 members)\n\n Agenda Items\n\n-T ime T opic Presenter D uration\n\n-10 : 00 W elcome & Review Jane 10 min\n\n-Action I tems\n\n-10 : 10 S print Progress T eam L eads 20 min\n\n+Time Topic Presenter Duration\n\n+10:00 Welcome & Review Jane 10 min\n\n+Action Items\n\n+10:10 Sprint Progress Team Leads 20 min\n\n Update\n\n-10 :3 0 DO C X Benchmark Bob 1 5 min\n\n+10:30 DOCX Benchmark Bob 15 min\n\n Results Review\n\n-10 :45 Code Q uality M etrics Alice 1 5 min\n\n-D iscussion\n\n-11 : 00 Upcoming Release Jane 20 min\n\n+10:45 Code Quality Alice 15 min\n\n+Metrics Discussion\n\n+11:00 Upcoming Release Jane 20 min\n\n Planning\n\n-11 : 20 O pen D iscussion & All 10 min\n\n-N ext S teps\n\n+11:20 Open Discussion & All 10 min\n\n+Next Steps\n\n Action Items from Previous Meeting\n\n ✓ Complete benchmark expansion to 120 test cases - Bob\n\n ✓ Review CJK font embedding PR - Alice\n", - "visual_scores": [ - 0.9646 - ], - "visual_avg": 0.9646, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic111_meeting_agenda_p1_minipdf.png", - "reference_img": "docx_classic111_meeting_agenda_p1_reference.png" - } - ], - "overall_score": 0.9221 - }, - { - "name": "docx_classic112_project_status_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 418299, - "reference_size": 159646, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.4374, - "flat_text_similarity": 0.4374, - "word_text_similarity": 0.3262, - "text_diff": "--- minipdf/docx_classic112_project_status_report.pdf\n+++ reference/docx_classic112_project_status_report.pdf\n@@ -1,18 +1,22 @@\n Project Status Report\n\n-Mi n iPdf v2.0 R e l e as e | R e p o rti n g P e ri o d: March 1-6, 2026\n\n+MiniPdf v2.0 Release | Reporting Period: March 1-6, 2026\n\n Overall Status: ON TRACK\n\n-Sch e dul e Budg e t Quality Risks\n\n+Schedule Budget Quality Risks\n\n GREEN GREEN AMBER GREEN\n\n Key Milestones\n\n-Mil e st one Targ e t D at e Status N o t e s\n\n-D OCX Pars e r F e b 28 ✓ Done\n\n-C o mpl e t e\n\n-B en chmark 90 Mar Cas 1 e s ✓ Done\n\n-B en chmark 120 Mar 6 I n Pr o gr e ss O n track\n\n-Cas e s\n\n-Quality Sc o r Mar e >= 10 97% P en di n g Curr en tly 95.8%\n\n-NuG e t Packag Mar e 15 P en di n g Bl o ck e d on quality\n\n-R e l e as e\n\n+Milestone Target Date Status Notes\n\n+DOCX Parser Feb 28\n\n+✓ Done\n\n+Complete\n\n+Benchmark 90 Mar 1\n\n+✓ Done\n\n+Cases\n\n+Benchmark 120 Mar 6 In Progress On track\n\n+Cases\n\n+Quality Score >= Mar 10 Pending Currently 95.8%\n\n+97%\n\n+NuGet Package Mar 15 Pending Blocked on quality\n\n+Release\n\n Risks & Issues\n\n-[M e dium] CJK f on t lic en si n g r L e vi e gal e w p t en e am di n r g e - vi e wi n g by Mar 8\n\n-[High] Quality sc o r e b e l o F w o 97% cus targ e d o ptimizati e t - on spri n t pla nne d\n+[Medium] CJK font licensing review pending - Legal team reviewing by Mar 8\n\n+[High] Quality score below 97% target - Focused optimization sprint planned", - "visual_scores": [ - 0.9444 - ], - "visual_avg": 0.9444, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic112_project_status_report_p1_minipdf.png", - "reference_img": "docx_classic112_project_status_report_p1_reference.png" - } - ], - "overall_score": 0.7527 - }, - { - "name": "docx_classic113_address_labels", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7501, - "reference_size": 116233, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.977 - ], - "visual_avg": 0.977, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic113_address_labels_p1_minipdf.png", - "reference_img": "docx_classic113_address_labels_p1_reference.png" - } - ], - "overall_score": 0.9908 - }, - { - "name": "docx_classic114_test_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 15724, - "reference_size": 147821, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.952 - ], - "visual_avg": 0.952, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic114_test_report_p1_minipdf.png", - "reference_img": "docx_classic114_test_report_p1_reference.png" - } - ], - "overall_score": 0.9808 - }, - { - "name": "docx_classic115_price_list", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 22906, - "reference_size": 123194, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9709, - "flat_text_similarity": 0.9287, - "word_text_similarity": 0.9709, - "text_diff": "--- minipdf/docx_classic115_price_list.pdf\n+++ reference/docx_classic115_price_list.pdf\n@@ -4,7 +4,8 @@\n Product 1-9 Seats 10-49 Seats 50+ Seats\n\n MiniPdf Community Free Free Free\n\n MiniPdf Standard $29/mo $24/mo $19/mo\n\n-MiniPdf Professional $79/mo $67/mo $55/mo\n\n+MiniPdf $79/mo $67/mo $55/mo\n\n+Professional\n\n MiniPdf Enterprise $199/mo $169/mo $149/mo\n\n Support Plans\n\n Product 1-9 Seats 10-49 Seats 50+ Seats\n\n@@ -13,8 +14,10 @@\n Dedicated Support $200/mo $170/mo $140/mo\n\n Professional Services\n\n Product 1-9 Seats 10-49 Seats 50+ Seats\n\n-Integration Consulting $150/hr $130/hr $110/hr\n\n-Custom Development $200/hr $175/hr $150/hr\n\n+Integration $150/hr $130/hr $110/hr\n\n+Consulting\n\n+Custom $200/hr $175/hr $150/hr\n\n+Development\n\n Training Workshop $500/day $425/day $350/day\n\n-Note: Volume discounts are applied automatically. Contact sales for enterprise agreements over\n\n-100 seats.\n+Note: Volume discounts are applied automatically. Contact sales for enterprise agreements\n\n+over 100 seats.", - "visual_scores": [ - 0.9177 - ], - "visual_avg": 0.9177, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic115_price_list_p1_minipdf.png", - "reference_img": "docx_classic115_price_list_p1_reference.png" - } - ], - "overall_score": 0.9554 - }, - { - "name": "docx_classic116_risk_assessment", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 26904, - "reference_size": 120292, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9488 - ], - "visual_avg": 0.9488, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic116_risk_assessment_p1_minipdf.png", - "reference_img": "docx_classic116_risk_assessment_p1_reference.png" - } - ], - "overall_score": 0.9795 - }, - { - "name": "docx_classic117_employee_handbook_excerpt", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9797, - "reference_size": 179606, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9888, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic117_employee_handbook_excerpt.pdf\n+++ reference/docx_classic117_employee_handbook_excerpt.pdf\n@@ -2,19 +2,20 @@\n MiniPdf Corporation | Revised March 2026\n\n Chapter 5: Leave Policies\n\n 5.1 Annual Leave\n\n-Full-time employees are entitled to 20 days of paid annual leave per calendar year. Leave accrues\n\n-at a rate of 1.67 days per month of service.\n\n+Full-time employees are entitled to 20 days of paid annual leave per calendar year. Leave\n\n+accrues at a rate of 1.67 days per month of service.\n\n Years of Service Annual Days Max Carry Over\n\n 0-2 years 20 days 5 days\n\n 3-5 years 23 days 7 days\n\n 6-10 years 25 days 10 days\n\n 10+ years 30 days 15 days\n\n 5.2 Sick Leave\n\n-Employees are entitled to 10 days of paid sick leave per year. A medical certificate is required for\n\n-absences of three or more consecutive days.\n\n+Employees are entitled to 10 days of paid sick leave per year. A medical certificate is\n\n+required for absences of three or more consecutive days.\n\n 5.3 Parental Leave\n\n-Primary caregivers are entitled to 16 weeks of paid parental leave. Secondary caregivers receive 4\n\n-weeks of paid leave. Leave must be taken within 12 months of the child's birth or adoption date.\n\n+Primary caregivers are entitled to 16 weeks of paid parental leave. Secondary caregivers\n\n+receive 4 weeks of paid leave. Leave must be taken within 12 months of the child's birth or\n\n+adoption date.\n\n Chapter 6: Code of Conduct\n\n 6.1 Professional Behavior\n\n • Treat all colleagues with respect and dignity\n", - "visual_scores": [ - 0.9418 - ], - "visual_avg": 0.9418, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic117_employee_handbook_excerpt_p1_minipdf.png", - "reference_img": "docx_classic117_employee_handbook_excerpt_p1_reference.png" - } - ], - "overall_score": 0.9767 - }, - { - "name": "docx_classic118_data_report_with_summary", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 276572, - "reference_size": 130167, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.999, - "flat_text_similarity": 0.999, - "word_text_similarity": 0.9825, - "text_diff": "--- minipdf/docx_classic118_data_report_with_summary.pdf\n+++ reference/docx_classic118_data_report_with_summary.pdf\n@@ -2,7 +2,7 @@\n Generated: March 6, 2026 | Total Test Cases: 120\n\n Summary Statistics\n\n Mean Median Std Dev Min Max P95\n\n-96.2%97.5% 4.1% 72.3% 100% 99.1%\n\n+96.2% 97.5% 4.1% 72.3% 100% 99.1%\n\n Category Breakdown\n\n Category Count Avg Score Status\n\n Text & Formatting 30 98.1% PASS\n", - "visual_scores": [ - 0.9321 - ], - "visual_avg": 0.9321, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic118_data_report_with_summary_p1_minipdf.png", - "reference_img": "docx_classic118_data_report_with_summary_p1_reference.png" - } - ], - "overall_score": 0.9724 - }, - { - "name": "docx_classic119_multi_language_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3755869, - "reference_size": 136786, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.9345, - "flat_text_similarity": 0.9345, - "word_text_similarity": 0.7864, - "text_diff": "--- minipdf/docx_classic119_multi_language_document.pdf\n+++ reference/docx_classic119_multi_language_document.pdf\n@@ -1,13 +1,13 @@\n Multilingual Document Sample\n\n-This d ocument d emonstrates text rendering in multiple languag\n\n-English: The quick brown f ox jumps over the lazy d og. MiniPdf conver\n\n-fid elity.\n\n-French: Le renard brun rapide saute par-dessus le chien paresse\n\n-German: Der schnelle braune Fuchs springt über d en f aulen Hund.\n\n-Spanish: El rápido zorro marrón salta sobre el perro perezoso\n\n-Japanese: こんにちは世界。MiniPdfはドキュメントを高品質で変換します。\n\n+This document demonstrates text rendering in multiple languages and scripts.\n\n+English: The quick brown fox jumps over the lazy dog. MiniPdf converts documents with\n\n+high fidelity.\n\n+French: Le renard brun rapide saute par-dessus le chien paresseux.\n\n+German: Der schnelle braune Fuchs springt über den faulen Hund.\n\n+Spanish: El rápido zorro marrón salta sobre el perro perezoso.\n\n+Japanese: こんにちは世界。 MiniPdf はドキュメントを高品質で変換します。\n\n Special Characters & Symbols\n\n Currency: £ € ¥ ₩ ₹ ₽\n\n-M ath: ± × ÷ ≈ ≠ ≤ ≥ ∞ √ π\n\n+Math: ± × ÷ ≈ ≠ ≤ ≥ ∞ √ π\n\n Arrows: ← ↑ → ↓ ↔ ⇒ ⇔\n\n-Mi sc: © ® ™ † ‡ § ¶ •\n+Misc: © ® ™ † ‡ § ¶ •", - "visual_scores": [ - 0.9533 - ], - "visual_avg": 0.9533, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic119_multi_language_document_p1_minipdf.png", - "reference_img": "docx_classic119_multi_language_document_p1_reference.png" - } - ], - "overall_score": 0.9551 - }, - { - "name": "docx_classic120_comprehensive_business_proposal", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 15877, - "reference_size": 200095, - "pdf_valid": true, - "minipdf_pages": 3, - "reference_pages": 3, - "text_similarity": 0.9918, - "flat_text_similarity": 0.9719, - "word_text_similarity": 0.9918, - "text_diff": "--- minipdf/docx_classic120_comprehensive_business_proposal.pdf\n+++ reference/docx_classic120_comprehensive_business_proposal.pdf\n@@ -16,13 +16,13 @@\n 8. Terms & Conditions..................................9\n\n ---PAGE---\n\n 1. Executive Summary\n\n-MiniPdf Corporation proposes an enterprise document processing solution that eliminates the\n\n-dependency on Microsoft Office for PDF generation. Our solution provides high-fidelity conversion\n\n-of XLSX and DOCX files to PDF format with an average quality score of 97%.\n\n+MiniPdf Corporation proposes an enterprise document processing solution that eliminates\n\n+the dependency on Microsoft Office for PDF generation. Our solution provides high-fidelity\n\n+conversion of XLSX and DOCX files to PDF format with an average quality score of 97%.\n\n Key Benefits\n\n Cost Reduction Performance Quality\n\n-60% lower licensing costs 3x faster conversion with no 97%+ fidelity score verified by\n\n-compared to traditional external dependencies automated benchmarks\n\n+60% lower licensing costs 3x faster conversion with 97%+ fidelity score verified\n\n+compared to traditional no external dependencies by automated benchmarks\n\n solutions\n\n 2. Problem Statement\n\n • Heavy dependency on Microsoft Office installations for PDF generation\n\n@@ -30,8 +30,8 @@\n • High licensing costs for enterprise-scale document processing\n\n • Limited automation capabilities with traditional office suites\n\n 3. Proposed Solution\n\n-MiniPdf is a lightweight .NET library that provides native document-to-PDF conversion without\n\n-requiring Microsoft Office installation. Key features include:\n\n+MiniPdf is a lightweight .NET library that provides native document-to-PDF conversion\n\n+without requiring Microsoft Office installation. Key features include:\n\n 1. XLSX to PDF with chart and formula support\n\n 2. DOCX to PDF with full formatting preservation\n\n 3. CJK font auto-embedding for international documents\n", - "visual_scores": [ - 0.9871, - 0.9918, - 0.9029 - ], - "visual_avg": 0.9606, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic120_comprehensive_business_proposal_p1_minipdf.png", - "reference_img": "docx_classic120_comprehensive_business_proposal_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic120_comprehensive_business_proposal_p2_minipdf.png", - "reference_img": "docx_classic120_comprehensive_business_proposal_p2_reference.png" - }, - { - "page": 3, - "minipdf_img": "docx_classic120_comprehensive_business_proposal_p3_minipdf.png", - "reference_img": "docx_classic120_comprehensive_business_proposal_p3_reference.png" - } - ], - "overall_score": 0.981 - }, - { - "name": "docx_classic121_thin_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9871, - "reference_size": 93903, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9854 - ], - "visual_avg": 0.9854, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic121_thin_border_table_p1_minipdf.png", - "reference_img": "docx_classic121_thin_border_table_p1_reference.png" - } - ], - "overall_score": 0.9942 - }, - { - "name": "docx_classic122_thick_outer_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 9852, - "reference_size": 98269, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9803 - ], - "visual_avg": 0.9803, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic122_thick_outer_border_table_p1_minipdf.png", - "reference_img": "docx_classic122_thick_outer_border_table_p1_reference.png" - } - ], - "overall_score": 0.9921 - }, - { - "name": "docx_classic123_dashed_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3464, - "reference_size": 94091, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9893 - ], - "visual_avg": 0.9893, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic123_dashed_border_table_p1_minipdf.png", - "reference_img": "docx_classic123_dashed_border_table_p1_reference.png" - } - ], - "overall_score": 0.9957 - }, - { - "name": "docx_classic124_colored_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8851, - "reference_size": 88322, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9804 - ], - "visual_avg": 0.9804, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic124_colored_border_table_p1_minipdf.png", - "reference_img": "docx_classic124_colored_border_table_p1_reference.png" - } - ], - "overall_score": 0.9922 - }, - { - "name": "docx_classic125_solid_cell_fills", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8198, - "reference_size": 92426, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9716 - ], - "visual_avg": 0.9716, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic125_solid_cell_fills_p1_minipdf.png", - "reference_img": "docx_classic125_solid_cell_fills_p1_reference.png" - } - ], - "overall_score": 0.9886 - }, - { - "name": "docx_classic126_dark_header_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10247, - "reference_size": 101627, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9787 - ], - "visual_avg": 0.9787, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic126_dark_header_table_p1_minipdf.png", - "reference_img": "docx_classic126_dark_header_table_p1_reference.png" - } - ], - "overall_score": 0.9915 - }, - { - "name": "docx_classic127_font_styles_showcase", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 7225, - "reference_size": 138431, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9809 - ], - "visual_avg": 0.9809, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic127_font_styles_showcase_p1_minipdf.png", - "reference_img": "docx_classic127_font_styles_showcase_p1_reference.png" - } - ], - "overall_score": 0.9924 - }, - { - "name": "docx_classic128_font_sizes_showcase", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2496, - "reference_size": 79780, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9427, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic128_font_sizes_showcase.pdf\n+++ reference/docx_classic128_font_sizes_showcase.pdf\n@@ -6,9 +6,9 @@\n Font size 12pt — The quick brown fox jumps over the lazy dog.\n\n Font size 14pt — The quick brown fox jumps over the lazy dog.\n\n Font size 16pt — The quick brown fox jumps over the lazy dog.\n\n-Font size 18pt — The quick brown fox jumps over the lazy\n\n-dog.\n\n-Font size 20pt — The quick brown fox jumps over the\n\n+Font size 18pt — The quick brown fox jumps over the\n\n lazy dog.\n\n-Font size 24pt — The quick brown fox jumps\n\n-over the lazy dog.\n+Font size 20pt — The quick brown fox jumps over\n\n+the lazy dog.\n\n+Font size 24pt — The quick brown fox\n\n+jumps over the lazy dog.", - "visual_scores": [ - 0.9659 - ], - "visual_avg": 0.9659, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic128_font_sizes_showcase_p1_minipdf.png", - "reference_img": "docx_classic128_font_sizes_showcase_p1_reference.png" - } - ], - "overall_score": 0.9864 - }, - { - "name": "docx_classic129_alignment_combinations", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6936, - "reference_size": 93307, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9852 - ], - "visual_avg": 0.9852, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic129_alignment_combinations_p1_minipdf.png", - "reference_img": "docx_classic129_alignment_combinations_p1_reference.png" - } - ], - "overall_score": 0.9941 - }, - { - "name": "docx_classic130_wrap_and_indent", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2400, - "reference_size": 80252, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 0.9803, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic130_wrap_and_indent.pdf\n+++ reference/docx_classic130_wrap_and_indent.pdf\n@@ -1,10 +1,10 @@\n Text Wrapping and Indentation\n\n Long Wrapping Text\n\n-This is a long text that should wrap within the page margins when rendered to PDF. It tests the\n\n-ability of the converter to handle text that flows across multiple lines without explicit line breaks.\n\n-The paragraph continues with additional sentences to ensure sufficient length for wrapping.\n\n-Modern document processing must handle variable-width fonts, kerning, and proper hyphenation\n\n-to produce high-quality output.\n\n+This is a long text that should wrap within the page margins when rendered to PDF. It tests\n\n+the ability of the converter to handle text that flows across multiple lines without explicit\n\n+line breaks. The paragraph continues with additional sentences to ensure sufficient length\n\n+for wrapping. Modern document processing must handle variable-width fonts, kerning, and\n\n+proper hyphenation to produce high-quality output.\n\n Indented Paragraphs\n\n Indent level 0\n\n Indent level 1\n", - "visual_scores": [ - 0.978 - ], - "visual_avg": 0.978, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic130_wrap_and_indent_p1_minipdf.png", - "reference_img": "docx_classic130_wrap_and_indent_p1_reference.png" - } - ], - "overall_score": 0.9912 - }, - { - "name": "docx_classic131_number_format_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13234, - "reference_size": 98702, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.978 - ], - "visual_avg": 0.978, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic131_number_format_table_p1_minipdf.png", - "reference_img": "docx_classic131_number_format_table_p1_reference.png" - } - ], - "overall_score": 0.9912 - }, - { - "name": "docx_classic132_striped_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18680, - "reference_size": 103001, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9506 - ], - "visual_avg": 0.9506, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic132_striped_table_p1_minipdf.png", - "reference_img": "docx_classic132_striped_table_p1_reference.png" - } - ], - "overall_score": 0.9802 - }, - { - "name": "docx_classic133_gradient_rows_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 15008, - "reference_size": 96779, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9699 - ], - "visual_avg": 0.9699, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic133_gradient_rows_table_p1_minipdf.png", - "reference_img": "docx_classic133_gradient_rows_table_p1_reference.png" - } - ], - "overall_score": 0.988 - }, - { - "name": "docx_classic134_heatmap_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 24273, - "reference_size": 92444, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9699 - ], - "visual_avg": 0.9699, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic134_heatmap_table_p1_minipdf.png", - "reference_img": "docx_classic134_heatmap_table_p1_reference.png" - } - ], - "overall_score": 0.988 - }, - { - "name": "docx_classic135_bottom_border_paragraphs", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 1941, - "reference_size": 87812, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9764 - ], - "visual_avg": 0.9764, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic135_bottom_border_paragraphs_p1_minipdf.png", - "reference_img": "docx_classic135_bottom_border_paragraphs_p1_reference.png" - } - ], - "overall_score": 0.9906 - }, - { - "name": "docx_classic136_financial_statement", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13014, - "reference_size": 114465, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9656 - ], - "visual_avg": 0.9656, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic136_financial_statement_p1_minipdf.png", - "reference_img": "docx_classic136_financial_statement_p1_reference.png" - } - ], - "overall_score": 0.9862 - }, - { - "name": "docx_classic137_checkerboard_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 28323, - "reference_size": 63596, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9662 - ], - "visual_avg": 0.9662, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic137_checkerboard_table_p1_minipdf.png", - "reference_img": "docx_classic137_checkerboard_table_p1_reference.png" - } - ], - "overall_score": 0.9865 - }, - { - "name": "docx_classic138_color_grid_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 6204, - "reference_size": 65776, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9814 - ], - "visual_avg": 0.9814, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic138_color_grid_table_p1_minipdf.png", - "reference_img": "docx_classic138_color_grid_table_p1_reference.png" - } - ], - "overall_score": 0.9926 - }, - { - "name": "docx_classic139_paragraph_shading_patterns", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 2319, - "reference_size": 72758, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.8793 - ], - "visual_avg": 0.8793, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic139_paragraph_shading_patterns_p1_minipdf.png", - "reference_img": "docx_classic139_paragraph_shading_patterns_p1_reference.png" - } - ], - "overall_score": 0.9517 - }, - { - "name": "docx_classic140_rotated_text_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5371, - "reference_size": 90797, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 0.8158, - "flat_text_similarity": 0.6755, - "word_text_similarity": 0.8158, - "text_diff": "--- minipdf/docx_classic140_rotated_text_table.pdf\n+++ reference/docx_classic140_rotated_text_table.pdf\n@@ -1,5 +1,7 @@\n Rotated Text in Table\n\n Note: Text rotation in table cells uses vertical text direction via the textDirection element.\n\n Normal Bottom-to-Top Top-to-Bottom TB-LR-V TB-RL\n\n-Rotated text Rotated text Rotated text Rotated text Rotated text\n\n-sample sample sample sample sample\n+Rotated text sample Rotated text sample Rotated text sample\n\n+Rotated text\n\n+sample\n\n+Rotated text sample", - "visual_scores": [ - 0.9711 - ], - "visual_avg": 0.9711, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic140_rotated_text_table_p1_minipdf.png", - "reference_img": "docx_classic140_rotated_text_table_p1_reference.png" - } - ], - "overall_score": 0.9148 - }, - { - "name": "docx_classic141_mixed_border_styles", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 3116, - "reference_size": 90728, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9875 - ], - "visual_avg": 0.9875, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic141_mixed_border_styles_p1_minipdf.png", - "reference_img": "docx_classic141_mixed_border_styles_p1_reference.png" - } - ], - "overall_score": 0.995 - }, - { - "name": "docx_classic142_styled_invoice_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 12052, - "reference_size": 94931, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9405 - ], - "visual_avg": 0.9405, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic142_styled_invoice_document_p1_minipdf.png", - "reference_img": "docx_classic142_styled_invoice_document_p1_reference.png" - } - ], - "overall_score": 0.9762 - }, - { - "name": "docx_classic143_multi_section_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 10342, - "reference_size": 80334, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.882 - ], - "visual_avg": 0.882, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic143_multi_section_document_p1_minipdf.png", - "reference_img": "docx_classic143_multi_section_document_p1_reference.png" - } - ], - "overall_score": 0.9528 - }, - { - "name": "docx_classic144_note_style_paragraphs", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 5873, - "reference_size": 110519, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9831 - ], - "visual_avg": 0.9831, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic144_note_style_paragraphs_p1_minipdf.png", - "reference_img": "docx_classic144_note_style_paragraphs_p1_reference.png" - } - ], - "overall_score": 0.9932 - }, - { - "name": "docx_classic145_status_badge_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13708, - "reference_size": 110142, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9707 - ], - "visual_avg": 0.9707, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic145_status_badge_table_p1_minipdf.png", - "reference_img": "docx_classic145_status_badge_table_p1_reference.png" - } - ], - "overall_score": 0.9883 - }, - { - "name": "docx_classic146_double_border_table", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 8635, - "reference_size": 96549, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.977 - ], - "visual_avg": 0.977, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic146_double_border_table_p1_minipdf.png", - "reference_img": "docx_classic146_double_border_table_p1_reference.png" - } - ], - "overall_score": 0.9908 - }, - { - "name": "docx_classic147_multi_section_styled_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 18520, - "reference_size": 115750, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9566 - ], - "visual_avg": 0.9566, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic147_multi_section_styled_report_p1_minipdf.png", - "reference_img": "docx_classic147_multi_section_styled_report_p1_reference.png" - } - ], - "overall_score": 0.9826 - }, - { - "name": "docx_classic148_data_grid_document", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 51188, - "reference_size": 111668, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.8976 - ], - "visual_avg": 0.8976, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic148_data_grid_document_p1_minipdf.png", - "reference_img": "docx_classic148_data_grid_document_p1_reference.png" - } - ], - "overall_score": 0.959 - }, - { - "name": "docx_classic149_merged_section_report", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13230, - "reference_size": 84151, - "pdf_valid": true, - "minipdf_pages": 1, - "reference_pages": 1, - "text_similarity": 1.0, - "flat_text_similarity": 1.0, - "word_text_similarity": 1.0, - "text_diff": "(identical)", - "visual_scores": [ - 0.9301 - ], - "visual_avg": 0.9301, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic149_merged_section_report_p1_minipdf.png", - "reference_img": "docx_classic149_merged_section_report_p1_reference.png" - } - ], - "overall_score": 0.972 - }, - { - "name": "docx_classic150_kitchen_sink_styles", - "minipdf_exists": true, - "reference_exists": true, - "minipdf_size": 13264, - "reference_size": 159873, - "pdf_valid": true, - "minipdf_pages": 2, - "reference_pages": 2, - "text_similarity": 1.0, - "flat_text_similarity": 0.9971, - "word_text_similarity": 1.0, - "text_diff": "--- minipdf/docx_classic150_kitchen_sink_styles.pdf\n+++ reference/docx_classic150_kitchen_sink_styles.pdf\n@@ -9,9 +9,9 @@\n Font rendering Pass 98% Excellent fidelity\n\n Table borders Pass 95% Minor thick-border\n\n gap\n\n-Cell shading Pass 97% All fill types supported\n\n-Image embedding Pass 96% PNG and JPEG\n\n-tested\n\n+Cell shading Pass 97% All fill types\n\n+supported\n\n+Image embedding Pass 96% PNG and JPEG tested\n\n Page layout Pass 94% Landscape needs\n\n work\n\n Double border below this paragraph\n", - "visual_scores": [ - 0.9261, - 0.9926 - ], - "visual_avg": 0.9594, - "diff_images": [ - { - "page": 1, - "minipdf_img": "docx_classic150_kitchen_sink_styles_p1_minipdf.png", - "reference_img": "docx_classic150_kitchen_sink_styles_p1_reference.png" - }, - { - "page": 2, - "minipdf_img": "docx_classic150_kitchen_sink_styles_p2_minipdf.png", - "reference_img": "docx_classic150_kitchen_sink_styles_p2_reference.png" - } - ], - "overall_score": 0.9838 - } -] \ No newline at end of file diff --git a/tests/MiniPdf.Benchmark/reports_docx/comparison_report.md b/tests/MiniPdf.Benchmark/reports_docx/comparison_report.md deleted file mode 100644 index 9a72ee66..00000000 --- a/tests/MiniPdf.Benchmark/reports_docx/comparison_report.md +++ /dev/null @@ -1,6833 +0,0 @@ -# MiniPdf vs Reference PDF Comparison Report - -Generated: 2026-07-08T23:02:28.291622 - -## Summary - -| # | Test Case | Valid | Text Sim | Visual Avg | Pages (M/R) | Overall | -|---|-----------|-------|----------|------------|-------------|--------| -| 1 | 🟢 docx_classic01_single_paragraph | ✅ | 1.0 | 0.9945 | 1/1 | **0.9978** | -| 2 | 🟢 docx_classic02_multiple_paragraphs | ✅ | 1.0 | 0.9797 | 1/1 | **0.9919** | -| 3 | 🟢 docx_classic03_headings | ✅ | 1.0 | 0.989 | 1/1 | **0.9956** | -| 4 | 🟢 docx_classic04_bold_italic | ✅ | 1.0 | 0.9975 | 1/1 | **0.999** | -| 5 | 🟢 docx_classic05_font_sizes | ✅ | 1.0 | 0.9896 | 1/1 | **0.9958** | -| 6 | 🟢 docx_classic06_font_colors | ✅ | 1.0 | 0.9984 | 1/1 | **0.9994** | -| 7 | 🟢 docx_classic07_alignment | ✅ | 1.0 | 0.9904 | 1/1 | **0.9962** | -| 8 | 🟢 docx_classic08_bullet_list | ✅ | 1.0 | 0.9949 | 1/1 | **0.998** | -| 9 | 🟢 docx_classic09_numbered_list | ✅ | 1.0 | 0.9915 | 1/1 | **0.9966** | -| 10 | 🟢 docx_classic10_simple_table | ✅ | 1.0 | 0.9874 | 1/1 | **0.995** | -| 11 | 🟢 docx_classic11_table_with_shading | ✅ | 1.0 | 0.9811 | 1/1 | **0.9924** | -| 12 | 🟢 docx_classic12_merged_cells_table | ✅ | 1.0 | 0.9901 | 1/1 | **0.996** | -| 13 | 🟡 docx_classic13_long_document | ✅ | 1.0 | 0.6824 | 3/4 | **0.773** | -| 14 | 🟢 docx_classic14_mixed_content | ✅ | 1.0 | 0.9688 | 1/1 | **0.9875** | -| 15 | 🟢 docx_classic15_indentation | ✅ | 1.0 | 0.9784 | 1/1 | **0.9914** | -| 16 | 🟢 docx_classic16_line_spacing | ✅ | 1.0 | 0.9787 | 1/1 | **0.9915** | -| 17 | 🟢 docx_classic17_page_break | ✅ | 1.0 | 0.9963 | 3/3 | **0.9985** | -| 18 | 🟢 docx_classic18_embedded_image | ✅ | 1.0 | 0.9915 | 1/1 | **0.9966** | -| 19 | 🟢 docx_classic19_multiple_images | ✅ | 1.0 | 0.9871 | 1/1 | **0.9948** | -| 20 | 🟢 docx_classic20_table_with_many_rows | ✅ | 1.0 | 0.9603 | 1/1 | **0.9841** | -| 21 | 🟢 docx_classic21_nested_lists | ✅ | 1.0 | 0.9913 | 1/1 | **0.9965** | -| 22 | 🟢 docx_classic22_horizontal_rule | ✅ | 1.0 | 0.9902 | 1/1 | **0.9961** | -| 23 | 🟢 docx_classic23_mixed_formatting_runs | ✅ | 1.0 | 0.9949 | 1/1 | **0.998** | -| 24 | 🟢 docx_classic24_two_column_table_layout | ✅ | 0.7907 | 0.9889 | 1/1 | **0.9118** | -| 25 | 🟢 docx_classic25_title_and_subtitle | ✅ | 1.0 | 0.994 | 2/2 | **0.9976** | -| 26 | 🟢 docx_classic26_table_alignment | ✅ | 1.0 | 0.9895 | 1/1 | **0.9958** | -| 27 | 🟢 docx_classic27_long_paragraph_wrapping | ✅ | 1.0 | 0.9268 | 1/1 | **0.9707** | -| 28 | 🟢 docx_classic28_special_characters | ✅ | 1.0 | 0.9826 | 1/1 | **0.993** | -| 29 | 🟢 docx_classic29_table_with_image | ✅ | 0.9728 | 0.9868 | 1/1 | **0.9838** | -| 30 | 🟢 docx_classic30_comprehensive_report | ✅ | 1.0 | 0.7813 | 3/3 | **0.9125** | -| 31 | 🟢 docx_classic31_product_card_with_image | ✅ | 1.0 | 0.9756 | 1/1 | **0.9902** | -| 32 | 🟢 docx_classic31_strikethrough_text | ✅ | 1.0 | 0.9917 | 1/1 | **0.9967** | -| 33 | 🟢 docx_classic32_company_logo_header | ✅ | 1.0 | 0.9544 | 1/1 | **0.9818** | -| 34 | 🟢 docx_classic32_superscript_subscript | ✅ | 0.9762 | 0.993 | 1/1 | **0.9877** | -| 35 | 🟢 docx_classic33_highlighted_text | ✅ | 1.0 | 0.9798 | 1/1 | **0.9919** | -| 36 | 🟢 docx_classic33_two_products_side_by_side | ✅ | 1.0 | 0.9765 | 1/1 | **0.9906** | -| 37 | 🔴 docx_classic34_employee_directory_with_photo | ✅ | 1.0 | 0.4879 | 1/2 | **0.6952** | -| 38 | 🟢 docx_classic34_paragraph_borders | ✅ | 1.0 | 0.9777 | 1/1 | **0.9911** | -| 39 | 🟢 docx_classic35_inventory_with_product_photos | ✅ | 1.0 | 0.9788 | 2/2 | **0.9915** | -| 40 | 🟡 docx_classic35_tab_stops | ✅ | 0.64 | 0.9894 | 1/1 | **0.8518** | -| 41 | 🟢 docx_classic36_invoice_with_logo | ✅ | 1.0 | 0.9646 | 1/1 | **0.9858** | -| 42 | 🟢 docx_classic36_wide_table | ✅ | 1.0 | 0.984 | 1/1 | **0.9936** | -| 43 | 🟢 docx_classic37_nested_table | ✅ | 0.963 | 0.9876 | 1/1 | **0.9802** | -| 44 | 🟢 docx_classic37_real_estate_listing | ✅ | 1.0 | 0.9756 | 1/1 | **0.9902** | -| 45 | 🟢 docx_classic38_restaurant_menu_with_photos | ✅ | 1.0 | 0.9734 | 2/2 | **0.9894** | -| 46 | 🟢 docx_classic38_table_column_widths | ✅ | 0.8485 | 0.9782 | 1/1 | **0.9307** | -| 47 | 🟢 docx_classic39_cover_page_with_image | ✅ | 1.0 | 0.985 | 2/2 | **0.994** | -| 48 | 🟢 docx_classic39_financial_report | ✅ | 1.0 | 0.9743 | 1/1 | **0.9897** | -| 49 | 🟢 docx_classic40_product_catalog_with_images | ✅ | 1.0 | 0.9735 | 1/1 | **0.9894** | -| 50 | 🟢 docx_classic40_resume | ✅ | 1.0 | 0.972 | 1/1 | **0.9888** | -| 51 | 🟢 docx_classic41_business_letter | ✅ | 0.9893 | 0.9819 | 1/1 | **0.9885** | -| 52 | 🟢 docx_classic41_newsletter_with_hero_image | ✅ | 1.0 | 0.9199 | 1/1 | **0.968** | -| 53 | 🟢 docx_classic42_chart_image_with_data | ✅ | 1.0 | 0.9704 | 1/1 | **0.9882** | -| 54 | 🟢 docx_classic42_meeting_minutes | ✅ | 0.9903 | 0.9657 | 1/1 | **0.9824** | -| 55 | 🟢 docx_classic43_event_flyer_with_banner | ✅ | 1.0 | 0.918 | 1/1 | **0.9672** | -| 56 | 🟢 docx_classic43_invoice_document | ✅ | 0.9775 | 0.9506 | 1/1 | **0.9712** | -| 57 | 🟢 docx_classic44_dashboard_with_kpi_image | ✅ | 1.0 | 0.9703 | 1/1 | **0.9881** | -| 58 | 🟢 docx_classic44_memo | ✅ | 1.0 | 0.9723 | 1/1 | **0.9889** | -| 59 | 🟢 docx_classic45_certificate_with_seal | ✅ | 1.0 | 0.9728 | 1/1 | **0.9891** | -| 60 | 🟢 docx_classic45_project_plan | ✅ | 1.0 | 0.9505 | 1/1 | **0.9802** | -| 61 | 🟢 docx_classic46_comparison_table | ✅ | 1.0 | 0.9746 | 1/1 | **0.9898** | -| 62 | 🟢 docx_classic46_product_image_grid | ✅ | 1.0 | 0.9787 | 1/1 | **0.9915** | -| 63 | 🟢 docx_classic47_data_dictionary | ✅ | 1.0 | 0.9447 | 1/1 | **0.9779** | -| 64 | 🟢 docx_classic47_news_article_with_hero_image | ✅ | 1.0 | 0.9192 | 1/1 | **0.9677** | -| 65 | 🟢 docx_classic48_multi_level_headings | ✅ | 1.0 | 0.9694 | 3/3 | **0.9878** | -| 66 | 🟢 docx_classic48_task_list_with_status_icons | ✅ | 1.0 | 0.9747 | 1/1 | **0.9899** | -| 67 | 🟢 docx_classic49_cjk_document | ✅ | 0.9849 | 0.9698 | 1/1 | **0.9819** | -| 68 | 🟢 docx_classic49_wide_panoramic_banner | ✅ | 1.0 | 0.9114 | 1/1 | **0.9646** | -| 69 | 🔴 docx_classic50_long_table_with_formatting | ✅ | 0.7465 | 0.4042 | 1/2 | **0.5603** | -| 70 | 🟢 docx_classic50_portrait_tall_image | ✅ | 1.0 | 0.9777 | 1/1 | **0.9911** | -| 71 | 🟢 docx_classic51_step_by_step_with_images | ✅ | 1.0 | 0.9715 | 1/1 | **0.9886** | -| 72 | 🟢 docx_classic51_underline_styles | ✅ | 1.0 | 0.9926 | 1/1 | **0.997** | -| 73 | 🟢 docx_classic52_before_after_comparison | ✅ | 1.0 | 0.9695 | 1/1 | **0.9878** | -| 74 | 🟢 docx_classic52_spacing_before_after | ✅ | 1.0 | 0.966 | 1/1 | **0.9864** | -| 75 | 🟢 docx_classic53_color_swatch_palette | ✅ | 1.0 | 0.9695 | 1/1 | **0.9878** | -| 76 | 🟢 docx_classic53_table_merged_complex | ✅ | 1.0 | 0.9771 | 1/1 | **0.9908** | -| 77 | 🟢 docx_classic54_multi_font_family | ✅ | 1.0 | 0.9835 | 1/1 | **0.9934** | -| 78 | 🟢 docx_classic54_travel_destination_cards | ✅ | 1.0 | 0.9792 | 1/1 | **0.9917** | -| 79 | 🟢 docx_classic55_background_shading_paragraph | ✅ | 1.0 | 0.9393 | 1/1 | **0.9757** | -| 80 | 🟢 docx_classic55_lab_results_with_image | ✅ | 1.0 | 0.9624 | 1/1 | **0.985** | -| 81 | 🟢 docx_classic56_images_and_tables_mixed | ✅ | 1.0 | 0.9651 | 1/1 | **0.986** | -| 82 | 🟢 docx_classic56_software_screenshot_features | ✅ | 1.0 | 0.9654 | 1/1 | **0.9862** | -| 83 | 🟢 docx_classic57_right_to_left_text | ✅ | 0.875 | 0.9802 | 1/1 | **0.9421** | -| 84 | 🟢 docx_classic57_sports_results_with_logos | ✅ | 1.0 | 0.9484 | 1/1 | **0.9794** | -| 85 | 🟡 docx_classic58_dense_paragraph_document | ✅ | 1.0 | 0.7618 | 6/7 | **0.8047** | -| 86 | 🟢 docx_classic58_report_with_footer_image | ✅ | 1.0 | 0.9666 | 1/1 | **0.9866** | -| 87 | 🟢 docx_classic59_numbered_and_bullet_mixed | ✅ | 0.9948 | 0.9773 | 1/1 | **0.9888** | -| 88 | 🟢 docx_classic59_nutrition_label_with_image | ✅ | 1.0 | 0.9695 | 1/1 | **0.9878** | -| 89 | 🟢 docx_classic60_comprehensive_styled_report | ✅ | 1.0 | 0.9615 | 3/3 | **0.9846** | -| 90 | 🔴 docx_classic60_project_status_with_milestones | ✅ | 1.0 | 0.4803 | 1/2 | **0.6921** | -| 91 | 🟢 docx_classic61_header_and_footer | ✅ | 1.0 | 0.9599 | 1/1 | **0.984** | -| 92 | 🟢 docx_classic62_footnote_references | ✅ | 1.0 | 0.9724 | 1/1 | **0.989** | -| 93 | 🟢 docx_classic63_toc_style_headings | ✅ | 1.0 | 0.9824 | 1/1 | **0.993** | -| 94 | 🟢 docx_classic64_multi_column_layout | ✅ | 0.8494 | 0.9694 | 1/1 | **0.9275** | -| 95 | 🟢 docx_classic65_code_block_styling | ✅ | 1.0 | 0.8699 | 1/1 | **0.948** | -| 96 | 🟢 docx_classic66_colored_title_page | ✅ | 1.0 | 0.9644 | 1/1 | **0.9858** | -| 97 | 🟢 docx_classic67_alternating_row_table | ✅ | 0.9778 | 0.9204 | 1/1 | **0.9593** | -| 98 | 🟢 docx_classic68_sidebar_layout | ✅ | 0.9091 | 0.9544 | 1/1 | **0.9454** | -| 99 | 🟢 docx_classic69_blockquote_styling | ✅ | 1.0 | 0.9715 | 1/1 | **0.9886** | -| 100 | 🟢 docx_classic70_academic_paper | ✅ | 0.9924 | 0.94 | 1/1 | **0.973** | -| 101 | 🟢 docx_classic71_legal_document | ✅ | 1.0 | 0.9612 | 1/1 | **0.9845** | -| 102 | 🟢 docx_classic72_technical_specification | ✅ | 1.0 | 0.9448 | 1/1 | **0.9779** | -| 103 | 🟢 docx_classic73_calendar_layout | ✅ | 1.0 | 0.9567 | 1/1 | **0.9827** | -| 104 | 🟢 docx_classic74_org_chart | ✅ | 1.0 | 0.9284 | 1/1 | **0.9714** | -| 105 | 🟢 docx_classic75_newsletter_layout | ✅ | 0.9857 | 0.9656 | 1/1 | **0.9805** | -| 106 | 🟢 docx_classic76_recipe_card | ✅ | 1.0 | 0.9678 | 1/1 | **0.9871** | -| 107 | 🟢 docx_classic77_timeline_layout | ✅ | 1.0 | 0.9241 | 1/1 | **0.9696** | -| 108 | 🟢 docx_classic78_faq_document | ✅ | 1.0 | 0.9484 | 2/2 | **0.9794** | -| 109 | 🟢 docx_classic79_glossary | ✅ | 1.0 | 0.9636 | 1/1 | **0.9854** | -| 110 | 🟢 docx_classic80_matrix_grid | ✅ | 0.9737 | 0.9376 | 1/1 | **0.9645** | -| 111 | 🟢 docx_classic81_budget_table | ✅ | 1.0 | 0.9382 | 1/1 | **0.9753** | -| 112 | 🟢 docx_classic82_survey_questionnaire | ✅ | 0.9883 | 0.9497 | 2/2 | **0.9752** | -| 113 | 🟢 docx_classic83_medical_form | ✅ | 1.0 | 0.9433 | 1/1 | **0.9773** | -| 114 | 🟢 docx_classic84_shipping_label | ✅ | 1.0 | 0.9292 | 1/1 | **0.9717** | -| 115 | 🟢 docx_classic85_report_card | ✅ | 1.0 | 0.9405 | 1/1 | **0.9762** | -| 116 | 🟢 docx_classic86_checklist_document | ✅ | 0.9992 | 0.9686 | 1/1 | **0.9871** | -| 117 | 🟢 docx_classic87_bibliography | ✅ | 1.0 | 0.9711 | 1/1 | **0.9884** | -| 118 | 🟡 docx_classic88_presentation_handout | ✅ | 1.0 | 0.7117 | 2/2 | **0.8847** | -| 119 | 🟢 docx_classic89_multi_image_gallery | ✅ | 1.0 | 0.9521 | 1/1 | **0.9808** | -| 120 | 🟢 docx_classic90_comprehensive_annual_report | ✅ | 1.0 | 0.9636 | 4/4 | **0.9854** | -| 121 | 🟢 docx_classic91_landscape_page | ✅ | 1.0 | 0.9751 | 1/1 | **0.99** | -| 122 | 🟢 docx_classic92_first_line_indent | ✅ | 0.9868 | 0.9573 | 1/1 | **0.9776** | -| 123 | 🟢 docx_classic93_hanging_indent | ✅ | 1.0 | 0.9506 | 1/1 | **0.9802** | -| 124 | 🟢 docx_classic94_custom_bullet_characters | ✅ | 0.9966 | 0.981 | 1/1 | **0.991** | -| 125 | 🟢 docx_classic95_contract_template | ✅ | 1.0 | 0.9747 | 1/1 | **0.9899** | -| 126 | 🟢 docx_classic96_dense_data_table | ✅ | 1.0 | 0.8839 | 1/1 | **0.9536** | -| 127 | 🟢 docx_classic97_product_catalog | ✅ | 1.0 | 0.9335 | 1/1 | **0.9734** | -| 128 | 🟢 docx_classic98_training_manual | ✅ | 1.0 | 0.9536 | 1/1 | **0.9814** | -| 129 | 🟢 docx_classic99_policy_document | ✅ | 1.0 | 0.9477 | 1/1 | **0.9791** | -| 130 | 🟢 docx_classic100_multi_page_table | ✅ | 0.9866 | 0.87 | 2/2 | **0.9426** | -| 131 | 🟢 docx_classic101_warranty_document | ✅ | 1.0 | 0.9567 | 1/1 | **0.9827** | -| 132 | 🟢 docx_classic102_curriculum_syllabus | ✅ | 0.9961 | 0.9466 | 1/1 | **0.9771** | -| 133 | 🟢 docx_classic103_event_program | ✅ | 0.9917 | 0.9628 | 2/2 | **0.9818** | -| 134 | 🟢 docx_classic104_sop_document | ✅ | 0.9915 | 0.9702 | 2/2 | **0.9847** | -| 135 | 🟢 docx_classic105_certificate | ✅ | 1.0 | 0.9719 | 1/1 | **0.9888** | -| 136 | 🟢 docx_classic106_multi_section_orientation | ✅ | 0.9933 | 0.9711 | 3/3 | **0.9858** | -| 137 | 🟢 docx_classic107_order_form | ✅ | 0.9859 | 0.9559 | 1/1 | **0.9767** | -| 138 | 🟢 docx_classic108_comparison_matrix | ✅ | 0.95 | 0.8898 | 1/1 | **0.9359** | -| 139 | 🟢 docx_classic109_release_notes | ✅ | 1.0 | 0.9652 | 1/1 | **0.9861** | -| 140 | 🟢 docx_classic110_troubleshooting_guide | ✅ | 1.0 | 0.9653 | 1/1 | **0.9861** | -| 141 | 🟢 docx_classic111_meeting_agenda | ✅ | 0.8407 | 0.9646 | 1/1 | **0.9221** | -| 142 | 🟡 docx_classic112_project_status_report | ✅ | 0.4374 | 0.9444 | 1/1 | **0.7527** | -| 143 | 🟢 docx_classic113_address_labels | ✅ | 1.0 | 0.977 | 1/1 | **0.9908** | -| 144 | 🟢 docx_classic114_test_report | ✅ | 1.0 | 0.952 | 1/1 | **0.9808** | -| 145 | 🟢 docx_classic115_price_list | ✅ | 0.9709 | 0.9177 | 1/1 | **0.9554** | -| 146 | 🟢 docx_classic116_risk_assessment | ✅ | 1.0 | 0.9488 | 1/1 | **0.9795** | -| 147 | 🟢 docx_classic117_employee_handbook_excerpt | ✅ | 1.0 | 0.9418 | 1/1 | **0.9767** | -| 148 | 🟢 docx_classic118_data_report_with_summary | ✅ | 0.999 | 0.9321 | 1/1 | **0.9724** | -| 149 | 🟢 docx_classic119_multi_language_document | ✅ | 0.9345 | 0.9533 | 1/1 | **0.9551** | -| 150 | 🟢 docx_classic120_comprehensive_business_proposal | ✅ | 0.9918 | 0.9606 | 3/3 | **0.981** | -| 151 | 🟢 docx_classic121_thin_border_table | ✅ | 1.0 | 0.9854 | 1/1 | **0.9942** | -| 152 | 🟢 docx_classic122_thick_outer_border_table | ✅ | 1.0 | 0.9803 | 1/1 | **0.9921** | -| 153 | 🟢 docx_classic123_dashed_border_table | ✅ | 1.0 | 0.9893 | 1/1 | **0.9957** | -| 154 | 🟢 docx_classic124_colored_border_table | ✅ | 1.0 | 0.9804 | 1/1 | **0.9922** | -| 155 | 🟢 docx_classic125_solid_cell_fills | ✅ | 1.0 | 0.9716 | 1/1 | **0.9886** | -| 156 | 🟢 docx_classic126_dark_header_table | ✅ | 1.0 | 0.9787 | 1/1 | **0.9915** | -| 157 | 🟢 docx_classic127_font_styles_showcase | ✅ | 1.0 | 0.9809 | 1/1 | **0.9924** | -| 158 | 🟢 docx_classic128_font_sizes_showcase | ✅ | 1.0 | 0.9659 | 1/1 | **0.9864** | -| 159 | 🟢 docx_classic129_alignment_combinations | ✅ | 1.0 | 0.9852 | 1/1 | **0.9941** | -| 160 | 🟢 docx_classic130_wrap_and_indent | ✅ | 1.0 | 0.978 | 1/1 | **0.9912** | -| 161 | 🟢 docx_classic131_number_format_table | ✅ | 1.0 | 0.978 | 1/1 | **0.9912** | -| 162 | 🟢 docx_classic132_striped_table | ✅ | 1.0 | 0.9506 | 1/1 | **0.9802** | -| 163 | 🟢 docx_classic133_gradient_rows_table | ✅ | 1.0 | 0.9699 | 1/1 | **0.988** | -| 164 | 🟢 docx_classic134_heatmap_table | ✅ | 1.0 | 0.9699 | 1/1 | **0.988** | -| 165 | 🟢 docx_classic135_bottom_border_paragraphs | ✅ | 1.0 | 0.9764 | 1/1 | **0.9906** | -| 166 | 🟢 docx_classic136_financial_statement | ✅ | 1.0 | 0.9656 | 1/1 | **0.9862** | -| 167 | 🟢 docx_classic137_checkerboard_table | ✅ | 1.0 | 0.9662 | 1/1 | **0.9865** | -| 168 | 🟢 docx_classic138_color_grid_table | ✅ | 1.0 | 0.9814 | 1/1 | **0.9926** | -| 169 | 🟢 docx_classic139_paragraph_shading_patterns | ✅ | 1.0 | 0.8793 | 1/1 | **0.9517** | -| 170 | 🟢 docx_classic140_rotated_text_table | ✅ | 0.8158 | 0.9711 | 1/1 | **0.9148** | -| 171 | 🟢 docx_classic141_mixed_border_styles | ✅ | 1.0 | 0.9875 | 1/1 | **0.995** | -| 172 | 🟢 docx_classic142_styled_invoice_document | ✅ | 1.0 | 0.9405 | 1/1 | **0.9762** | -| 173 | 🟢 docx_classic143_multi_section_document | ✅ | 1.0 | 0.882 | 1/1 | **0.9528** | -| 174 | 🟢 docx_classic144_note_style_paragraphs | ✅ | 1.0 | 0.9831 | 1/1 | **0.9932** | -| 175 | 🟢 docx_classic145_status_badge_table | ✅ | 1.0 | 0.9707 | 1/1 | **0.9883** | -| 176 | 🟢 docx_classic146_double_border_table | ✅ | 1.0 | 0.977 | 1/1 | **0.9908** | -| 177 | 🟢 docx_classic147_multi_section_styled_report | ✅ | 1.0 | 0.9566 | 1/1 | **0.9826** | -| 178 | 🟢 docx_classic148_data_grid_document | ✅ | 1.0 | 0.8976 | 1/1 | **0.959** | -| 179 | 🟢 docx_classic149_merged_section_report | ✅ | 1.0 | 0.9301 | 1/1 | **0.972** | -| 180 | 🟢 docx_classic150_kitchen_sink_styles | ✅ | 1.0 | 0.9594 | 2/2 | **0.9838** | - -**Average Overall Score: 0.9713** - -## Visual Comparison - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MiniPdfLibreOffice (Reference)
docx_classic01_single_paragraphdocx_classic01_single_paragraph ⬤ 99.8%
MiniPdfReference
docx_classic02_multiple_paragraphsdocx_classic02_multiple_paragraphs ⬤ 99.2%
MiniPdfReference
docx_classic03_headingsdocx_classic03_headings ⬤ 99.6%
MiniPdfReference
docx_classic04_bold_italicdocx_classic04_bold_italic ⬤ 99.9%
MiniPdfReference
docx_classic05_font_sizesdocx_classic05_font_sizes ⬤ 99.6%
MiniPdfReference
docx_classic06_font_colorsdocx_classic06_font_colors ⬤ 99.9%
MiniPdfReference
docx_classic07_alignmentdocx_classic07_alignment ⬤ 99.6%
MiniPdfReference
docx_classic08_bullet_listdocx_classic08_bullet_list ⬤ 99.8%
MiniPdfReference
docx_classic09_numbered_listdocx_classic09_numbered_list ⬤ 99.7%
MiniPdfReference
docx_classic10_simple_tabledocx_classic10_simple_table ⬤ 99.5%
MiniPdfReference
docx_classic11_table_with_shadingdocx_classic11_table_with_shading ⬤ 99.2%
MiniPdfReference
docx_classic12_merged_cells_tabledocx_classic12_merged_cells_table ⬤ 99.6%
MiniPdfReference
docx_classic13_long_documentdocx_classic13_long_document ⬤ 77.3%
MiniPdfReference
MiniPdfReference
MiniPdfReference
missingReference
docx_classic14_mixed_contentdocx_classic14_mixed_content ⬤ 98.8%
MiniPdfReference
docx_classic15_indentationdocx_classic15_indentation ⬤ 99.1%
MiniPdfReference
docx_classic16_line_spacingdocx_classic16_line_spacing ⬤ 99.2%
MiniPdfReference
docx_classic17_page_breakdocx_classic17_page_break ⬤ 99.9%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic18_embedded_imagedocx_classic18_embedded_image ⬤ 99.7%
MiniPdfReference
docx_classic19_multiple_imagesdocx_classic19_multiple_images ⬤ 99.5%
MiniPdfReference
docx_classic20_table_with_many_rowsdocx_classic20_table_with_many_rows ⬤ 98.4%
MiniPdfReference
docx_classic21_nested_listsdocx_classic21_nested_lists ⬤ 99.7%
MiniPdfReference
docx_classic22_horizontal_ruledocx_classic22_horizontal_rule ⬤ 99.6%
MiniPdfReference
docx_classic23_mixed_formatting_runsdocx_classic23_mixed_formatting_runs ⬤ 99.8%
MiniPdfReference
docx_classic24_two_column_table_layoutdocx_classic24_two_column_table_layout ⬤ 91.2%
MiniPdfReference
docx_classic25_title_and_subtitledocx_classic25_title_and_subtitle ⬤ 99.8%
MiniPdfReference
MiniPdfReference
docx_classic26_table_alignmentdocx_classic26_table_alignment ⬤ 99.6%
MiniPdfReference
docx_classic27_long_paragraph_wrappingdocx_classic27_long_paragraph_wrapping ⬤ 97.1%
MiniPdfReference
docx_classic28_special_charactersdocx_classic28_special_characters ⬤ 99.3%
MiniPdfReference
docx_classic29_table_with_imagedocx_classic29_table_with_image ⬤ 98.4%
MiniPdfReference
docx_classic30_comprehensive_reportdocx_classic30_comprehensive_report ⬤ 91.2%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic31_product_card_with_imagedocx_classic31_product_card_with_image ⬤ 99.0%
MiniPdfReference
docx_classic31_strikethrough_textdocx_classic31_strikethrough_text ⬤ 99.7%
MiniPdfReference
docx_classic32_company_logo_headerdocx_classic32_company_logo_header ⬤ 98.2%
MiniPdfReference
docx_classic32_superscript_subscriptdocx_classic32_superscript_subscript ⬤ 98.8%
MiniPdfReference
docx_classic33_highlighted_textdocx_classic33_highlighted_text ⬤ 99.2%
MiniPdfReference
docx_classic33_two_products_side_by_sidedocx_classic33_two_products_side_by_side ⬤ 99.1%
MiniPdfReference
docx_classic34_employee_directory_with_photodocx_classic34_employee_directory_with_photo ⬤ 69.5%
MiniPdfReference
missingReference
docx_classic34_paragraph_bordersdocx_classic34_paragraph_borders ⬤ 99.1%
MiniPdfReference
docx_classic35_inventory_with_product_photosdocx_classic35_inventory_with_product_photos ⬤ 99.2%
MiniPdfReference
MiniPdfReference
docx_classic35_tab_stopsdocx_classic35_tab_stops ⬤ 85.2%
MiniPdfReference
docx_classic36_invoice_with_logodocx_classic36_invoice_with_logo ⬤ 98.6%
MiniPdfReference
docx_classic36_wide_tabledocx_classic36_wide_table ⬤ 99.4%
MiniPdfReference
docx_classic37_nested_tabledocx_classic37_nested_table ⬤ 98.0%
MiniPdfReference
docx_classic37_real_estate_listingdocx_classic37_real_estate_listing ⬤ 99.0%
MiniPdfReference
docx_classic38_restaurant_menu_with_photosdocx_classic38_restaurant_menu_with_photos ⬤ 98.9%
MiniPdfReference
MiniPdfReference
docx_classic38_table_column_widthsdocx_classic38_table_column_widths ⬤ 93.1%
MiniPdfReference
docx_classic39_cover_page_with_imagedocx_classic39_cover_page_with_image ⬤ 99.4%
MiniPdfReference
MiniPdfReference
docx_classic39_financial_reportdocx_classic39_financial_report ⬤ 99.0%
MiniPdfReference
docx_classic40_product_catalog_with_imagesdocx_classic40_product_catalog_with_images ⬤ 98.9%
MiniPdfReference
docx_classic40_resumedocx_classic40_resume ⬤ 98.9%
MiniPdfReference
docx_classic41_business_letterdocx_classic41_business_letter ⬤ 98.9%
MiniPdfReference
docx_classic41_newsletter_with_hero_imagedocx_classic41_newsletter_with_hero_image ⬤ 96.8%
MiniPdfReference
docx_classic42_chart_image_with_datadocx_classic42_chart_image_with_data ⬤ 98.8%
MiniPdfReference
docx_classic42_meeting_minutesdocx_classic42_meeting_minutes ⬤ 98.2%
MiniPdfReference
docx_classic43_event_flyer_with_bannerdocx_classic43_event_flyer_with_banner ⬤ 96.7%
MiniPdfReference
docx_classic43_invoice_documentdocx_classic43_invoice_document ⬤ 97.1%
MiniPdfReference
docx_classic44_dashboard_with_kpi_imagedocx_classic44_dashboard_with_kpi_image ⬤ 98.8%
MiniPdfReference
docx_classic44_memodocx_classic44_memo ⬤ 98.9%
MiniPdfReference
docx_classic45_certificate_with_sealdocx_classic45_certificate_with_seal ⬤ 98.9%
MiniPdfReference
docx_classic45_project_plandocx_classic45_project_plan ⬤ 98.0%
MiniPdfReference
docx_classic46_comparison_tabledocx_classic46_comparison_table ⬤ 99.0%
MiniPdfReference
docx_classic46_product_image_griddocx_classic46_product_image_grid ⬤ 99.2%
MiniPdfReference
docx_classic47_data_dictionarydocx_classic47_data_dictionary ⬤ 97.8%
MiniPdfReference
docx_classic47_news_article_with_hero_imagedocx_classic47_news_article_with_hero_image ⬤ 96.8%
MiniPdfReference
docx_classic48_multi_level_headingsdocx_classic48_multi_level_headings ⬤ 98.8%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic48_task_list_with_status_iconsdocx_classic48_task_list_with_status_icons ⬤ 99.0%
MiniPdfReference
docx_classic49_cjk_documentdocx_classic49_cjk_document ⬤ 98.2%
MiniPdfReference
docx_classic49_wide_panoramic_bannerdocx_classic49_wide_panoramic_banner ⬤ 96.5%
MiniPdfReference
docx_classic50_long_table_with_formattingdocx_classic50_long_table_with_formatting ⬤ 56.0%
MiniPdfReference
missingReference
docx_classic50_portrait_tall_imagedocx_classic50_portrait_tall_image ⬤ 99.1%
MiniPdfReference
docx_classic51_step_by_step_with_imagesdocx_classic51_step_by_step_with_images ⬤ 98.9%
MiniPdfReference
docx_classic51_underline_stylesdocx_classic51_underline_styles ⬤ 99.7%
MiniPdfReference
docx_classic52_before_after_comparisondocx_classic52_before_after_comparison ⬤ 98.8%
MiniPdfReference
docx_classic52_spacing_before_afterdocx_classic52_spacing_before_after ⬤ 98.6%
MiniPdfReference
docx_classic53_color_swatch_palettedocx_classic53_color_swatch_palette ⬤ 98.8%
MiniPdfReference
docx_classic53_table_merged_complexdocx_classic53_table_merged_complex ⬤ 99.1%
MiniPdfReference
docx_classic54_multi_font_familydocx_classic54_multi_font_family ⬤ 99.3%
MiniPdfReference
docx_classic54_travel_destination_cardsdocx_classic54_travel_destination_cards ⬤ 99.2%
MiniPdfReference
docx_classic55_background_shading_paragraphdocx_classic55_background_shading_paragraph ⬤ 97.6%
MiniPdfReference
docx_classic55_lab_results_with_imagedocx_classic55_lab_results_with_image ⬤ 98.5%
MiniPdfReference
docx_classic56_images_and_tables_mixeddocx_classic56_images_and_tables_mixed ⬤ 98.6%
MiniPdfReference
docx_classic56_software_screenshot_featuresdocx_classic56_software_screenshot_features ⬤ 98.6%
MiniPdfReference
docx_classic57_right_to_left_textdocx_classic57_right_to_left_text ⬤ 94.2%
MiniPdfReference
docx_classic57_sports_results_with_logosdocx_classic57_sports_results_with_logos ⬤ 97.9%
MiniPdfReference
docx_classic58_dense_paragraph_documentdocx_classic58_dense_paragraph_document ⬤ 80.5%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
missingReference
docx_classic58_report_with_footer_imagedocx_classic58_report_with_footer_image ⬤ 98.7%
MiniPdfReference
docx_classic59_numbered_and_bullet_mixeddocx_classic59_numbered_and_bullet_mixed ⬤ 98.9%
MiniPdfReference
docx_classic59_nutrition_label_with_imagedocx_classic59_nutrition_label_with_image ⬤ 98.8%
MiniPdfReference
docx_classic60_comprehensive_styled_reportdocx_classic60_comprehensive_styled_report ⬤ 98.5%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic60_project_status_with_milestonesdocx_classic60_project_status_with_milestones ⬤ 69.2%
MiniPdfReference
missingReference
docx_classic61_header_and_footerdocx_classic61_header_and_footer ⬤ 98.4%
MiniPdfReference
docx_classic62_footnote_referencesdocx_classic62_footnote_references ⬤ 98.9%
MiniPdfReference
docx_classic63_toc_style_headingsdocx_classic63_toc_style_headings ⬤ 99.3%
MiniPdfReference
docx_classic64_multi_column_layoutdocx_classic64_multi_column_layout ⬤ 92.8%
MiniPdfReference
docx_classic65_code_block_stylingdocx_classic65_code_block_styling ⬤ 94.8%
MiniPdfReference
docx_classic66_colored_title_pagedocx_classic66_colored_title_page ⬤ 98.6%
MiniPdfReference
docx_classic67_alternating_row_tabledocx_classic67_alternating_row_table ⬤ 95.9%
MiniPdfReference
docx_classic68_sidebar_layoutdocx_classic68_sidebar_layout ⬤ 94.5%
MiniPdfReference
docx_classic69_blockquote_stylingdocx_classic69_blockquote_styling ⬤ 98.9%
MiniPdfReference
docx_classic70_academic_paperdocx_classic70_academic_paper ⬤ 97.3%
MiniPdfReference
docx_classic71_legal_documentdocx_classic71_legal_document ⬤ 98.5%
MiniPdfReference
docx_classic72_technical_specificationdocx_classic72_technical_specification ⬤ 97.8%
MiniPdfReference
docx_classic73_calendar_layoutdocx_classic73_calendar_layout ⬤ 98.3%
MiniPdfReference
docx_classic74_org_chartdocx_classic74_org_chart ⬤ 97.1%
MiniPdfReference
docx_classic75_newsletter_layoutdocx_classic75_newsletter_layout ⬤ 98.0%
MiniPdfReference
docx_classic76_recipe_carddocx_classic76_recipe_card ⬤ 98.7%
MiniPdfReference
docx_classic77_timeline_layoutdocx_classic77_timeline_layout ⬤ 97.0%
MiniPdfReference
docx_classic78_faq_documentdocx_classic78_faq_document ⬤ 97.9%
MiniPdfReference
MiniPdfReference
docx_classic79_glossarydocx_classic79_glossary ⬤ 98.5%
MiniPdfReference
docx_classic80_matrix_griddocx_classic80_matrix_grid ⬤ 96.5%
MiniPdfReference
docx_classic81_budget_tabledocx_classic81_budget_table ⬤ 97.5%
MiniPdfReference
docx_classic82_survey_questionnairedocx_classic82_survey_questionnaire ⬤ 97.5%
MiniPdfReference
MiniPdfReference
docx_classic83_medical_formdocx_classic83_medical_form ⬤ 97.7%
MiniPdfReference
docx_classic84_shipping_labeldocx_classic84_shipping_label ⬤ 97.2%
MiniPdfReference
docx_classic85_report_carddocx_classic85_report_card ⬤ 97.6%
MiniPdfReference
docx_classic86_checklist_documentdocx_classic86_checklist_document ⬤ 98.7%
MiniPdfReference
docx_classic87_bibliographydocx_classic87_bibliography ⬤ 98.8%
MiniPdfReference
docx_classic88_presentation_handoutdocx_classic88_presentation_handout ⬤ 88.5%
MiniPdfReference
MiniPdfReference
docx_classic89_multi_image_gallerydocx_classic89_multi_image_gallery ⬤ 98.1%
MiniPdfReference
docx_classic90_comprehensive_annual_reportdocx_classic90_comprehensive_annual_report ⬤ 98.5%
MiniPdfReference
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic91_landscape_pagedocx_classic91_landscape_page ⬤ 99.0%
MiniPdfReference
docx_classic92_first_line_indentdocx_classic92_first_line_indent ⬤ 97.8%
MiniPdfReference
docx_classic93_hanging_indentdocx_classic93_hanging_indent ⬤ 98.0%
MiniPdfReference
docx_classic94_custom_bullet_charactersdocx_classic94_custom_bullet_characters ⬤ 99.1%
MiniPdfReference
docx_classic95_contract_templatedocx_classic95_contract_template ⬤ 99.0%
MiniPdfReference
docx_classic96_dense_data_tabledocx_classic96_dense_data_table ⬤ 95.4%
MiniPdfReference
docx_classic97_product_catalogdocx_classic97_product_catalog ⬤ 97.3%
MiniPdfReference
docx_classic98_training_manualdocx_classic98_training_manual ⬤ 98.1%
MiniPdfReference
docx_classic99_policy_documentdocx_classic99_policy_document ⬤ 97.9%
MiniPdfReference
docx_classic100_multi_page_tabledocx_classic100_multi_page_table ⬤ 94.3%
MiniPdfReference
MiniPdfReference
docx_classic101_warranty_documentdocx_classic101_warranty_document ⬤ 98.3%
MiniPdfReference
docx_classic102_curriculum_syllabusdocx_classic102_curriculum_syllabus ⬤ 97.7%
MiniPdfReference
docx_classic103_event_programdocx_classic103_event_program ⬤ 98.2%
MiniPdfReference
MiniPdfReference
docx_classic104_sop_documentdocx_classic104_sop_document ⬤ 98.5%
MiniPdfReference
MiniPdfReference
docx_classic105_certificatedocx_classic105_certificate ⬤ 98.9%
MiniPdfReference
docx_classic106_multi_section_orientationdocx_classic106_multi_section_orientation ⬤ 98.6%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic107_order_formdocx_classic107_order_form ⬤ 97.7%
MiniPdfReference
docx_classic108_comparison_matrixdocx_classic108_comparison_matrix ⬤ 93.6%
MiniPdfReference
docx_classic109_release_notesdocx_classic109_release_notes ⬤ 98.6%
MiniPdfReference
docx_classic110_troubleshooting_guidedocx_classic110_troubleshooting_guide ⬤ 98.6%
MiniPdfReference
docx_classic111_meeting_agendadocx_classic111_meeting_agenda ⬤ 92.2%
MiniPdfReference
docx_classic112_project_status_reportdocx_classic112_project_status_report ⬤ 75.3%
MiniPdfReference
docx_classic113_address_labelsdocx_classic113_address_labels ⬤ 99.1%
MiniPdfReference
docx_classic114_test_reportdocx_classic114_test_report ⬤ 98.1%
MiniPdfReference
docx_classic115_price_listdocx_classic115_price_list ⬤ 95.5%
MiniPdfReference
docx_classic116_risk_assessmentdocx_classic116_risk_assessment ⬤ 98.0%
MiniPdfReference
docx_classic117_employee_handbook_excerptdocx_classic117_employee_handbook_excerpt ⬤ 97.7%
MiniPdfReference
docx_classic118_data_report_with_summarydocx_classic118_data_report_with_summary ⬤ 97.2%
MiniPdfReference
docx_classic119_multi_language_documentdocx_classic119_multi_language_document ⬤ 95.5%
MiniPdfReference
docx_classic120_comprehensive_business_proposaldocx_classic120_comprehensive_business_proposal ⬤ 98.1%
MiniPdfReference
MiniPdfReference
MiniPdfReference
docx_classic121_thin_border_tabledocx_classic121_thin_border_table ⬤ 99.4%
MiniPdfReference
docx_classic122_thick_outer_border_tabledocx_classic122_thick_outer_border_table ⬤ 99.2%
MiniPdfReference
docx_classic123_dashed_border_tabledocx_classic123_dashed_border_table ⬤ 99.6%
MiniPdfReference
docx_classic124_colored_border_tabledocx_classic124_colored_border_table ⬤ 99.2%
MiniPdfReference
docx_classic125_solid_cell_fillsdocx_classic125_solid_cell_fills ⬤ 98.9%
MiniPdfReference
docx_classic126_dark_header_tabledocx_classic126_dark_header_table ⬤ 99.2%
MiniPdfReference
docx_classic127_font_styles_showcasedocx_classic127_font_styles_showcase ⬤ 99.2%
MiniPdfReference
docx_classic128_font_sizes_showcasedocx_classic128_font_sizes_showcase ⬤ 98.6%
MiniPdfReference
docx_classic129_alignment_combinationsdocx_classic129_alignment_combinations ⬤ 99.4%
MiniPdfReference
docx_classic130_wrap_and_indentdocx_classic130_wrap_and_indent ⬤ 99.1%
MiniPdfReference
docx_classic131_number_format_tabledocx_classic131_number_format_table ⬤ 99.1%
MiniPdfReference
docx_classic132_striped_tabledocx_classic132_striped_table ⬤ 98.0%
MiniPdfReference
docx_classic133_gradient_rows_tabledocx_classic133_gradient_rows_table ⬤ 98.8%
MiniPdfReference
docx_classic134_heatmap_tabledocx_classic134_heatmap_table ⬤ 98.8%
MiniPdfReference
docx_classic135_bottom_border_paragraphsdocx_classic135_bottom_border_paragraphs ⬤ 99.1%
MiniPdfReference
docx_classic136_financial_statementdocx_classic136_financial_statement ⬤ 98.6%
MiniPdfReference
docx_classic137_checkerboard_tabledocx_classic137_checkerboard_table ⬤ 98.7%
MiniPdfReference
docx_classic138_color_grid_tabledocx_classic138_color_grid_table ⬤ 99.3%
MiniPdfReference
docx_classic139_paragraph_shading_patternsdocx_classic139_paragraph_shading_patterns ⬤ 95.2%
MiniPdfReference
docx_classic140_rotated_text_tabledocx_classic140_rotated_text_table ⬤ 91.5%
MiniPdfReference
docx_classic141_mixed_border_stylesdocx_classic141_mixed_border_styles ⬤ 99.5%
MiniPdfReference
docx_classic142_styled_invoice_documentdocx_classic142_styled_invoice_document ⬤ 97.6%
MiniPdfReference
docx_classic143_multi_section_documentdocx_classic143_multi_section_document ⬤ 95.3%
MiniPdfReference
docx_classic144_note_style_paragraphsdocx_classic144_note_style_paragraphs ⬤ 99.3%
MiniPdfReference
docx_classic145_status_badge_tabledocx_classic145_status_badge_table ⬤ 98.8%
MiniPdfReference
docx_classic146_double_border_tabledocx_classic146_double_border_table ⬤ 99.1%
MiniPdfReference
docx_classic147_multi_section_styled_reportdocx_classic147_multi_section_styled_report ⬤ 98.3%
MiniPdfReference
docx_classic148_data_grid_documentdocx_classic148_data_grid_document ⬤ 95.9%
MiniPdfReference
docx_classic149_merged_section_reportdocx_classic149_merged_section_report ⬤ 97.2%
MiniPdfReference
docx_classic150_kitchen_sink_stylesdocx_classic150_kitchen_sink_styles ⬤ 98.4%
MiniPdfReference
MiniPdfReference
- -## Detailed Results - -### docx_classic01_single_paragraph - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9945 -- **Overall Score:** 0.9978 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1225 bytes, Reference=48037 bytes - -Text content: ✅ Identical - -### docx_classic02_multiple_paragraphs - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9797 -- **Overall Score:** 0.9919 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2273 bytes, Reference=48946 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic02_multiple_paragraphs.pdf -+++ reference/docx_classic02_multiple_paragraphs.pdf -@@ -1,10 +1,10 @@ --This is paragraph 1. It contains some sample text to test how MiniPdf handles multiple consecutive - --paragraphs with default spacing. - --This is paragraph 2. It contains some sample text to test how MiniPdf handles multiple consecutive - --paragraphs with default spacing. - --This is paragraph 3. It contains some sample text to test how MiniPdf handles multiple consecutive - --paragraphs with default spacing. - --This is paragraph 4. It contains some sample text to test how MiniPdf handles multiple consecutive - --paragraphs with default spacing. - --This is paragraph 5. It contains some sample text to test how MiniPdf handles multiple consecutive - --paragraphs with default spacing. -+This is paragraph 1. It contains some sample text to test how MiniPdf handles multiple - -+consecutive paragraphs with default spacing. - -+This is paragraph 2. It contains some sample text to test how MiniPdf handles multiple - -+consecutive paragraphs with default spacing. - -+This is paragraph 3. It contains some sample text to test how MiniPdf handles multiple - -+consecutive paragraphs with default spacing. - -+This is paragraph 4. It contains some sample text to test how MiniPdf handles multiple - -+consecutive paragraphs with default spacing. - -+This is paragraph 5. It contains some sample text to test how MiniPdf handles multiple - -+consecutive paragraphs with default spacing. -``` -
- -### docx_classic03_headings - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.989 -- **Overall Score:** 0.9956 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1699 bytes, Reference=95865 bytes - -Text content: ✅ Identical - -### docx_classic04_bold_italic - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9975 -- **Overall Score:** 0.999 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1316 bytes, Reference=94134 bytes - -Text content: ✅ Identical - -### docx_classic05_font_sizes - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9896 -- **Overall Score:** 0.9958 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1557 bytes, Reference=43230 bytes - -Text content: ✅ Identical - -### docx_classic06_font_colors - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9984 -- **Overall Score:** 0.9994 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1414 bytes, Reference=41050 bytes - -Text content: ✅ Identical - -### docx_classic07_alignment - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9904 -- **Overall Score:** 0.9962 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=259671 bytes, Reference=43210 bytes - -Text content: ✅ Identical - -### docx_classic08_bullet_list - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9949 -- **Overall Score:** 0.998 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1755 bytes, Reference=92213 bytes - -Text content: ✅ Identical - -### docx_classic09_numbered_list - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9915 -- **Overall Score:** 0.9966 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1801 bytes, Reference=91983 bytes - -Text content: ✅ Identical - -### docx_classic10_simple_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9874 -- **Overall Score:** 0.995 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5534 bytes, Reference=73744 bytes - -Text content: ✅ Identical - -### docx_classic11_table_with_shading - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9811 -- **Overall Score:** 0.9924 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9168 bytes, Reference=91111 bytes - -Text content: ✅ Identical - -### docx_classic12_merged_cells_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9901 -- **Overall Score:** 0.996 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5134 bytes, Reference=71750 bytes - -Text content: ✅ Identical - -### docx_classic13_long_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.6824 -- **Overall Score:** 0.773 -- **Pages:** MiniPdf=3, Reference=4 -- **File Size:** MiniPdf=17162 bytes, Reference=102517 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic13_long_document.pdf -+++ reference/docx_classic13_long_document.pdf -@@ -1,109 +1,125 @@ - Project Report - - This document is designed to span multiple pages to test pagination in MiniPdf. - - Section 1 - --This is section 1 of the report. It contains detailed analysis of the topic at hand. The quick brown - --fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft - --zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is - --section 1 of the report. It contains detailed analysis of the topic at hand. The quick brown fox - --jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras - --jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow. - -+This is section 1 of the report. It contains detailed analysis of the topic at hand. The quick - -+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly - -+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge - -+my vow.This is section 1 of the report. It contains detailed analysis of the topic at hand. The - -+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How - -+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black - -+quartz, judge my vow. - - Section 2 - --This is section 2 of the report. It contains detailed analysis of the topic at hand. The quick brown - --fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft - --zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is - --section 2 of the report. It contains detailed analysis of the topic at hand. The quick brown fox - --jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras - --jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow. - -+This is section 2 of the report. It contains detailed analysis of the topic at hand. The quick - -+brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly - -+quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge - -+my vow.This is section 2 of the report. It contains detailed analysis of the topic at hand. The - -+quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How - -+vexingly quick daft zebras jump. The five boxing wizards jump quickly. Sphinx of black - -+quartz, judge my vow. - - Section 3 - --This is section 3 of the report. It contains detailed analysis of the topic at hand. The quick brown - --fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft - --zebras jump. The five boxing wizards jump quickly. Sphinx of black quartz, judge my vow.This is - --section 3 of the report. It contains detailed analysis of the topic at hand. The quick brown fox - --jumps over the lazy dog. Pack my box -... (14909 more characters) - -``` -
- -### docx_classic14_mixed_content - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9688 -- **Overall Score:** 0.9875 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5145 bytes, Reference=115112 bytes - -Text content: ✅ Identical - -### docx_classic15_indentation - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9784 -- **Overall Score:** 0.9914 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1941 bytes, Reference=74243 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic15_indentation.pdf -+++ reference/docx_classic15_indentation.pdf -@@ -3,6 +3,7 @@ - This paragraph is indented by 36 points from the left margin. - - This paragraph is indented by 72 points from the left margin. - - This paragraph is indented by 108 points from the left margin. - --This paragraph is indented by 144 points from the left margin. - --This paragraph has a first-line indent of 36 points. The remaining lines wrap normally back - --to the left margin. -+This paragraph is indented by 144 points from the left - -+margin. - -+This paragraph has a first-line indent of 36 points. The remaining lines wrap - -+normally back to the left margin. -``` -
- -### docx_classic16_line_spacing - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9787 -- **Overall Score:** 0.9915 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2059 bytes, Reference=78004 bytes - -Text content: ✅ Identical - -### docx_classic17_page_break - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9963 -- **Overall Score:** 0.9985 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=2038 bytes, Reference=69855 bytes - -Text content: ✅ Identical - -### docx_classic18_embedded_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9915 -- **Overall Score:** 0.9966 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1828 bytes, Reference=67381 bytes - -Text content: ✅ Identical - -### docx_classic19_multiple_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9871 -- **Overall Score:** 0.9948 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2644 bytes, Reference=66233 bytes - -Text content: ✅ Identical - -### docx_classic20_table_with_many_rows - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9603 -- **Overall Score:** 0.9841 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=31913 bytes, Reference=95029 bytes - -Text content: ✅ Identical - -### docx_classic21_nested_lists - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9913 -- **Overall Score:** 0.9965 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2488 bytes, Reference=98694 bytes - -Text content: ✅ Identical - -### docx_classic22_horizontal_rule - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9902 -- **Overall Score:** 0.9961 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1579 bytes, Reference=70951 bytes - -Text content: ✅ Identical - -### docx_classic23_mixed_formatting_runs - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9949 -- **Overall Score:** 0.998 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1682 bytes, Reference=100389 bytes - -Text content: ✅ Identical - -### docx_classic24_two_column_table_layout - -- **Text Similarity:** 0.7907 -- **Visual Average:** 0.9889 -- **Overall Score:** 0.9118 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1705 bytes, Reference=72170 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic24_two_column_table_layout.pdf -+++ reference/docx_classic24_two_column_table_layout.pdf -@@ -1,4 +1,5 @@ - Two-Column Layout - --Left column content. This is the first column of Right column content. This is the second - --a two-column layout. It demonstrates how column. Both columns should render side-by- - --tables can be used for text layout purposes. side in the PDF output. -+Left column content. This is the first Right column content. This is the second - -+column of a two-column layout. It column. Both columns should render side- - -+demonstrates how tables can be used for by-side in the PDF output. - -+text layout purposes. -``` -
- -### docx_classic25_title_and_subtitle - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.994 -- **Overall Score:** 0.9976 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=1865 bytes, Reference=134268 bytes - -Text content: ✅ Identical - -### docx_classic26_table_alignment - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9895 -- **Overall Score:** 0.9958 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5513 bytes, Reference=94051 bytes - -Text content: ✅ Identical - -### docx_classic27_long_paragraph_wrapping - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9268 -- **Overall Score:** 0.9707 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4477 bytes, Reference=72456 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic27_long_paragraph_wrapping.pdf -+++ reference/docx_classic27_long_paragraph_wrapping.pdf -@@ -1,23 +1,25 @@ - Word Wrapping Test - --This is a very long paragraph designed to test how MiniPdf handles word wrapping across line - --boundaries. The text should flow naturally from one line to the next without any awkward breaks or - --overflow. This is a very long paragraph designed to test how MiniPdf handles word wrapping - --across line boundaries. The text should flow naturally from one line to the next without any - --awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf handles - --word wrapping across line boundaries. The text should flow naturally from one line to the next - --without any awkward breaks or overflow. This is a very long paragraph designed to test how - --MiniPdf handles word wrapping across line boundaries. The text should flow naturally from one - --line to the next without any awkward breaks or overflow. This is a very long paragraph designed to - --test how MiniPdf handles word wrapping across line boundaries. The text should flow naturally - --from one line to the next without any awkward breaks or overflow. This is a very long paragraph - --designed to test how MiniPdf handles word wrapping across line boundaries. The text should flow - --naturally from one line to the next without any awkward breaks or overflow. This is a very long - --paragraph designed to test how MiniPdf handles word wrapping across line boundaries. The text - --should flow naturally from one line to the next without any awkward breaks or overflow. This is a - --very long paragraph designed to test how MiniPdf handles word wrapping across line boundaries. - --The text should flow naturally from one line to the next without any awkward breaks or overflow. - --This is a very long paragraph designed to test how MiniPdf handles word wrapping across line - --boundaries. The text should flow naturally from one line to the next without any awkward breaks or - --overflow. This is a very long paragraph designed to test how MiniPdf handles word wrapping - --across line boundaries. The text should flow naturally from one line to the next without any - -+This is a very long paragraph designed to test how MiniPdf handles word wrapping across - -+line boundaries. The text should flow naturally from one line to the next without any - -+awkward breaks or overflow. This is a very long paragraph designed to test how MiniPdf - -+handles word wrapping across line boundaries. The text should flow naturally from one line - -+to the next without any awkward breaks or overflow. This is a very long paragraph - -+designed to test how MiniPdf handles word wrapping across line boundaries. The text - -+should flow naturally from one line to the next without any awkward breaks or overflow. - -+This is a very long paragraph designed to test how MiniPdf handles word wrapping across - -+line boundaries. The text should flow naturally from one line to the next without any - -+awkward breaks o -... (1251 more characters) - -``` -
- -### docx_classic28_special_characters - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9826 -- **Overall Score:** 0.993 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=255498 bytes, Reference=80991 bytes - -Text content: ✅ Identical - -### docx_classic29_table_with_image - -- **Text Similarity:** 0.9728 -- **Visual Average:** 0.9868 -- **Overall Score:** 0.9838 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3061 bytes, Reference=70208 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic29_table_with_image.pdf -+++ reference/docx_classic29_table_with_image.pdf -@@ -1,5 +1,5 @@ - Product Card - - Product Description - --MiniPdf Widget - A compact, efficient tool for - --PDF conversion. Lightweight and dependency- - --free. -+MiniPdf Widget - A compact, efficient tool - -+for PDF conversion. Lightweight and - -+dependency-free. -``` -
- -### docx_classic30_comprehensive_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.7813 -- **Overall Score:** 0.9125 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=11510 bytes, Reference=220886 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic30_comprehensive_report.pdf -+++ reference/docx_classic30_comprehensive_report.pdf -@@ -8,9 +8,9 @@ - 4. Financial Overview - - 5. Recommendations - - 1. Executive Summary - --This report provides a comprehensive analysis of the technology landscape in 2026. Key findings - --include continued growth in AI adoption, increased focus on sustainability, and emerging trends in - --quantum computing. - -+This report provides a comprehensive analysis of the technology landscape in 2026. Key - -+findings include continued growth in AI adoption, increased focus on sustainability, and - -+emerging trends in quantum computing. - - 2. Market Analysis - - The following table summarizes market share across key sectors: - - Sector Market Share Growth - -``` -
- -### docx_classic31_product_card_with_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9756 -- **Overall Score:** 0.9902 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5328 bytes, Reference=108260 bytes - -Text content: ✅ Identical - -### docx_classic31_strikethrough_text - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9917 -- **Overall Score:** 0.9967 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1675 bytes, Reference=73919 bytes - -Text content: ✅ Identical - -### docx_classic32_company_logo_header - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9544 -- **Overall Score:** 0.9818 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7681 bytes, Reference=112769 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic32_company_logo_header.pdf -+++ reference/docx_classic32_company_logo_header.pdf -@@ -1,8 +1,8 @@ - ACME CORPORATION - - 123 Business Ave, Suite 500 | New York, NY 10001 - - Quarterly Report Q1 2026 - --This report summarizes the activities and financial performance of ACME Corporation during the - --first quarter of 2026. - -+This report summarizes the activities and financial performance of ACME Corporation - -+during the first quarter of 2026. - - Metric Target Actual - - Revenue $5M $5.3M - - Customers 500 520 - -``` -
- -### docx_classic32_superscript_subscript - -- **Text Similarity:** 0.9762 -- **Visual Average:** 0.993 -- **Overall Score:** 0.9877 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2221 bytes, Reference=73303 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic32_superscript_subscript.pdf -+++ reference/docx_classic32_superscript_subscript.pdf -@@ -1,10 +1,8 @@ - Superscript and Subscript - - 2 - - Einstein's equation: E = mc - --Water: H O - --2 - --Carbon dioxide: CO - --2 - -+Water: H 2 O - -+Carbon dioxide: CO 2 - - 1 - - Footnote reference - - n n n - -``` -
- -### docx_classic33_highlighted_text - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9798 -- **Overall Score:** 0.9919 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1547 bytes, Reference=67420 bytes - -Text content: ✅ Identical - -### docx_classic33_two_products_side_by_side - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9765 -- **Overall Score:** 0.9906 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8701 bytes, Reference=107718 bytes - -Text content: ✅ Identical - -### docx_classic34_employee_directory_with_photo - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.4879 -- **Overall Score:** 0.6952 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=3350 bytes, Reference=99625 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic34_employee_directory_with_photo.pdf -+++ reference/docx_classic34_employee_directory_with_photo.pdf -@@ -10,4 +10,5 @@ - Carol Williams - - UX Designer - - Email: carol@company.com - -+---PAGE--- - - Department: Design -``` -
- -### docx_classic34_paragraph_borders - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9777 -- **Overall Score:** 0.9911 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2321 bytes, Reference=69819 bytes - -Text content: ✅ Identical - -### docx_classic35_inventory_with_product_photos - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9788 -- **Overall Score:** 0.9915 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=9530 bytes, Reference=84431 bytes - -Text content: ✅ Identical - -### docx_classic35_tab_stops - -- **Text Similarity:** 0.64 -- **Visual Average:** 0.9894 -- **Overall Score:** 0.8518 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2274 bytes, Reference=76285 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic35_tab_stops.pdf -+++ reference/docx_classic35_tab_stops.pdf -@@ -1,6 +1,6 @@ - Tab Stop Alignment - --Chapter 1: Introduction.............................................................................................................................................................1 - --Chapter 2: Getting Started......................................................................................................................................................5 - --Chapter 3: Advanced Topics..............................................................................................................................................15 - --Chapter 4: Best Practices.....................................................................................................................................................28 - --Chapter 5: Conclusion............................................................................................................................................................35 -+Chapter 1: Introduction ......................................................................................................................................................... 1 - -+Chapter 2: Getting Started..................................................................................................................................................... 5 - -+Chapter 3: Advanced Topics.............................................................................................................................................. 15 - -+Chapter 4: Best Practices .................................................................................................................................................... 28 - -+Chapter 5: Conclusion .......................................................................................................................................................... 35 -``` -
- -### docx_classic36_invoice_with_logo - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9646 -- **Overall Score:** 0.9858 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9627 bytes, Reference=86303 bytes - -Text content: ✅ Identical - -### docx_classic36_wide_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.984 -- **Overall Score:** 0.9936 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=19194 bytes, Reference=100125 bytes - -Text content: ✅ Identical - -### docx_classic37_nested_table - -- **Text Similarity:** 0.963 -- **Visual Average:** 0.9876 -- **Overall Score:** 0.9802 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2901 bytes, Reference=76696 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic37_nested_table.pdf -+++ reference/docx_classic37_nested_table.pdf -@@ -1,6 +1,6 @@ - Nested Table Layout - - Section A Section B - --Details: This cell contains plain text while the adjacent - --Item Qty cell has a nested table. - -+Details: This cell contains plain text while the - -+Item Qty adjacent cell has a nested table. - - Widget 10 - - Gadget 5 -``` -
- -### docx_classic37_real_estate_listing - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9756 -- **Overall Score:** 0.9902 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6434 bytes, Reference=106313 bytes - -Text content: ✅ Identical - -### docx_classic38_restaurant_menu_with_photos - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9734 -- **Overall Score:** 0.9894 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=5087 bytes, Reference=104667 bytes - -Text content: ✅ Identical - -### docx_classic38_table_column_widths - -- **Text Similarity:** 0.8485 -- **Visual Average:** 0.9782 -- **Overall Score:** 0.9307 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8752 bytes, Reference=102328 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic38_table_column_widths.pdf -+++ reference/docx_classic38_table_column_widths.pdf -@@ -1,10 +1,6 @@ - Custom Column Widths - - # Description Category Amount - --1 Office supplies and Operations $245.00 - --stationery - --2 Cloud hosting Technology $1,200.00 - --monthly fee - --3 Team lunch and Meals $380.00 - --catering - --4 Conference Travel $599.00 - --registration -+1 Office supplies and stationery Operations $245.00 - -+2 Cloud hosting monthly fee Technology $1,200.00 - -+3 Team lunch and catering Meals $380.00 - -+4 Conference registration Travel $599.00 -``` -
- -### docx_classic39_cover_page_with_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.985 -- **Overall Score:** 0.994 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=3758 bytes, Reference=120726 bytes - -Text content: ✅ Identical - -### docx_classic39_financial_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9743 -- **Overall Score:** 0.9897 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=11910 bytes, Reference=111342 bytes - -Text content: ✅ Identical - -### docx_classic40_product_catalog_with_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9735 -- **Overall Score:** 0.9894 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6767 bytes, Reference=117045 bytes - -Text content: ✅ Identical - -### docx_classic40_resume - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.972 -- **Overall Score:** 0.9888 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3559 bytes, Reference=197726 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic40_resume.pdf -+++ reference/docx_classic40_resume.pdf -@@ -1,8 +1,8 @@ - JOHN DOE - - john.doe@email.com | +1-555-0100 | New York, NY - - Professional Summary - --Experienced software engineer with 8+ years of expertise in building scalable web applications - --and distributed systems. Proficient in C#, Python, and JavaScript. - -+Experienced software engineer with 8+ years of expertise in building scalable web - -+applications and distributed systems. Proficient in C#, Python, and JavaScript. - - Experience - - Senior Software Engineer - Tech Corp Inc. - - January 2020 - Present - -``` -
- -### docx_classic41_business_letter - -- **Text Similarity:** 0.9893 -- **Visual Average:** 0.9819 -- **Overall Score:** 0.9885 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2903 bytes, Reference=80009 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic41_business_letter.pdf -+++ reference/docx_classic41_business_letter.pdf -@@ -7,11 +7,11 @@ - 456 Commerce St - - San Francisco, CA 94102 - - Dear Mr. Wilson, - --Thank you for your interest in our products. We are pleased to inform you that your order #ORD- - --2026-0315 has been processed and is scheduled for delivery by March 15, 2026. - --Please find enclosed the detailed invoice and shipping confirmation. If you have any questions - --regarding your order, please do not hesitate to contact our customer service team at - --support@acme.com or call us at +1-555-0200. - -+Thank you for your interest in our products. We are pleased to inform you that your order - -+#ORD-2026-0315 has been processed and is scheduled for delivery by March 15, 2026. - -+Please find enclosed the detailed invoice and shipping confirmation. If you have any - -+questions regarding your order, please do not hesitate to contact our customer service team - -+at support@acme.com or call us at +1-555-0200. - - We value your business and look forward to a continued partnership. - - Sincerely, - - Sarah Johnson - -``` -
- -### docx_classic41_newsletter_with_hero_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9199 -- **Overall Score:** 0.968 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4228 bytes, Reference=132792 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic41_newsletter_with_hero_image.pdf -+++ reference/docx_classic41_newsletter_with_hero_image.pdf -@@ -1,11 +1,11 @@ - TECH WEEKLY - - Issue #42 | March 2026 - - AI-Powered Code Review Tools - --New AI-powered code review tools are transforming how development teams collaborate. Early - --adopters report 30% faster review cycles and 25% fewer bugs reaching production. - -+New AI-powered code review tools are transforming how development teams collaborate. - -+Early adopters report 30% faster review cycles and 25% fewer bugs reaching production. - - Cloud Migration Best Practices - --As organizations accelerate cloud adoption, a structured migration approach becomes critical. We - --explore five proven strategies for seamless transitions. - -+As organizations accelerate cloud adoption, a structured migration approach becomes - -+critical. We explore five proven strategies for seamless transitions. - - • Assess workload compatibility - - • Plan data migration carefully - - • Implement security from day one - -``` -
- -### docx_classic42_chart_image_with_data - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9704 -- **Overall Score:** 0.9882 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13126 bytes, Reference=112851 bytes - -Text content: ✅ Identical - -### docx_classic42_meeting_minutes - -- **Text Similarity:** 0.9903 -- **Visual Average:** 0.9657 -- **Overall Score:** 0.9824 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=11010 bytes, Reference=112714 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic42_meeting_minutes.pdf -+++ reference/docx_classic42_meeting_minutes.pdf -@@ -9,14 +9,15 @@ - 3. New Hire Onboarding - - 4. Action Items - - Discussion Summary - --Alice presented the Q4 results showing a 15% revenue increase. Bob proposed reallocating 10% - --of the marketing budget to R&D. Carol reported that three new engineering positions have been - --approved. - -+Alice presented the Q4 results showing a 15% revenue increase. Bob proposed reallocating - -+10% of the marketing budget to R&D. Carol reported that three new engineering positions - -+have been approved. - - Action Items - - Owner Action Due Date - - Bob Submit revised budget March 10 - - proposal - - Carol Post job listings for March 7 - - engineering roles - --David Prepare onboarding materials March 14 - -+David Prepare onboarding March 14 - -+materials - - Eve Schedule follow-up meeting March 5 -``` -
- -### docx_classic43_event_flyer_with_banner - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.918 -- **Overall Score:** 0.9672 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9365 bytes, Reference=109856 bytes - -Text content: ✅ Identical - -### docx_classic43_invoice_document - -- **Text Similarity:** 0.9775 -- **Visual Average:** 0.9506 -- **Overall Score:** 0.9712 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=14494 bytes, Reference=99728 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic43_invoice_document.pdf -+++ reference/docx_classic43_invoice_document.pdf -@@ -7,14 +7,18 @@ - Bill To: Widget Industries Ship To: Same as billing - - Item Description Qty Unit Price Total - - SVC-001 Consulting 40 $150.00 $6,000.00 - --Services (40 hrs) - -+Services (40 - -+hrs) - - LIC-002 Enterprise 5 $499.00 $2,495.00 - --License (Annual) - --HW-003 Server Hardware 2 $2,499.00 $4,998.00 - -+License - -+(Annual) - -+HW-003 Server 2 $2,499.00 $4,998.00 - -+Hardware - - SUP-004 Premium 1 $1,800.00 $1,800.00 - - Support Plan - --TRN-005 On-site Training 1 $3,000.00 $3,000.00 - --(2 days) - -+TRN-005 On-site 1 $3,000.00 $3,000.00 - -+Training (2 - -+days) - - Subtotal: $18,293.00 - - Tax (8.25%): $1,509.17 - - Total Due: $19,802.17 -``` -
- -### docx_classic44_dashboard_with_kpi_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9703 -- **Overall Score:** 0.9881 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=12032 bytes, Reference=116297 bytes - -Text content: ✅ Identical - -### docx_classic44_memo - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9723 -- **Overall Score:** 0.9889 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3454 bytes, Reference=129775 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic44_memo.pdf -+++ reference/docx_classic44_memo.pdf -@@ -3,14 +3,14 @@ - FROM: Maria Garcia, CEO - - DATE: March 3, 2026 - - RE: Quarterly Performance Review Process Changes - --Effective immediately, we are implementing several changes to our quarterly performance review - --process. These changes are designed to streamline evaluation procedures and provide more - --actionable feedback to team members. - -+Effective immediately, we are implementing several changes to our quarterly performance - -+review process. These changes are designed to streamline evaluation procedures and - -+provide more actionable feedback to team members. - - Key Changes - - • Reviews will now be conducted bi-monthly instead of quarterly - - • Self-assessment forms must be submitted 5 business days before the review - - • 360-degree feedback will be incorporated for all managerial positions - - • New rating scale: 1-5 (replacing the current A-F system) - - • All reviews must be completed within a 2-week window - --Please share this information with your teams and direct any questions to the HR department at - --hr@company.com. -+Please share this information with your teams and direct any questions to the HR - -+department at hr@company.com. -``` -
- -### docx_classic45_certificate_with_seal - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9728 -- **Overall Score:** 0.9891 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2083 bytes, Reference=71997 bytes - -Text content: ✅ Identical - -### docx_classic45_project_plan - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9505 -- **Overall Score:** 0.9802 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=20988 bytes, Reference=128979 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic45_project_plan.pdf -+++ reference/docx_classic45_project_plan.pdf -@@ -1,8 +1,8 @@ - Project Plan: Website Redesign - - Project Manager: Sarah Chen | Start Date: March 2026 - - Project Overview - --This project aims to redesign the company website to improve user experience, modernize the - --visual design, and optimize for mobile devices. - -+This project aims to redesign the company website to improve user experience, modernize - -+the visual design, and optimize for mobile devices. - - Timeline - - Phase Task Owner Start End - - Discovery User research & UX Team Mar 1 Mar 14 - -``` -
- -### docx_classic46_comparison_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9746 -- **Overall Score:** 0.9898 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=14692 bytes, Reference=107695 bytes - -Text content: ✅ Identical - -### docx_classic46_product_image_grid - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9787 -- **Overall Score:** 0.9915 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3138 bytes, Reference=83076 bytes - -Text content: ✅ Identical - -### docx_classic47_data_dictionary - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9447 -- **Overall Score:** 0.9779 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=19910 bytes, Reference=114030 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic47_data_dictionary.pdf -+++ reference/docx_classic47_data_dictionary.pdf -@@ -6,7 +6,8 @@ - identifier - - name VARCHAR(100) NOT NULL Full name - - email VARCHAR(255) UNIQUE Email address - --created_at DATETIME DEFAULT NOW() Account creation date - -+created_at DATETIME DEFAULT NOW() Account creation - -+date - - status ENUM DEFAULT 'active' Account status - - Table: orders - - Column Type Constraints Description - -``` -
- -### docx_classic47_news_article_with_hero_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9192 -- **Overall Score:** 0.9677 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3646 bytes, Reference=131080 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic47_news_article_with_hero_image.pdf -+++ reference/docx_classic47_news_article_with_hero_image.pdf -@@ -1,10 +1,10 @@ - Open Source Software Adoption Hits Record High - - By Sarah Mitchell | March 6, 2026 | Technology - --A new survey shows that 92% of enterprise organizations now use open source software in their - --technology stacks, up from 78% in 2024. The trend is driven by cost savings, community - --innovation, and increased security transparency. - --Key findings include a 45% increase in open source contributions from corporate developers, and - --growing adoption of open source AI frameworks across industries. - -+A new survey shows that 92% of enterprise organizations now use open source software in - -+their technology stacks, up from 78% in 2024. The trend is driven by cost savings, - -+community innovation, and increased security transparency. - -+Key findings include a 45% increase in open source contributions from corporate - -+developers, and growing adoption of open source AI frameworks across industries. - - Industry Reactions - - "Open source has become the backbone of modern software development," said CTO James - - Walker. "Organizations that embrace it gain a competitive advantage." -``` -
- -### docx_classic48_multi_level_headings - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9694 -- **Overall Score:** 0.9878 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=8695 bytes, Reference=118651 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic48_multi_level_headings.pdf -+++ reference/docx_classic48_multi_level_headings.pdf -@@ -54,9 +54,9 @@ - Implementation uses factory pattern with dependency injection. - - 3.1.2 Sub-component - - Detailed description of sub-component 3.1.2. - -----PAGE--- - - 3.1.2.1 Implementation Notes - - Implementation uses factory pattern with dependency injection. - -+---PAGE--- - - 3.2 Component 2 - - Component 3.2 handles specific operations within Module 3. - - 3.2.1 Sub-component - -``` -
- -### docx_classic48_task_list_with_status_icons - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9747 -- **Overall Score:** 0.9899 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10317 bytes, Reference=106209 bytes - -Text content: ✅ Identical - -### docx_classic49_cjk_document - -- **Text Similarity:** 0.9849 -- **Visual Average:** 0.9698 -- **Overall Score:** 0.9819 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3734059 bytes, Reference=141092 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic49_cjk_document.pdf -+++ reference/docx_classic49_cjk_document.pdf -@@ -1,16 +1,18 @@ - CJK Text Sample - - Chinese (Simplified) - --MiniPdf 是一个轻量级的 .NET 库,用于将 Office 文档转换为 PDF 格式。 - --它不依赖 Microsoft Office,可以在任何平台上运行。 - -+MiniPdf 是一个 轻 量 级 的 .NET 库 ,用于将 Office 文档 转换为 PDF 格式。 - -+它不依 赖 Microsoft Office ,可以在任何平台上运行。 - - Chinese (Traditional) - - MiniPdf 是一個輕量級的 .NET 庫,用於將 Office 文檔轉換為 PDF 格式。 - - Japanese - --MiniPdf は軽量な .NET ライブラリで、Office ドキュメントを PDF に変換します。 - -+MiniPdf は軽量な .NET ライブラリで、 Office ドキュメントを PDF に変換します。 - - Korean - - MiniPdf 는 Office 문서를 PDF 로 변환하는 경량 .NET 라이브러리입니다 . - - Mixed CJK Table - - Language Hello Thank You - --Chinese 你好 谢谢 - -+Chinese 你好 - -+谢谢 - - Japanese こんにちは ありがとう - --Korean 안녕하세요 감사합니다 - -+Korean - -+안녕하세요 감사합니다 - - English Hello Thank you -``` -
- -### docx_classic49_wide_panoramic_banner - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9114 -- **Overall Score:** 0.9646 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8045 bytes, Reference=108687 bytes - -Text content: ✅ Identical - -### docx_classic50_long_table_with_formatting - -- **Text Similarity:** 0.7465 -- **Visual Average:** 0.4042 -- **Overall Score:** 0.5603 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=64873 bytes, Reference=122324 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic50_long_table_with_formatting.pdf -+++ reference/docx_classic50_long_table_with_formatting.pdf -@@ -1,44 +1,63 @@ - Server Inventory Report - - Server ID Hostname IP Address OS Status - --SRV-001 server-001.local 10.0.0.1 Ubuntu 22.04 Online - --SRV-002 server-002.local 10.0.0.2 Windows Server Online - --2022 - --SRV-003 server-003.local 10.0.0.3 RHEL 9 Online - --SRV-004 server-004.local 10.0.0.4 Debian 12 Maintenance - --SRV-005 server-005.local 10.0.0.5 CentOS Stream Online - --9 - --SRV-006 server-006.local 10.0.0.6 Ubuntu 22.04 Online - --SRV-007 server-007.local 10.0.0.7 Windows Server Offline - --2022 - --SRV-008 server-008.local 10.0.0.8 RHEL 9 Online - --SRV-009 server-009.local 10.0.0.9 Debian 12 Online - --SRV-010 server-010.local 10.0.0.10 CentOS Stream Online - --9 - --SRV-011 server-011.local 10.0.0.11 Ubuntu 22.04 Online - --SRV-012 server-012.local 10.0.0.12 Windows Server Online - --2022 - --SRV-013 server-013.local 10.0.0.13 RHEL 9 Online - --SRV-014 server-014.local 10.0.0.14 Debian 12 Maintenance - --SRV-015 server-015.local 10.0.0.15 CentOS Stream Online - --9 - --SRV-016 server-016.local 10.0.0.16 Ubuntu 22.04 Online - --SRV-017 server-017.local 10.0.0.17 Windows Server Offline - --2022 - --SRV-018 server-018.local 10.0.0.18 RHEL 9 Online - --SRV-019 server-019.local 10.0.0.19 Debian 12 Online - --SRV-020 server-020.local 10.0.0.20 CentOS Stream Online - --9 - --SRV-021 server-021.local 10.0.0.21 Ubuntu 22.04 Online - --SRV-022 server-022.local 10.0.0.22 Windows Server Online - --2022 - --SRV-023 server-023.local 10.0.0.23 RHEL 9 Online - --SRV-024 server-024.local 10.0.0.24 Debian 12 Maintenance - --SRV-025 server-025.local 10.0.0.25 CentOS Stream Online - --9 - --SRV-026 server-026.local 10.0.0.26 Ubuntu 22.04 Online - --SRV-027 server-027.local 10.0.0.27 Windows Server Offline - --2022 - --SRV-028 server-028.local 10.0.0.28 RHEL 9 Online - --SRV-029 server-029.local 10.0.0.29 Debian 12 Online - --SRV-030 server-030.local 10.0.0.30 CentOS Stream Online - --9 -+SRV-001 server- 10.0.0.1 Ubuntu 22.04 Online - -+001.local - -+SRV-002 server- 10.0.0.2 Windows Online - -+002.local Server 2022 - -+SRV-003 server- 10.0.0.3 RHEL 9 Online - -+003.local - -+SRV-004 server- 10.0.0.4 Debian 12 Maintenance - -+004.local - -+SRV-005 server- 10.0.0.5 CentOS Stream Online - -+005.local 9 - -+SRV-006 server- 10.0.0.6 Ubuntu 22.04 Online - -+006.local - -+SRV-007 server- 10.0.0.7 Windows Offline - -+007.local Server 2022 - -+SRV-008 server- 10.0.0.8 RHEL 9 Online - -+008.local - -+SRV-009 server- 10.0.0.9 Debian 12 Online - -+009.local - -+SRV-010 server- 10.0.0.10 CentOS Stream Online - -+010.local 9 - -+SRV-011 server- 10.0.0.11 Ubuntu 22.04 Online - -+011.local - -+SRV-012 server- 10.0.0.12 Windows Online - -+012.local Server 2022 - -+SRV-013 server- 10.0.0.13 RHEL 9 Online - -+013.local - -+SRV-014 server- 10.0.0.14 Debian 12 Maintenance - -+014.local - -+SRV-015 server- 10.0.0.15 CentOS Stream Online - -+015.local 9 - -+SRV-016 server- 10.0.0.16 Ubuntu 22.04 Online - -+016.local - -+SRV-017 server- 10.0.0.17 Windows Offline - -+017.local Server 2022 - -+SRV-018 server -... (778 more characters) - -``` -
- -### docx_classic50_portrait_tall_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9777 -- **Overall Score:** 0.9911 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3015 bytes, Reference=156207 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic50_portrait_tall_image.pdf -+++ reference/docx_classic50_portrait_tall_image.pdf -@@ -3,8 +3,8 @@ - Chief Technology Officer, NovaTech Inc. - - Biography - - Dr. Zhang is a recognized leader in distributed systems with over 15 years of experience in - --building large-scale cloud platforms. She holds a Ph.D. in Computer Science from MIT and has - --published 30+ papers on scalable architectures. - -+building large-scale cloud platforms. She holds a Ph.D. in Computer Science from MIT and - -+has published 30+ papers on scalable architectures. - - Speaking Topics - - • Microservices at Scale - - • AI-Driven Infrastructure - -``` -
- -### docx_classic51_step_by_step_with_images - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9715 -- **Overall Score:** 0.9886 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3386 bytes, Reference=86405 bytes - -Text content: ✅ Identical - -### docx_classic51_underline_styles - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9926 -- **Overall Score:** 0.997 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1943 bytes, Reference=68896 bytes - -Text content: ✅ Identical - -### docx_classic52_before_after_comparison - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9695 -- **Overall Score:** 0.9878 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3302 bytes, Reference=71180 bytes - -Text content: ✅ Identical - -### docx_classic52_spacing_before_after - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.966 -- **Overall Score:** 0.9864 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1942 bytes, Reference=76163 bytes - -Text content: ✅ Identical - -### docx_classic53_color_swatch_palette - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9695 -- **Overall Score:** 0.9878 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4274 bytes, Reference=105872 bytes - -Text content: ✅ Identical - -### docx_classic53_table_merged_complex - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9771 -- **Overall Score:** 0.9908 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=12364 bytes, Reference=93385 bytes - -Text content: ✅ Identical - -### docx_classic54_multi_font_family - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9835 -- **Overall Score:** 0.9934 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=170737 bytes, Reference=250187 bytes - -Text content: ✅ Identical - -### docx_classic54_travel_destination_cards - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9792 -- **Overall Score:** 0.9917 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5505 bytes, Reference=105061 bytes - -Text content: ✅ Identical - -### docx_classic55_background_shading_paragraph - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9393 -- **Overall Score:** 0.9757 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1997 bytes, Reference=67663 bytes - -Text content: ✅ Identical - -### docx_classic55_lab_results_with_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9624 -- **Overall Score:** 0.985 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=14240 bytes, Reference=118015 bytes - -Text content: ✅ Identical - -### docx_classic56_images_and_tables_mixed - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9651 -- **Overall Score:** 0.986 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9537 bytes, Reference=84307 bytes - -Text content: ✅ Identical - -### docx_classic56_software_screenshot_features - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9654 -- **Overall Score:** 0.9862 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7844 bytes, Reference=118476 bytes - -Text content: ✅ Identical - -### docx_classic57_right_to_left_text - -- **Text Similarity:** 0.875 -- **Visual Average:** 0.9802 -- **Overall Score:** 0.9421 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=434928 bytes, Reference=97228 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic57_right_to_left_text.pdf -+++ reference/docx_classic57_right_to_left_text.pdf -@@ -2,8 +2,8 @@ - Left-to-right (default): - - This is standard left-to-right English text. - - Right-aligned text (simulating RTL): - --This text is right-aligned to simu - -+This text is right-aligned to simulate right-to-left layout. - - Hebrew sample (RTL): - --םולש םלוע - -+עולם שלום - - Arabic sample (RTL): - --ﺎﺒﺣﺮﻣ ﻢﻟﺎﻌﻟﺎﺑ -+بالعالم مرحبا -``` -
- -### docx_classic57_sports_results_with_logos - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9484 -- **Overall Score:** 0.9794 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=17284 bytes, Reference=112026 bytes - -Text content: ✅ Identical - -### docx_classic58_dense_paragraph_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.7618 -- **Overall Score:** 0.8047 -- **Pages:** MiniPdf=6, Reference=7 -- **File Size:** MiniPdf=37679 bytes, Reference=107116 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic58_dense_paragraph_document.pdf -+++ reference/docx_classic58_dense_paragraph_document.pdf -@@ -1,245 +1,267 @@ - Research Paper: Modern Software Engineering - - Author: Dr. Jane Smith | Published: March 2026 - - Abstract - --Modern software engineering practices emphasize continuous integration, automated testing, and - --agile methodologies. The rapid evolution of cloud computing and containerization has transformed - --how teams build and deploy applications. Microservices architecture enables independent scaling - --and deployment of components. Modern software engineering practices emphasize continuous - --integration, automated testing, and agile methodologies. The rapid evolution of cloud computing - --and containerization has transformed how teams build and deploy applications. Microservices - --architecture enables independent scaling and deployment of components. Modern software - --engineering practices emphasize continuous integration, automated testing, and agile - --methodologies. The rapid evolution of cloud computing and containerization has transformed how - --teams build and deploy applications. Microservices architecture enables independent scaling and - --deployment of components. - --Modern software engineering practices emphasize continuous integration, automated testing, and - --agile methodologies. The rapid evolution of cloud computing and containerization has transformed - --how teams build and deploy applications. Microservices architecture enables independent scaling - --and deployment of components. Modern software engineering practices emphasize continuous - --integration, automated testing, and agile methodologies. The rapid evolution of cloud computing - --and containerization has transformed how teams build and deploy applications. Microservices - --architecture enables independent scaling and deployment of components. Modern software - --engineering practices emphasize continuous integration, automated testing, and agile - --methodologies. The rapid evolution of cloud computing and containerization has transformed how - --teams build and deploy applications. Microservices architecture enables independent scaling and - -+Modern software engineering practices emphasize continuous integration, automated - -+testing, and agile methodologies. The rapid evolution of cloud computing and - -+containerization has transformed how teams build and deploy applications. Microservices - -+architecture enables independent scaling and deployment of components. Modern software - -+engineering practices emphasize continuous integration, automated testing, and agile - -+methodologies. The rapid evolution of cloud computing and containerization has - -+transformed how teams build and deploy applications. Microservices architecture enables - -+independent scaling and deployment of components. Modern software engineering - -+practices emphasize continuous integration, automated testing, and agile methodologies. - -+The rapid evolution of cloud computing and containerization has t -... (38350 more characters) - -``` -
- -### docx_classic58_report_with_footer_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9666 -- **Overall Score:** 0.9866 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=12413 bytes, Reference=136402 bytes - -Text content: ✅ Identical - -### docx_classic59_numbered_and_bullet_mixed - -- **Text Similarity:** 0.9948 -- **Visual Average:** 0.9773 -- **Overall Score:** 0.9888 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3826 bytes, Reference=119386 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic59_numbered_and_bullet_mixed.pdf -+++ reference/docx_classic59_numbered_and_bullet_mixed.pdf -@@ -15,6 +15,6 @@ - • Configure font embedding preferences - - • Enable or disable image compression - - Troubleshooting - --1. Verify .NET SDK installation with dotnet --version - --2. Clear NuGet cache if packages fail to restore - --3. Check file permissions on output directory -+6. Verify .NET SDK installation with dotnet --version - -+7. Clear NuGet cache if packages fail to restore - -+8. Check file permissions on output directory -``` -
- -### docx_classic59_nutrition_label_with_image - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9695 -- **Overall Score:** 0.9878 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8658 bytes, Reference=109697 bytes - -Text content: ✅ Identical - -### docx_classic60_comprehensive_styled_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9615 -- **Overall Score:** 0.9846 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=15521 bytes, Reference=244937 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic60_comprehensive_styled_report.pdf -+++ reference/docx_classic60_comprehensive_styled_report.pdf -@@ -4,8 +4,8 @@ - March 2026 - - ---PAGE--- - - Executive Summary - --Key Findings: The technology sector continues to show strong growth driven by AI adoption, - --cloud migration, and digital transformation initiatives. - -+Key Findings: The technology sector continues to show strong growth driven by AI - -+adoption, cloud migration, and digital transformation initiatives. - - Market Overview - - Sector Q4 2025 Q1 2026 Change - - Cloud Computing $180B $195B +8.3% - -@@ -24,11 +24,11 @@ - • Edge computing gaining traction - - Visual Summary - - Growth indicator (placeholder): - -----PAGE--- - - Recommendations - - 1. Accelerate AI integration strategy - - 2. Diversify cloud vendor dependencies - - 3. Invest in employee upskilling programs - -+---PAGE--- - - 4. Strengthen data governance frameworks - - 5. Evaluate emerging quantum computing capabilities - - --- End of Report --- -``` -
- -### docx_classic60_project_status_with_milestones - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.4803 -- **Overall Score:** 0.6921 -- **Pages:** MiniPdf=1, Reference=2 -- **File Size:** MiniPdf=14705 bytes, Reference=141002 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic60_project_status_with_milestones.pdf -+++ reference/docx_classic60_project_status_with_milestones.pdf -@@ -14,4 +14,5 @@ - • Database migration downtime exceeding 4-hour window - - • Third-party API compatibility issues - - • Team capacity constraints during March - -+---PAGE--- - - Figure: Sprint velocity chart -``` -
- -### docx_classic61_header_and_footer - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9599 -- **Overall Score:** 0.984 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2627 bytes, Reference=76328 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic61_header_and_footer.pdf -+++ reference/docx_classic61_header_and_footer.pdf -@@ -1,13 +1,13 @@ - MiniPdf Benchmark Report - - Header and Footer Test - --Section 1: This content appears between the header and footer. It demonstrates how MiniPdf - --handles page headers and footers in DOCX conversion. - --Section 2: This content appears between the header and footer. It demonstrates how MiniPdf - --handles page headers and footers in DOCX conversion. - --Section 3: This content appears between the header and footer. It demonstrates how MiniPdf - --handles page headers and footers in DOCX conversion. - --Section 4: This content appears between the header and footer. It demonstrates how MiniPdf - --handles page headers and footers in DOCX conversion. - --Section 5: This content appears between the header and footer. It demonstrates how MiniPdf - --handles page headers and footers in DOCX conversion. - -+Section 1: This content appears between the header and footer. It demonstrates how - -+MiniPdf handles page headers and footers in DOCX conversion. - -+Section 2: This content appears between the header and footer. It demonstrates how - -+MiniPdf handles page headers and footers in DOCX conversion. - -+Section 3: This content appears between the header and footer. It demonstrates how - -+MiniPdf handles page headers and footers in DOCX conversion. - -+Section 4: This content appears between the header and footer. It demonstrates how - -+MiniPdf handles page headers and footers in DOCX conversion. - -+Section 5: This content appears between the header and footer. It demonstrates how - -+MiniPdf handles page headers and footers in DOCX conversion. - - Page 1 | Confidential -``` -
- -### docx_classic62_footnote_references - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9724 -- **Overall Score:** 0.989 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2296 bytes, Reference=83417 bytes - -Text content: ✅ Identical - -### docx_classic63_toc_style_headings - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9824 -- **Overall Score:** 0.993 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3471 bytes, Reference=116889 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic63_toc_style_headings.pdf -+++ reference/docx_classic63_toc_style_headings.pdf -@@ -1,17 +1,22 @@ - Table of Contents - - Chapter 1: Introduction 1 - --1.1 Background 3 - --1.2 Objectives 5 - -+1.1 Background - -+3 - -+1.2 Objectives - -+5 - - Chapter 2: Literature Review 7 - - 2.1 Historical Context 8 - --2.2 Current Research 12 - -+2.2 Current Research - -+12 - - 2.2.1 Methodology - - 13 - - 2.2.2 Findings - - 15 - - Chapter 3: Methodology 18 - --3.1 Data Collection 19 - --3.2 Analysis Framework 22 - -+3.1 Data Collection - -+19 - -+3.2 Analysis Framework - -+22 - - Chapter 4: Results 25 - - Chapter 5: Discussion 30 - - Chapter 6: Conclusion 35 - -``` -
- -### docx_classic64_multi_column_layout - -- **Text Similarity:** 0.8494 -- **Visual Average:** 0.9694 -- **Overall Score:** 0.9275 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3358 bytes, Reference=84036 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic64_multi_column_layout.pdf -+++ reference/docx_classic64_multi_column_layout.pdf -@@ -1,14 +1,15 @@ - Newsletter - March 2026 - --Artificial intelligence continues to reshape the Cloud computing has become the backbone of - --technology landscape. New advances in large modern enterprise IT. Multi-cloud strategies - --language models enable more natural human- allow organizations to leverage the best - --computer interaction. Companies worldwide features of different providers while avoiding - --are investing heavily in AI research and vendor lock-in. Edge computing supplements - --development, anticipating transformative cloud by processing data closer to its source, - --impacts across industries from healthcare to reducing latency for critical applications. - --manufacturing. - -+Artificial intelligence continues to reshape Cloud computing has become the backbone - -+the technology landscape. New advances in of modern enterprise IT. Multi-cloud - -+large language models enable more natural strategies allow organizations to leverage - -+human-computer interaction. Companies the best features of different providers - -+worldwide are investing heavily in AI while avoiding vendor lock-in. Edge - -+research and development, anticipating computing supplements cloud by - -+transformative impacts across industries processing data closer to its source, - -+from healthcare to manufacturing. reducing latency for critical applications. - - Featured Article - --Open source software has become the foundation of modern software development. Projects like - --Linux, Kubernetes, and .NET have demonstrated how community-driven development can - --produce enterprise-grade software. The MiniPdf project itself is an example of this approach, - --providing PDF generation capabilities without proprietary dependencies. -+Open source software has become the foundation of modern software development. - -+Projects like Linux, Kubernetes, and .NET have demonstrated how community-driven - -+development can produce enterprise-grade software. The MiniPdf project itself is an - -+example of this approach, providing PDF generation capabilities without proprietary - -+dependencies. -``` -
- -### docx_classic65_code_block_styling - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.8699 -- **Overall Score:** 0.948 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2886 bytes, Reference=91759 bytes - -Text content: ✅ Identical - -### docx_classic66_colored_title_page - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9644 -- **Overall Score:** 0.9858 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2738 bytes, Reference=89358 bytes - -Text content: ✅ Identical - -### docx_classic67_alternating_row_table - -- **Text Similarity:** 0.9778 -- **Visual Average:** 0.9204 -- **Overall Score:** 0.9593 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=27628 bytes, Reference=115887 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic67_alternating_row_table.pdf -+++ reference/docx_classic67_alternating_row_table.pdf -@@ -4,10 +4,12 @@ - Developer - - E002 Bob Williams Marketing Marketing $95,000 - - Manager - --E003 Carol Davis Finance Financial Analyst $88,000 - -+E003 Carol Davis Finance Financial $88,000 - -+Analyst - - E004 David Brown Engineering Tech Lead $135,000 - - E005 Emily Chen Design UX Designer $92,000 - --E006 Frank Miller Engineering Junior Developer $75,000 - -+E006 Frank Miller Engineering Junior $75,000 - -+Developer - - E007 Grace Lee HR HR Specialist $82,000 - - E008 Henry Wilson Engineering DevOps $110,000 - - Engineer - -``` -
- -### docx_classic68_sidebar_layout - -- **Text Similarity:** 0.9091 -- **Visual Average:** 0.9544 -- **Overall Score:** 0.9454 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3236 bytes, Reference=129996 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic68_sidebar_layout.pdf -+++ reference/docx_classic68_sidebar_layout.pdf -@@ -2,17 +2,17 @@ - Navigation - - Overview - - Overview - --MiniPdf is a lightweight .NET library for - -+MiniPdf is a lightweight .NET library for converting Word and - - Installation - --converting Word and Excel documents to PDF - -+Excel documents to PDF format without requiring Microsoft - - Configuration - --format without requiring Microsoft Office. - -+Office. - - API Reference - - Key Features - - FAQ - --DOCX to PDF conversion - -+• DOCX to PDF conversion - - Changelog - --XLSX to PDF conversion - --CJK font support - --Image embedding - --Table formatting -+• XLSX to PDF conversion - -+• CJK font support - -+• Image embedding - -+• Table formatting -``` -
- -### docx_classic69_blockquote_styling - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9715 -- **Overall Score:** 0.9886 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2514 bytes, Reference=110121 bytes - -Text content: ✅ Identical - -### docx_classic70_academic_paper - -- **Text Similarity:** 0.9924 -- **Visual Average:** 0.94 -- **Overall Score:** 0.973 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9601 bytes, Reference=158286 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic70_academic_paper.pdf -+++ reference/docx_classic70_academic_paper.pdf -@@ -3,17 +3,17 @@ - Department of Computer Science, University of Technology - - Abstract - - This paper surveys modern techniques for generating PDF documents from - --structured office formats. We evaluate the quality and performance of conversion - --tools across a benchmark suite of 90 test documents covering diverse formatting - --features. - -+structured office formats. We evaluate the quality and performance of - -+conversion tools across a benchmark suite of 90 test documents covering - -+diverse formatting features. - - 1. Introduction - --PDF (Portable Document Format) remains the standard for sharing documents with consistent - --visual fidelity. Converting from editable office formats such as DOCX and XLSX to PDF requires - --careful handling of fonts, layouts, images, and styling attributes. - -+PDF (Portable Document Format) remains the standard for sharing documents with - -+consistent visual fidelity. Converting from editable office formats such as DOCX and XLSX to - -+PDF requires careful handling of fonts, layouts, images, and styling attributes. - - 2. Methodology - --Our benchmark suite consists of 90 DOCX test files and 90 XLSX test files, each targeting specific - --formatting features. We compare output from MiniPdf against LibreOffice-generated reference - --PDFs using pixel-level similarity scoring. - -+Our benchmark suite consists of 90 DOCX test files and 90 XLSX test files, each targeting - -+specific formatting features. We compare output from MiniPdf against LibreOffice- - -+generated reference PDFs using pixel-level similarity scoring. - - 3. Results - - Feature Category Avg Score Sample Size - - Basic Text 98.5% 20 - -@@ -21,8 +21,8 @@ - Images 94.8% 15 - - Mixed Content 95.1% 30 - - 4. Conclusion - --Modern lightweight PDF generation libraries can achieve high fidelity output for the majority of - --common document formatting features. - -+Modern lightweight PDF generation libraries can achieve high fidelity output for the - -+majority of common document formatting features. - - References - - [1] ISO 32000-2:2020. Document management - Portable document format. - - [2] ECMA-376. Office Open XML File Formats. - -``` -
- -### docx_classic71_legal_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9612 -- **Overall Score:** 0.9845 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3746 bytes, Reference=91798 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic71_legal_document.pdf -+++ reference/docx_classic71_legal_document.pdf -@@ -1,6 +1,6 @@ - SOFTWARE LICENSE AGREEMENT - --This Software License Agreement (the "Agreement") is entered into as of March 1, 2026, by and - --between MiniPdf Corporation ("Licensor") and the End User ("Licensee"). - -+This Software License Agreement (the "Agreement") is entered into as of March 1, 2026, by - -+and between MiniPdf Corporation ("Licensor") and the End User ("Licensee"). - - 1. GRANT OF LICENSE - - 1.1 Subject to the terms of this Agreement, Licensor grants Licensee a non-exclusive, - - non-transferable license to use the Software. - -``` -
- -### docx_classic72_technical_specification - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9448 -- **Overall Score:** 0.9779 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=16161 bytes, Reference=158590 bytes - -Text content: ✅ Identical - -### docx_classic73_calendar_layout - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9567 -- **Overall Score:** 0.9827 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=17205 bytes, Reference=68915 bytes - -Text content: ✅ Identical - -### docx_classic74_org_chart - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9284 -- **Overall Score:** 0.9714 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5996 bytes, Reference=102171 bytes - -Text content: ✅ Identical - -### docx_classic75_newsletter_layout - -- **Text Similarity:** 0.9857 -- **Visual Average:** 0.9656 -- **Overall Score:** 0.9805 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3265 bytes, Reference=112463 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic75_newsletter_layout.pdf -+++ reference/docx_classic75_newsletter_layout.pdf -@@ -1,10 +1,11 @@ - THE TECH WEEKLY - - Issue #42 | March 6, 2026 - - AI Revolution in Software Development - --The integration of large language models into development workflows is transforming how teams - --write, review, and deploy code. Industry experts predict that AI-assisted development will become - --standard practice by 2027. - -+The integration of large language models into development workflows is transforming how - -+teams write, review, and deploy code. Industry experts predict that AI-assisted - -+development will become standard practice by 2027. - - Quick Updates - - Cloud Infrastructure Open Source - --Major cloud providers announce new edge The .NET Foundation releases new guidelines - --computing regions in Asia-Pacific. for community project governance. -+Major cloud providers announce new edge The .NET Foundation releases new - -+computing regions in Asia-Pacific. guidelines for community project - -+governance. -``` -
- -### docx_classic76_recipe_card - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9678 -- **Overall Score:** 0.9871 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5610 bytes, Reference=138002 bytes - -Text content: ✅ Identical - -### docx_classic77_timeline_layout - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9241 -- **Overall Score:** 0.9696 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9069 bytes, Reference=120673 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic77_timeline_layout.pdf -+++ reference/docx_classic77_timeline_layout.pdf -@@ -1,8 +1,10 @@ - Project Timeline: MiniPdf v2.0 - --Q1 2025 Project Inception Initial requirements gathering - --and architecture design. - -+Q1 2025 Project Inception Initial requirements - -+gathering and architecture - -+design. - - Q2 2025 XLSX Support Implemented Excel-to-PDF - --conversion with chart support. - -+conversion with chart - -+support. - - Q3 2025 Benchmark Suite Created automated - - benchmark pipeline with 60 - - test cases. - -``` -
- -### docx_classic78_faq_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9484 -- **Overall Score:** 0.9794 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=6107 bytes, Reference=128489 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic78_faq_document.pdf -+++ reference/docx_classic78_faq_document.pdf -@@ -1,8 +1,9 @@ - Frequently Asked Questions - - Find answers to the most common questions about MiniPdf. - - Q1: What is MiniPdf? - --A: MiniPdf is a lightweight .NET library for converting DOCX and XLSX files to PDF without - --requiring Microsoft Office installation. It supports both DOCX and XLSX formats. - -+A: MiniPdf is a lightweight .NET library for converting DOCX and XLSX files to PDF - -+without requiring Microsoft Office installation. It supports both DOCX and XLSX - -+formats. - - Q2: Which .NET versions are supported? - - A: .NET 8.0 and later versions are supported. The library targets .NET Standard 2.0 for - - maximum compatibility across different .NET implementations. - -@@ -10,30 +11,30 @@ - A: Yes, MiniPdf supports embedded images in both DOCX and XLSX formats. Images are - - converted and embedded in the output PDF with proper scaling. - - Q4: How is the conversion quality measured? - --A: Quality is measured by pixel-level comparison against LibreOffice-generated reference - --PDFs. Each test case receives a similarity score from 0% to 100%. - -+A: Quality is measured by pixel-level comparison against LibreOffice-generated - -+reference PDFs. Each test case receives a similarity score from 0% to 100%. - - Q5: Can MiniPdf handle CJK characters? - - A: Yes, MiniPdf includes CJK font embedding support for Chinese, Japanese, and Korean - - text in both DOCX and XLSX documents. - - Q6: Is MiniPdf available on NuGet? - - A: Yes, MiniPdf is published as a NuGet package and can be installed via dotnet add - - package MiniPdf. - -+---PAGE--- - - Q7: What table features are supported? - -----PAGE--- - --A: MiniPdf supports table borders, cell shading, merged cells, column widths, and alternating - --row colors in both DOCX and XLSX formats. - -+A: MiniPdf supports table borders, cell shading, merged cells, column widths, and - -+alternating row colors in both DOCX and XLSX formats. - - Q8: How do I report a bug? - --A: Please open an issue on the GitHub repository with a minimal reproduction case and the - --expected vs actual output. - -+A: Please open an issue on the GitHub repository with a minimal reproduction case and - -+the expected vs actual output. - - Q9: Does MiniPdf support headers and footers? - --A: MiniPdf does not currently render headers and footers from DOCX files. The content area - --of each page is fully supported including text, tables, and images. - -+A: MiniPdf does not currently render headers and footers from DOCX files. The content - -+area of each page is fully supported including text, tables, and images. - - Q10: What is the maximum file size supported? - - A: There is no hard limit on file size. MiniPdf processes files in a streaming fashion and - - memory usage scales with document complexity rather than file size. - - Q11: Can I use MiniPdf in a web application? - --A: Yes, MiniPdf works in any .NET environment including ASP.NET Core web applications, - --Azure Functions, and containerized services. - -+A: Y -... (318 more characters) - -``` -
- -### docx_classic79_glossary - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9636 -- **Overall Score:** 0.9854 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3536 bytes, Reference=112625 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic79_glossary.pdf -+++ reference/docx_classic79_glossary.pdf -@@ -1,10 +1,10 @@ - Glossary of Terms - - API - --Application Programming Interface. A set of protocols and tools for building software - --applications. - -+Application Programming Interface. A set of protocols and tools for building - -+software applications. - - CI/CD - --Continuous Integration / Continuous Deployment. Practices for automating software - --delivery. - -+Continuous Integration / Continuous Deployment. Practices for automating - -+software delivery. - - CJK - - Chinese, Japanese, Korean. Refers to the character sets used in these languages. - - DOCX - -``` -
- -### docx_classic80_matrix_grid - -- **Text Similarity:** 0.9737 -- **Visual Average:** 0.9376 -- **Overall Score:** 0.9645 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=24950 bytes, Reference=111032 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic80_matrix_grid.pdf -+++ reference/docx_classic80_matrix_grid.pdf -@@ -10,9 +10,10 @@ - implementation - - PDF writer A R I I - - implementation - --Benchmark suite C R A I - --creation - --CJK font support A R C I - -+Benchmark C R A I - -+suite creation - -+CJK font A R C I - -+support - - Code review C R A I - - Documentation A R C C - - Release R I C A - -``` -
- -### docx_classic81_budget_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9382 -- **Overall Score:** 0.9753 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=22125 bytes, Reference=129792 bytes - -Text content: ✅ Identical - -### docx_classic82_survey_questionnaire - -- **Text Similarity:** 0.9883 -- **Visual Average:** 0.9497 -- **Overall Score:** 0.9752 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=37305 bytes, Reference=123279 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic82_survey_questionnaire.pdf -+++ reference/docx_classic82_survey_questionnaire.pdf -@@ -3,7 +3,8 @@ - Work Environment - - Statement 1 2 3 4 5 - - My - --workspace is - -+workspace - -+is - - comfortable - - and well- - - equipped. - -@@ -18,22 +19,25 @@ - Management - - Statement 1 2 3 4 5 - - My manager - --provides clear - --direction and - -+provides - -+clear - -+direction - -+and - - expectations. - - I receive - - regular and - - constructive - - feedback. - - Management - --is transparent - -+is - -+transparent - - about - - company - - goals. - - Career Development - - Statement 1 2 3 4 5 - -+I have - - ---PAGE--- - --I have - - opportunities - - for - - professional - -@@ -48,10 +52,10 @@ - advancement. - - Work-Life Balance - - Statement 1 2 3 4 5 - --I can maintain - --a healthy - --work-life - --balance. - -+I can - -+maintain a - -+healthy work- - -+life balance. - - Flexible work - - arrangements - - are available. - -``` -
- -### docx_classic83_medical_form - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9433 -- **Overall Score:** 0.9773 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=22650 bytes, Reference=116392 bytes - -Text content: ✅ Identical - -### docx_classic84_shipping_label - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9292 -- **Overall Score:** 0.9717 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7625 bytes, Reference=115136 bytes - -Text content: ✅ Identical - -### docx_classic85_report_card - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9405 -- **Overall Score:** 0.9762 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=21525 bytes, Reference=95268 bytes - -Text content: ✅ Identical - -### docx_classic86_checklist_document - -- **Text Similarity:** 0.9992 -- **Visual Average:** 0.9686 -- **Overall Score:** 0.9871 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=411348 bytes, Reference=89619 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic86_checklist_document.pdf -+++ reference/docx_classic86_checklist_document.pdf -@@ -1,5 +1,5 @@ - Project Launch Checklist - --Complete all items before the scheduled launch date . - -+Complete all items before the scheduled launch date. - - Pre-Launch - - ☑ Code review completed - - ☑ Unit tests passing - -``` -
- -### docx_classic87_bibliography - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9711 -- **Overall Score:** 0.9884 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4131 bytes, Reference=141475 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic87_bibliography.pdf -+++ reference/docx_classic87_bibliography.pdf -@@ -3,12 +3,12 @@ - Journal of Software Engineering, 42(3), 125-148. - - [2] Chen, L., Wang, M., & Liu, X. (2024). Benchmarking PDF Generation Libraries: Quality and - - Performance. ACM Computing Surveys, 57(1), 1-35. - --[3] Brown, A. (2025). Office Open XML: Architecture and Implementation. IEEE Transactions on - --Document Analysis, 28(4), 890-905. - -+[3] Brown, A. (2025). Office Open XML: Architecture and Implementation. IEEE Transactions - -+on Document Analysis, 28(4), 890-905. - - [4] ISO (2020). ISO 32000-2:2020 Document Management - Portable Document Format. - - International Organization for Standardization. - --[5] ECMA International (2016). ECMA-376: Office Open XML File Formats. ECMA International, - --5th Edition. - -+[5] ECMA International (2016). ECMA-376: Office Open XML File Formats. ECMA - -+International, 5th Edition. - - [6] Davis, K., & Martinez, S. (2024). AI-Driven Code Review: Patterns and Anti-Patterns. - - Proceedings of ICSE 2024, pp. 445-460. - - [7] Taylor, P. (2025). CJK Font Embedding in Portable Documents. International Journal of - -``` -
- -### docx_classic88_presentation_handout - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.7117 -- **Overall Score:** 0.8847 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=10480 bytes, Reference=112210 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic88_presentation_handout.pdf -+++ reference/docx_classic88_presentation_handout.pdf -@@ -20,11 +20,11 @@ - ______________________________________________________________________ - - Slide 4: XLSX Support - - Excel workbook processing and chart rendering. - -----PAGE--- - - Notes: - - ______________________________________________________________________ - - ______________________________________________________________________ - - ______________________________________________________________________ - -+---PAGE--- - - Slide 5: Quality Assurance - - Benchmark pipeline and self-evolution cycle. - - Notes: - -``` -
- -### docx_classic89_multi_image_gallery - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9521 -- **Overall Score:** 0.9808 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8447 bytes, Reference=103275 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic89_multi_image_gallery.pdf -+++ reference/docx_classic89_multi_image_gallery.pdf -@@ -3,5 +3,5 @@ - Steel Blue Crimson Lime Green - - Orange Purple Turquoise - - Gold Rosy Brown Cornflower - --Each image demonstrates a different color channel for testing image encoding fidelity in PDF - --output. -+Each image demonstrates a different color channel for testing image encoding fidelity in - -+PDF output. -``` -
- -### docx_classic90_comprehensive_annual_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9636 -- **Overall Score:** 0.9854 -- **Pages:** MiniPdf=4, Reference=4 -- **File Size:** MiniPdf=20696 bytes, Reference=198798 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic90_comprehensive_annual_report.pdf -+++ reference/docx_classic90_comprehensive_annual_report.pdf -@@ -11,9 +11,9 @@ - Outlook & Strategy................................10 - - ---PAGE--- - - Executive Summary - --Dear Stakeholders, We are pleased to present the annual report for MiniPdf Corporation. This - --year marked significant milestones in our product development, including the launch of - --DOCX-to-PDF conversion and expansion of our benchmark suite to 180 test cases. - -+Dear Stakeholders, We are pleased to present the annual report for MiniPdf Corporation. - -+This year marked significant milestones in our product development, including the launch - -+of DOCX-to-PDF conversion and expansion of our benchmark suite to 180 test cases. - - Key Metrics - - Revenue Users Test Cases Quality Score - - $2.4M 12,500 180 97.2% - -``` -
- -### docx_classic91_landscape_page - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9751 -- **Overall Score:** 0.99 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13703 bytes, Reference=109003 bytes - -Text content: ✅ Identical - -### docx_classic92_first_line_indent - -- **Text Similarity:** 0.9868 -- **Visual Average:** 0.9573 -- **Overall Score:** 0.9776 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2466 bytes, Reference=77578 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic92_first_line_indent.pdf -+++ reference/docx_classic92_first_line_indent.pdf -@@ -1,11 +1,12 @@ - First-Line Indentation Example - --The quick brown fox jumps over the lazy dog. This paragraph demonstrates first-line - --indentation, a common typographic convention in printed books and formal documents to indicate - --the start of a new paragraph. - --Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt - --ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco - --laboris. - --In traditional typography, the first paragraph after a heading is often not indented, while - --subsequent paragraphs use a first-line indent of about 0.5 inches to visually separate them. - -+The quick brown fox jumps over the lazy dog. This paragraph demonstrates first- - -+line indentation, a common typographic convention in printed books and formal documents - -+to indicate the start of a new paragraph. - -+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor - -+incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud - -+exercitation ullamco laboris. - -+In traditional typography, the first paragraph after a heading is often not indented, - -+while subsequent paragraphs use a first-line indent of about 0.5 inches to visually separate - -+them. - - This style of formatting creates a clean, professional appearance and helps readers - - distinguish between paragraph boundaries without relying on extra spacing. -``` -
- -### docx_classic93_hanging_indent - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9506 -- **Overall Score:** 0.9802 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2850 bytes, Reference=93155 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic93_hanging_indent.pdf -+++ reference/docx_classic93_hanging_indent.pdf -@@ -5,10 +5,11 @@ - Applications." Journal of Document Processing, 15(3), 234-251. - - Williams, D. R. (2023). "Cross-Platform Document Conversion: Challenges and Solutions." In - - Proceedings of the International Conference on Software Engineering, pp. 89-102. - --Chen, L., & Martinez, R. (2025). "Benchmarking Document Fidelity: A Comprehensive Framework - --for PDF Quality Assessment." ACM Computing Surveys, 58(1), Article 12. - --Anderson, K. M., Brown, T. P., & Davis, S. (2024). "Open-Source Approaches to Office Document - --Rendering Without Native Dependencies." Software: Practice and Experience, 54(7), - --1120-1145. - -+Chen, L., & Martinez, R. (2025). "Benchmarking Document Fidelity: A Comprehensive - -+Framework for PDF Quality Assessment." ACM Computing Surveys, 58(1), Article - -+12. - -+Anderson, K. M., Brown, T. P., & Davis, S. (2024). "Open-Source Approaches to Office - -+Document Rendering Without Native Dependencies." Software: Practice and - -+Experience, 54(7), 1120-1145. - - Taylor, E. F. (2025). "CJK Font Embedding Strategies in Cross-Platform PDF Generators." - - International Journal of Digital Typography, 8(2), 67-84. -``` -
- -### docx_classic94_custom_bullet_characters - -- **Text Similarity:** 0.9966 -- **Visual Average:** 0.981 -- **Overall Score:** 0.991 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=409668 bytes, Reference=117189 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic94_custom_bullet_characters.pdf -+++ reference/docx_classic94_custom_bullet_characters.pdf -@@ -1,6 +1,6 @@ - Custom Bullet Characters - - Standard Bullets - --•F irst item with default b ullet - -+• First item with default bullet - - • Second item - - • Third item - - Arrow-Style Items - -``` -
- -### docx_classic95_contract_template - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9747 -- **Overall Score:** 0.9899 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3055 bytes, Reference=82650 bytes - -Text content: ✅ Identical - -### docx_classic96_dense_data_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.8839 -- **Overall Score:** 0.9536 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=71128 bytes, Reference=126875 bytes - -Text content: ✅ Identical - -### docx_classic97_product_catalog - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9335 -- **Overall Score:** 0.9734 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5519 bytes, Reference=84145 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic97_product_catalog.pdf -+++ reference/docx_classic97_product_catalog.pdf -@@ -11,6 +11,6 @@ - rendering, and batch processing. - - MiniPdf Enterprise - - $199/mo - --Complete enterprise solution with API access, - --custom branding, SLA guarantee, and - --dedicated support. -+Complete enterprise solution with API - -+access, custom branding, SLA guarantee, - -+and dedicated support. -``` -
- -### docx_classic98_training_manual - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9536 -- **Overall Score:** 0.9814 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4363 bytes, Reference=173553 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic98_training_manual.pdf -+++ reference/docx_classic98_training_manual.pdf -@@ -15,7 +15,8 @@ - using MiniPdf; - - var converter = new DocxToPdfConverter(); - - converter.Convert("input.docx", "output.pdf"); - --WARNING: Large files may require additional memory. Set appropriate limits for production use. - -+WARNING: Large files may require additional memory. Set appropriate limits for - -+production use. - - Chapter 3: Advanced Features - - CJK Support: Enable Chinese, Japanese, and Korean font embedding for international - - documents. - -``` -
- -### docx_classic99_policy_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9477 -- **Overall Score:** 0.9791 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9552 bytes, Reference=139982 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic99_policy_document.pdf -+++ reference/docx_classic99_policy_document.pdf -@@ -6,20 +6,20 @@ - Reviewer A. Chen 2026-02-20 - - Approver D. Williams 2026-03-01 - - 1. PURPOSE - --This policy establishes the information security requirements for all employees, contractors, and - --third-party users of MiniPdf Corporation systems and data. - -+This policy establishes the information security requirements for all employees, - -+contractors, and third-party users of MiniPdf Corporation systems and data. - - 2. SCOPE - - This policy applies to all information assets, IT systems, and personnel who access, process, - - store, or transmit company data regardless of format or location. - - 3. PASSWORD REQUIREMENTS - --All passwords must be at least 12 characters long and include uppercase letters, lowercase letters, - --numbers, and special characters. Passwords must be changed every 90 days. - -+All passwords must be at least 12 characters long and include uppercase letters, lowercase - -+letters, numbers, and special characters. Passwords must be changed every 90 days. - - 4. DATA CLASSIFICATION - --Data shall be classified as: Public, Internal, Confidential, or Restricted. Each classification level - --has specific handling requirements detailed in Appendix A. - -+Data shall be classified as: Public, Internal, Confidential, or Restricted. Each classification - -+level has specific handling requirements detailed in Appendix A. - - 5. INCIDENT REPORTING - --All security incidents must be reported within 24 hours to the Information Security Team. Failure to - --report incidents may result in disciplinary action. - -+All security incidents must be reported within 24 hours to the Information Security Team. - -+Failure to report incidents may result in disciplinary action. - - 6. COMPLIANCE - - Violations of this policy may result in disciplinary action up to and including termination of - - employment or contract. - -``` -
- -### docx_classic100_multi_page_table - -- **Text Similarity:** 0.9866 -- **Visual Average:** 0.87 -- **Overall Score:** 0.9426 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=106005 bytes, Reference=141154 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic100_multi_page_table.pdf -+++ reference/docx_classic100_multi_page_table.pdf -@@ -41,10 +41,10 @@ - EMP-038 Grace Smith Operations Manager New York - - EMP-039 Eva Smith Engineering Coordinator London - - EMP-040 Frank Davis Engineering Specialist New York - -+---PAGE--- - -+ID Name Department Title Location - - EMP-041 Bob Smith Operations Coordinator London - - EMP-042 Iris Williams Marketing Specialist San Francisco - -----PAGE--- - --ID Name Department Title Location - - EMP-043 Alice Garcia HR Director New York - - EMP-044 Grace Miller Operations Director New York - - EMP-045 David Williams HR Coordinator Berlin - -``` -
- -### docx_classic101_warranty_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9567 -- **Overall Score:** 0.9827 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3908 bytes, Reference=134098 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic101_warranty_document.pdf -+++ reference/docx_classic101_warranty_document.pdf -@@ -2,8 +2,8 @@ - MiniPdf Software Products - - WARRANTY COVERAGE - - MiniPdf Corporation ("Company") warrants that the Software will perform substantially in - --accordance with the accompanying documentation for a period of one (1) year from the date of - --purchase ("Warranty Period"). - -+accordance with the accompanying documentation for a period of one (1) year from the - -+date of purchase ("Warranty Period"). - - WHAT IS COVERED - - • Defects in the conversion engine that cause incorrect output - - • Font rendering issues for supported font families - -@@ -15,7 +15,7 @@ - • Third-party integration failures - - • Cosmetic differences between source and output documents - - LIMITATION OF LIABILITY - --IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY INDIRECT, - --INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING - --OUT OF OR IN CONNECTION WITH THIS WARRANTY. - -+IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY INDIRECT, INCIDENTAL, - -+SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR IN - -+CONNECTION WITH THIS WARRANTY. - - For warranty claims, contact: support@minipdf.example.com -``` -
- -### docx_classic102_curriculum_syllabus - -- **Text Similarity:** 0.9961 -- **Visual Average:** 0.9466 -- **Overall Score:** 0.9771 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13076 bytes, Reference=150812 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic102_curriculum_syllabus.pdf -+++ reference/docx_classic102_curriculum_syllabus.pdf -@@ -3,9 +3,9 @@ - Instructor - - Dr. Jane Smith | jane.smith@university.edu | Office: CS Building 312 - - Course Description - --This course covers modern software engineering practices including agile methodologies, test- - --driven development, continuous integration, and software architecture patterns. Students will work - --in teams on a semester-long project. - -+This course covers modern software engineering practices including agile methodologies, - -+test-driven development, continuous integration, and software architecture patterns. - -+Students will work in teams on a semester-long project. - - Learning Objectives - - 1. Apply software design patterns to real-world problems - - 2. Implement CI/CD pipelines for automated testing - -``` -
- -### docx_classic103_event_program - -- **Text Similarity:** 0.9917 -- **Visual Average:** 0.9628 -- **Overall Score:** 0.9818 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=13902 bytes, Reference=147081 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic103_event_program.pdf -+++ reference/docx_classic103_event_program.pdf -@@ -5,7 +5,8 @@ - Time Session Location - - 09:00 - 09:30 Registration & Coffee Lobby - - 09:30 - 10:30 Keynote: The Future of .NET Main Hall - --10:45 - 11:30 Building PDF Libraries in C# Room A - -+10:45 - 11:30 Building PDF Libraries in Room A - -+C# - - 11:45 - 12:30 AI-Powered Code Review Room B - - 12:30 - 14:00 Lunch Break Restaurant - - 14:00 - 14:45 Benchmark-Driven Room A - -``` -
- -### docx_classic104_sop_document - -- **Text Similarity:** 0.9915 -- **Visual Average:** 0.9702 -- **Overall Score:** 0.9847 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=7637 bytes, Reference=161569 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic104_sop_document.pdf -+++ reference/docx_classic104_sop_document.pdf -@@ -1,13 +1,14 @@ - MiniPdf Corp SOP-QA-001 Rev: 3 Page 1 of 1 - --Department: QA Effective: 2026-03-01 Author: J. Smith Approved: D. Lee - -+Department: QA Effective: 2026-03- Author: J. Smith Approved: D. Lee - -+01 - - STANDARD OPERATING PROCEDURE - - Quality Assurance Testing Procedure - - 1. Purpose - --This SOP defines the standard process for running quality assurance benchmarks on the MiniPdf - --conversion engine. - -+This SOP defines the standard process for running quality assurance benchmarks on the - -+MiniPdf conversion engine. - - 2. Scope - --Applies to all QA engineers responsible for validating DOCX-to-PDF and XLSX-to-PDF conversion - --quality. - -+Applies to all QA engineers responsible for validating DOCX-to-PDF and XLSX-to-PDF - -+conversion quality. - - 3. Procedure - - 3.1 Prepare Test Files - - Generate test documents using the benchmark generator scripts. - -``` -
- -### docx_classic105_certificate - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9719 -- **Overall Score:** 0.9888 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4207087 bytes, Reference=104606 bytes - -Text content: ✅ Identical - -### docx_classic106_multi_section_orientation - -- **Text Similarity:** 0.9933 -- **Visual Average:** 0.9711 -- **Overall Score:** 0.9858 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=18365 bytes, Reference=121828 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic106_multi_section_orientation.pdf -+++ reference/docx_classic106_multi_section_orientation.pdf -@@ -1,19 +1,20 @@ - Section 1: Executive Summary (Portrait) - --This document demonstrates multiple sections with different page orientations. The first section - --uses portrait layout for narrative content. - --Key finding 1: The analysis shows significant improvement in document conversion quality metrics - --across all test categories. - --Key finding 2: The analysis shows significant improvement in document conversion quality metrics - --across all test categories. - --Key finding 3: The analysis shows significant improvement in document conversion quality metrics - --across all test categories. - -+This document demonstrates multiple sections with different page orientations. The first - -+section uses portrait layout for narrative content. - -+Key finding 1: The analysis shows significant improvement in document conversion quality - -+metrics across all test categories. - -+Key finding 2: The analysis shows significant improvement in document conversion quality - -+metrics across all test categories. - -+Key finding 3: The analysis shows significant improvement in document conversion quality - -+metrics across all test categories. - - ---PAGE--- - - Section 2: Data Analysis (Landscape) - - Metric Jan Feb Mar Apr May Jun Avg - - Quality Score 96% 99% 92% 85% 93% 93% 93% - - Conversion 98% 92% 85% 97% 89% 97% 93% - - Time - --File Size Ratio 86% 88% 97% 92% 90% 91% 90% - -+File Size 86% 88% 97% 92% 90% 91% 90% - -+Ratio - - Error Rate 92% 96% 95% 89% 96% 88% 92% - - ---PAGE--- - - Section 3: Conclusions (Portrait) - -``` -
- -### docx_classic107_order_form - -- **Text Similarity:** 0.9859 -- **Visual Average:** 0.9559 -- **Overall Score:** 0.9767 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=18588 bytes, Reference=96453 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic107_order_form.pdf -+++ reference/docx_classic107_order_form.pdf -@@ -3,13 +3,15 @@ - Vendor: MiniPdf Corp Ship To: Acme Inc - - Payment: Net 30 Delivery: March 20, 2026 - - Item # Description Qty Unit Price Total - --001 MiniPdf Standard 5 $29.00 $145.00 - -+001 MiniPdf 5 $29.00 $145.00 - -+Standard - - License - - 002 MiniPdf 2 $199.00 $398.00 - - Enterprise - - License - - 003 Premium 1 $500.00 $500.00 - --Support (Annual) - -+Support - -+(Annual) - - 004 Training 10 $50.00 $500.00 - - Workshop (Per - - Seat) - -``` -
- -### docx_classic108_comparison_matrix - -- **Text Similarity:** 0.95 -- **Visual Average:** 0.8898 -- **Overall Score:** 0.9359 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=642572 bytes, Reference=118891 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic108_comparison_matrix.pdf -+++ reference/docx_classic108_comparison_matrix.pdf -@@ -1,18 +1,30 @@ - PDF Library Comparison Matrix - --Feature comparison across leading PDF generation - --Feature MiniPdf LibreOfficeCommercial - --XLSX to PDF ✓ ✓ ✓ - --DOCX to PDF ✓ ✓ ✓ - --No Office ✓ ✗ ✓ - -+Feature comparison across leading PDF generation libraries. - -+Feature MiniPdf LibreOffice Commercial - -+XLSX to PDF - -+✓ ✓ ✓ - -+DOCX to PDF - -+✓ ✓ ✓ - -+No Office - -+✓ ✗ ✓ - - Dependency - --CJK Font Support ✓ ✓ ✓ - --Chart Rendering ✓ ✓ ✓ - --Cross-Platform ✓ ✓ Varies - --Open Source ✓ ✓ ✗ - --NuGet Package ✓ ✗ ✓ - --Batch Processing ✓ ✓ ✓ - --Custom Page Size ✓ ✓ ✓ - --Free for ✓ ✓ ✗ - -+CJK Font Support - -+✓ ✓ ✓ - -+Chart Rendering - -+✓ ✓ ✓ - -+Cross-Platform Varies - -+✓ ✓ - -+Open Source - -+✓ ✓ ✗ - -+NuGet Package - -+✓ ✗ ✓ - -+Batch Processing - -+✓ ✓ ✓ - -+Custom Page Size - -+✓ ✓ ✓ - -+Free for - -+✓ ✓ ✗ - - Commercial - --Active Benchmark ✓ N/A Varies - -+Active Benchmark N/A Varies - -+✓ - - Suite -``` -
- -### docx_classic109_release_notes - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9652 -- **Overall Score:** 0.9861 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=4512 bytes, Reference=161252 bytes - -Text content: ✅ Identical - -### docx_classic110_troubleshooting_guide - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9653 -- **Overall Score:** 0.9861 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2874 bytes, Reference=111746 bytes - -Text content: ✅ Identical - -### docx_classic111_meeting_agenda - -- **Text Similarity:** 0.8407 -- **Visual Average:** 0.9646 -- **Overall Score:** 0.9221 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=423124 bytes, Reference=130313 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic111_meeting_agenda.pdf -+++ reference/docx_classic111_meeting_agenda.pdf -@@ -1,23 +1,23 @@ --TE A M MEETING A GEND A - --D ate : M arch 6, 202 6 - --T ime : 10 : 00 A M - 11 :3 0 A M - --L ocation : Conference Room B / T eams - --F acilitator : Jane S mith - --Attendees : E ngineering T eam ( 8 members) - -+TEAM MEETING AGENDA - -+Date: March 6, 2026 - -+Time: 10:00 AM - 11:30 AM - -+Location: Conference Room B / Teams - -+Facilitator: Jane Smith - -+Attendees: Engineering Team (8 members) - - Agenda Items - --T ime T opic Presenter D uration - --10 : 00 W elcome & Review Jane 10 min - --Action I tems - --10 : 10 S print Progress T eam L eads 20 min - -+Time Topic Presenter Duration - -+10:00 Welcome & Review Jane 10 min - -+Action Items - -+10:10 Sprint Progress Team Leads 20 min - - Update - --10 :3 0 DO C X Benchmark Bob 1 5 min - -+10:30 DOCX Benchmark Bob 15 min - - Results Review - --10 :45 Code Q uality M etrics Alice 1 5 min - --D iscussion - --11 : 00 Upcoming Release Jane 20 min - -+10:45 Code Quality Alice 15 min - -+Metrics Discussion - -+11:00 Upcoming Release Jane 20 min - - Planning - --11 : 20 O pen D iscussion & All 10 min - --N ext S teps - -+11:20 Open Discussion & All 10 min - -+Next Steps - - Action Items from Previous Meeting - - ✓ Complete benchmark expansion to 120 test cases - Bob - - ✓ Review CJK font embedding PR - Alice - -``` -
- -### docx_classic112_project_status_report - -- **Text Similarity:** 0.4374 -- **Visual Average:** 0.9444 -- **Overall Score:** 0.7527 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=418299 bytes, Reference=159646 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic112_project_status_report.pdf -+++ reference/docx_classic112_project_status_report.pdf -@@ -1,18 +1,22 @@ - Project Status Report - --Mi n iPdf v2.0 R e l e as e | R e p o rti n g P e ri o d: March 1-6, 2026 - -+MiniPdf v2.0 Release | Reporting Period: March 1-6, 2026 - - Overall Status: ON TRACK - --Sch e dul e Budg e t Quality Risks - -+Schedule Budget Quality Risks - - GREEN GREEN AMBER GREEN - - Key Milestones - --Mil e st one Targ e t D at e Status N o t e s - --D OCX Pars e r F e b 28 ✓ Done - --C o mpl e t e - --B en chmark 90 Mar Cas 1 e s ✓ Done - --B en chmark 120 Mar 6 I n Pr o gr e ss O n track - --Cas e s - --Quality Sc o r Mar e >= 10 97% P en di n g Curr en tly 95.8% - --NuG e t Packag Mar e 15 P en di n g Bl o ck e d on quality - --R e l e as e - -+Milestone Target Date Status Notes - -+DOCX Parser Feb 28 - -+✓ Done - -+Complete - -+Benchmark 90 Mar 1 - -+✓ Done - -+Cases - -+Benchmark 120 Mar 6 In Progress On track - -+Cases - -+Quality Score >= Mar 10 Pending Currently 95.8% - -+97% - -+NuGet Package Mar 15 Pending Blocked on quality - -+Release - - Risks & Issues - --[M e dium] CJK f on t lic en si n g r L e vi e gal e w p t en e am di n r g e - vi e wi n g by Mar 8 - --[High] Quality sc o r e b e l o F w o 97% cus targ e d o ptimizati e t - on spri n t pla nne d -+[Medium] CJK font licensing review pending - Legal team reviewing by Mar 8 - -+[High] Quality score below 97% target - Focused optimization sprint planned -``` -
- -### docx_classic113_address_labels - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.977 -- **Overall Score:** 0.9908 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7501 bytes, Reference=116233 bytes - -Text content: ✅ Identical - -### docx_classic114_test_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.952 -- **Overall Score:** 0.9808 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=15724 bytes, Reference=147821 bytes - -Text content: ✅ Identical - -### docx_classic115_price_list - -- **Text Similarity:** 0.9709 -- **Visual Average:** 0.9177 -- **Overall Score:** 0.9554 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=22906 bytes, Reference=123194 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic115_price_list.pdf -+++ reference/docx_classic115_price_list.pdf -@@ -4,7 +4,8 @@ - Product 1-9 Seats 10-49 Seats 50+ Seats - - MiniPdf Community Free Free Free - - MiniPdf Standard $29/mo $24/mo $19/mo - --MiniPdf Professional $79/mo $67/mo $55/mo - -+MiniPdf $79/mo $67/mo $55/mo - -+Professional - - MiniPdf Enterprise $199/mo $169/mo $149/mo - - Support Plans - - Product 1-9 Seats 10-49 Seats 50+ Seats - -@@ -13,8 +14,10 @@ - Dedicated Support $200/mo $170/mo $140/mo - - Professional Services - - Product 1-9 Seats 10-49 Seats 50+ Seats - --Integration Consulting $150/hr $130/hr $110/hr - --Custom Development $200/hr $175/hr $150/hr - -+Integration $150/hr $130/hr $110/hr - -+Consulting - -+Custom $200/hr $175/hr $150/hr - -+Development - - Training Workshop $500/day $425/day $350/day - --Note: Volume discounts are applied automatically. Contact sales for enterprise agreements over - --100 seats. -+Note: Volume discounts are applied automatically. Contact sales for enterprise agreements - -+over 100 seats. -``` -
- -### docx_classic116_risk_assessment - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9488 -- **Overall Score:** 0.9795 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=26904 bytes, Reference=120292 bytes - -Text content: ✅ Identical - -### docx_classic117_employee_handbook_excerpt - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9418 -- **Overall Score:** 0.9767 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9797 bytes, Reference=179606 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic117_employee_handbook_excerpt.pdf -+++ reference/docx_classic117_employee_handbook_excerpt.pdf -@@ -2,19 +2,20 @@ - MiniPdf Corporation | Revised March 2026 - - Chapter 5: Leave Policies - - 5.1 Annual Leave - --Full-time employees are entitled to 20 days of paid annual leave per calendar year. Leave accrues - --at a rate of 1.67 days per month of service. - -+Full-time employees are entitled to 20 days of paid annual leave per calendar year. Leave - -+accrues at a rate of 1.67 days per month of service. - - Years of Service Annual Days Max Carry Over - - 0-2 years 20 days 5 days - - 3-5 years 23 days 7 days - - 6-10 years 25 days 10 days - - 10+ years 30 days 15 days - - 5.2 Sick Leave - --Employees are entitled to 10 days of paid sick leave per year. A medical certificate is required for - --absences of three or more consecutive days. - -+Employees are entitled to 10 days of paid sick leave per year. A medical certificate is - -+required for absences of three or more consecutive days. - - 5.3 Parental Leave - --Primary caregivers are entitled to 16 weeks of paid parental leave. Secondary caregivers receive 4 - --weeks of paid leave. Leave must be taken within 12 months of the child's birth or adoption date. - -+Primary caregivers are entitled to 16 weeks of paid parental leave. Secondary caregivers - -+receive 4 weeks of paid leave. Leave must be taken within 12 months of the child's birth or - -+adoption date. - - Chapter 6: Code of Conduct - - 6.1 Professional Behavior - - • Treat all colleagues with respect and dignity - -``` -
- -### docx_classic118_data_report_with_summary - -- **Text Similarity:** 0.999 -- **Visual Average:** 0.9321 -- **Overall Score:** 0.9724 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=276572 bytes, Reference=130167 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic118_data_report_with_summary.pdf -+++ reference/docx_classic118_data_report_with_summary.pdf -@@ -2,7 +2,7 @@ - Generated: March 6, 2026 | Total Test Cases: 120 - - Summary Statistics - - Mean Median Std Dev Min Max P95 - --96.2%97.5% 4.1% 72.3% 100% 99.1% - -+96.2% 97.5% 4.1% 72.3% 100% 99.1% - - Category Breakdown - - Category Count Avg Score Status - - Text & Formatting 30 98.1% PASS - -``` -
- -### docx_classic119_multi_language_document - -- **Text Similarity:** 0.9345 -- **Visual Average:** 0.9533 -- **Overall Score:** 0.9551 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3755869 bytes, Reference=136786 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic119_multi_language_document.pdf -+++ reference/docx_classic119_multi_language_document.pdf -@@ -1,13 +1,13 @@ - Multilingual Document Sample - --This d ocument d emonstrates text rendering in multiple languag - --English: The quick brown f ox jumps over the lazy d og. MiniPdf conver - --fid elity. - --French: Le renard brun rapide saute par-dessus le chien paresse - --German: Der schnelle braune Fuchs springt über d en f aulen Hund. - --Spanish: El rápido zorro marrón salta sobre el perro perezoso - --Japanese: こんにちは世界。MiniPdfはドキュメントを高品質で変換します。 - -+This document demonstrates text rendering in multiple languages and scripts. - -+English: The quick brown fox jumps over the lazy dog. MiniPdf converts documents with - -+high fidelity. - -+French: Le renard brun rapide saute par-dessus le chien paresseux. - -+German: Der schnelle braune Fuchs springt über den faulen Hund. - -+Spanish: El rápido zorro marrón salta sobre el perro perezoso. - -+Japanese: こんにちは世界。 MiniPdf はドキュメントを高品質で変換します。 - - Special Characters & Symbols - - Currency: £ € ¥ ₩ ₹ ₽ - --M ath: ± × ÷ ≈ ≠ ≤ ≥ ∞ √ π - -+Math: ± × ÷ ≈ ≠ ≤ ≥ ∞ √ π - - Arrows: ← ↑ → ↓ ↔ ⇒ ⇔ - --Mi sc: © ® ™ † ‡ § ¶ • -+Misc: © ® ™ † ‡ § ¶ • -``` -
- -### docx_classic120_comprehensive_business_proposal - -- **Text Similarity:** 0.9918 -- **Visual Average:** 0.9606 -- **Overall Score:** 0.981 -- **Pages:** MiniPdf=3, Reference=3 -- **File Size:** MiniPdf=15877 bytes, Reference=200095 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic120_comprehensive_business_proposal.pdf -+++ reference/docx_classic120_comprehensive_business_proposal.pdf -@@ -16,13 +16,13 @@ - 8. Terms & Conditions..................................9 - - ---PAGE--- - - 1. Executive Summary - --MiniPdf Corporation proposes an enterprise document processing solution that eliminates the - --dependency on Microsoft Office for PDF generation. Our solution provides high-fidelity conversion - --of XLSX and DOCX files to PDF format with an average quality score of 97%. - -+MiniPdf Corporation proposes an enterprise document processing solution that eliminates - -+the dependency on Microsoft Office for PDF generation. Our solution provides high-fidelity - -+conversion of XLSX and DOCX files to PDF format with an average quality score of 97%. - - Key Benefits - - Cost Reduction Performance Quality - --60% lower licensing costs 3x faster conversion with no 97%+ fidelity score verified by - --compared to traditional external dependencies automated benchmarks - -+60% lower licensing costs 3x faster conversion with 97%+ fidelity score verified - -+compared to traditional no external dependencies by automated benchmarks - - solutions - - 2. Problem Statement - - • Heavy dependency on Microsoft Office installations for PDF generation - -@@ -30,8 +30,8 @@ - • High licensing costs for enterprise-scale document processing - - • Limited automation capabilities with traditional office suites - - 3. Proposed Solution - --MiniPdf is a lightweight .NET library that provides native document-to-PDF conversion without - --requiring Microsoft Office installation. Key features include: - -+MiniPdf is a lightweight .NET library that provides native document-to-PDF conversion - -+without requiring Microsoft Office installation. Key features include: - - 1. XLSX to PDF with chart and formula support - - 2. DOCX to PDF with full formatting preservation - - 3. CJK font auto-embedding for international documents - -``` -
- -### docx_classic121_thin_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9854 -- **Overall Score:** 0.9942 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9871 bytes, Reference=93903 bytes - -Text content: ✅ Identical - -### docx_classic122_thick_outer_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9803 -- **Overall Score:** 0.9921 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=9852 bytes, Reference=98269 bytes - -Text content: ✅ Identical - -### docx_classic123_dashed_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9893 -- **Overall Score:** 0.9957 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3464 bytes, Reference=94091 bytes - -Text content: ✅ Identical - -### docx_classic124_colored_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9804 -- **Overall Score:** 0.9922 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8851 bytes, Reference=88322 bytes - -Text content: ✅ Identical - -### docx_classic125_solid_cell_fills - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9716 -- **Overall Score:** 0.9886 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8198 bytes, Reference=92426 bytes - -Text content: ✅ Identical - -### docx_classic126_dark_header_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9787 -- **Overall Score:** 0.9915 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10247 bytes, Reference=101627 bytes - -Text content: ✅ Identical - -### docx_classic127_font_styles_showcase - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9809 -- **Overall Score:** 0.9924 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=7225 bytes, Reference=138431 bytes - -Text content: ✅ Identical - -### docx_classic128_font_sizes_showcase - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9659 -- **Overall Score:** 0.9864 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2496 bytes, Reference=79780 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic128_font_sizes_showcase.pdf -+++ reference/docx_classic128_font_sizes_showcase.pdf -@@ -6,9 +6,9 @@ - Font size 12pt — The quick brown fox jumps over the lazy dog. - - Font size 14pt — The quick brown fox jumps over the lazy dog. - - Font size 16pt — The quick brown fox jumps over the lazy dog. - --Font size 18pt — The quick brown fox jumps over the lazy - --dog. - --Font size 20pt — The quick brown fox jumps over the - -+Font size 18pt — The quick brown fox jumps over the - - lazy dog. - --Font size 24pt — The quick brown fox jumps - --over the lazy dog. -+Font size 20pt — The quick brown fox jumps over - -+the lazy dog. - -+Font size 24pt — The quick brown fox - -+jumps over the lazy dog. -``` -
- -### docx_classic129_alignment_combinations - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9852 -- **Overall Score:** 0.9941 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6936 bytes, Reference=93307 bytes - -Text content: ✅ Identical - -### docx_classic130_wrap_and_indent - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.978 -- **Overall Score:** 0.9912 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2400 bytes, Reference=80252 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic130_wrap_and_indent.pdf -+++ reference/docx_classic130_wrap_and_indent.pdf -@@ -1,10 +1,10 @@ - Text Wrapping and Indentation - - Long Wrapping Text - --This is a long text that should wrap within the page margins when rendered to PDF. It tests the - --ability of the converter to handle text that flows across multiple lines without explicit line breaks. - --The paragraph continues with additional sentences to ensure sufficient length for wrapping. - --Modern document processing must handle variable-width fonts, kerning, and proper hyphenation - --to produce high-quality output. - -+This is a long text that should wrap within the page margins when rendered to PDF. It tests - -+the ability of the converter to handle text that flows across multiple lines without explicit - -+line breaks. The paragraph continues with additional sentences to ensure sufficient length - -+for wrapping. Modern document processing must handle variable-width fonts, kerning, and - -+proper hyphenation to produce high-quality output. - - Indented Paragraphs - - Indent level 0 - - Indent level 1 - -``` -
- -### docx_classic131_number_format_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.978 -- **Overall Score:** 0.9912 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13234 bytes, Reference=98702 bytes - -Text content: ✅ Identical - -### docx_classic132_striped_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9506 -- **Overall Score:** 0.9802 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=18680 bytes, Reference=103001 bytes - -Text content: ✅ Identical - -### docx_classic133_gradient_rows_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9699 -- **Overall Score:** 0.988 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=15008 bytes, Reference=96779 bytes - -Text content: ✅ Identical - -### docx_classic134_heatmap_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9699 -- **Overall Score:** 0.988 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=24273 bytes, Reference=92444 bytes - -Text content: ✅ Identical - -### docx_classic135_bottom_border_paragraphs - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9764 -- **Overall Score:** 0.9906 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=1941 bytes, Reference=87812 bytes - -Text content: ✅ Identical - -### docx_classic136_financial_statement - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9656 -- **Overall Score:** 0.9862 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13014 bytes, Reference=114465 bytes - -Text content: ✅ Identical - -### docx_classic137_checkerboard_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9662 -- **Overall Score:** 0.9865 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=28323 bytes, Reference=63596 bytes - -Text content: ✅ Identical - -### docx_classic138_color_grid_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9814 -- **Overall Score:** 0.9926 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=6204 bytes, Reference=65776 bytes - -Text content: ✅ Identical - -### docx_classic139_paragraph_shading_patterns - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.8793 -- **Overall Score:** 0.9517 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=2319 bytes, Reference=72758 bytes - -Text content: ✅ Identical - -### docx_classic140_rotated_text_table - -- **Text Similarity:** 0.8158 -- **Visual Average:** 0.9711 -- **Overall Score:** 0.9148 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5371 bytes, Reference=90797 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic140_rotated_text_table.pdf -+++ reference/docx_classic140_rotated_text_table.pdf -@@ -1,5 +1,7 @@ - Rotated Text in Table - - Note: Text rotation in table cells uses vertical text direction via the textDirection element. - - Normal Bottom-to-Top Top-to-Bottom TB-LR-V TB-RL - --Rotated text Rotated text Rotated text Rotated text Rotated text - --sample sample sample sample sample -+Rotated text sample Rotated text sample Rotated text sample - -+Rotated text - -+sample - -+Rotated text sample -``` -
- -### docx_classic141_mixed_border_styles - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9875 -- **Overall Score:** 0.995 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=3116 bytes, Reference=90728 bytes - -Text content: ✅ Identical - -### docx_classic142_styled_invoice_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9405 -- **Overall Score:** 0.9762 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=12052 bytes, Reference=94931 bytes - -Text content: ✅ Identical - -### docx_classic143_multi_section_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.882 -- **Overall Score:** 0.9528 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=10342 bytes, Reference=80334 bytes - -Text content: ✅ Identical - -### docx_classic144_note_style_paragraphs - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9831 -- **Overall Score:** 0.9932 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=5873 bytes, Reference=110519 bytes - -Text content: ✅ Identical - -### docx_classic145_status_badge_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9707 -- **Overall Score:** 0.9883 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13708 bytes, Reference=110142 bytes - -Text content: ✅ Identical - -### docx_classic146_double_border_table - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.977 -- **Overall Score:** 0.9908 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=8635 bytes, Reference=96549 bytes - -Text content: ✅ Identical - -### docx_classic147_multi_section_styled_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9566 -- **Overall Score:** 0.9826 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=18520 bytes, Reference=115750 bytes - -Text content: ✅ Identical - -### docx_classic148_data_grid_document - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.8976 -- **Overall Score:** 0.959 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=51188 bytes, Reference=111668 bytes - -Text content: ✅ Identical - -### docx_classic149_merged_section_report - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9301 -- **Overall Score:** 0.972 -- **Pages:** MiniPdf=1, Reference=1 -- **File Size:** MiniPdf=13230 bytes, Reference=84151 bytes - -Text content: ✅ Identical - -### docx_classic150_kitchen_sink_styles - -- **Text Similarity:** 1.0 -- **Visual Average:** 0.9594 -- **Overall Score:** 0.9838 -- **Pages:** MiniPdf=2, Reference=2 -- **File Size:** MiniPdf=13264 bytes, Reference=159873 bytes - -
Text Diff - -```diff ---- minipdf/docx_classic150_kitchen_sink_styles.pdf -+++ reference/docx_classic150_kitchen_sink_styles.pdf -@@ -9,9 +9,9 @@ - Font rendering Pass 98% Excellent fidelity - - Table borders Pass 95% Minor thick-border - - gap - --Cell shading Pass 97% All fill types supported - --Image embedding Pass 96% PNG and JPEG - --tested - -+Cell shading Pass 97% All fill types - -+supported - -+Image embedding Pass 96% PNG and JPEG tested - - Page layout Pass 94% Landscape needs - - work - - Double border below this paragraph - -``` -
- -## Improvement Suggestions - -### ⚠ Low-Score Test Cases (below 0.8) - -1. **docx_classic50_long_table_with_formatting** (score: 0.5603) -1. **docx_classic60_project_status_with_milestones** (score: 0.6921) -1. **docx_classic34_employee_directory_with_photo** (score: 0.6952) -1. **docx_classic112_project_status_report** (score: 0.7527) -1. **docx_classic13_long_document** (score: 0.773) - -Review the text diffs and visual comparisons above to identify specific rendering issues. diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_minipdf.png deleted file mode 100644 index ee207515..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_reference.png deleted file mode 100644 index b5d09de4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic01_single_paragraph_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_minipdf.png deleted file mode 100644 index 971840da..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_reference.png deleted file mode 100644 index 3ac8891e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic02_multiple_paragraphs_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_minipdf.png deleted file mode 100644 index f93ef537..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_reference.png deleted file mode 100644 index 51d1cb2f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic03_headings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_minipdf.png deleted file mode 100644 index 9d1520c2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_reference.png deleted file mode 100644 index e0f89b8e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic04_bold_italic_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_minipdf.png deleted file mode 100644 index 7a93d68d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_reference.png deleted file mode 100644 index 694d361b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic05_font_sizes_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_minipdf.png deleted file mode 100644 index dfcf34a5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_reference.png deleted file mode 100644 index 336b97bc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic06_font_colors_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_minipdf.png deleted file mode 100644 index 9fddc474..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_reference.png deleted file mode 100644 index d2ba7676..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic07_alignment_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_minipdf.png deleted file mode 100644 index 6c037714..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_reference.png deleted file mode 100644 index 67d0d91c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic08_bullet_list_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_minipdf.png deleted file mode 100644 index 30253b2b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_reference.png deleted file mode 100644 index 23977efd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic09_numbered_list_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_minipdf.png deleted file mode 100644 index 2258813a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_reference.png deleted file mode 100644 index f898e14f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_minipdf.png deleted file mode 100644 index 3d5bf8db..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_reference.png deleted file mode 100644 index 295287aa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic100_multi_page_table_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_minipdf.png deleted file mode 100644 index 7c4dbc01..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_reference.png deleted file mode 100644 index c9a29403..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic101_warranty_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_minipdf.png deleted file mode 100644 index 739f91a4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_reference.png deleted file mode 100644 index b5d09d2b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic102_curriculum_syllabus_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_minipdf.png deleted file mode 100644 index 924d5a4b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_reference.png deleted file mode 100644 index 7bd148f2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_minipdf.png deleted file mode 100644 index 199d1e50..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_reference.png deleted file mode 100644 index a78a18d2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic103_event_program_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_minipdf.png deleted file mode 100644 index c5fddf46..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_reference.png deleted file mode 100644 index 6fc0d271..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_minipdf.png deleted file mode 100644 index 3dc58a0e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_reference.png deleted file mode 100644 index 0296ce8a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic104_sop_document_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_minipdf.png deleted file mode 100644 index f6ab430d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_reference.png deleted file mode 100644 index d960062c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic105_certificate_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_minipdf.png deleted file mode 100644 index a9c74943..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_reference.png deleted file mode 100644 index a1ff9864..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_minipdf.png deleted file mode 100644 index 4184f296..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_reference.png deleted file mode 100644 index 8587fcd9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_minipdf.png deleted file mode 100644 index 625b88c5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_reference.png deleted file mode 100644 index a1c525a8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic106_multi_section_orientation_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_minipdf.png deleted file mode 100644 index 44fdefc0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_reference.png deleted file mode 100644 index 87db28de..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic107_order_form_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_minipdf.png deleted file mode 100644 index de981346..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_reference.png deleted file mode 100644 index d9a97206..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic108_comparison_matrix_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_minipdf.png deleted file mode 100644 index 4d9bb1ae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_reference.png deleted file mode 100644 index 514be658..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic109_release_notes_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_minipdf.png deleted file mode 100644 index 5c8c5252..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_reference.png deleted file mode 100644 index 436271f5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic10_simple_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_minipdf.png deleted file mode 100644 index 03a2d2f8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_reference.png deleted file mode 100644 index 72c89a3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic110_troubleshooting_guide_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_minipdf.png deleted file mode 100644 index 88307080..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_reference.png deleted file mode 100644 index 19d63ff2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic111_meeting_agenda_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_minipdf.png deleted file mode 100644 index 7a71233f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_reference.png deleted file mode 100644 index ea04607c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic112_project_status_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_minipdf.png deleted file mode 100644 index 955ec8a4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_reference.png deleted file mode 100644 index 6e49f4b8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic113_address_labels_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_minipdf.png deleted file mode 100644 index 08d8f527..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_reference.png deleted file mode 100644 index 49bda491..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic114_test_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_minipdf.png deleted file mode 100644 index 79f56810..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_reference.png deleted file mode 100644 index dcca461a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic115_price_list_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_minipdf.png deleted file mode 100644 index 496d395f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_reference.png deleted file mode 100644 index f7a8838f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic116_risk_assessment_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_minipdf.png deleted file mode 100644 index 48b68f1e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_reference.png deleted file mode 100644 index 1e6b0036..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic117_employee_handbook_excerpt_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_minipdf.png deleted file mode 100644 index 8c511e88..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_reference.png deleted file mode 100644 index beb924f4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic118_data_report_with_summary_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_minipdf.png deleted file mode 100644 index 4638f799..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_reference.png deleted file mode 100644 index 69547a04..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic119_multi_language_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_minipdf.png deleted file mode 100644 index 9faa0bb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_reference.png deleted file mode 100644 index 4c728d52..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic11_table_with_shading_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_minipdf.png deleted file mode 100644 index b2c11837..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_reference.png deleted file mode 100644 index 2d0d8caa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_minipdf.png deleted file mode 100644 index 48b92d81..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_reference.png deleted file mode 100644 index 9c5dcfde..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_minipdf.png deleted file mode 100644 index fd4ec233..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_reference.png deleted file mode 100644 index aed8bf5a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic120_comprehensive_business_proposal_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_minipdf.png deleted file mode 100644 index 7bb6cda6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_reference.png deleted file mode 100644 index bd08ad34..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic121_thin_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_minipdf.png deleted file mode 100644 index 9b2dda54..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_reference.png deleted file mode 100644 index b7894098..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic122_thick_outer_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_minipdf.png deleted file mode 100644 index 1f025762..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_reference.png deleted file mode 100644 index af42fa59..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic123_dashed_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_minipdf.png deleted file mode 100644 index 5b86f452..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_reference.png deleted file mode 100644 index 93685a57..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic124_colored_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_minipdf.png deleted file mode 100644 index 24dfb3f9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_reference.png deleted file mode 100644 index 43836b8d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic125_solid_cell_fills_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_minipdf.png deleted file mode 100644 index 92abe8fe..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_reference.png deleted file mode 100644 index 70d526e8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic126_dark_header_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_minipdf.png deleted file mode 100644 index e4cdd934..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_reference.png deleted file mode 100644 index 2d5ba19b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic127_font_styles_showcase_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_minipdf.png deleted file mode 100644 index 04d23853..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_reference.png deleted file mode 100644 index 89fab58a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic128_font_sizes_showcase_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_minipdf.png deleted file mode 100644 index 690f1f26..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_reference.png deleted file mode 100644 index 71130272..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic129_alignment_combinations_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_minipdf.png deleted file mode 100644 index 7ad5e822..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_reference.png deleted file mode 100644 index c6d95edb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic12_merged_cells_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_minipdf.png deleted file mode 100644 index 100b10d7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_reference.png deleted file mode 100644 index a6586f1f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic130_wrap_and_indent_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_minipdf.png deleted file mode 100644 index a54081fa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_reference.png deleted file mode 100644 index f76e6de1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic131_number_format_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_minipdf.png deleted file mode 100644 index 43096ee5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_reference.png deleted file mode 100644 index 7d4c9b7e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic132_striped_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_minipdf.png deleted file mode 100644 index c9d07ecc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_reference.png deleted file mode 100644 index 1247c46a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic133_gradient_rows_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_minipdf.png deleted file mode 100644 index de7f692b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_reference.png deleted file mode 100644 index 24282fa2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic134_heatmap_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_minipdf.png deleted file mode 100644 index 3a973f84..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_reference.png deleted file mode 100644 index 1906f998..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic135_bottom_border_paragraphs_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_minipdf.png deleted file mode 100644 index e15348d2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_reference.png deleted file mode 100644 index eb402ae9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic136_financial_statement_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_minipdf.png deleted file mode 100644 index a3e70143..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_reference.png deleted file mode 100644 index 8042b5dd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic137_checkerboard_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_minipdf.png deleted file mode 100644 index 2f1b2f4b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_reference.png deleted file mode 100644 index af6bebfa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic138_color_grid_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_minipdf.png deleted file mode 100644 index cabc6200..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_reference.png deleted file mode 100644 index cad6aea6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic139_paragraph_shading_patterns_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_minipdf.png deleted file mode 100644 index da4ad083..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_reference.png deleted file mode 100644 index d5f15a45..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_minipdf.png deleted file mode 100644 index 3fa28aab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_reference.png deleted file mode 100644 index b84f9e84..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_minipdf.png deleted file mode 100644 index 12e9d328..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_reference.png deleted file mode 100644 index b0936f0a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p4_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p4_reference.png deleted file mode 100644 index c2210e86..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic13_long_document_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_minipdf.png deleted file mode 100644 index 989b3a53..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_reference.png deleted file mode 100644 index 1c408fe0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic140_rotated_text_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_minipdf.png deleted file mode 100644 index 54ba9f72..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_reference.png deleted file mode 100644 index 83996576..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic141_mixed_border_styles_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_minipdf.png deleted file mode 100644 index 6cebc43d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_reference.png deleted file mode 100644 index 9c89a592..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic142_styled_invoice_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_minipdf.png deleted file mode 100644 index 0849928c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_reference.png deleted file mode 100644 index 3ecf43df..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic143_multi_section_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_minipdf.png deleted file mode 100644 index 210b9159..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_reference.png deleted file mode 100644 index 28f2f5b7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic144_note_style_paragraphs_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_minipdf.png deleted file mode 100644 index dfb18f4f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_reference.png deleted file mode 100644 index 9839ed20..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic145_status_badge_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_minipdf.png deleted file mode 100644 index 1a45dd19..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_reference.png deleted file mode 100644 index 8b9a80e7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic146_double_border_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_minipdf.png deleted file mode 100644 index 27b57e41..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_reference.png deleted file mode 100644 index 1c932b2e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic147_multi_section_styled_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_minipdf.png deleted file mode 100644 index 3d6b72d2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_reference.png deleted file mode 100644 index 46374729..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic148_data_grid_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_minipdf.png deleted file mode 100644 index 6fb7adb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_reference.png deleted file mode 100644 index 6fe1a1bc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic149_merged_section_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_minipdf.png deleted file mode 100644 index 8d923d92..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_reference.png deleted file mode 100644 index 4cf120c2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic14_mixed_content_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_minipdf.png deleted file mode 100644 index 799ed560..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_reference.png deleted file mode 100644 index a58aa69f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_minipdf.png deleted file mode 100644 index 1b794627..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_reference.png deleted file mode 100644 index 0349ca41..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic150_kitchen_sink_styles_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_minipdf.png deleted file mode 100644 index 84d1f99c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_reference.png deleted file mode 100644 index ba4117fb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic15_indentation_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_minipdf.png deleted file mode 100644 index 633a0ea2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_reference.png deleted file mode 100644 index a64f0750..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic16_line_spacing_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_minipdf.png deleted file mode 100644 index 97404f1c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_reference.png deleted file mode 100644 index bae42004..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_minipdf.png deleted file mode 100644 index 518cdb44..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_reference.png deleted file mode 100644 index ac5379ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_minipdf.png deleted file mode 100644 index d67a9736..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_reference.png deleted file mode 100644 index 89aee26f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic17_page_break_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_minipdf.png deleted file mode 100644 index 7071d7d7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_reference.png deleted file mode 100644 index 5872e235..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic18_embedded_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_minipdf.png deleted file mode 100644 index 9f0f4f18..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_reference.png deleted file mode 100644 index 662b497a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic19_multiple_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_minipdf.png deleted file mode 100644 index e82c0973..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_reference.png deleted file mode 100644 index f4d0dbab..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic20_table_with_many_rows_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_minipdf.png deleted file mode 100644 index 4523afbd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_reference.png deleted file mode 100644 index b1dea5cc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic21_nested_lists_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_minipdf.png deleted file mode 100644 index 27b2b36f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_reference.png deleted file mode 100644 index 919a29a5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic22_horizontal_rule_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_minipdf.png deleted file mode 100644 index e484d243..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_reference.png deleted file mode 100644 index efa94275..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic23_mixed_formatting_runs_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_minipdf.png deleted file mode 100644 index 2ab5f990..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_reference.png deleted file mode 100644 index ed8f9771..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic24_two_column_table_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_minipdf.png deleted file mode 100644 index 12c9f89f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_reference.png deleted file mode 100644 index 80935940..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_minipdf.png deleted file mode 100644 index d212eedb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_reference.png deleted file mode 100644 index 8c08beb7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic25_title_and_subtitle_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_minipdf.png deleted file mode 100644 index 2b1eeb05..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_reference.png deleted file mode 100644 index a4c3de5e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic26_table_alignment_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_minipdf.png deleted file mode 100644 index 6ba6ce70..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_reference.png deleted file mode 100644 index 3e651e28..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic27_long_paragraph_wrapping_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_minipdf.png deleted file mode 100644 index 2a1b6097..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_reference.png deleted file mode 100644 index eb0c28a5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic28_special_characters_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_minipdf.png deleted file mode 100644 index 3633ae09..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_reference.png deleted file mode 100644 index 559aca17..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic29_table_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_minipdf.png deleted file mode 100644 index ab6900cd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_reference.png deleted file mode 100644 index 56b61bec..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_minipdf.png deleted file mode 100644 index 735f450d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_reference.png deleted file mode 100644 index 3f497e65..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_minipdf.png deleted file mode 100644 index 5079442f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_reference.png deleted file mode 100644 index 7eca810b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic30_comprehensive_report_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_minipdf.png deleted file mode 100644 index 3af0fc2c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_reference.png deleted file mode 100644 index 9a7ddd44..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_product_card_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_minipdf.png deleted file mode 100644 index 0aad1712..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_reference.png deleted file mode 100644 index aa018377..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic31_strikethrough_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_minipdf.png deleted file mode 100644 index f73b8600..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_reference.png deleted file mode 100644 index 135ac309..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_company_logo_header_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_minipdf.png deleted file mode 100644 index afecfeb0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_reference.png deleted file mode 100644 index 9a2424d5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic32_superscript_subscript_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_minipdf.png deleted file mode 100644 index 6b09a327..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_reference.png deleted file mode 100644 index 0f5b902d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_highlighted_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_minipdf.png deleted file mode 100644 index e11d0834..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_reference.png deleted file mode 100644 index 4c9a8f8a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic33_two_products_side_by_side_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_minipdf.png deleted file mode 100644 index afac5529..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_reference.png deleted file mode 100644 index 5877d0cc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p2_reference.png deleted file mode 100644 index a45cfded..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_employee_directory_with_photo_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_minipdf.png deleted file mode 100644 index 0e9e0f9d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_reference.png deleted file mode 100644 index 744d7fa7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic34_paragraph_borders_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_minipdf.png deleted file mode 100644 index e7fdddfd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_reference.png deleted file mode 100644 index afb6a83b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_minipdf.png deleted file mode 100644 index 5a1b24c1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_reference.png deleted file mode 100644 index 19989203..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_inventory_with_product_photos_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_minipdf.png deleted file mode 100644 index 411077d0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_reference.png deleted file mode 100644 index cb9be692..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic35_tab_stops_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_minipdf.png deleted file mode 100644 index 5475d0b6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_reference.png deleted file mode 100644 index b936c4c2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_invoice_with_logo_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_minipdf.png deleted file mode 100644 index 0a83e6f6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_reference.png deleted file mode 100644 index 261c525f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic36_wide_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_minipdf.png deleted file mode 100644 index 766245c7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_reference.png deleted file mode 100644 index 761403fe..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_nested_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_minipdf.png deleted file mode 100644 index ffeeb471..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_reference.png deleted file mode 100644 index 76cad49b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic37_real_estate_listing_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_minipdf.png deleted file mode 100644 index eb06994d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_reference.png deleted file mode 100644 index 73d744a4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_minipdf.png deleted file mode 100644 index 986f38d4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_reference.png deleted file mode 100644 index 2f9a9b42..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_restaurant_menu_with_photos_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_minipdf.png deleted file mode 100644 index 2dc81a37..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_reference.png deleted file mode 100644 index 87bf6082..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic38_table_column_widths_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_minipdf.png deleted file mode 100644 index 68cac73e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_reference.png deleted file mode 100644 index e34e45f3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_minipdf.png deleted file mode 100644 index 159f7ea9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_reference.png deleted file mode 100644 index f0c571e5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_cover_page_with_image_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_minipdf.png deleted file mode 100644 index f98a0740..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_reference.png deleted file mode 100644 index ff64122f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic39_financial_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_minipdf.png deleted file mode 100644 index 9a663003..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_reference.png deleted file mode 100644 index 3e4694e9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_product_catalog_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_minipdf.png deleted file mode 100644 index 10118391..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_reference.png deleted file mode 100644 index 7acdf7d4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic40_resume_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_minipdf.png deleted file mode 100644 index 5685b27c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_reference.png deleted file mode 100644 index ff3731d9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_business_letter_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_minipdf.png deleted file mode 100644 index 8c589558..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_reference.png deleted file mode 100644 index 868308ad..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic41_newsletter_with_hero_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_minipdf.png deleted file mode 100644 index 4b2b458d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_reference.png deleted file mode 100644 index 89b80020..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_chart_image_with_data_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_minipdf.png deleted file mode 100644 index a5f3dd3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_reference.png deleted file mode 100644 index d13c54b5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic42_meeting_minutes_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_minipdf.png deleted file mode 100644 index effae928..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_reference.png deleted file mode 100644 index 77949611..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_event_flyer_with_banner_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_minipdf.png deleted file mode 100644 index 28070143..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_reference.png deleted file mode 100644 index 50e286d5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic43_invoice_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_minipdf.png deleted file mode 100644 index e934b441..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_reference.png deleted file mode 100644 index 438a1b13..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_dashboard_with_kpi_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_minipdf.png deleted file mode 100644 index b1eae45c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_reference.png deleted file mode 100644 index 2f205860..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic44_memo_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_minipdf.png deleted file mode 100644 index 5d22641c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_reference.png deleted file mode 100644 index c887d2c8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_certificate_with_seal_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_minipdf.png deleted file mode 100644 index 6608de11..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_reference.png deleted file mode 100644 index 4045f118..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic45_project_plan_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_minipdf.png deleted file mode 100644 index 5859452c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_reference.png deleted file mode 100644 index 59637372..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_comparison_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_minipdf.png deleted file mode 100644 index 8bfe2eaa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_reference.png deleted file mode 100644 index 510af948..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic46_product_image_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_minipdf.png deleted file mode 100644 index b17d6706..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_reference.png deleted file mode 100644 index 5b840410..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_data_dictionary_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_minipdf.png deleted file mode 100644 index 3d77d83a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_reference.png deleted file mode 100644 index 8d506ddf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic47_news_article_with_hero_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_minipdf.png deleted file mode 100644 index d3345768..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_reference.png deleted file mode 100644 index 1ab5b8af..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_minipdf.png deleted file mode 100644 index e5353561..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_reference.png deleted file mode 100644 index 37ec65c7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_minipdf.png deleted file mode 100644 index 566cb0d7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_reference.png deleted file mode 100644 index 9db11da5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_multi_level_headings_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_minipdf.png deleted file mode 100644 index 57bcb95d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_reference.png deleted file mode 100644 index baf06b02..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic48_task_list_with_status_icons_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_minipdf.png deleted file mode 100644 index fe7dc033..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_reference.png deleted file mode 100644 index 94653eff..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_cjk_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_minipdf.png deleted file mode 100644 index fb23efc2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_reference.png deleted file mode 100644 index 77782f83..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic49_wide_panoramic_banner_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_minipdf.png deleted file mode 100644 index 56119a1f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_reference.png deleted file mode 100644 index 6990a0ea..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p2_reference.png deleted file mode 100644 index 1bf4d8f6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_long_table_with_formatting_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_minipdf.png deleted file mode 100644 index 823f4618..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_reference.png deleted file mode 100644 index eeb3242e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic50_portrait_tall_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_minipdf.png deleted file mode 100644 index 5ed19a29..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_reference.png deleted file mode 100644 index 6abfc42b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_step_by_step_with_images_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_minipdf.png deleted file mode 100644 index 449266d0..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_reference.png deleted file mode 100644 index 15bc591e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic51_underline_styles_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_minipdf.png deleted file mode 100644 index 7793963c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_reference.png deleted file mode 100644 index f883a50e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_before_after_comparison_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_minipdf.png deleted file mode 100644 index 03f4e523..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_reference.png deleted file mode 100644 index 4bfbf807..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic52_spacing_before_after_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_minipdf.png deleted file mode 100644 index 8f70f027..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_reference.png deleted file mode 100644 index 4916f944..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_color_swatch_palette_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_minipdf.png deleted file mode 100644 index 6be344d1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_reference.png deleted file mode 100644 index 25ba03dc..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic53_table_merged_complex_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_minipdf.png deleted file mode 100644 index e1871d7c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_reference.png deleted file mode 100644 index 6c8b2f10..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_multi_font_family_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_minipdf.png deleted file mode 100644 index e977d075..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_reference.png deleted file mode 100644 index 48772a06..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic54_travel_destination_cards_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_minipdf.png deleted file mode 100644 index 05162840..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_reference.png deleted file mode 100644 index 15f8d2fd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_background_shading_paragraph_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_minipdf.png deleted file mode 100644 index df6025db..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_reference.png deleted file mode 100644 index 49635b61..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic55_lab_results_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_minipdf.png deleted file mode 100644 index bc24aa67..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_reference.png deleted file mode 100644 index ac4cc01c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_images_and_tables_mixed_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_minipdf.png deleted file mode 100644 index 6c0c457f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_reference.png deleted file mode 100644 index 7fad060c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic56_software_screenshot_features_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_minipdf.png deleted file mode 100644 index ae8350ae..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_reference.png deleted file mode 100644 index cdaba4cd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_right_to_left_text_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_minipdf.png deleted file mode 100644 index 313ecd57..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_reference.png deleted file mode 100644 index e7cf2813..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic57_sports_results_with_logos_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_minipdf.png deleted file mode 100644 index 1c0451d1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_reference.png deleted file mode 100644 index 4ad6793f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_minipdf.png deleted file mode 100644 index 1ab4a2e3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_reference.png deleted file mode 100644 index a93ca9ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_minipdf.png deleted file mode 100644 index 1df8aed4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_reference.png deleted file mode 100644 index dec25108..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_minipdf.png deleted file mode 100644 index 080cf701..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_reference.png deleted file mode 100644 index 69da5154..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_minipdf.png deleted file mode 100644 index dbf3f64a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_reference.png deleted file mode 100644 index 55a207b3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p5_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_minipdf.png deleted file mode 100644 index 3a0d92b8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_reference.png deleted file mode 100644 index 2dc66112..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p6_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p7_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p7_reference.png deleted file mode 100644 index fa4dc1bf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_dense_paragraph_document_p7_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_minipdf.png deleted file mode 100644 index adab97b1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_reference.png deleted file mode 100644 index 6a88d3f6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic58_report_with_footer_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_minipdf.png deleted file mode 100644 index 3bda171c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_reference.png deleted file mode 100644 index d3be719a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_numbered_and_bullet_mixed_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_minipdf.png deleted file mode 100644 index 34aa1f87..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_reference.png deleted file mode 100644 index 5d62a3dd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic59_nutrition_label_with_image_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_minipdf.png deleted file mode 100644 index 76783f67..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_reference.png deleted file mode 100644 index de623d1c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_minipdf.png deleted file mode 100644 index 40f93648..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_reference.png deleted file mode 100644 index 58b7c709..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_minipdf.png deleted file mode 100644 index 742514e8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_reference.png deleted file mode 100644 index 16d45aaf..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_comprehensive_styled_report_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_minipdf.png deleted file mode 100644 index c830ae3c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_reference.png deleted file mode 100644 index cc20bffa..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p2_reference.png deleted file mode 100644 index 7c4ab3c4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic60_project_status_with_milestones_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_minipdf.png deleted file mode 100644 index dc230676..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_reference.png deleted file mode 100644 index 8453d245..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic61_header_and_footer_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_minipdf.png deleted file mode 100644 index 283a0d01..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_reference.png deleted file mode 100644 index d1913b35..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic62_footnote_references_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_minipdf.png deleted file mode 100644 index 2d661fac..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_reference.png deleted file mode 100644 index 8156d143..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic63_toc_style_headings_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_minipdf.png deleted file mode 100644 index 21bfa576..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_reference.png deleted file mode 100644 index acd6c52e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic64_multi_column_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_minipdf.png deleted file mode 100644 index a2dd3ce7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_reference.png deleted file mode 100644 index 121157a1..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic65_code_block_styling_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_minipdf.png deleted file mode 100644 index c3361af9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_reference.png deleted file mode 100644 index 50e8e11d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic66_colored_title_page_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_minipdf.png deleted file mode 100644 index b550b830..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_reference.png deleted file mode 100644 index 69cc15cd..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic67_alternating_row_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_minipdf.png deleted file mode 100644 index aa082fa2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_reference.png deleted file mode 100644 index 013b7490..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic68_sidebar_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_minipdf.png deleted file mode 100644 index 61fb663c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_reference.png deleted file mode 100644 index c498b8ac..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic69_blockquote_styling_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_minipdf.png deleted file mode 100644 index 194165b8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_reference.png deleted file mode 100644 index 837069b7..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic70_academic_paper_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_minipdf.png deleted file mode 100644 index dd85f8ca..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_reference.png deleted file mode 100644 index 122deb6c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic71_legal_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_minipdf.png deleted file mode 100644 index b5549fef..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_reference.png deleted file mode 100644 index 56a36af6..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic72_technical_specification_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_minipdf.png deleted file mode 100644 index 57c49714..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_reference.png deleted file mode 100644 index 914f07ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic73_calendar_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_minipdf.png deleted file mode 100644 index 34a7dd3e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_reference.png deleted file mode 100644 index 4fe42e65..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic74_org_chart_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_minipdf.png deleted file mode 100644 index 63d476d5..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_reference.png deleted file mode 100644 index fe3fa2ad..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic75_newsletter_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_minipdf.png deleted file mode 100644 index 05a2f4be..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_reference.png deleted file mode 100644 index 71d2890c..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic76_recipe_card_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_minipdf.png deleted file mode 100644 index 2b9be550..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_reference.png deleted file mode 100644 index 8c7802e9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic77_timeline_layout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_minipdf.png deleted file mode 100644 index 6e02310f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_reference.png deleted file mode 100644 index 7f8eccb3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_minipdf.png deleted file mode 100644 index a8dfe64f..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_reference.png deleted file mode 100644 index e6f7b968..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic78_faq_document_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_minipdf.png deleted file mode 100644 index 489b7a31..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_reference.png deleted file mode 100644 index f20ecd7a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic79_glossary_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_minipdf.png deleted file mode 100644 index a9b7752b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_reference.png deleted file mode 100644 index 9b46a752..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic80_matrix_grid_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_minipdf.png deleted file mode 100644 index 552b2dc9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_reference.png deleted file mode 100644 index e37abe69..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic81_budget_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_minipdf.png deleted file mode 100644 index 24712bb4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_reference.png deleted file mode 100644 index 9973dd70..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_minipdf.png deleted file mode 100644 index 4296217b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_reference.png deleted file mode 100644 index 288273c4..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic82_survey_questionnaire_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_minipdf.png deleted file mode 100644 index 01fd5010..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_reference.png deleted file mode 100644 index 4a6c7bb8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic83_medical_form_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_minipdf.png deleted file mode 100644 index 15304d74..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_reference.png deleted file mode 100644 index 2a614d0e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic84_shipping_label_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_minipdf.png deleted file mode 100644 index 8c28a752..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_reference.png deleted file mode 100644 index 7131cbf2..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic85_report_card_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_minipdf.png deleted file mode 100644 index 4b8a678a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_reference.png deleted file mode 100644 index e9eb2367..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic86_checklist_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_minipdf.png deleted file mode 100644 index 0349c046..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_reference.png deleted file mode 100644 index 2e1085be..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic87_bibliography_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_minipdf.png deleted file mode 100644 index b46fb2f3..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_reference.png deleted file mode 100644 index 3fd65feb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_minipdf.png deleted file mode 100644 index 2953ba9e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_reference.png deleted file mode 100644 index 40bd88c9..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic88_presentation_handout_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_minipdf.png deleted file mode 100644 index 4fedff1e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_reference.png deleted file mode 100644 index d9d0e986..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic89_multi_image_gallery_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_minipdf.png deleted file mode 100644 index 5ab8f238..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_reference.png deleted file mode 100644 index 4424b835..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_minipdf.png deleted file mode 100644 index 63cb8a43..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_reference.png deleted file mode 100644 index 0f2fa691..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p2_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_minipdf.png deleted file mode 100644 index 31850177..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_reference.png deleted file mode 100644 index 9f63c168..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p3_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_minipdf.png deleted file mode 100644 index e02e9ddb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_reference.png deleted file mode 100644 index 2e4ec17e..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic90_comprehensive_annual_report_p4_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_minipdf.png deleted file mode 100644 index e60a0137..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_reference.png deleted file mode 100644 index 8aba1fb8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic91_landscape_page_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_minipdf.png deleted file mode 100644 index 42b21f8a..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_reference.png deleted file mode 100644 index 4c3fe8ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic92_first_line_indent_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_minipdf.png deleted file mode 100644 index ad75e948..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_reference.png deleted file mode 100644 index 224272ba..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic93_hanging_indent_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_minipdf.png deleted file mode 100644 index a9ac5531..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_reference.png deleted file mode 100644 index bfa2a651..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic94_custom_bullet_characters_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_minipdf.png deleted file mode 100644 index 943b44fb..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_reference.png deleted file mode 100644 index e410a026..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic95_contract_template_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_minipdf.png deleted file mode 100644 index 02d44b1d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_reference.png deleted file mode 100644 index b20af549..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic96_dense_data_table_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_minipdf.png deleted file mode 100644 index 0248a489..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_reference.png deleted file mode 100644 index bbc9b122..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic97_product_catalog_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_minipdf.png deleted file mode 100644 index 29cca00d..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_reference.png deleted file mode 100644 index 6a974e4b..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic98_training_manual_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_minipdf.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_minipdf.png deleted file mode 100644 index 4b0c4632..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_minipdf.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_reference.png b/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_reference.png deleted file mode 100644 index 386409d8..00000000 Binary files a/tests/MiniPdf.Benchmark/reports_docx/images/docx_classic99_policy_document_p1_reference.png and /dev/null differ diff --git a/tests/MiniPdf.Benchmark/run_benchmark.py b/tests/MiniPdf.Benchmark/run_benchmark.py index 470d12a6..a083d823 100644 --- a/tests/MiniPdf.Benchmark/run_benchmark.py +++ b/tests/MiniPdf.Benchmark/run_benchmark.py @@ -1,18 +1,19 @@ """ Automated benchmark test: generates Excel files, converts them to PDF -via MiniPdf and LibreOffice, compares the results, and produces a report. +via MiniPdf and Microsoft 365 by default, compares the results, and produces a report. This is the single entry point for the full "self-evolution" pipeline. Prerequisites: - pip install openpyxl pymupdf - LibreOffice installed (for reference PDF generation) + pip install openpyxl Pillow pywin32 + Java 11+ and the built PDFBox benchmark helper (see README.md) + Microsoft 365 Excel installed (default reference engine) .NET 9 SDK (for MiniPdf) Usage: python run_benchmark.py # full pipeline python run_benchmark.py --skip-generate # skip Excel generation - python run_benchmark.py --skip-reference # skip LibreOffice conversion + python run_benchmark.py --skip-reference # skip reference conversion python run_benchmark.py --skip-minipdf # skip MiniPdf conversion python run_benchmark.py --compare-only # only run comparison (assumes PDFs exist) """ @@ -39,10 +40,12 @@ def configure_paths(args): XLSX_DIR = Path(args.source_dir).resolve() if args.minipdf_dir: MINIPDF_PDF_DIR = Path(args.minipdf_dir).resolve() - if args.reference_dir: - REFERENCE_PDF_DIR = Path(args.reference_dir).resolve() if args.office_dir: OFFICE_PDF_DIR = Path(args.office_dir).resolve() + if args.reference_dir: + REFERENCE_PDF_DIR = Path(args.reference_dir).resolve() + elif args.engine in {"o365", "office"}: + REFERENCE_PDF_DIR = OFFICE_PDF_DIR if args.report_dir: REPORT_DIR = Path(args.report_dir).resolve() @@ -58,7 +61,7 @@ def run(cmd: list[str], cwd: str = None, check: bool = True) -> int: print(f" > {' '.join(cmd)}") result = subprocess.run(cmd, cwd=cwd) if check and result.returncode != 0: - print(f" ⚠ Command exited with code {result.returncode}") + raise subprocess.CalledProcessError(result.returncode, cmd) return result.returncode @@ -77,15 +80,16 @@ def step_generate_minipdf_pdfs(filter_pattern: str = None): banner("Step 2: Convert Excel -> PDF (MiniPdf)") scripts_dir = SCRIPT_DIR / ".." / "MiniPdf.Scripts" - cmd = ["dotnet", "run", "--no-cache", "convert_xlsx_to_pdf.cs"] + cmd = ["dotnet", "run", "--configuration", "Release", "--no-cache", "convert_xlsx_to_pdf.cs", "--", + str(XLSX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve())] if filter_pattern: - cmd += ["--", str(XLSX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve()), filter_pattern] + cmd += [filter_pattern] return run(cmd, cwd=str(scripts_dir)) -def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "libre"): +def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "o365", force: bool = False): """Step 3: Convert Excel files to PDF using the chosen reference engine.""" - if engine == "office": + if engine in {"o365", "office"}: banner("Step 3: Convert Excel -> PDF (Office / Excel COM Reference)") cmd = [sys.executable, "generate_office_pdfs.py", "--xlsx-dir", str(XLSX_DIR.resolve()), @@ -97,6 +101,8 @@ def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "libr "--pdf-dir", str(REFERENCE_PDF_DIR.resolve())] if filter_pattern: cmd += ["--filter", filter_pattern] + if force: + cmd += ["--force"] return run(cmd, cwd=str(SCRIPT_DIR), check=False) @@ -195,8 +201,10 @@ def main(): parser.add_argument("--skip-generate", action="store_true", help="Skip Excel generation") parser.add_argument("--skip-minipdf", action="store_true", help="Skip MiniPdf PDF conversion") parser.add_argument("--skip-reference", action="store_true", help="Skip reference conversion") - parser.add_argument("--engine", choices=["libre", "office"], default="office", - help="Reference engine: office (MS Office COM, default) or libre (LibreOffice)") + parser.add_argument("--force-reference", action="store_true", + help="Overwrite existing reference PDFs instead of reusing them") + parser.add_argument("--engine", choices=["libre", "office", "o365"], default="o365", + help="Reference engine: o365 (Microsoft 365 COM, default) or libre (LibreOffice); office is an alias for o365") parser.add_argument("--with-office", action="store_true", help="Also convert via Office (Excel COM) and include in comparison") parser.add_argument("--skip-office", action="store_true", help="Skip Office conversion (when --with-office)") @@ -249,7 +257,7 @@ def main(): print(f" Office PDFs: {OFFICE_PDF_DIR.resolve()}") print(f" Reports: {REPORT_DIR.resolve()}") - reference_label = args.reference_label or ("Office Reference" if args.engine == "office" else "LibreOffice Reference") + reference_label = args.reference_label or ("Microsoft 365 Excel Reference" if args.engine in {"o365", "office"} else "LibreOffice Reference") ai_kwargs = dict(ai_compare=args.ai_compare, ai_max_pages=args.ai_max_pages, ai_threshold=args.ai_threshold) compare_kwargs = dict(**ai_kwargs, use_office=args.with_office) compare_kwargs.update( @@ -277,7 +285,7 @@ def main(): step_generate_minipdf_pdfs(filter_pattern=filt) if not args.skip_reference: - step_generate_reference_pdfs(filter_pattern=filt, engine=args.engine) + step_generate_reference_pdfs(filter_pattern=filt, engine=args.engine, force=args.force_reference) if args.with_office and not args.skip_office: step_generate_office_pdfs(filter_pattern=filt) diff --git a/tests/MiniPdf.Benchmark/run_benchmark_docx.py b/tests/MiniPdf.Benchmark/run_benchmark_docx.py index f4005ec9..49489e06 100644 --- a/tests/MiniPdf.Benchmark/run_benchmark_docx.py +++ b/tests/MiniPdf.Benchmark/run_benchmark_docx.py @@ -5,7 +5,8 @@ This mirrors the XLSX benchmark pipeline but for Word documents. Prerequisites: - pip install python-docx pymupdf Pillow + pip install python-docx Pillow pywin32 + Java 11+ and the built PDFBox benchmark helper (see README.md) LibreOffice installed (for reference PDF generation) .NET 9 SDK (for MiniPdf) @@ -39,10 +40,12 @@ def configure_paths(args): DOCX_DIR = Path(args.source_dir).resolve() if args.minipdf_dir: MINIPDF_PDF_DIR = Path(args.minipdf_dir).resolve() - if args.reference_dir: - REFERENCE_PDF_DIR = Path(args.reference_dir).resolve() if args.office_dir: OFFICE_PDF_DIR = Path(args.office_dir).resolve() + if args.reference_dir: + REFERENCE_PDF_DIR = Path(args.reference_dir).resolve() + elif args.engine in {"o365", "office"}: + REFERENCE_PDF_DIR = OFFICE_PDF_DIR if args.report_dir: REPORT_DIR = Path(args.report_dir).resolve() @@ -58,7 +61,7 @@ def run(cmd: list[str], cwd: str = None, check: bool = True) -> int: print(f" > {' '.join(cmd)}") result = subprocess.run(cmd, cwd=cwd) if check and result.returncode != 0: - print(f" WARNING: Command exited with code {result.returncode}") + raise subprocess.CalledProcessError(result.returncode, cmd) return result.returncode @@ -76,15 +79,17 @@ def step_generate_minipdf_pdfs(filter_pattern: str = None): """Step 2: Convert DOCX files to PDF using MiniPdf.""" banner("Step 2: Convert DOCX -> PDF (MiniPdf)") scripts_dir = SCRIPT_DIR / ".." / "MiniPdf.Scripts" - cmd = ["dotnet", "run", "convert_docx_to_pdf.cs"] + cmd = ["dotnet", "run", "--configuration", "Release", "--no-cache", "convert_docx_to_pdf.cs", "--", + str(DOCX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve())] if filter_pattern: - cmd += ["--", str(DOCX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve()), filter_pattern] + cmd += [filter_pattern] return run(cmd, cwd=str(scripts_dir)) -def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "libre"): +def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "o365", + force: bool = False): """Step 3: Convert DOCX files to PDF using the chosen reference engine.""" - if engine == "office": + if engine in {"o365", "office"}: banner("Step 3: Convert DOCX -> PDF (Office / Word COM Reference)") cmd = [sys.executable, "generate_office_pdfs_docx.py", "--docx-dir", str(DOCX_DIR.resolve()), @@ -96,6 +101,8 @@ def step_generate_reference_pdfs(filter_pattern: str = None, engine: str = "libr "--pdf-dir", str(REFERENCE_PDF_DIR.resolve())] if filter_pattern: cmd += ["--filter", filter_pattern] + if force and engine == "libre": + cmd += ["--force"] return run(cmd, cwd=str(SCRIPT_DIR), check=False) @@ -194,8 +201,10 @@ def main(): parser.add_argument("--skip-generate", action="store_true", help="Skip DOCX generation") parser.add_argument("--skip-minipdf", action="store_true", help="Skip MiniPdf PDF conversion") parser.add_argument("--skip-reference", action="store_true", help="Skip reference conversion") - parser.add_argument("--engine", choices=["libre", "office"], default="office", - help="Reference engine: office (MS Office COM, default) or libre (LibreOffice)") + parser.add_argument("--force-reference", action="store_true", + help="Overwrite existing LibreOffice reference PDFs") + parser.add_argument("--engine", choices=["libre", "office", "o365"], default="o365", + help="Reference engine: o365 (Microsoft 365 COM, default) or libre (LibreOffice); office is an alias for o365") parser.add_argument("--with-office", action="store_true", help="Also convert via Office (Word COM) and include in comparison") parser.add_argument("--skip-office", action="store_true", help="Skip Office conversion (when --with-office)") @@ -247,7 +256,7 @@ def main(): print(f" Office PDFs: {OFFICE_PDF_DIR.resolve()}") print(f" Reports: {REPORT_DIR.resolve()}") - reference_label = args.reference_label or ("Office Reference" if args.engine == "office" else "LibreOffice Reference") + reference_label = args.reference_label or ("Microsoft 365 Word Reference" if args.engine in {"o365", "office"} else "LibreOffice Reference") ai_kwargs = dict(ai_compare=args.ai_compare, ai_max_pages=args.ai_max_pages, ai_threshold=args.ai_threshold) compare_kwargs = dict(**ai_kwargs, use_office=args.with_office) compare_kwargs.update( @@ -275,7 +284,11 @@ def main(): step_generate_minipdf_pdfs(filter_pattern=filt) if not args.skip_reference: - step_generate_reference_pdfs(filter_pattern=filt, engine=args.engine) + step_generate_reference_pdfs( + filter_pattern=filt, + engine=args.engine, + force=args.force_reference, + ) if args.with_office and not args.skip_office: step_generate_office_pdfs(filter_pattern=filt) diff --git a/tests/MiniPdf.Benchmark/run_benchmark_pptx.py b/tests/MiniPdf.Benchmark/run_benchmark_pptx.py index 40a89f71..0e018ff1 100644 --- a/tests/MiniPdf.Benchmark/run_benchmark_pptx.py +++ b/tests/MiniPdf.Benchmark/run_benchmark_pptx.py @@ -3,7 +3,8 @@ files to PDF via MiniPdf and LibreOffice, compares the results. Prerequisites: - pip install pymupdf Pillow + pip install Pillow + Java 11+ and the built PDFBox benchmark helper (see README.md) LibreOffice installed (for reference PDF generation) .NET 9 SDK (for MiniPdf) @@ -57,9 +58,10 @@ def run(cmd: list[str], cwd: str = None, check: bool = True) -> int: def step_generate_minipdf_pdfs(filter_pattern: str = None): banner("Step 1: Convert PPTX -> PDF (MiniPdf)") scripts_dir = SCRIPT_DIR / ".." / "MiniPdf.Scripts" - cmd = ["dotnet", "run", "convert_pptx_to_pdf.cs"] + cmd = ["dotnet", "run", "convert_pptx_to_pdf.cs", "--", + str(PPTX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve())] if filter_pattern: - cmd += ["--", str(PPTX_DIR.resolve()), str(MINIPDF_PDF_DIR.resolve()), filter_pattern] + cmd += [filter_pattern] return run(cmd, cwd=str(scripts_dir)) diff --git a/tests/MiniPdf.Benchmark/shared-office-corpus.json b/tests/MiniPdf.Benchmark/shared-office-corpus.json new file mode 100644 index 00000000..09800f2c --- /dev/null +++ b/tests/MiniPdf.Benchmark/shared-office-corpus.json @@ -0,0 +1,21 @@ +{ + "version": 1, + "description": "Git-tracked Office fixtures shared by every language visual benchmark.", + "sources": [ + { + "format": "xlsx", + "root": "tests/Issue_Files/xlsx", + "pattern": "*.xlsx" + }, + { + "format": "docx", + "root": "tests/Issue_Files/docx", + "pattern": "*.docx" + }, + { + "format": "pptx", + "root": "tests/Issue_Files/pptx", + "pattern": "*.pptx" + } + ] +} \ No newline at end of file diff --git a/tests/MiniPdf.Benchmark/test_pdfbox_backend.py b/tests/MiniPdf.Benchmark/test_pdfbox_backend.py new file mode 100644 index 00000000..1e2e1b63 --- /dev/null +++ b/tests/MiniPdf.Benchmark/test_pdfbox_backend.py @@ -0,0 +1,197 @@ +import json +import os +import subprocess +import sys +import tempfile +import unittest +from pathlib import Path +from unittest.mock import patch +from zipfile import ZipFile + +from pdfbox_backend import EVALUATOR, JAR, PdfDocument, check_backend, extract_text +from compare_pdfs import compare_single, generate_report, render_page_to_pixels + + +def write_fixture(path: Path, page_count: int = 3) -> None: + content = ( + b"BT /F1 12 Tf 20 260 Td (Left) Tj ET\n" + b"BT /F1 12 Tf 110 260.5 Td (Right) Tj ET\n" + b"BT /F1 12 Tf 20 230 Td (Caf\\351) Tj ET\n" + ) + objects = [ + b"<< /Type /Catalog /Pages 2 0 R >>", + (b"<< /Type /Pages /Kids [" + + b" ".join(f"{page + 3} 0 R".encode("ascii") for page in range(page_count)) + + f"] /Count {page_count} >>".encode("ascii")), + b"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] " + b"/Resources << /Font << /F1 6 0 R >> >> /Contents 7 0 R >>", + b"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] " + b"/CropBox [10 20 110 220] /Rotate 90 /Resources << >> /Contents 8 0 R >>", + b"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] " + b"/Resources << >> /Contents 8 0 R >>", + b"<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >>", + b"<< /Length " + str(len(content)).encode("ascii") + b" >>\nstream\n" + content + b"\nendstream", + b"<< /Length 0 >>\nstream\n\nendstream", + ] + data = bytearray(b"%PDF-1.4\n") + offsets = [0] + for number, obj in enumerate(objects, 1): + offsets.append(len(data)) + data.extend(f"{number} 0 obj\n".encode("ascii") + obj + b"\nendobj\n") + xref = len(data) + data.extend(f"xref\n0 {len(objects) + 1}\n0000000000 65535 f \n".encode("ascii")) + for offset in offsets[1:]: + data.extend(f"{offset:010d} 00000 n \n".encode("ascii")) + data.extend( + f"trailer\n<< /Size {len(objects) + 1} /Root 1 0 R >>\n" + f"startxref\n{xref}\n%%EOF\n".encode("ascii") + ) + path.write_bytes(data) + + +class PdfBoxBackendTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + check_backend() + + def setUp(self): + self.temporary = tempfile.TemporaryDirectory() + self.addCleanup(self.temporary.cleanup) + self.directory = Path(self.temporary.name) + self.pdf = self.directory / "fixture \u6d4b\u8bd5.pdf" + write_fixture(self.pdf) + + def test_text_rows_unicode_and_blank_pages(self): + self.assertEqual(extract_text(str(self.pdf)), ["Left Right\nCaf\u00e9", "", ""]) + + def test_rgb_dimensions_rotation_crop_and_dpi(self): + with PdfDocument(str(self.pdf)) as document: + self.assertEqual(document.page_count, 3) + pix = document.render(0, 72) + self.assertEqual((pix.width, pix.height, pix.n), (200, 300, 3)) + self.assertEqual(len(pix.samples), 200 * 300 * 3) + self.assertEqual(pix.samples[:3], b"\xff\xff\xff") + self.assertLess(min(pix.samples), 255) + rotated = document.render(1, 72) + self.assertEqual((rotated.width, rotated.height), (200, 100)) + scaled = document.render(2, 144) + self.assertEqual((scaled.width, scaled.height), (400, 600)) + self.assertEqual(set(scaled.samples), {255}) + saved = self.directory / "page.png" + pix.save(str(saved)) + from PIL import Image + with Image.open(saved) as image: + self.assertEqual((image.mode, image.size), ("RGB", (200, 300))) + self.assertIsNotNone(document._process.poll()) + + def test_page_and_dpi_validation(self): + with PdfDocument(str(self.pdf)) as document: + for index in (-1, 3): + with self.assertRaises(IndexError): + document.render(index) + for dpi in (0, -72, 1.5): + with self.assertRaises(ValueError): + document.render(0, dpi) + self.assertIsNone(render_page_to_pixels(str(self.pdf), 3)) + + def test_invalid_pdf_is_an_error_not_an_empty_document(self): + invalid = self.directory / "invalid.pdf" + invalid.write_text("not a PDF", encoding="ascii") + with self.assertRaisesRegex(RuntimeError, "PDFBox"): + PdfDocument(str(invalid)) + with self.assertRaisesRegex(RuntimeError, "PDFBox"): + compare_single(str(invalid), str(self.pdf), str(self.directory), "invalid") + + def test_missing_pdf_is_an_explicit_case_error(self): + result = compare_single(str(self.pdf) + ".missing", str(self.pdf), str(self.directory), "missing") + self.assertEqual(result["error"], "MiniPdf PDF not found") + self.assertEqual(result["evaluator"], EVALUATOR) + + def test_identical_pdf_scores_and_all_report_images(self): + images = self.directory / "images" + composites = self.directory / "side-by-side" + result = compare_single( + str(self.pdf), str(self.pdf), str(images), "identical", + auxiliary_path=str(self.pdf), composite_images=True, + composite_output_dir=str(composites), heatmaps=True, + ) + self.assertTrue(result["pdf_valid"]) + self.assertEqual(result["minipdf_pages"], 3) + self.assertEqual(result["reference_pages"], 3) + self.assertEqual(result["visual_scores"], [1.0, 1.0, 1.0]) + self.assertEqual(result["text_similarity"], 1.0) + self.assertEqual(result["overall_score"], 1.0) + self.assertEqual(result["evaluator"], EVALUATOR) + self.assertEqual(len(result["diff_images"]), 3) + for page in result["diff_images"]: + for key in ("minipdf_img", "reference_img", "auxiliary_img", "heatmap_img"): + self.assertTrue((images / page[key]).is_file(), key) + self.assertTrue((composites / page["composite_img"]).is_file()) + generate_report([result], str(self.directory)) + stored = json.loads((self.directory / "comparison_report.json").read_text(encoding="utf-8")) + self.assertEqual(stored[0]["evaluator"], EVALUATOR) + self.assertIn("Apache PDFBox", (self.directory / "comparison_report.md").read_text(encoding="utf-8")) + + def test_cli_rejects_mixing_legacy_and_pdfbox_scores(self): + report = self.directory / "report" + report.mkdir() + (report / "comparison_report.json").write_text( + json.dumps([{"name": self.pdf.stem, "overall_score": 1.0}]), encoding="utf-8" + ) + process = subprocess.run( + [sys.executable, str(Path(__file__).with_name("compare_pdfs.py")), + "--minipdf-dir", str(self.directory), "--reference-dir", str(self.directory), + "--report-dir", str(report), "--filter", "fixture"], + capture_output=True, text=True, encoding="utf-8", + env={**os.environ, "PYTHONIOENCODING": "utf-8"}, + ) + self.assertNotEqual(process.returncode, 0) + self.assertIn("Cannot merge filtered results from different evaluators", process.stderr) + + def test_page_mismatch_keeps_penalty_and_missing_page_images(self): + shorter = self.directory / "short.pdf" + write_fixture(shorter, page_count=1) + images = self.directory / "mismatch" + result = compare_single(str(self.pdf), str(shorter), str(images), "mismatch") + self.assertEqual((result["minipdf_pages"], result["reference_pages"]), (3, 1)) + self.assertEqual(result["visual_scores"][1:], [0.0, 0.0]) + self.assertEqual(len(result["diff_images"]), 3) + self.assertIsNone(result["diff_images"][1]["reference_img"]) + expected = round( + result["text_similarity"] * 0.4 + result["visual_avg"] * 0.4 + 0.5 * 0.2, 4 + ) + self.assertEqual(result["overall_score"], expected) + + def test_report_only_does_not_relabel_legacy_results(self): + legacy = { + "name": "legacy", "minipdf_pages": 1, "reference_pages": 1, + "overall_score": 1.0, "text_similarity": 1.0, "visual_avg": 1.0, + } + generate_report([legacy], str(self.directory)) + stored = json.loads((self.directory / "comparison_report.json").read_text(encoding="utf-8")) + self.assertNotIn("evaluator", stored[0]) + markdown = (self.directory / "comparison_report.md").read_text(encoding="utf-8") + self.assertIn("unversioned", markdown) + self.assertNotIn("Apache PDFBox", markdown) + + def test_missing_runtime_and_helper_are_actionable_errors(self): + with patch("pdfbox_backend.shutil.which", return_value=None): + with self.assertRaisesRegex(RuntimeError, "Java 11"): + check_backend() + with patch("pdfbox_backend.JAR", self.directory / "missing.jar"): + with self.assertRaisesRegex(RuntimeError, "mvn"): + check_backend() + + def test_helper_preserves_dependency_licenses_and_notices(self): + with ZipFile(JAR) as jar: + license_text = jar.read("META-INF/LICENSE").decode("utf-8") + notices = jar.read("META-INF/NOTICE").decode("utf-8") + self.assertIn("Apache License", license_text) + self.assertIn("SIL OPEN FONT LICENSE", license_text) + self.assertIn("Apache PDFBox", notices) + self.assertIn("Apache FontBox", notices) + self.assertIn("Apache Commons Logging", notices) + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/MiniPdf.Tests/DocxDrawingTests.cs b/tests/MiniPdf.Tests/DocxDrawingTests.cs new file mode 100644 index 00000000..c40ed74c --- /dev/null +++ b/tests/MiniPdf.Tests/DocxDrawingTests.cs @@ -0,0 +1,350 @@ +using System.IO.Compression; +using System.Text; + +namespace MiniSoftware.Tests; + +/// +/// Covers DrawingML parsing behavior that is independent of repository issue fixtures. +/// +public class DocxDrawingTests +{ + /// + /// A run containing multiple drawings must process each drawing independently when a later + /// grouped drawing carries text box content. + /// + [Fact] + public void Read_MultipleDrawingsInTextBoxHostRun_ReadsEachTopLevelDrawing() + { + using var stream = CreateDocxWithMultipleDrawingsAndGroupTextBox(); + + var document = DocxReader.Read(stream); + var shapes = document.Elements + .OfType() + .SelectMany(paragraph => paragraph.Shapes ?? []) + .ToArray(); + + Assert.Equal(2, shapes.Length); + Assert.Contains(shapes, shape => shape.FillColor.R > 0.99f && shape.FillColor.B < 0.01f); + Assert.Contains(shapes, shape => shape.FillColor.B > 0.99f && shape.FillColor.R < 0.01f); + } + + /// + /// A wrapTopAndBottom text box anchored to the page or to the margin must be exposed as a + /// floating box on its host paragraph. Its offset is a page coordinate, not spacing, so + /// neither the box content nor the host paragraph may be pushed down the flow by it. + /// + [Theory] + [InlineData("page", 1333500, 105f)] + [InlineData("margin", 419100, 33f)] + public void Read_AbsoluteWrapTopAndBottomTextBox_IsFloatingBox(string relativeFrom, int posOffsetEmu, float expectedYPt) + { + using var stream = CreateDocxWithAbsoluteWrapTopAndBottomTextBox(relativeFrom, posOffsetEmu); + + var document = DocxReader.Read(stream); + var paragraphs = document.Elements.OfType().ToArray(); + + Assert.DoesNotContain(paragraphs, paragraph => paragraph.Runs.Any(run => run.Text == "Boxed")); + var host = Assert.Single(paragraphs, paragraph => paragraph.Runs.Any(run => run.Text == "Host")); + var box = Assert.Single(host.FloatingTextBoxes ?? []); + Assert.True(box.IsWrapTopBottom); + Assert.Equal(relativeFrom, box.VRelativeFrom); + Assert.InRange(box.YPt, expectedYPt - 0.1f, expectedYPt + 0.1f); + Assert.InRange(host.SpacingBefore, -0.01f, 0.01f); + } + + /// + /// The text flow may not run beside a wrapTopAndBottom box: the host line stays above the + /// box, the box text renders inside the box band, and the next paragraph resumes below it. + /// Both anchors put the box 105pt below the page top (the margin case is 33pt below the + /// 72pt top margin). + /// + [Theory] + [InlineData("page", 1333500)] + [InlineData("margin", 419100)] + public void Convert_AbsoluteWrapTopAndBottomTextBox_ResumesFlowBelowBox(string relativeFrom, int posOffsetEmu) + { + using var stream = CreateDocxWithAbsoluteWrapTopAndBottomTextBox(relativeFrom, posOffsetEmu); + + var document = DocxToPdfConverter.Convert(stream); + + var page = Assert.Single(document.Pages); + var host = Assert.Single(page.TextBlocks, block => block.Text == "Host"); + var boxed = Assert.Single(page.TextBlocks, block => block.Text == "Boxed"); + var after = Assert.Single(page.TextBlocks, block => block.Text == "After"); + + // The box occupies 105pt to 145pt from the top of the 792pt page. + const float bandTop = 792f - 105f; + const float bandBottom = 792f - 145f; + Assert.InRange(boxed.Y, bandBottom, bandTop); + Assert.True(host.Y > bandTop, $"Host baseline {host.Y} must stay above the box top {bandTop}."); + Assert.True(after.Y < bandBottom, $"Following baseline {after.Y} must resume below the box bottom {bandBottom}."); + } + + [Fact] + public void Convert_AbsoluteWrapTopAndBottomTextBox_MixedFormatContinuationLinesAvoidBox() + { + var continuationText = string.Join(" ", Enumerable.Repeat("continuation", 40)); + var afterParagraph = $""" + + After + {continuationText} + + """; + using var stream = CreateDocxWithAbsoluteWrapTopAndBottomTextBox( + "page", 1841500, afterParagraph); + + var document = DocxToPdfConverter.Convert(stream); + + var page = Assert.Single(document.Pages); + var bodyBlocks = page.TextBlocks.Where(block => block.Text != "Boxed").ToArray(); + const float bandTop = 792f - 145f; + const float bandBottom = 792f - 185f; + Assert.Contains(bodyBlocks, block => block.Text.Contains("continuation") && block.Y < bandBottom); + Assert.DoesNotContain(bodyBlocks, block => block.Y < bandTop && block.Y > bandBottom); + } + + [Fact] + public void Convert_OverlappingWrapTopAndBottomTextBoxes_RescansEarlierObstacles() + { + var afterParagraphs = string.Join("", Enumerable.Range(1, 12) + .Select(index => $"After {index}")); + using var stream = CreateDocxWithAbsoluteWrapTopAndBottomTextBox( + "page", 2222500, afterParagraphs, secondPosOffsetEmu: 1841500); + + var document = DocxToPdfConverter.Convert(stream); + + var page = Assert.Single(document.Pages); + var bodyBlocks = page.TextBlocks + .Where(block => !block.Text.StartsWith("Boxed", StringComparison.Ordinal)) + .ToArray(); + const float upperBandTop = 792f - 145f; + const float lowerBandBottom = 792f - 215f; + Assert.Contains(bodyBlocks, + block => block.Text.StartsWith("After", StringComparison.Ordinal) && block.Y < lowerBandBottom); + Assert.DoesNotContain(bodyBlocks, block => block.Y < upperBandTop && block.Y > lowerBandBottom); + } + + [Fact] + public void Convert_WrapTopAndBottomTextBoxBelowMargin_MovesContinuationToNextPage() + { + var continuationText = string.Join(" ", Enumerable.Repeat("continuation", 400)); + var afterParagraph = $""" + + After + {continuationText} + + """; + using var stream = CreateDocxWithAbsoluteWrapTopAndBottomTextBox( + "page", 8255000, afterParagraph, boxHeightEmu: 1270000); + + var document = DocxToPdfConverter.Convert(stream); + + Assert.True(document.Pages.Count >= 2); + Assert.DoesNotContain(document.Pages[0].TextBlocks, + block => block.Text != "Boxed" && block.Y < 72f); + Assert.Contains(document.Pages.Skip(1).SelectMany(page => page.TextBlocks), + block => block.Text.Contains("continuation")); + } + + /// + /// Creates a minimal DOCX with three paragraphs; the second hosts a wrapTopAndBottom text + /// box whose vertical anchor uses the given relativeFrom value and EMU offset. + /// + private static MemoryStream CreateDocxWithAbsoluteWrapTopAndBottomTextBox( + string relativeFrom, int posOffsetEmu, + string afterParagraph = "After", + int boxHeightEmu = 508000, int? secondPosOffsetEmu = null) + { + var secondTextBoxRun = secondPosOffsetEmu.HasValue + ? $""" + + + + + 0 + {secondPosOffsetEmu.Value} + + + + + + + + + + + + Boxed2 + + + + + + + + """ + : ""; + var stream = new MemoryStream(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + """); + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + AddEntry(archive, "word/document.xml", + $""" + + + + Intro + + Host + + + + + 0 + {posOffsetEmu} + + + + + + + + + + + + + + Boxed + + + + + + + + + + {secondTextBoxRun} + + {afterParagraph} + + + + + + + """); + } + + stream.Position = 0; + return stream; + } + + /// + /// Creates a minimal DOCX whose single run has a simple shape followed by a grouped shape + /// with an empty text box. + /// + private static MemoryStream CreateDocxWithMultipleDrawingsAndGroupTextBox() + { + var stream = new MemoryStream(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + """); + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + AddEntry(archive, "word/document.xml", + """ + + + + + + + + 0 + 0 + + + + + + + + + + 914400 + 0 + + + + + + + + + + + + + + + + + + + + + + """); + } + + stream.Position = 0; + return stream; + } + + /// + /// Adds a UTF-8 XML part to a DOCX archive. + /// + private static void AddEntry(ZipArchive archive, string path, string content) + { + var entry = archive.CreateEntry(path); + using var writer = new StreamWriter(entry.Open(), Encoding.UTF8); + writer.Write(content); + } +} \ No newline at end of file diff --git a/tests/MiniPdf.Tests/DocxGroupShapeTests.cs b/tests/MiniPdf.Tests/DocxGroupShapeTests.cs new file mode 100644 index 00000000..1ab0d778 --- /dev/null +++ b/tests/MiniPdf.Tests/DocxGroupShapeTests.cs @@ -0,0 +1,281 @@ +using System.IO.Compression; +using System.Text; + +namespace MiniSoftware.Tests; + +/// +/// Covers page-anchored wpg groups: anchor placement, preset and style-driven fills, +/// and text boxes that sit inside a group. All documents are synthetic. +/// +public class DocxGroupShapeTests +{ + private const float EmuPerPoint = 12700f; + + // 172.8pt x 718.56pt group, placed 4% from the page's left edge and centred vertically. + private const string SidebarGroup = """ + + + + 4000 + + + 310896 + + + center + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dated + + + + + + """; + + /// + /// An anchor with a wp14 percentage position and centre alignment must place the group + /// against the page, not at the margin origin. + /// + [Fact] + public void Convert_PageAnchoredGroup_PlacesShapesByPercentAndCentering() + { + using var stream = CreateDocx(SidebarGroup); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + // Frame left = 4% of the 612pt page; frame top = (792 - 718.56) / 2 below the page top. + var bar = Assert.Single(page.RectBlocks, rect => Math.Abs(rect.Width - 194535 / EmuPerPoint) < 0.1f); + Assert.InRange(bar.X, 24.3f, 24.7f); + Assert.InRange(bar.Y, 36.5f, 36.9f); + Assert.InRange(bar.Height, 718.4f, 718.7f); + } + + /// + /// A homePlate preset must keep its pointed tip, and a fill that only comes from the + /// shape style's fillRef must still be painted. + /// + [Fact] + public void Convert_HomePlateWithStyleFill_DrawsPointedShapeInStyleColour() + { + using var stream = CreateDocx(SidebarGroup); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + var pentagon = Assert.Single(page.PolygonBlocks); + Assert.True(pentagon.FillColor.B > 0.99f && pentagon.FillColor.R < 0.01f); + var points = pentagon.Subpaths?[0] ?? pentagon.Points; + Assert.Equal(5, points.Count); + var tip = points.OrderByDescending(point => point.X).First(); + var tipX = 24.48f + 2194560 / EmuPerPoint; + Assert.InRange(tip.X, tipX - 0.2f, tipX + 0.2f); + // The tip sits at mid-height; no other point may share its X. + Assert.Single(points, point => Math.Abs(point.X - tip.X) < 0.01f); + } + + /// + /// Text in a group child is placed by the child's own rectangle inside the group frame, + /// takes its colour from the style's fontRef, and stops short of the pentagon tip. + /// + [Fact] + public void Convert_GroupedPentagonTextBox_StaysInsideShapeTextArea() + { + using var stream = CreateDocx(SidebarGroup); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + var text = Assert.Single(page.TextBlocks, block => block.Text == "Dated"); + Assert.True(text.Color.R > 0.99f && text.Color.G > 0.99f && text.Color.B > 0.99f); + + // Pentagon band: 115.5pt to 159pt below the group's top edge (755.28pt from the page bottom). + const float bandTop = 755.28f - 1466850 / EmuPerPoint; + const float bandBottom = bandTop - 552055 / EmuPerPoint; + Assert.InRange(text.Y, bandBottom, bandTop); + + // Text area right edge = left + width - tip/2 - rIns. + var textAreaRight = 24.48f + 2194560 / EmuPerPoint - 552055 / EmuPerPoint * 0.25f - 182880 / EmuPerPoint; + Assert.InRange(text.X, 24.48f, textAreaRight); + } + + /// + /// An outline on a freeform shape follows the path; the converter must not substitute a + /// rectangle around its bounding box. + /// + [Fact] + public void Convert_FreeformShapeWithOutline_DoesNotDrawBoundingBox() + { + using var stream = CreateDocx(CreateOutlinedShape(""" + + + + + + + + + """)); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + Assert.Single(page.PolygonBlocks); + Assert.Empty(page.LineBlocks); + } + + /// + /// A plain rectangle keeps its outline. + /// + [Fact] + public void Convert_RectangleWithOutline_DrawsFourEdges() + { + using var stream = CreateDocx(CreateOutlinedShape("""""")); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + Assert.Equal(4, page.LineBlocks.Count); + } + + [Theory] + [InlineData("homePlate", 0)] + [InlineData("rect", 8)] + public void Convert_HeaderAndFooterOutlinedShapes_OnlyRectanglesDrawBoundingBox(string geometry, int expectedLines) + { + using var stream = CreateDocx("", CreateOutlinedShape($"")); + + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + + Assert.Equal(expectedLines, page.LineBlocks.Count); + } + + private static string CreateOutlinedShape(string geometry) => $""" + + 0 + 0 + + + + + + + + + + + {geometry} + + + + + + + """; + + private static MemoryStream CreateDocx(string anchorXml, string? headerFooterAnchorXml = null) + { + var stream = new MemoryStream(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + $""" + + + + + + {(headerFooterAnchorXml == null ? "" : """ + + + """)} + + """); + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + if (headerFooterAnchorXml != null) + { + AddEntry(archive, "word/_rels/document.xml.rels", + """ + + + + + + """); + foreach (var (part, tag) in new[] { ("header", "hdr"), ("footer", "ftr") }) + { + AddEntry(archive, $"word/{part}1.xml", + $""" + + + {headerFooterAnchorXml} + + """); + } + } + AddEntry(archive, "word/document.xml", + $""" + + + + {anchorXml} + {(headerFooterAnchorXml == null ? "" : """ + + + + + """)} + + + """); + } + + stream.Position = 0; + return stream; + } + + private static void AddEntry(ZipArchive archive, string path, string content) + { + var entry = archive.CreateEntry(path); + using var writer = new StreamWriter(entry.Open(), Encoding.UTF8); + writer.Write(content); + } +} diff --git a/tests/MiniPdf.Tests/DocxIssueFileTests.cs b/tests/MiniPdf.Tests/DocxIssueFileTests.cs new file mode 100644 index 00000000..de668466 --- /dev/null +++ b/tests/MiniPdf.Tests/DocxIssueFileTests.cs @@ -0,0 +1,423 @@ +using System.Text; + +namespace MiniSoftware.Tests; + +public class DocxIssueFileTests +{ + /// + /// Fabrikam.docx: a behindDoc wpg group whose first rectangle carries an empty text box must + /// still render its page background, white rectangles and card outlines. + /// + [Fact] + public void Fabrikam_BehindDocGroupWithTextBox_RendersGroupFills() + { + var issuePath = FindIssueDocx("Fabrikam.docx"); + + using var stream = File.OpenRead(issuePath); + var document = DocxToPdfConverter.Convert(stream); + var page = Assert.Single(document.Pages); + + // The business-card sheet is one behindDoc wpg group: an accent1 (C0E3EC) + // page background, twenty bg1 (white) rectangles and ten stroke-only card + // outlines. Its first rectangle carries an empty text box, which must not + // suppress the group fills. + var background = Assert.Single(page.RectBlocks, rect => + rect.Width >= page.Width - 0.5f && rect.Height >= page.Height - 0.5f); + Assert.InRange(background.X, -0.5f, 0.5f); + Assert.InRange(background.Y, -0.5f, 0.5f); + Assert.InRange(background.FillColor.R, 0.75f, 0.76f); + Assert.InRange(background.FillColor.G, 0.89f, 0.90f); + Assert.InRange(background.FillColor.B, 0.92f, 0.93f); + + Assert.Equal(20, page.RectBlocks.Count(rect => + rect.FillColor.R > 0.99f && rect.FillColor.G > 0.99f && rect.FillColor.B > 0.99f)); + Assert.Equal(40, page.LineBlocks.Count); + } + + /// + /// TestIssue78.docx: the header-table labels must share one right edge when measured with + /// their preferred font widths, and the date value must stay centered in its cell. + /// + [Fact] + public void Issue78_HeaderTable_UsesPreferredFontWidthsForAlignment() + { + var issuePath = FindIssueDocx("TestIssue78.docx"); + + using var stream = File.OpenRead(issuePath); + var document = DocxToPdfConverter.Convert(stream); + var firstPage = Assert.Single(document.Pages); + var labels = new[] + { + "使 用 单 位 名 称:", + "单 位 内 编 号:", + "设 备 代 码 :", + "设 备 类 别 :", + "检 测 日 期 :", + }.Select(text => Assert.Single(firstPage.TextBlocks, block => block.Text == text)).ToArray(); + var dateValue = Assert.Single(firstPage.TextBlocks, + block => block.Text == "#[checkStart]# 至 #[checkEnd]#"); + + var labelRightEdges = labels.Select(block => + { + Assert.True(PdfWriter.TryMeasurePreferredFontWidth(block.PreferredFontName, block.Text, + block.FontSize, block.Bold, block.Italic, block.CharSpacing, out var width)); + return block.X + width; + }).ToArray(); + Assert.InRange(labelRightEdges.Max() - labelRightEdges.Min(), 0, 0.1f); + + Assert.True(PdfWriter.TryMeasurePreferredFontWidth(dateValue.PreferredFontName, dateValue.Text, + dateValue.FontSize, dateValue.Bold, dateValue.Italic, dateValue.CharSpacing, out var dateWidth)); + Assert.InRange(dateValue.X + dateWidth / 2, 380f, 385f); + } + + [Fact] + public void Issue78_ParagraphTab_DoesNotMoveNumberedBodyText() + { + var issuePath = FindIssueDocx("TestIssue78.docx"); + + using var stream = File.OpenRead(issuePath); + var document = DocxToPdfConverter.Convert(stream); + var firstPage = Assert.Single(document.Pages); + var label = Assert.Single(firstPage.TextBlocks, block => block.Text == "一、"); + var body = Assert.Single(firstPage.TextBlocks, + block => block.Text.StartsWith("本原始记录适用于", StringComparison.Ordinal)); + + Assert.InRange(Math.Abs(body.Y - label.Y), 0, 0.1f); + Assert.InRange(label.X, 85f, 105f); + Assert.InRange(body.X - label.X, 0, 60f); + } + + [Theory] + [InlineData("Issue79_FilledContract.docx")] + [InlineData("Issue79_TemplateContract.docx")] + public void Issue79_EmbeddedCjkFonts_ProducesCompactPdf(string fileName) + { + var issuePath = FindIssueDocx(fileName); + + var pdf = MiniPdf.ConvertToPdf(issuePath); + var content = Encoding.ASCII.GetString(pdf); + + Assert.StartsWith("%PDF-1.4", content); + Assert.Contains("/FontFile2", content); + Assert.True(pdf.Length < 1_000_000, + $"Expected a compact PDF below 1 MB, got {pdf.Length:N0} bytes."); + } + + [Fact] + public void Issue90_RunHighlightsAndWingdingsCheckMark_ArePreserved() + { + var issuePath = FindIssueDocx("TestIssue90.docx"); + + using var stream = File.OpenRead(issuePath); + var document = DocxReader.Read(stream); + var paragraphs = document.Elements + .OfType() + .ToList(); + var runs = paragraphs + .SelectMany(paragraph => paragraph.Runs) + .Concat(paragraphs + .SelectMany(paragraph => paragraph.FloatingTextBoxes ?? []) + .SelectMany(textBox => textBox.Paragraphs) + .SelectMany(paragraph => paragraph.Runs)) + .ToList(); + + var highlightedName = Assert.Single(runs, + run => run.Text == "Họ tên khách hàng:"); + Assert.Equal(PdfColor.FromHex("FFFF00"), highlightedName.Shading); + Assert.Contains(runs, run => run.Text.Contains('✓')); + + stream.Position = 0; + var pdf = DocxToPdfConverter.Convert(stream); + var page = Assert.Single(pdf.Pages); + var checkedBox = Assert.Single(page.RectBlocks, rectangle => + rectangle.X is > 332f and < 334f + && rectangle.Width is > 20f and < 21f + && rectangle.Height is > 17f and < 19f); + Assert.InRange(checkedBox.Y, 481.5f, 482.5f); + + var superscript = Assert.Single(page.TextBlocks, block => + block.Text == "1" && block.FontSize is > 7.9f and < 8.1f); + Assert.InRange(superscript.FontSize, 7.9f, 8.1f); + + var yesLabel = Assert.Single(page.TextBlocks, block => block.Text == "Có"); + Assert.InRange(yesLabel.X, 359.9f, 360.1f); + var requestText = string.Concat(page.TextBlocks + .Where(block => block.Bold && block.FontSize == 12f) + .Select(block => block.Text)); + Assert.Contains("Nay, đề nghị VCBS thực hiện mở Tiểu khoản", requestText, + StringComparison.Ordinal); + Assert.Contains("chứng khoán của tôi tại VCBS như sau:", requestText, + StringComparison.Ordinal); + + var footnoteSeparator = Assert.Single(page.LineBlocks, line => + line.X1 is > 71.9f and < 72.1f + && line.X2 is > 215.9f and < 216.1f + && line.Y1 is > 88.9f and < 89.1f + && Math.Abs(line.Y1 - line.Y2) < 0.01f); + Assert.Equal(144f, footnoteSeparator.X2 - footnoteSeparator.X1, 1); + var footnoteText = Assert.Single(page.TextBlocks, block => + block.Text.Contains("Giấy phép tương đương", StringComparison.Ordinal)); + Assert.InRange(footnoteText.Y, 74.9f, 75.1f); + } + + [WindowsEmfTheory] + [InlineData(1)] + [InlineData(2)] + [InlineData(3)] + [InlineData(4)] + [InlineData(5)] + public void Issue90_EmbeddedAlphaBitmap_MatchesNativePlayback(int imageIndex) + { + using var archive = System.IO.Compression.ZipFile.OpenRead(FindIssueDocx("TestIssue90.docx")); + var entry = archive.GetEntry($"word/media/image{imageIndex}.emf"); + Assert.NotNull(entry); + using var stream = entry.Open(); + using var buffer = new MemoryStream(); + stream.CopyTo(buffer); + var source = buffer.ToArray(); + byte[]? bitmap = null; + for (var offset = 0; offset < source.Length;) + { + var size = checked((int)BitConverter.ToUInt32(source, offset + 4)); + Assert.InRange(size, 8, source.Length - offset); + if (BitConverter.ToUInt32(source, offset) == 114) + { + bitmap = source.AsSpan(offset, size).ToArray(); + break; + } + offset += size; + } + Assert.NotNull(bitmap); + Assert.Equal(0x01FF8000u, BitConverter.ToUInt32(bitmap, 40)); + var emf = EmfNativePlaybackTests.FrameMetafile("sparse-bounds", bitmap); + var expected = EmfNativePlaybackTests.PlayNative(emf, 32, 32); + var actual = EmfVectorRendererTests.Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + EmfNativePlaybackTests.AssertPixelsEqual(actual, expected, 32, 32); + } + + [Fact] + public void Issue91_DecomposedVietnameseText_IsNormalizedBeforeRendering() + { + var issuePath = FindIssueDocx("TestIssue91.docx"); + + using var stream = File.OpenRead(issuePath); + var document = DocxReader.Read(stream); + var paragraph = Assert.Single(document.Elements.OfType(), element => + string.Concat(element.Runs.Select(run => run.Text)) + .StartsWith("Bên B cam kết trả tiền", StringComparison.Ordinal)); + var paragraphText = string.Concat(paragraph.Runs.Select(run => run.Text)); + + Assert.True(paragraphText.IsNormalized(NormalizationForm.FormC)); + Assert.Contains("Bên B cam kết trả tiền (tiền gốc và tiền lãi)", paragraphText, + StringComparison.Ordinal); + + stream.Position = 0; + var pdf = DocxToPdfConverter.Convert(stream); + var renderedText = string.Concat(pdf.Pages + .SelectMany(page => page.TextBlocks) + .Select(block => block.Text)); + Assert.True(renderedText.IsNormalized(NormalizationForm.FormC)); + Assert.Contains("Bên B cam kết trả tiền", renderedText, StringComparison.Ordinal); + + var secondPageText = string.Concat(pdf.Pages[1].TextBlocks.Select(block => block.Text)); + Assert.Contains("Bên B cam kết trả tiền", secondPageText, StringComparison.Ordinal); + } + + [Fact] + public void Issue93_VmlImageAndLegacyTableGrid_PreserveLayout() + { + var issuePath = FindIssueDocx("TestIssue93.docx"); + + using var stream = File.OpenRead(issuePath); + var parsed = DocxReader.Read(stream); + var title = Assert.IsType(parsed.Elements[0]); + var textBox = Assert.Single(title.FloatingTextBoxes!); + + Assert.Empty(title.Images); + Assert.Equal(12, parsed.CompatibilityMode); + Assert.InRange(textBox.XPt, 393.9f, 394f); + Assert.True(textBox.AnchorAtParagraphTop); + Assert.Single(Assert.Single(textBox.Paragraphs).Images); + + stream.Position = 0; + var pdf = DocxToPdfConverter.Convert(stream); + var page = Assert.Single(pdf.Pages); + var image = Assert.Single(page.ImageBlocks); + Assert.True(image.X > 400f, $"Expected the logo on the right, got X={image.X}."); + var titleBlock = Assert.Single(page.TextBlocks, block => block.Text.Contains("十二", StringComparison.Ordinal)); + Assert.Contains(titleBlock.PreferredFontName, new[] { "SimHei", "黑体" }); + var checkboxBlocks = page.TextBlocks + .Where(block => block.Text.StartsWith("□1", StringComparison.Ordinal)) + .ToArray(); + Assert.Equal(3, checkboxBlocks.Length); + Assert.Equal(2, page.RectBlocks.Count(rectangle => + rectangle.FillColor == PdfColor.FromHex("FFFF00"))); + + var dangerHeadings = page.TextBlocks + .Where(block => block.Text.Contains("可能出现下列危险", StringComparison.Ordinal)) + .ToArray(); + Assert.Equal(3, dangerHeadings.Length); + Assert.InRange(dangerHeadings.Max(block => block.Y) - dangerHeadings.Min(block => block.Y), 80f, 130f); + + var workDanger = Assert.Single(page.TextBlocks, block => block.Text == "工作危险"); + var project = Assert.Single(page.TextBlocks, block => block.Text == "项目" && block.X < 80f); + Assert.InRange(workDanger.Y - project.Y, 150f, 165f); + + var projectTableRowBoundaries = page.LineBlocks + .Where(line => Math.Abs(line.Y1 - line.Y2) < 0.01f + && line.X1 is > 65f and < 66f + && line.X2 is > 120f and < 121f) + .Select(line => line.Y1) + .Distinct() + .OrderByDescending(y => y) + .Take(3) + .ToArray(); + Assert.Equal(3, projectTableRowBoundaries.Length); + Assert.InRange(projectTableRowBoundaries[0] - projectTableRowBoundaries[1], 12f, 14f); + Assert.InRange(projectTableRowBoundaries[1] - projectTableRowBoundaries[2], 12f, 14f); + } + + [Fact] + public void Issue159_FixtureDeclaresExpectedPageLayout() + { + var issuePath = FindIssueDocx("Issue159_PageLayoutOptions.docx"); + using var stream = File.OpenRead(issuePath); + + var document = DocxReader.Read(stream); + var layout = Assert.IsType(document.PageLayout); + var paragraphs = document.Elements.OfType().ToArray(); + + Assert.Equal(612, layout.PageWidth); + Assert.Equal(792, layout.PageHeight); + Assert.Equal(72, layout.MarginTop); + Assert.Equal(72, layout.MarginRight); + Assert.Equal(72, layout.MarginBottom); + Assert.Equal(72, layout.MarginLeft); + Assert.Equal(25, paragraphs.Length); + Assert.Equal("right", paragraphs[^1].Alignment); + Assert.Equal("Right aligned", Assert.Single(paragraphs[^1].Runs).Text); + } + + [Fact] + public void Issue159_ConversionOptionsOverrideDocumentPageSizeAndMargins() + { + var issuePath = FindIssueDocx("Issue159_PageLayoutOptions.docx"); + using var stream = File.OpenRead(issuePath); + using var largerTopMarginStream = File.OpenRead(issuePath); + var options = new DocxToPdfConverter.ConversionOptions + { + PageWidthOverride = 400, + PageHeightOverride = 500, + MarginLeftOverride = 30, + MarginTopOverride = 40, + MarginRightOverride = 50, + MarginBottomOverride = 160, + }; + var largerTopMarginOptions = new DocxToPdfConverter.ConversionOptions + { + PageWidthOverride = 400, + PageHeightOverride = 500, + MarginLeftOverride = 30, + MarginTopOverride = 80, + MarginRightOverride = 50, + MarginBottomOverride = 160, + }; + + var document = DocxToPdfConverter.Convert(stream, options); + var largerTopMarginDocument = DocxToPdfConverter.Convert(largerTopMarginStream, largerTopMarginOptions); + + Assert.All(document.Pages, page => + { + Assert.Equal(400, page.Width); + Assert.Equal(500, page.Height); + }); + Assert.Equal(2, document.Pages.Count); + var firstText = document.Pages[0].TextBlocks.Single(block => block.Text == "Paragraph 0"); + var lowerFirstText = largerTopMarginDocument.Pages[0].TextBlocks.Single(block => block.Text == "Paragraph 0"); + Assert.Equal(30, firstText.X); + Assert.InRange(firstText.Y - lowerFirstText.Y, 39.9f, 40.1f); + } + + [Fact] + public void Issue159_ConversionOptionsOverrideDocumentRightMargin() + { + var issuePath = FindIssueDocx("Issue159_PageLayoutOptions.docx"); + using var narrowMarginStream = File.OpenRead(issuePath); + using var wideMarginStream = File.OpenRead(issuePath); + var narrowMarginOptions = new DocxToPdfConverter.ConversionOptions { MarginRightOverride = 40 }; + var wideMarginOptions = new DocxToPdfConverter.ConversionOptions { MarginRightOverride = 100 }; + + var narrowMarginDocument = DocxToPdfConverter.Convert(narrowMarginStream, narrowMarginOptions); + var wideMarginDocument = DocxToPdfConverter.Convert(wideMarginStream, wideMarginOptions); + var narrowMarginText = Assert.Single(narrowMarginDocument.Pages + .SelectMany(page => page.TextBlocks), block => block.Text == "Right aligned"); + var wideMarginText = Assert.Single(wideMarginDocument.Pages + .SelectMany(page => page.TextBlocks), block => block.Text == "Right aligned"); + + Assert.InRange(narrowMarginText.X - wideMarginText.X, 59.9f, 60.1f); + } + + [Fact] + public void Issue159_PublicPathAndStreamApisApplyPageLayoutOptions() + { + var issuePath = FindIssueDocx("Issue159_PageLayoutOptions.docx"); + var options = new MiniPdfConversionOptions + { + PageSize = new MiniPdfPageSize(400, 500), + Margins = new MiniPdfMargins(left: 30, top: 40, right: 50, bottom: 160), + }; + + var pathPdf = MiniPdf.ConvertToPdf(issuePath, options); + using var stream = File.OpenRead(issuePath); + var streamPdf = MiniPdf.ConvertToPdf(stream, options); + + Assert.Equal(2, CountOccurrences(pathPdf, "/MediaBox [0 0 400 500]")); + Assert.Equal(2, CountOccurrences(streamPdf, "/MediaBox [0 0 400 500]")); + } + + [Fact] + public void Issue159_InvalidPageLayoutOptionsThrowHelpfulErrors() + { + var issuePath = FindIssueDocx("Issue159_PageLayoutOptions.docx"); + + var pageSizeError = Assert.Throws(() => MiniPdf.ConvertToPdf(issuePath, + new MiniPdfConversionOptions { PageSize = new MiniPdfPageSize(0, 500) })); + var marginsError = Assert.Throws(() => MiniPdf.ConvertToPdf(issuePath, + new MiniPdfConversionOptions { Margins = new MiniPdfMargins(-1) })); + + Assert.Equal("PageSize", pageSizeError.ParamName); + Assert.Equal("Margins", marginsError.ParamName); + } + + [Fact] + public void Issue159_DocxPageLayoutOptionsRejectNonDocxInput() + { + var error = Assert.Throws(() => MiniPdf.ConvertToPdf("missing.xlsx", + new MiniPdfConversionOptions { PageSize = MiniPdfPageSize.A4 })); + + Assert.Contains("only supported for .docx files", error.Message, StringComparison.Ordinal); + } + + private static int CountOccurrences(byte[] pdf, string value) + { + var content = Encoding.ASCII.GetString(pdf); + return content.Split(new[] { value }, StringSplitOptions.None).Length - 1; + } + + private static string FindIssueDocx(string fileName) + { + var directory = new DirectoryInfo(AppContext.BaseDirectory); + while (directory != null) + { + var candidate = Path.Combine(directory.FullName, "tests", "Issue_Files", "docx", fileName); + if (File.Exists(candidate)) + return candidate; + + directory = directory.Parent; + } + + throw new FileNotFoundException( + $"Could not find issue DOCX file '{fileName}' from '{AppContext.BaseDirectory}'."); + } +} \ No newline at end of file diff --git a/tests/MiniPdf.Tests/DocxToPdfConverterTests.cs b/tests/MiniPdf.Tests/DocxToPdfConverterTests.cs index 9a6d0d8d..5992a731 100644 --- a/tests/MiniPdf.Tests/DocxToPdfConverterTests.cs +++ b/tests/MiniPdf.Tests/DocxToPdfConverterTests.cs @@ -1,10 +1,100 @@ using System.IO.Compression; using System.Text; +using System.Xml.Linq; namespace MiniSoftware.Tests; public class DocxToPdfConverterTests { + [SystemFontTheory("Cambria", "Cambria Bold", "Cambria Bold Italic")] + [InlineData("left", false, 0f)] + [InlineData("center", false, 0f)] + [InlineData("right", false, 0f)] + [InlineData("both", false, 0f)] + [InlineData("left", true, 0f)] + [InlineData("center", true, 0f)] + [InlineData("right", true, 0f)] + [InlineData("both", true, 0f)] + [InlineData("left", false, 0.05f)] + [InlineData("left", false, -0.05f)] + [InlineData("center", false, 0.05f)] + [InlineData("center", false, -0.05f)] + public void Convert_CambriaMixedRuns_UsesPreferredWidthsForWrappingAndRunPositions( + string alignment, bool italicPrefix, float charSpacing) + { + const string prefixText = "Note: "; + const string firstLineTail = "Volume discounts are applied automatically. Contact sales for enterprise agreements"; + const string continuation = "over 100 seats."; + const float lineWidth = 432f; + Assert.True(PdfWriter.TryMeasurePreferredFontWidth("Cambria", prefixText, 11f, + true, italicPrefix, 0f, out var prefixWidth)); + Assert.True(PdfWriter.TryMeasurePreferredFontWidth("Cambria", firstLineTail, 11f, + false, false, charSpacing, out var tailWidth)); + Assert.True(PdfWriter.TryMeasurePreferredFontWidth("Cambria", firstLineTail + " over", 11f, + false, false, charSpacing, out var overflowingTailWidth)); + Assert.True(prefixWidth + tailWidth <= lineWidth); + Assert.True(prefixWidth + overflowingTailWidth > lineWidth); + + using var stream = CreateDocxFromBodyXml( + $""" + + + + {(italicPrefix ? "" : "")} + {prefixText} + + + + {firstLineTail} {continuation} + + + """); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + AddEntry(archive, "word/styles.xml", + """ + + + + + + + """); + stream.Position = 0; + var page = Assert.Single(DocxToPdfConverter.Convert(stream, + new DocxToPdfConverter.ConversionOptions + { + MarginLeft = 90f, + MarginRight = 90f, + UseCalibriWidths = false, + }).Pages); + var lines = page.TextBlocks.GroupBy(block => block.Y).OrderByDescending(line => line.Key).ToList(); + Assert.Equal(2, lines.Count); + Assert.Equal(prefixText + firstLineTail, + string.Concat(lines[0].OrderBy(block => block.X).Select(block => block.Text))); + Assert.Equal(continuation, Assert.Single(lines[1]).Text); + + var prefix = lines[0].Single(block => block.Text == prefixText); + var tail = lines[0].Single(block => block.Text == firstLineTail); + var remainingWidth = lineWidth - prefixWidth - tailWidth; + var expectedX = 90f + (alignment switch + { + "center" => remainingWidth / 2f, + "right" => remainingWidth, + _ => 0f, + }); + Assert.InRange(prefix.X, expectedX - 0.05f, expectedX + 0.05f); + var expectedAdvance = alignment == "both" + ? prefixWidth + prefix.WordSpacing + : prefixWidth; + Assert.InRange(tail.X - prefix.X, expectedAdvance - 0.05f, expectedAdvance + 0.05f); + Assert.InRange(lines[0].Key - lines[1].Key, 14.78f, 14.88f); + var shading = page.RectBlocks.Single(rect => + Math.Abs(rect.X - (tail.X - 0.88f)) < 0.05f + && Math.Abs(rect.Y - (tail.Y - 2.64f)) < 0.05f); + var expectedShadingWidth = (tail.MaxWidth ?? tailWidth) + 1.76f; + Assert.InRange(shading.Width, expectedShadingWidth - 0.05f, expectedShadingWidth + 0.05f); + } + [Fact] public void Convert_SimpleDocx_ProducesValidPdf() { @@ -88,6 +178,191 @@ public void Convert_ManyParagraphs_CreatesMultiplePages() Assert.True(doc.Pages.Count >= 2, $"Expected at least 2 pages, got {doc.Pages.Count}"); } + [Fact] + public void Convert_FirstParagraphSpacingBefore_PreservesFullOffset() + { + using var unspacedStream = CreateDocxWithFirstParagraphSpacingBefore(0); + using var spacedStream = CreateDocxWithFirstParagraphSpacingBefore(480); + + var unspaced = DocxToPdfConverter.Convert(unspacedStream); + var spaced = DocxToPdfConverter.Convert(spacedStream); + var unspacedY = Assert.Single(unspaced.Pages[0].TextBlocks).Y; + var spacedY = Assert.Single(spaced.Pages[0].TextBlocks).Y; + + Assert.InRange(unspacedY - spacedY, 23.9f, 24.1f); + } + + [Fact] + public void Convert_EmptyBorderedParagraph_PreservesItsSpacingBefore() + { + using var unspacedStream = CreateDocxWithEmptyBorderedParagraph(0); + using var spacedStream = CreateDocxWithEmptyBorderedParagraph(120); + + var unspaced = DocxToPdfConverter.Convert(unspacedStream); + var spaced = DocxToPdfConverter.Convert(spacedStream); + var unspacedAfterY = unspaced.Pages[0].TextBlocks.Single(block => block.Text == "After").Y; + var spacedAfterY = spaced.Pages[0].TextBlocks.Single(block => block.Text == "After").Y; + + Assert.InRange(unspacedAfterY - spacedAfterY, 5.9f, 6.1f); + var spacedLine = Assert.Single(spaced.Pages[0].LineBlocks); + + using var zeroBorderSpaceStream = CreateDocxWithEmptyBorderedParagraph(120, borderSpacePt: 0); + var zeroBorderSpace = DocxToPdfConverter.Convert(zeroBorderSpaceStream); + var zeroBorderSpaceLine = Assert.Single(zeroBorderSpace.Pages[0].LineBlocks); + Assert.InRange(spacedLine.Y1 - zeroBorderSpaceLine.Y1, -0.1f, 0.1f); + Assert.InRange(zeroBorderSpaceLine.X1 - spacedLine.X1, 0.9f, 1.1f); + } + + [Theory] + [InlineData(true, 0, false, 25f)] + [InlineData(true, 400, false, 35f)] + [InlineData(false, 0, false, 15f)] + [InlineData(true, 0, true, 15f)] + public void Convert_ParagraphShading_CoversSpacingOnlyBetweenShadedParagraphs( + bool shadeNext, int beforeTwips, bool pageBreak, float expectedHeight) + { + using var stream = CreateDocxFromBodyXml( + $""" + + + + + + First + + + + + {(shadeNext ? """""" : "")} + {(pageBreak ? "" : "")} + + Second + + + + + + """); + var document = DocxToPdfConverter.Convert(stream); + var first = Assert.Single(document.Pages[0].RectBlocks, + rect => rect.FillColor == PdfColor.FromHex("4472C4")); + + Assert.InRange(first.Height, expectedHeight - 0.01f, expectedHeight + 0.01f); + Assert.InRange(first.X, 70.49f, 70.51f); + Assert.InRange(first.Width, 470.99f, 471.01f); + if (shadeNext) + { + var second = Assert.Single(document.Pages.SelectMany(page => page.RectBlocks), + rect => rect.FillColor == PdfColor.FromHex("808080")); + Assert.InRange(second.Height, 14.99f, 15.01f); + if (!pageBreak) + Assert.InRange(first.Y - second.Y - second.Height, -0.01f, 0.01f); + } + Assert.Equal(pageBreak ? 2 : 1, document.Pages.Count); + } + + [Theory] + [InlineData("""""", "")] + [InlineData("""""", "")] + [InlineData("", """""")] + public void Convert_ParagraphShading_DoesNotJoinDifferentParagraphAreas( + string nextProperties, string firstProperties) + { + using var stream = CreateDocxFromBodyXml( + $""" + + + + + {firstProperties} + + First + + + + + + {nextProperties} + + Second + + """); + var document = DocxToPdfConverter.Convert(stream); + var first = Assert.Single(document.Pages.SelectMany(page => page.RectBlocks), + rect => rect.FillColor == PdfColor.FromHex("4472C4")); + + Assert.InRange(first.Height, 14.99f, 15.01f); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void Convert_StyledInvoice_TitleStaysInsideParagraphShading(bool mixedFormatting) + { + using var stream = CreateStyledInvoice(mixedTitleFormatting: mixedFormatting); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var title = page.TextBlocks.Where(block => block.FontSize == 24f).ToArray(); + var shading = Assert.Single(page.RectBlocks, rect => rect.FillColor == PdfColor.FromHex("D6E4F0")); + + Assert.Equal("INVOICE", string.Concat(title.Select(block => block.Text))); + Assert.InRange(page.Height - shading.Y - shading.Height, 71.9f, 72.1f); + Assert.InRange(shading.Height, 32f, 33f); + Assert.All(title, block => + { + Assert.True(block.Y > shading.Y); + Assert.True(block.Y + block.FontSize * 0.8f < shading.Y + shading.Height); + Assert.InRange(page.Height - block.Y, 91f, 99f); + }); + } + + [Fact] + public void Convert_StyledInvoice_LegacyTableAlignsCellContentWithBody() + { + using var stream = CreateStyledInvoice(); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var item = Assert.Single(page.TextBlocks, block => block.Text == "SVC-001"); + var invoice = page.TextBlocks.First(block => block.Text.StartsWith("Invoice #", StringComparison.Ordinal)); + Assert.InRange(item.X - invoice.X, -0.1f, 0.1f); + } + + [Fact] + public void Convert_StyledInvoice_TotalHasDoubleBorderAboveText() + { + using var stream = CreateStyledInvoice(); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var total = Assert.Single(page.TextBlocks, block => block.Text == "Total: $11,825.00"); + var borders = page.LineBlocks.Where(line => line.Color == PdfColor.FromHex("1F4E79")).ToArray(); + + Assert.Equal(2, borders.Length); + Assert.All(borders, border => Assert.InRange(border.Y1 - total.Y, 12f, 20f)); + Assert.InRange(Math.Abs(borders[0].Y1 - borders[1].Y1), 1.4f, 1.6f); + } + + [Fact] + public void Convert_ModernInvoice_TableBorderAlignsWithBody() + { + using var stream = CreateStyledInvoice(compatibilityMode: 15); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var header = page.RectBlocks.First(rect => rect.FillColor == PdfColor.FromHex("1F4E79")); + var invoice = page.TextBlocks.First(block => block.Text.StartsWith("Invoice #", StringComparison.Ordinal)); + + Assert.InRange(header.X - invoice.X, -0.1f, 0.1f); + } + + [Fact] + public void Convert_StyledInvoice_MultilineTitlePreservesBaselineDistance() + { + using var stream = CreateStyledInvoice(multilineTitle: true); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var titleLines = page.TextBlocks.Where(block => block.Text == "INVOICE").ToArray(); + var shading = Assert.Single(page.RectBlocks, rect => rect.FillColor == PdfColor.FromHex("D6E4F0")); + + Assert.Equal(2, titleLines.Length); + Assert.InRange(titleLines[0].Y - titleLines[1].Y, 32f, 33f); + Assert.InRange(shading.Height, 64f, 66f); + Assert.True(titleLines[1].Y > shading.Y); + } + [Fact] public void Convert_WithTable_RendersCellText() { @@ -106,6 +381,337 @@ public void Convert_WithTable_RendersCellText() Assert.Contains("Bob", content); } + [SystemFontTheory("Cambria")] + [InlineData("MiniPdf Professional", "body")] + [InlineData("Integration Consulting", "body")] + [InlineData("Custom Development", "body")] + [InlineData("MiniPdf Professional", "hdr")] + [InlineData("MiniPdf Professional", "ftr")] + public void Convert_CambriaTable_UsesPreferredWidthsForWrappingAndRowHeight(string text, string location) + { + Assert.True(PdfWriter.TryMeasurePreferredFontWidth("Cambria", text, 11, + bold: false, italic: false, charSpacing: 0, out var width)); + Assert.True(width > 97.2f, $"Expected text to exceed the cell's content width, got {width}pt."); + using var stream = CreateDocxWithCambriaTable(text, location); + using var shortStream = CreateDocxWithCambriaTable("Short", location); + var options = new DocxToPdfConverter.ConversionOptions { UseCalibriWidths = false }; + var document = DocxToPdfConverter.Convert(stream, options); + var shortDocument = DocxToPdfConverter.Convert(shortStream, + new DocxToPdfConverter.ConversionOptions { UseCalibriWidths = false }); + var page = Assert.Single(document.Pages); + var words = text.Split(' '); + var first = Assert.Single(page.TextBlocks, block => block.Text == words[0]); + var second = Assert.Single(page.TextBlocks, block => block.Text == words[1]); + var marker = Assert.Single(page.TextBlocks, block => block.Text == "Marker"); + var shortMarker = Assert.Single(shortDocument.Pages[0].TextBlocks, block => block.Text == "Marker"); + + Assert.InRange(first.Y - second.Y, 12.885f, 12.906f); + Assert.True(marker.Y < second.Y); + if (location == "ftr") + { + Assert.InRange(shortMarker.Y - marker.Y, -0.01f, 0.01f); + var shortFirst = Assert.Single(shortDocument.Pages[0].TextBlocks, block => block.Text == "Short"); + Assert.InRange(first.Y - shortFirst.Y, 12.885f, 12.906f); + } + else + { + Assert.InRange(shortMarker.Y - marker.Y, 12.885f, 12.906f); + } + Assert.StartsWith("%PDF-1.4", Encoding.ASCII.GetString(document.ToArray())); + } + + [Theory] + [InlineData(false, 12.045f)] + [InlineData(true, 13.75f)] + public void Convert_ParagraphBeforeTable_OnlyAutoSpacingDropsNextLineAscent(bool exact, float expectedDistance) + { + using var stream = CreateDocxFromBodyXml( + $""" + + + Heading + + + + + Cell + + """); + var document = DocxToPdfConverter.Convert(stream); + var heading = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Heading"); + var cell = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Cell"); + + Assert.InRange(heading.Y - cell.Y, expectedDistance - 0.01f, expectedDistance + 0.01f); + } + + [Theory] + [InlineData(false, 12.4517f)] + [InlineData(true, 14.7964f)] + public void Convert_TableLineHeight_OnlyExplicitParagraphMarkEnlargesSmallRun(bool explicitMark, float expectedDistance) + { + using var stream = CreateDocxWithCambriaTable("Small", "body"); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("word/document.xml")!; + XDocument xml; + using (var reader = new StreamReader(entry.Open())) + xml = XDocument.Load(reader); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var paragraph = xml.Descendants(w + "tc").First().Element(w + "p")!; + paragraph.Element(w + "r")!.Element(w + "rPr")!.Element(w + "sz")!.SetAttributeValue(w + "val", "18"); + if (explicitMark) + paragraph.AddFirst(new XElement(w + "pPr", new XElement(w + "rPr", + new XElement(w + "sz", new XAttribute(w + "val", "22"))))); + entry.Delete(); + AddEntry(archive, "word/document.xml", xml.ToString()); + } + stream.Position = 0; + var document = DocxToPdfConverter.Convert(stream); + var small = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Small"); + var marker = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Marker"); + + Assert.InRange(small.Y - marker.Y, expectedDistance - 0.01f, expectedDistance + 0.01f); + } + + [Theory] + [InlineData("body")] + [InlineData("hdr")] + [InlineData("ftr")] + public void Convert_TableBorders_ReserveStrokeHeightInEveryTableSurface(string location) + { + using var stream = CreateDocxWithCambriaTable("Short", location); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var part = location == "body" ? "word/document.xml" + : location == "hdr" ? "word/header1.xml" : "word/footer1.xml"; + var entry = archive.GetEntry(part)!; + XDocument xml; + using (var reader = new StreamReader(entry.Open())) + xml = XDocument.Load(reader); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + xml.Descendants(w + "tblPr").Single().Add(new XElement(w + "tblBorders", + new[] { "top", "bottom", "insideH" }.Select(edge => + new XElement(w + edge, new XAttribute(w + "val", "single"), new XAttribute(w + "sz", "8"))))); + entry.Delete(); + AddEntry(archive, part, xml.ToString()); + } + stream.Position = 0; + var document = DocxToPdfConverter.Convert(stream); + var first = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Short"); + var marker = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Marker"); + + Assert.InRange(first.Y - marker.Y, 13.885f, 13.906f); + } + + [Theory] + [InlineData(false, 14.8955f)] + [InlineData(true, 27.7915f)] + public void Convert_LargeTitleBeforeTable_EmptyMarkUsesItsOwnAscent(bool insertEmpty, float expectedDistance) + { + using var stream = CreateDocxWithCambriaTable("Short", "body"); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("word/document.xml")!; + XDocument xml; + using (var reader = new StreamReader(entry.Open())) + xml = XDocument.Load(reader); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var body = xml.Root!.Element(w + "body")!; + if (insertEmpty) + body.AddFirst(new XElement(w + "p")); + body.AddFirst(XElement.Parse( + """ + + Title + + """)); + entry.Delete(); + AddEntry(archive, "word/document.xml", xml.ToString()); + } + stream.Position = 0; + var document = DocxToPdfConverter.Convert(stream); + var title = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Title"); + var cell = Assert.Single(document.Pages[0].TextBlocks, block => block.Text == "Short"); + + Assert.InRange(title.Y - cell.Y, expectedDistance - 0.01f, expectedDistance + 0.01f); + } + + [SystemFontTheory("Cambria", "Segoe UI Symbol", "Segoe UI Emoji")] + [InlineData("body", false)] + [InlineData("hdr", false)] + [InlineData("ftr", false)] + [InlineData("body", true)] + [InlineData("hdr", true)] + [InlineData("ftr", true)] + public void Convert_SymbolTable_UsesSymbolAscentAndLineHeight(string location, bool useFallbackFont) + { + using var stream = CreateDocxWithCambriaTable("\u2713", location); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var part = location == "body" ? "word/document.xml" + : location == "hdr" ? "word/header1.xml" : "word/footer1.xml"; + var entry = archive.GetEntry(part)!; + XDocument xml; + using (var source = entry.Open()) + xml = XDocument.Load(source); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var run = xml.Descendants(w + "r").First(); + run.Element(w + "rPr")!.Element(w + "rFonts")!.SetAttributeValue(w + "ascii", "Segoe UI Symbol"); + run.Element(w + "rPr")!.Element(w + "rFonts")!.SetAttributeValue(w + "hAnsi", "Segoe UI Symbol"); + if (useFallbackFont) + run.Element(w + "rPr")!.Element(w + "rFonts")!.Remove(); + entry.Delete(); + AddEntry(archive, part, xml.ToString()); + } + stream.Position = 0; + var page = DocxToPdfConverter.Convert(stream).Pages[0]; + var symbol = page.TextBlocks.Single(block => block.Text == "\u2713"); + var marker = page.TextBlocks.Single(block => block.Text == "Marker"); + var expectedDistance = 11f * ((2210f + 514f + 1946f - 2210f) / 2048f); + + Assert.InRange(symbol.Y - marker.Y, expectedDistance - 0.01f, expectedDistance + 0.01f); + } + + [Fact] + public void Convert_BorderOnlyEmptyParagraph_DoesNotCarryTextAscentIntoFollowingHeading() + { + float HeadingY(int fontSize) + { + using var stream = CreateDocxWithCambriaTable("Short", "body"); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("word/document.xml")!; + XDocument xml; + using (var source = entry.Open()) + xml = XDocument.Load(source); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + xml.Root!.Element(w + "body")!.AddFirst(XElement.Parse( + $""" + + Before + + """), + XElement.Parse( + """ + + + + """), + XElement.Parse( + $""" + + + Heading + + """)); + entry.Delete(); + AddEntry(archive, "word/document.xml", xml.ToString()); + } + stream.Position = 0; + return DocxToPdfConverter.Convert(stream).Pages[0].TextBlocks.Single(block => block.Text == "Heading").Y; + } + + Assert.InRange(HeadingY(13) - HeadingY(11), -0.01f, 0.01f); + } + + [Fact] + public void Convert_CourierParagraph_UsesItsOwnAscentAndLineHeight() + { + using var stream = CreateDocxFromBodyXml( + """ + Before + + + FirstSecond + + """); + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var before = page.TextBlocks.Single(block => block.Text == "Before"); + var first = page.TextBlocks.Single(block => block.Text == "First"); + var second = page.TextBlocks.Single(block => block.Text == "Second"); + var expectedGap = 11f * ((1946f + 455f) / 2048f) * 1.15f + + 9f * (1705f / 2048f) - 11f * (1946f / 2048f); + var expectedLineHeight = 9f * ((1705f + 615f) / 2048f) * 1.15f; + + Assert.InRange(before.Y - first.Y, expectedGap - 0.01f, expectedGap + 0.01f); + Assert.InRange(first.Y - second.Y, expectedLineHeight - 0.01f, expectedLineHeight + 0.01f); + } + + [Theory] + [InlineData("body", "top", -2f)] + [InlineData("body", "center", 1f)] + [InlineData("body", "bottom", 4f)] + [InlineData("hdr", "top", -2f)] + [InlineData("hdr", "center", 1f)] + [InlineData("hdr", "bottom", 4f)] + [InlineData("ftr", "top", -2f)] + [InlineData("ftr", "center", 1f)] + [InlineData("ftr", "bottom", 4f)] + public void Convert_TableVerticalAlignment_ExcludesBorderInsets(string location, string alignment, float expectedOffset) + { + float ConvertCell(bool addBorders) + { + using var stream = CreateDocxWithCambriaTable("Short", location); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var part = location == "body" ? "word/document.xml" + : location == "hdr" ? "word/header1.xml" : "word/footer1.xml"; + var entry = archive.GetEntry(part)!; + XDocument xml; + using (var source = entry.Open()) + xml = XDocument.Load(source); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var table = xml.Descendants(w + "tbl").Single(); + var row = table.Elements(w + "tr").First(); + foreach (var tableRow in table.Elements(w + "tr")) + tableRow.AddFirst(new XElement(w + "trPr", new XElement(w + "trHeight", + new XAttribute(w + "val", 800), new XAttribute(w + "hRule", "exact")))); + var cell = row.Element(w + "tc")!; + cell.AddFirst(new XElement(w + "tcPr", new XElement(w + "vAlign", + new XAttribute(w + "val", alignment)))); + if (addBorders) + table.Element(w + "tblPr")!.Add(new XElement(w + "tblBorders", + new XElement(w + "top", new XAttribute(w + "val", "single"), new XAttribute(w + "sz", 32)), + new XElement(w + "insideH", new XAttribute(w + "val", "single"), new XAttribute(w + "sz", 64)))); + entry.Delete(); + AddEntry(archive, part, xml.ToString()); + } + stream.Position = 0; + return DocxToPdfConverter.Convert(stream).Pages[0].TextBlocks.Single(block => block.Text == "Short").Y; + } + var originalY = ConvertCell(false); + var borderedY = ConvertCell(true); + + Assert.InRange(borderedY - originalY, expectedOffset - 0.01f, expectedOffset + 0.01f); + } + + [Fact] + public void Convert_LargeCambriaFirstRun_AdvancesFollowingParagraphFromRenderedBaseline() + { + PdfDocument ConvertTitle(string markProperties) + { + using var stream = CreateDocxFromBodyXml( + $""" + + {markProperties} + Title + + After + """); + return DocxToPdfConverter.Convert(stream); + } + var inheritedMark = ConvertTitle(""); + var explicitMark = ConvertTitle(""""""); + var title = Assert.Single(inheritedMark.Pages[0].TextBlocks, block => block.Text == "Title"); + var explicitTitle = Assert.Single(explicitMark.Pages[0].TextBlocks, block => block.Text == "Title"); + var after = Assert.Single(inheritedMark.Pages[0].TextBlocks, block => block.Text == "After"); + var explicitAfter = Assert.Single(explicitMark.Pages[0].TextBlocks, block => block.Text == "After"); + + Assert.InRange(title.Y, 700.99f, 701.01f); + Assert.InRange(title.Y - explicitTitle.Y, -0.01f, 0.01f); + Assert.InRange(after.Y - explicitAfter.Y, -0.01f, 0.01f); + } + [Fact] public void Convert_WithBoldText_ProducesPdf() { @@ -147,11 +753,11 @@ public void Convert_ViaPublicApi_AutoDetectsDocx() } [Fact] - public void ConvertDocxToPdf_StreamApi_Works() + public void ConvertToPdf_StreamApi_Works() { using var docxStream = CreateSimpleDocx("Stream API Test"); - var bytes = MiniPdf.ConvertDocxToPdf(docxStream); + var bytes = MiniPdf.ConvertToPdf(docxStream); var content = Encoding.ASCII.GetString(bytes); Assert.StartsWith("%PDF-1.4", content); @@ -171,6 +777,44 @@ public void ConvertToPdf_StreamApi_AutoDetectsDocx() Assert.Contains("%%EOF", content); } + [Fact] + public void ConvertToPdf_StreamOutput_WritesPdfWithoutClosingOutput() + { + using var docxStream = CreateSimpleDocx("Direct Stream Output"); + using var backingStream = new MemoryStream(); + using var pdfStream = new NonSeekableWriteStream(backingStream); + + MiniPdf.ConvertToPdf(docxStream, pdfStream); + pdfStream.WriteByte(0); + var content = Encoding.ASCII.GetString(backingStream.ToArray()); + + Assert.StartsWith("%PDF-1.4", content); + Assert.Contains("Direct Stream Output", content); + } + + private sealed class NonSeekableWriteStream : Stream + { + private readonly Stream _inner; + + internal NonSeekableWriteStream(Stream inner) => _inner = inner; + + public override bool CanRead => false; + public override bool CanSeek => false; + public override bool CanWrite => true; + public override long Length => throw new NotSupportedException(); + public override long Position + { + get => throw new NotSupportedException(); + set => throw new NotSupportedException(); + } + + public override void Flush() => _inner.Flush(); + public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); + public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); + public override void SetLength(long value) => throw new NotSupportedException(); + public override void Write(byte[] buffer, int offset, int count) => _inner.Write(buffer, offset, count); + } + [Fact] public void Convert_FooterPageFieldWithSwitch_RendersPageNumber() { @@ -183,6 +827,76 @@ public void Convert_FooterPageFieldWithSwitch_RendersPageNumber() Assert.Contains("1", texts, StringComparer.Ordinal); } + [Fact] + public void Convert_FooterPageFieldsInTable_RendersPageNumbers() + { + using var docxStream = CreateDocxWithFooterPageFieldsInTable(); + + var doc = DocxToPdfConverter.Convert(docxStream); + + Assert.Equal(2, doc.Pages.Count); + for (var i = 0; i < doc.Pages.Count; i++) + { + var textBlocks = doc.Pages[i].TextBlocks.Select(b => b.Text).ToList(); + var text = string.Concat(textBlocks); + Assert.DoesNotContain("Page {PAGE}", text, StringComparison.Ordinal); + Assert.DoesNotContain("of {NUMPAGES}", text, StringComparison.Ordinal); + Assert.Contains($"Page {i + 1} of 2", textBlocks, StringComparer.Ordinal); + Assert.Contains("Use {PAGE} in the template", textBlocks, StringComparer.Ordinal); + } + } + + [Fact] + public void Convert_FooterPageFieldsInTable_UsesSectionStartWithoutSectionFooter() + { + using var docxStream = CreateDocxWithFooterPageFieldsInTable(pageNumStart: 0); + + var doc = DocxToPdfConverter.Convert(docxStream); + + Assert.Equal(2, doc.Pages.Count); + for (var i = 0; i < doc.Pages.Count; i++) + { + var textBlocks = doc.Pages[i].TextBlocks.Select(b => b.Text).ToList(); + Assert.Contains($"Page {i} of 2", textBlocks, StringComparer.Ordinal); + } + } + + [Fact] + public void Convert_FooterPageFieldsInTable_PreservesBodyWhenResolvedFooterFits() + { + using var docxStream = CreateDocxWithFooterPageFieldsInTable(bodyParagraphCount: 42); + + var doc = DocxToPdfConverter.Convert(docxStream); + + Assert.Equal(2, doc.Pages.Count); + Assert.Equal(42, doc.Pages[0].TextBlocks.Count(b => b.Text == "Body line.")); + } + + [Fact] + public void Convert_ContinuousSectionKeepsFooterMarginAfterPageBreaks() + { + using var docxStream = CreateDocxWithFooterPageFieldsInTable( + bodyParagraphCount: 8, continuousSection: true, secondPageParagraphCount: 55); + + var doc = DocxToPdfConverter.Convert(docxStream); + + Assert.True(doc.Pages.Count >= 3); + Assert.Contains(doc.Pages.Skip(1), page => page.TextBlocks.Any(b => b.Text == "After break line.")); + for (var pageIndex = 0; pageIndex < doc.Pages.Count; pageIndex++) + { + var page = doc.Pages[pageIndex]; + var footerBlocks = page.TextBlocks + .Where(b => b.Text.StartsWith("Page ", StringComparison.Ordinal)) + .ToList(); + Assert.NotEmpty(footerBlocks); + var footerTop = footerBlocks + .Select(b => b.Y + b.FontSize) + .Max(); + foreach (var bodyLine in page.TextBlocks.Where(b => b.Text is "Body line." or "After break line.")) + Assert.True(bodyLine.Y > footerTop + 4f, $"Body text overlaps the footer on page {pageIndex + 1}."); + } + } + [Fact] public void Convert_EmptyTocField_GeneratesHeadingEntries() { @@ -226,6 +940,53 @@ public void Convert_DocxWithPngImage_ProducesValidXrefOffsets() AssertXrefOffsetsAreCorrect(bytes); } + [Theory] + [InlineData("left", 77.4f)] + [InlineData("center", 144f)] + [InlineData("right", 210.6f)] + public void Convert_InlineImageInTable_UsesParagraphAlignment(string alignment, float expectedX) + { + using var stream = CreateDocxWithPngImage(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("word/document.xml")!; + XDocument document; + using (var source = entry.Open()) + document = XDocument.Load(source); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var imageParagraph = document.Descendants(w + "p").Single(p => p.Descendants(w + "drawing").Any()); + var imageCellParagraph = new XElement(imageParagraph); + imageCellParagraph.AddFirst(new XElement(w + "pPr", + new XElement(w + "jc", new XAttribute(w + "val", alignment)))); + imageParagraph.ReplaceWith(new XElement(w + "tbl", + new XElement(w + "tblPr", new XElement(w + "tblW", + new XAttribute(w + "type", "dxa"), new XAttribute(w + "w", 4320))), + new XElement(w + "tblGrid", new XElement(w + "gridCol", new XAttribute(w + "w", 4320))), + new XElement(w + "tr", new XElement(w + "tc", imageCellParagraph)))); + entry.Delete(); + AddEntry(archive, "word/document.xml", document.ToString()); + } + stream.Position = 0; + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var image = Assert.Single(page.ImageBlocks); + + Assert.InRange(image.X, expectedX - 0.1f, expectedX + 0.1f); + } + + [Fact] + public void Convert_ImageOnlyParagraph_AlignsImageToParagraphBaseline() + { + using var docxStream = CreateDocxWithPngImage(); + + var doc = DocxToPdfConverter.Convert(docxStream); + var page = Assert.Single(doc.Pages); + var beforeImage = page.TextBlocks.Single(block => block.Text == "Before image"); + var image = Assert.Single(page.ImageBlocks); + var imageTop = image.Y + image.RenderHeight; + + Assert.InRange(beforeImage.Y - imageTop, 2.9f, 3.1f); + } + [Fact] public void Convert_DocxWithRootRelativeImageRelationship_RendersImage() { @@ -236,6 +997,130 @@ public void Convert_DocxWithRootRelativeImageRelationship_RendersImage() Assert.Contains(doc.Pages, page => page.ImageBlocks.Count > 0); } + [Theory] + [InlineData(11f, 1f, false)] + [InlineData(20f, 1f, false)] + [InlineData(11f, 1.15f, false)] + [InlineData(20f, 1.15f, false)] + [InlineData(11f, 1.5f, false)] + [InlineData(20f, 1.5f, false)] + [InlineData(11f, 1.15f, true)] + [InlineData(20f, 1.5f, true)] + public void Convert_ImageOnlyParagraph_UsesItsOwnAscentForFollowingText( + float precedingFontSize, float lineSpacing, bool followedByTable) + { + using var stream = CreateDocxWithPngImage(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("word/document.xml")!; + XDocument document; + using (var source = entry.Open()) + document = XDocument.Load(source); + XNamespace w = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"; + var paragraphs = document.Descendants(w + "p").ToList(); + foreach (var paragraph in paragraphs) + { + paragraph.AddFirst(new XElement(w + "pPr", + new XElement(w + "rPr", + new XElement(w + "rFonts", new XAttribute(w + "ascii", "Cambria")), + new XElement(w + "sz", new XAttribute(w + "val", 22))), + new XElement(w + "spacing", new XAttribute(w + "line", lineSpacing * 240), + new XAttribute(w + "lineRule", "auto"), new XAttribute(w + "after", 200)))); + } + paragraphs[0].Element(w + "r")!.AddFirst(new XElement(w + "rPr", + new XElement(w + "rFonts", new XAttribute(w + "ascii", "Cambria")), + new XElement(w + "sz", new XAttribute(w + "val", precedingFontSize * 2)))); + if (followedByTable) + paragraphs[2].ReplaceWith(XElement.Parse( + """ + + + + After image + + """)); + entry.Delete(); + AddEntry(archive, "word/document.xml", document.ToString()); + } + stream.Position = 0; + var page = Assert.Single(DocxToPdfConverter.Convert(stream).Pages); + var image = Assert.Single(page.ImageBlocks); + var followingText = page.TextBlocks.Single(block => block.Text == "After image"); + + var leading = 11f * ((1946f + 455f) / 2048f) * (lineSpacing - 1f); + var expectedGap = 11f * (1946f / 2048f) + leading + 10f; + Assert.InRange(image.Y - followingText.Y, expectedGap - 0.1f, expectedGap + 0.1f); + } + + [Theory] + [InlineData(0f, 24f)] + [InlineData(10f, 14f)] + [InlineData(30f, 0f)] + public void Convert_HardSectionBreak_CollapsesSpacingBeforeAcrossSections(float spacingAfter, float expectedBefore) + { + using var stream = CreateDocxFromBodyXml( + $""" + + + + + + + + + First section + + + + Next section + + """); + var document = DocxToPdfConverter.Convert(stream); + Assert.Equal(2, document.Pages.Count); + var followingText = Assert.Single(document.Pages[1].TextBlocks); + var expectedY = 792f - 72f - expectedBefore - 11f * (1946f / 2048f); + + Assert.InRange(followingText.Y, expectedY - 0.1f, expectedY + 0.1f); + } + + [Fact] + public void Convert_InlineImageThatDoesNotFit_MovesToNextPageWithoutClipping() + { + // Small page so a few filler lines plus a moderate image cannot share one page. + var options = new DocxToPdfConverter.ConversionOptions + { + PageWidth = 400, + PageHeight = 400, + MarginTop = 40, + MarginBottom = 40, + MarginLeft = 40, + MarginRight = 40, + }; + // ~260pt image: fits on a fresh page (usable height 320) but not once the + // filler lines have consumed most of page 1. + const long imageEmu = 260L * 12700L; + using var docxStream = CreateDocxWithFillerThenTallImage( + fillerParagraphs: 10, imageCxEmu: imageEmu, imageCyEmu: imageEmu); + + var doc = DocxToPdfConverter.Convert(docxStream, options); + + var placed = doc.Pages + .Select((page, index) => (page, index)) + .SelectMany(entry => entry.page.ImageBlocks.Select(block => (entry.index, block))) + .ToList(); + Assert.Single(placed); + var (pageIndex, image) = placed[0]; + + // The whole image must move to a later page rather than being clipped at the + // bottom of page 1 (the behavior this fix restores). + Assert.True(pageIndex >= 1, $"Expected the image on a page after the first; got page {pageIndex + 1}."); + // And it must sit fully inside the printable area, not off the bottom edge. + Assert.True(image.Y >= options.MarginBottom, + $"Image bottom {image.Y} is below the bottom margin {options.MarginBottom} (clipped)."); + Assert.True(image.Y + image.RenderHeight <= options.PageHeight - options.MarginTop + 0.5f, + $"Image top {image.Y + image.RenderHeight} exceeds the printable area."); + } + private static void AssertXrefOffsetsAreCorrect(byte[] pdfBytes) { var text = Encoding.GetEncoding("iso-8859-1").GetString(pdfBytes); @@ -370,39 +1255,136 @@ private static MemoryStream CreateDocxWithPngImage( return ms; } - /// Creates a minimal valid RGBA PNG file (with alpha channel). - private static byte[] CreateMinimalRgbaPng(int width, int height) + /// + /// Builds a DOCX with a run of filler paragraphs followed by a single inline + /// image of the given EMU size, used to exercise page-break handling when the + /// image cannot fit in the remaining space on the current page. + /// + private static MemoryStream CreateDocxWithFillerThenTallImage( + int fillerParagraphs, long imageCxEmu, long imageCyEmu) { - using var ms = new MemoryStream(); - // PNG signature - ms.Write(new byte[] { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }, 0, 8); + var ms = new MemoryStream(); + var pngBytes = CreateMinimalRgbaPng(4, 4); - // IHDR chunk - var ihdr = new byte[13]; - WriteBigEndian(ihdr, 0, width); - WriteBigEndian(ihdr, 4, height); - ihdr[8] = 8; // bit depth - ihdr[9] = 6; // color type: RGBA - ihdr[10] = 0; // compression - ihdr[11] = 0; // filter - ihdr[12] = 0; // interlace - WritePngChunk(ms, "IHDR", ihdr); + var filler = string.Concat(Enumerable.Range(0, fillerParagraphs) + .Select(i => $"Filler line {i}")); - // IDAT chunk: raw scanlines with filter byte 0 (None) per row - var rawData = new byte[height * (1 + width * 4)]; // filter byte + RGBA per pixel - for (var y = 0; y < height; y++) + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) { - var rowStart = y * (1 + width * 4); - rawData[rowStart] = 0; // filter: None - for (var x = 0; x < width; x++) - { - var px = rowStart + 1 + x * 4; - rawData[px] = 0x33; // R - rawData[px + 1] = 0x66; // G - rawData[px + 2] = 0x99; // B - rawData[px + 3] = 0x80; // A (semi-transparent) - } - } + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/_rels/document.xml.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + $$""" + + + + {{filler}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + """); + + var imgEntry = archive.CreateEntry("word/media/image1.png"); + using (var imgStream = imgEntry.Open()) + imgStream.Write(pngBytes, 0, pngBytes.Length); + } + + ms.Position = 0; + return ms; + } + + /// Creates a minimal valid RGBA PNG file (with alpha channel). + private static byte[] CreateMinimalRgbaPng(int width, int height) + { + using var ms = new MemoryStream(); + // PNG signature + ms.Write(new byte[] { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }, 0, 8); + + // IHDR chunk + var ihdr = new byte[13]; + WriteBigEndian(ihdr, 0, width); + WriteBigEndian(ihdr, 4, height); + ihdr[8] = 8; // bit depth + ihdr[9] = 6; // color type: RGBA + ihdr[10] = 0; // compression + ihdr[11] = 0; // filter + ihdr[12] = 0; // interlace + WritePngChunk(ms, "IHDR", ihdr); + + // IDAT chunk: raw scanlines with filter byte 0 (None) per row + var rawData = new byte[height * (1 + width * 4)]; // filter byte + RGBA per pixel + for (var y = 0; y < height; y++) + { + var rowStart = y * (1 + width * 4); + rawData[rowStart] = 0; // filter: None + for (var x = 0; x < width; x++) + { + var px = rowStart + 1 + x * 4; + rawData[px] = 0x33; // R + rawData[px + 1] = 0x66; // G + rawData[px + 2] = 0x99; // B + rawData[px + 3] = 0x80; // A (semi-transparent) + } + } // Compress with zlib using var compressedMs = new MemoryStream(); @@ -457,6 +1439,210 @@ private static uint ComputeCrc32(byte[] data) return crc ^ 0xFFFFFFFF; } + [Fact] + public void Convert_HeaderTextBox_WrapsTextWithinBox() + { + var longText = string.Concat(Enumerable.Repeat("個資蒐集處理及使用聲明", 20)); + using var docxStream = CreateDocxWithHeaderTextBox(longText, offsetEmu: -457200, widthEmu: 5080000); + + var doc = DocxToPdfConverter.Convert(docxStream); + var lines = doc.Pages[0].TextBlocks.Where(b => b.Text != "Body").ToList(); + + // 400pt box minus 7.2pt insets, 72pt margin, -36pt column offset + Assert.True(lines.Count > 1, "header text box paragraph should wrap"); + Assert.Equal(longText, string.Concat(lines.Select(l => l.Text))); + Assert.All(lines, l => Assert.Equal(72f - 36f + 7.2f, l.X, 0.01f)); + Assert.All(lines, l => Assert.True(l.Text.Length * l.FontSize <= 400f - 14.4f + 0.01f)); + } + + [Fact] + public void Convert_HeaderTextBox_SplitsOversizedUnbreakableWord() + { + var longText = new string('W', 180); + using var docxStream = CreateDocxWithHeaderTextBox(longText, offsetEmu: -457200, widthEmu: 5080000); + + var doc = DocxToPdfConverter.Convert(docxStream); + var lines = doc.Pages[0].TextBlocks.Where(b => b.Text != "Body").ToList(); + + Assert.True(lines.Count > 1, "oversized word should wrap"); + Assert.Equal(longText, string.Concat(lines.Select(l => l.Text))); + Assert.All(lines, l => Assert.True(l.Text.Length * l.FontSize * 0.9f <= 385.6f)); + Assert.All(lines, l => Assert.True(l.MaxWidth.HasValue && Math.Abs(l.MaxWidth.Value - 385.6f) < 0.01f)); + } + + [Fact] + public void Convert_WrappedFooterParagraph_StaysAboveFooterMargin() + { + var longText = string.Join(" ", Enumerable.Repeat("Footer notice text", 30)); + using var docxStream = CreateDocxWithFooter(longText, footerTwips: 360); + + var doc = DocxToPdfConverter.Convert(docxStream); + var lines = doc.Pages[0].TextBlocks.Where(b => b.Text != "Body").ToList(); + + // Every wrapped line must fit in the reserved footer area, above the 18pt footer margin. + Assert.True(lines.Count > 1, "footer paragraph should wrap"); + Assert.All(lines, l => Assert.True(l.Y >= 18f, $"footer line at y={l.Y} is below the footer margin")); + } + + [Fact] + public void Convert_WrappedFooterWithRunFontSize_StaysAboveFooterMargin() + { + var longText = string.Join(" ", Enumerable.Repeat("Footer notice text", 30)); + using var docxStream = CreateDocxWithFooter(longText, footerTwips: 360, runHalfPoints: 36); + + var doc = DocxToPdfConverter.Convert(docxStream); + var lines = doc.Pages[0].TextBlocks.Where(b => b.Text != "Body").ToList(); + + Assert.True(lines.Count > 1, "footer paragraph should wrap"); + Assert.All(lines, l => Assert.True(l.Y >= 18f, $"footer line at y={l.Y} is below the footer margin")); + } + + private static MemoryStream CreateDocxWithFooter(string text, int footerTwips, int? runHalfPoints = null) + { + var ms = new MemoryStream(); + var runProperties = runHalfPoints.HasValue ? $"" : ""; + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/_rels/document.xml.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + $""" + + + + Body + + + + + + + + """); + + AddEntry(archive, "word/footer1.xml", + $""" + + + {runProperties}{EscapeXml(text)} + + """); + } + + ms.Position = 0; + return ms; + } + + private static MemoryStream CreateDocxWithHeaderTextBox(string text, long offsetEmu, long widthEmu) + { + var ms = new MemoryStream(); + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/_rels/document.xml.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + """ + + + + Body + + + + + + + + """); + + AddEntry(archive, "word/header1.xml", + $""" + + + + + + {offsetEmu} + 0 + + + + + + + + {EscapeXml(text)} + + + + + + + + """); + } + + ms.Position = 0; + return ms; + } + private static MemoryStream CreateSimpleDocx(params string[] paragraphs) { var ms = new MemoryStream(); @@ -508,6 +1694,184 @@ private static MemoryStream CreateSimpleDocx(params string[] paragraphs) return ms; } + private static MemoryStream CreateStyledInvoice(int compatibilityMode = 14, bool mixedTitleFormatting = false, + bool multilineTitle = false) + { + var titleRuns = mixedTitleFormatting + ? """ + IN + VOICE + """ + : """INVOICE"""; + if (multilineTitle) + titleRuns += """INVOICE"""; + var stream = CreateSimpleDocx(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + archive.GetEntry("word/document.xml")!.Delete(); + AddEntry(archive, "word/document.xml", + $$""" + + + + + {{titleRuns}} + + + Invoice #: INV-2025-0099 + Date: 2025-06-15 + + + + + + + + + + + + + Item + Description + + + SVC-001 + Web Development + + + + Subtotal: $10,750.00 + Tax (10%): $1,075.00 + + + Total: $11,825.00 + + + + + """); + AddEntry(archive, "word/styles.xml", + """ + + + + + + + + + + """); + AddEntry(archive, "word/settings.xml", + $$""" + + + + """); + } + stream.Position = 0; + return stream; + } + + private static MemoryStream CreateDocxWithFirstParagraphSpacingBefore(int beforeTwips) + { + var ms = new MemoryStream(); + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + $$""" + + + + + + First paragraph + + + + """); + } + + ms.Position = 0; + return ms; + } + + private static MemoryStream CreateDocxWithEmptyBorderedParagraph(int beforeTwips, int lineTwips = 276, int borderSpacePt = 1) + { + var ms = new MemoryStream(); + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + $$""" + + + + Before + + + + + + + After + + + """); + + AddEntry(archive, "word/styles.xml", + $$""" + + + + + + + """); + } + + ms.Position = 0; + return ms; + } + private static MemoryStream CreateDocxWithTable(params string[][] rows) { var ms = new MemoryStream(); @@ -568,6 +1932,64 @@ private static MemoryStream CreateDocxWithTable(params string[][] rows) return ms; } + private static MemoryStream CreateDocxWithCambriaTable(string text, string location) + { + var table = $""" + + + + + + + + + + + + {EscapeXml(text)} + + + + Marker + + + """; + var part = location == "hdr" ? "header" : "footer"; + var stream = CreateDocxFromBodyXml( + location == "body" ? table : $""" + Body + + + + + """); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "word/styles.xml", + """ + + + + + + + """); + if (location != "body") + { + AddEntry(archive, "word/_rels/document.xml.rels", + $""" + + + + """); + AddEntry(archive, $"word/{part}1.xml", + $"""{table}"""); + } + } + stream.Position = 0; + return stream; + } + private static MemoryStream CreateDocxWithBold(string boldText) { var ms = new MemoryStream(); @@ -684,6 +2106,123 @@ private static MemoryStream CreateDocxWithFooterPageField(string fieldInstructio return ms; } + private static MemoryStream CreateDocxWithFooterPageFieldsInTable(int? pageNumStart = null, int bodyParagraphCount = 0, + bool continuousSection = false, int secondPageParagraphCount = 0) + { + var ms = new MemoryStream(); + var bodyParagraphs = string.Concat(Enumerable.Repeat( + "Body line.", bodyParagraphCount)); + var afterPageBreakParagraphs = string.Concat(Enumerable.Repeat( + "After break line.", secondPageParagraphCount)); + var continuousSectionBreak = continuousSection + ? "" + : string.Empty; + var continuousSectionLayout = continuousSection + ? "" + : string.Empty; + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "word/_rels/document.xml.rels", + """ + + + + + """); + + AddEntry(archive, "word/document.xml", + $""" + + + + First page + {continuousSectionBreak} + {bodyParagraphs} + + Second page + {afterPageBreakParagraphs} + + + {(pageNumStart is int start ? $"" : string.Empty)} + {continuousSectionLayout} + + + + """); + + AddEntry(archive, "word/footer1.xml", + """ + + + + + + + + + + + + Document no: 1 + + + + + Page + + PAGE + + 1 + + of + + NUMPAGES + + 1 + + + + + + + + Use {PAGE} in the template + + + + + + + + + + """); + } + + ms.Position = 0; + return ms; + } + private static MemoryStream CreateDocxWithEmptyTocField() { return CreateDocxFromBodyXml( diff --git a/tests/MiniPdf.Tests/EmfNativePlaybackTests.cs b/tests/MiniPdf.Tests/EmfNativePlaybackTests.cs new file mode 100644 index 00000000..ce27f282 --- /dev/null +++ b/tests/MiniPdf.Tests/EmfNativePlaybackTests.cs @@ -0,0 +1,332 @@ +using System.Buffers.Binary; +using System.Runtime.InteropServices; +using static MiniSoftware.Tests.EmfVectorRendererTests; + +namespace MiniSoftware.Tests; + +public sealed class WindowsEmfTheoryAttribute : TheoryAttribute +{ + public WindowsEmfTheoryAttribute() + { + if (!OperatingSystem.IsWindows()) Skip = "Native EMF playback comparisons require Windows GDI."; + } +} + +public class EmfNativePlaybackTests +{ + [WindowsGlyphTheory] + [InlineData(28f, 28f, false)] + [InlineData(28f, 28f, true)] + [InlineData(27.447916f, 27.407408f, false)] + [InlineData(27.447916f, 27.407408f, true)] + [InlineData(2f, 1f, false)] + [InlineData(2f, 1f, true)] + [InlineData(1f, 2f, false)] + [InlineData(1f, 2f, true)] + public void CompatibleTextScaleMetadataMatchesNativeReference(float xScale, float yScale, bool explicitSpacing) + { + var ratio = yScale / xScale; + byte[] Metafile(float x, float y, bool transformedReference = false) + { + var advance = transformedReference ? (int)Math.Round(12 / ratio) : 12; + var text = TextRecord(4, 24, new ushort[] { 65, 65 }, 0, explicitSpacing ? new[] { advance, advance } : null); + Set(text, 24, transformedReference ? 2u : 1u); + Set(text, 28, BitConverter.SingleToUInt32Bits(x)); + Set(text, 32, BitConverter.SingleToUInt32Bits(y)); + var records = new List { FontRecord("Arial"), Record(37, 1), Record(18, 1), Record(22, 24) }; + if (transformedReference) + records.Add(Record(35, BitConverter.SingleToUInt32Bits(ratio), 0, 0, 0x3F800000, + BitConverter.SingleToUInt32Bits(4 - 4 * ratio), 0)); + records.Add(text); + return FrameMetafile("sparse-bounds", records.ToArray()); + } + var expected = PlayNative(Metafile(1, 1, true), 32, 32); + var emf = Metafile(xScale, yScale); + var native = PlayNative(emf, 32, 32); + Assert.Equal(expected.Where((_, index) => index % 4 != 3), + native.Where((_, index) => index % 4 != 3)); + + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + Assert.Equal(EmfVectorRenderer.Render(Metafile(1, 1, true), 32, 32, (_, _, _) => font), + EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font)); + } + + [WindowsEmfTheory] + [InlineData("sparse-bounds")] + [InlineData("offset-frame")] + [InlineData("different-device-resolutions")] + [InlineData("micrometers")] + [InlineData("single-pixel-bounds")] + public void PlacesInkRelativeToPhysicalFrameRatherThanDrawingBounds(string scenario) + { + var emf = FrameMetafile(scenario); + const int size = 64; + + var actual = Decode(EmfVectorRenderer.Render(emf, size, size), size, size); + var expected = PlayNative(emf, size, size); + + AssertPixelsEqual(actual, expected, size, size); + } + + [WindowsEmfTheory] + [InlineData("reset")] + [InlineData("copy")] + [InlineData("intersect")] + [InlineData("empty")] + [InlineData("device-coordinates")] + [InlineData("metadata")] + [InlineData("stock-font")] + public void ClippingAndMetadataMatchNativePlayback(string scenario) + { + var records = new List { Record(37, 0x80000008), Record(37, 0x80000004) }; + if (scenario == "reset") { records.Add(Record(30, 8, 8, 12, 12)); records.Add(Record(75, 0, 5)); } + if (scenario == "copy") records.Add(Region(5)); + if (scenario == "intersect") { records.Add(Record(30, 4, 4, 10, 10)); records.Add(Region(1)); } + if (scenario == "empty") records.Add(Record(75, 32, 5, 32, 1, 0, 0, 0, 0, 0, 0)); + if (scenario == "stock-font") records.Add(Record(37, 0x8000000D)); + if (scenario == "device-coordinates") + { + records.Add(Record(17, 8)); records.Add(Record(9, 32, 32)); records.Add(Record(11, 64, 64)); + records.Add(Record(35, 0x3F800000, 0, 0, 0x3F800000, 0x40800000, 0x40800000)); + records.Add(Region(5)); + } + if (scenario == "metadata") + { + records.Add(Record(70, 4, 0x12345678)); + records.Add(Record(70, 28, 0x43494447, 2, 0, 0, 32, 32, 0)); + records.Add(Record(48, 0x8000000F)); + } + records.Add(Record(3, 0, 0, 31, 31, 4, 0, 0, 32, 0, 32, 32, 0, 32)); + if (scenario == "metadata") records.Add(Record(70, 8, 0x43494447, 3)); + var emf = FrameMetafile("sparse-bounds", records.ToArray()); + + var actual = Decode(EmfVectorRenderer.Render(emf, 64, 64), 64, 64); + var expected = PlayNative(emf, 64, 64); + + AssertPixelsEqual(actual, expected, 64, 64); + } + + internal static byte[] Region(uint mode) => + Record(75, 48, mode, 32, 1, 1, 16, 8, 8, 12, 12, 8, 8, 12, 12); + + [WindowsEmfTheory] + [InlineData(0x000000u)] + [InlineData(0xFFFFFFu)] + [InlineData(0x123456u)] + public void PaletteRgbColorsMatchNativeTrueColorPlayback(uint color) + { + byte[] Metafile(uint value) + { + var text = TextRecord(0, 0, Array.Empty(), 2); + Set(text, 56, 20); Set(text, 60, 4); Set(text, 64, 24); Set(text, 68, 8); + return FrameMetafile("sparse-bounds", Record(37, 0x80000008), + Record(39, 1, 0, value, 0), Record(37, 1), Record(43, 4, 4, 12, 12), + Record(38, 2, 0, 0, 0, value), Record(37, 2), Record(27, 4, 16), Record(54, 12, 16), + Record(15, 20, 20, value), Record(24, value), Record(25, value), text); + } + var expected = PlayNative(Metafile(color), 32, 32); + var emf = Metafile(color | 0x02000000); + var native = PlayNative(emf, 32, 32); + Assert.Equal(expected.Where((_, index) => index % 4 != 3), + native.Where((_, index) => index % 4 != 3)); + + var actual = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + AssertPixelsEqual(actual, expected, 32, 32); + } + + [WindowsEmfTheory] + [InlineData(0u)] + [InlineData(1u)] + [InlineData(4u)] + [InlineData(11u)] + [InlineData(13u)] + [InlineData(16u)] + public void DestinationIndependentRasterOperationsMatchNativePlayback(uint operation) + { + var text = TextRecord(0, 0, Array.Empty(), 2); + Set(text, 56, 20); Set(text, 60, 4); Set(text, 64, 24); Set(text, 68, 8); + var emf = FrameMetafile("sparse-bounds", Record(37, 0x80000008), Record(39, 1, 0, 0x112233, 0), + Record(37, 1), Record(43, 0, 0, 32, 32), Record(20, operation), Record(39, 2, 0, 0x123456, 0), + Record(37, 2), Record(43, 4, 4, 12, 12), Record(38, 3, 0, 0, 0, 0x654321), + Record(37, 3), Record(27, 4, 16), Record(54, 12, 16), Record(15, 20, 20, 0xABCDEF), + Record(25, 0x345678), text); + var expected = PlayNative(emf, 32, 32); + + var actual = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + AssertPixelsEqual(actual, expected, 32, 32); + } + + [WindowsEmfTheory] + [InlineData(128, false)] + [InlineData(128, true)] + [InlineData(255, false)] + [InlineData(255, true)] + public void ReservedAlphaBlendFlagsMatchNativePlayback(int flags, bool perPixelAlpha) + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 64, 128 }, alphaBlend: true, imageWidth: 1); + var blend = 0x00FF0000u | (perPixelAlpha ? 0x01000000u : 0); + Set(bitmap, 40, blend); + var expected = PlayNative(FrameMetafile("sparse-bounds", bitmap), 32, 32); + Assert.Contains(expected, value => value != 255); + + Set(bitmap, 40, blend | (uint)flags << 8); + var emf = FrameMetafile("sparse-bounds", bitmap); + var native = PlayNative(emf, 32, 32); + Assert.Equal(expected.Where((_, index) => index % 4 != 3), + native.Where((_, index) => index % 4 != 3)); + + var actual = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + AssertPixelsEqual(actual, expected, 32, 32); + } + + [WindowsEmfTheory] + [InlineData(0, "upscale")] + [InlineData(1, "identity")] + [InlineData(1, "downscale")] + [InlineData(1, "nonuniform")] + public void CreatedThinPensMatchNativeScaling(uint penWidth, string scenario) + { + var records = new List { Record(38, 1, 0, penWidth, 0, 0), Record(37, 1) }; + if (scenario is "upscale" or "identity") + { + records.Add(Record(27, 4, 8)); records.Add(Record(54, 20, 8)); + } + else + { + records.Add(Record(17, 8)); records.Add(Record(9, 256, 256)); + records.Add(Record(11, 32, scenario == "nonuniform" ? 16u : 32u)); + records.Add(Record(27, 32, scenario == "nonuniform" ? 128u : 64u)); + records.Add(Record(54, 128, scenario == "nonuniform" ? 128u : 64u)); + } + var emf = FrameMetafile("sparse-bounds", records.ToArray()); + var size = scenario == "identity" ? 32 : 64; + var expected = PlayNative(emf, size, size); + var actual = Decode(EmfVectorRenderer.Render(emf, size, size), size, size); + + AssertPixelsEqual(actual, expected, size, size); + } + + [WindowsEmfTheory] + [InlineData(64)] + public void RejectsScaledPensRequiringWideRasterization(int size) + { + var emf = FrameMetafile("sparse-bounds", Record(38, 1, 0, 1, 0, 0), Record(37, 1), + Record(27, 4, 8), Record(54, 20, 8)); + var expected = PlayNative(emf, size, size); + Assert.Equal(0, expected[(15 * size + 9) * 4]); + Assert.Equal(0, expected[(16 * size + 9) * 4]); + + var error = Assert.Throws(() => EmfVectorRenderer.Render(emf, size, size)); + Assert.Contains("wider than one device pixel", error.Message); + } + + internal static byte[] FrameMetafile(string scenario, params byte[][] records) + { + var emf = Build(records.Length == 0 ? new[] + { + Record(37, 0x80000008), Record(37, 0x80000004), + Record(3, 8, 8, 15, 15, 4, 8, 8, 16, 8, 16, 16, 8, 16) + } : records); + if (scenario == "single-pixel-bounds") emf = Build(Record(15, 8, 8, 0x0000FF)); + Set(emf, 8, 8); Set(emf, 12, 8); Set(emf, 16, 15); Set(emf, 20, 15); + if (records.Length != 0) { Set(emf, 8, 0); Set(emf, 12, 0); Set(emf, 16, 63); Set(emf, 20, 63); } + Set(emf, 32, 800); Set(emf, 36, 800); + Set(emf, 72, 32); Set(emf, 76, 32); Set(emf, 80, 8); Set(emf, 84, 8); + if (scenario == "single-pixel-bounds") { Set(emf, 16, 8); Set(emf, 20, 8); } + if (scenario == "offset-frame") + { + Set(emf, 24, 200); Set(emf, 28, 200); Set(emf, 32, 1000); Set(emf, 36, 1000); + } + if (scenario == "different-device-resolutions") { Set(emf, 80, 16); Set(emf, 32, 1600); } + if (scenario == "micrometers") + { + var extended = new byte[emf.Length + 20]; + Buffer.BlockCopy(emf, 0, extended, 0, 88); + Buffer.BlockCopy(emf, 88, extended, 108, emf.Length - 88); + emf = extended; + Set(emf, 4, 108); Set(emf, 48, (uint)emf.Length); + Set(emf, 100, 16000); Set(emf, 104, 16000); + } + return emf; + } + + internal static void Set(byte[] bytes, int offset, uint value) => + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(offset), value); + + internal static void AssertPixelsEqual(byte[] actual, byte[] expected, int width, int height) + { + for (var y = 0; y < height; y++) + { + for (var x = 0; x < width; x++) + { + var offset = (y * width + x) * 4; + var alpha = actual[offset + 3]; + for (var channel = 0; channel < 3; channel++) + { + var value = (actual[offset + channel] * alpha + 255 * (255 - alpha) + 127) / 255; + Assert.True(value == expected[offset + 2 - channel], + $"Native EMF mismatch at ({x}, {y}), channel {channel}: " + + $"managed {value}, native {expected[offset + 2 - channel]}."); + } + } + } + } + + internal static byte[] PlayNative(byte[] emf, int width, int height) + { + var metafile = SetEnhMetaFileBits((uint)emf.Length, emf); + Assert.NotEqual(IntPtr.Zero, metafile); + var dc = CreateCompatibleDC(IntPtr.Zero); + var bitmap = IntPtr.Zero; + var previous = IntPtr.Zero; + try + { + Assert.NotEqual(IntPtr.Zero, dc); + var info = new byte[40]; + BinaryPrimitives.WriteInt32LittleEndian(info, 40); + BinaryPrimitives.WriteInt32LittleEndian(info.AsSpan(4), width); + BinaryPrimitives.WriteInt32LittleEndian(info.AsSpan(8), -height); + BinaryPrimitives.WriteInt16LittleEndian(info.AsSpan(12), 1); + BinaryPrimitives.WriteInt16LittleEndian(info.AsSpan(14), 32); + bitmap = CreateDIBSection(dc, info, 0, out var bits, IntPtr.Zero, 0); + Assert.NotEqual(IntPtr.Zero, bitmap); + previous = SelectObject(dc, bitmap); + Assert.NotEqual(IntPtr.Zero, previous); + var pixels = Enumerable.Repeat((byte)255, width * height * 4).ToArray(); + Marshal.Copy(pixels, 0, bits, pixels.Length); + var bounds = new NativeRect { Right = width, Bottom = height }; + Assert.True(PlayEnhMetaFile(dc, metafile, ref bounds)); + Assert.True(GdiFlush()); + Marshal.Copy(bits, pixels, 0, pixels.Length); + return pixels; + } + finally + { + if (previous != IntPtr.Zero) SelectObject(dc, previous); + if (bitmap != IntPtr.Zero) DeleteObject(bitmap); + if (dc != IntPtr.Zero) DeleteDC(dc); + DeleteEnhMetaFile(metafile); + } + } + + [StructLayout(LayoutKind.Sequential)] + private struct NativeRect { internal int Left, Top, Right, Bottom; } + [DllImport("gdi32.dll")] + private static extern IntPtr SetEnhMetaFileBits(uint length, byte[] bytes); + [DllImport("gdi32.dll")] + private static extern bool DeleteEnhMetaFile(IntPtr metafile); + [DllImport("gdi32.dll")] + private static extern IntPtr CreateCompatibleDC(IntPtr dc); + [DllImport("gdi32.dll")] + private static extern bool DeleteDC(IntPtr dc); + [DllImport("gdi32.dll")] + private static extern IntPtr CreateDIBSection(IntPtr dc, byte[] info, uint usage, out IntPtr bits, IntPtr section, uint offset); + [DllImport("gdi32.dll")] + private static extern IntPtr SelectObject(IntPtr dc, IntPtr value); + [DllImport("gdi32.dll")] + private static extern bool DeleteObject(IntPtr value); + [DllImport("gdi32.dll")] + private static extern bool PlayEnhMetaFile(IntPtr dc, IntPtr metafile, ref NativeRect bounds); + [DllImport("gdi32.dll")] + private static extern bool GdiFlush(); +} diff --git a/tests/MiniPdf.Tests/EmfVectorRendererTests.cs b/tests/MiniPdf.Tests/EmfVectorRendererTests.cs new file mode 100644 index 00000000..0ca06317 --- /dev/null +++ b/tests/MiniPdf.Tests/EmfVectorRendererTests.cs @@ -0,0 +1,1579 @@ +using System.Buffers.Binary; +using System.IO.Compression; + +namespace MiniSoftware.Tests; + +public class EmfVectorRendererTests +{ + [Theory] + [InlineData(0x01000000u)] + [InlineData(0x03000000u)] + [InlineData(0xFF000000u)] + public void RejectsIndexedOrUnsupportedColorEncodings(uint color) + { + Assert.Throws(() => + EmfVectorRenderer.Render(Build(Record(24, color)), 32, 32)); + } + + [Theory] + [InlineData(0u, 255, 255, 255, 255)] + [InlineData(1u, 0, 0, 0, 255)] + [InlineData(4u, 169, 203, 237, 255)] + [InlineData(11u, 0, 0, 0, 0)] + [InlineData(13u, 86, 52, 18, 255)] + [InlineData(16u, 255, 255, 255, 255)] + public void RasterOperationsPreserveTransparencyAndDoNotAffectTextOrBitmaps( + uint operation, byte red, byte green, byte blue, byte alpha) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 255, 0 }, alphaBlend: true, imageWidth: 1); + Set(bitmap, 24, 16); Set(bitmap, 28, 16); Set(bitmap, 32, 4); Set(bitmap, 36, 4); + Set(bitmap, 40, 0x00FF0000); + var emf = Build(Record(20, operation), Record(15, 30, 30, 0x123456), bitmap, + FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), Record(24, 0x020000FF), + TextRecord(4, 24, new ushort[] { 1 }, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 30, 30, red, green, blue, alpha); + AssertPixel(pixels, 32, 17, 17, 255, 0, 0, 255); + AssertPixel(pixels, 32, 5, 11, 255, 0, 0, 255); + } + + [Fact] + public void RestoresRasterOperationAlongWithDeviceContext() + { + var emf = Build(Record(20, 0), Record(33), Record(20, 1), Record(15, 4, 4, 0x123456), + Record(34, uint.MaxValue), Record(15, 5, 4, 0x123456), Record(20, 13), Record(15, 6, 4, 0x123456)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 4, 4, 0, 0, 0, 255); + AssertPixel(pixels, 32, 5, 4, 255, 255, 255, 255); + AssertPixel(pixels, 32, 6, 4, 86, 52, 18, 255); + } + + [Theory] + [InlineData(6u)] + [InlineData(7u)] + [InlineData(9u)] + [InlineData(17u)] + public void UnsupportedRasterOperationsDoNotReturnPartialImages(uint operation) + { + Assert.Throws(() => + EmfVectorRenderer.Render(Build(Record(15, 4, 4, 0x123456), Record(20, operation)), 32, 32)); + } + + [Fact] + public void StockFontSelectionClearsExplicitFontWithoutSuppressingOtherDrawing() + { + var pixel = Record(15, 4, 4, 0x123456); + var emf = Build(Record(37, 0x8000000D), pixel); + Assert.Equal(EmfVectorRenderer.Render(Build(pixel), 32, 32), EmfVectorRenderer.Render(emf, 32, 32)); + + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = Build(FontRecord(), Record(37, 1), Record(37, 0x8000000D), Record(18, 1), + Record(22, 24), TextRecord(4, 24, new ushort[] { 1 }, 16)); + Assert.Throws(() => EmfVectorRenderer.Render(text, 32, 32, (_, _, _) => font)); + } + + [Fact] + public void RestoresExplicitFontAfterStockFontSelection() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = TextRecord(4, 24, new ushort[] { 1 }, 16); + var baseline = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), text); + var saved = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), Record(33), + Record(37, 0x8000000D), Record(34, uint.MaxValue), text); + + Assert.Equal(EmfVectorRenderer.Render(baseline, 32, 32, (_, _, _) => font), + EmfVectorRenderer.Render(saved, 32, 32, (_, _, _) => font)); + } + + [Fact] + public void RendersPolygonAndLineWithIndependentPngEncoding() + { + var emf = Build( + Record(39, 1, 0, 0x0000FF, 0), + Record(37, 1), + Record(37, 0x80000008), + Polygon16((4, 4), (28, 4), (4, 28)), + Record(38, 2, 0, 0, 0, 0xFF0000), + Record(37, 2), + Record(27, 4, 30), + Record(54, 28, 30)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 6, 6, 255, 0, 0, 255); + AssertPixel(pixels, 32, 26, 26, 0, 0, 0, 0); + AssertPixel(pixels, 32, 15, 30, 0, 0, 255, 255); + AssertPixel(pixels, 32, 15, 29, 0, 0, 0, 0); + AssertPixel(pixels, 32, 28, 30, 0, 0, 0, 0); + } + + [Fact] + public void RectangleOutlineExcludesRightAndBottomEdges() + { + var emf = Build(Record(37, 0x80000005), Record(43, 4, 4, 12, 12)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 4, 4, 0, 0, 0, 255); + AssertPixel(pixels, 32, 11, 11, 0, 0, 0, 255); + AssertPixel(pixels, 32, 12, 8, 0, 0, 0, 0); + AssertPixel(pixels, 32, 8, 12, 0, 0, 0, 0); + AssertPixel(pixels, 32, 8, 8, 0, 0, 0, 0); + } + + [Fact] + public void CroppingUsesRenderedPixelsAndPreservesAlpha() + { + var emf = Build(Record(37, 0x80000008), Record(39, 1, 0, 0x0000FF, 0), Record(37, 1), Record(43, 4, 4, 20, 20)); + var png = EmfVectorRenderer.RenderCropped(emf, 32, 32, null, 0.25f, 0.125f, 0.25f, 0.125f); + var pixels = Decode(png, 16, 24); + + AssertPixel(pixels, 16, 1, 1, 255, 0, 0, 255); + AssertPixel(pixels, 16, 12, 16, 0, 0, 0, 0); + } + + [Theory] + [InlineData(0u, 4u)] + [InlineData(2u, 28u)] + [InlineData(6u, 16u)] + public void TopAlignedTextUsesTheFontCellAscent(uint alignment, uint referenceX) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + byte[] RenderText(uint align, uint y) => EmfVectorRenderer.Render( + Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, align), + TextRecord(referenceX, y, new ushort[] { 1, 1 }, 16)), 32, 32, (_, _, _) => font); + + Assert.Equal(RenderText(alignment + 24, 24), RenderText(alignment, 4)); + } + + [Theory] + [InlineData('ề')] + [InlineData('修')] + public void SimpleUnicodeTextUsesCmapInsteadOfRequiringGlyphIndices(char character) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var cmap = TrueTypeGlyphReaderTests.TableOffset(font, "cmap"); + TrueTypeGlyphReaderTests.Write16(font, cmap + 26, character); + TrueTypeGlyphReaderTests.Write16(font, cmap + 32, character); + TrueTypeGlyphReaderTests.Write16(font, cmap + 36, 1 - character); + byte[] RenderText(ushort value, uint options) => EmfVectorRenderer.Render( + Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new[] { value }, options)), 32, 32, (_, _, _) => font); + + Assert.Equal(RenderText(1, 16), RenderText(character, 0)); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void SyntheticBoldOverstrikesWithoutReplacingTheFamily(bool suppliedAdvances) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + TrueTypeGlyphReaderTests.Write16(font, TrueTypeGlyphReaderTests.TableOffset(font, "OS/2") + 4, 400); + var definition = FontRecord(); Set(definition, 28, 700); + var emf = Build(definition, Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new ushort[] { 1, 1 }, 16, suppliedAdvances ? new[] { 12, 12 } : null)); + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 14, 11, 0, 0, 0, 255); + AssertPixel(pixels, 32, suppliedAdvances ? 17 : 18, 11, 0, 0, 0, 255); + } + + [Theory] + [InlineData(1, false)] + [InlineData(2, true)] + public void HonorsPolygonFillRule(uint fillMode, bool centerIsFilled) + { + var emf = Build( + Record(37, 0x80000008), + Record(37, 0x80000004), + Record(19, fillMode), + Polygon16((4, 4), (28, 4), (28, 28), (4, 28), (4, 4), + (10, 10), (22, 10), (22, 22), (10, 22), (10, 10), (4, 4))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 16, 0, 0, 0, centerIsFilled ? (byte)255 : (byte)0); + AssertPixel(pixels, 32, 6, 16, 0, 0, 0, 255); + } + + [Theory] + [InlineData(-1)] + [InlineData(1)] + public void RestoresMappingBrushAndClipTogether(int restoreLevel) + { + var emf = Build( + Record(39, 1, 0, 0x0000FF, 0), + Record(37, 1), + Record(37, 0x80000008), + Record(33), + Record(17, 8), + Record(9, 64, 64), + Record(11, 32, 32), + Record(30, 8, 8, 24, 24), + Record(43, 0, 0, 64, 64), + Record(37, 0x80000004), + Record(34, unchecked((uint)restoreLevel)), + Record(43, 24, 24, 30, 30)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 3, 3, 0, 0, 0, 0); + AssertPixel(pixels, 32, 4, 4, 255, 0, 0, 255); + AssertPixel(pixels, 32, 12, 12, 0, 0, 0, 0); + AssertPixel(pixels, 32, 25, 25, 255, 0, 0, 255); + } + + [Fact] + public void AppliesNegativeViewportExtentWithoutOverflowingExtremeCoordinates() + { + var emf = Build( + Record(17, 8), + Record(9, 32, 32), + Record(11, unchecked((uint)-32), 32), + Record(12, 32, 0), + Record(37, 0x80000008), + Record(37, 0x80000004), + Record(43, 0, 0, 8, 8), + Record(43, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 25, 4, 0, 0, 0, 255); + AssertPixel(pixels, 32, 4, 4, 0, 0, 0, 0); + } + + [Fact] + public void PhysicalFramePreservesWhitespaceAroundSparseDrawingBounds() + { + var emf = EmfNativePlaybackTests.FrameMetafile("sparse-bounds"); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 64, 64), 64, 64); + + AssertPixel(pixels, 64, 0, 0, 0, 0, 0, 0); + AssertPixel(pixels, 64, 16, 16, 0, 0, 0, 255); + AssertPixel(pixels, 64, 31, 31, 0, 0, 0, 255); + AssertPixel(pixels, 64, 32, 32, 0, 0, 0, 0); + } + + [Fact] + public void NullClipResetCanBeRestoredWithTheDeviceContext() + { + var emf = Build(Record(30, 8, 8, 12, 12), Record(33), Record(75, 0, 5), + Record(15, 2, 2, 0x0000FF), Record(34, uint.MaxValue), + Record(15, 4, 4, 0xFF0000), Record(15, 9, 9, 0xFF0000)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 2, 2, 255, 0, 0, 255); + AssertPixel(pixels, 32, 4, 4, 0, 0, 0, 0); + AssertPixel(pixels, 32, 9, 9, 0, 0, 255, 255); + } + + [Fact] + public void PrivateGroupAndOriginalWmfCommentsDoNotAddDrawing() + { + var emf = Build(Record(70, 3, 0x00434241), + Record(70, 28, 0x43494447, 2, 0, 0, 32, 32, 0), + Record(70, 24, 0x43494447, 0x80000001, 0x300, 0, 0, 0), + Record(15, 8, 8, 0x0000FF), Record(70, 8, 0x43494447, 3)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 8, 255, 0, 0, 255); + Assert.Single(pixels.Where((value, index) => index % 4 == 3 && value != 0)); + } + + [Theory] + [InlineData("comment-length")] + [InlineData("comment-padding")] + [InlineData("group-description")] + [InlineData("unclosed-group")] + [InlineData("unexpected-group-end")] + [InlineData("wmf-length")] + [InlineData("region-size")] + [InlineData("region-count")] + [InlineData("region-null")] + public void RejectsMalformedCommentsAndRegions(string defect) + { + var record = defect switch + { + "comment-length" => Record(70, uint.MaxValue), + "comment-padding" => Record(70, 0, 0), + "group-description" => Record(70, 28, 0x43494447, 2, 0, 0, 32, 32, uint.MaxValue), + "unclosed-group" => Record(70, 28, 0x43494447, 2, 0, 0, 32, 32, 0), + "unexpected-group-end" => Record(70, 8, 0x43494447, 3), + "wmf-length" => Record(70, 24, 0x43494447, 0x80000001, 0x300, 0, 0, uint.MaxValue), + "region-size" => Record(75, uint.MaxValue, 5), + "region-count" => Record(75, 32, 5, 32, 1, 1, 16, 8, 8, 12, 12), + _ => Record(75, 0, 1) + }; + + Assert.Throws(() => EmfVectorRenderer.Render(Build(record), 32, 32)); + } + + [Theory] + [InlineData(0)] + public void RenderingExtensionsAreNotSilentlySkipped(uint identifier) + { + var emf = Build(Record(15, 1, 1, 0x0000FF), Record(70, 4, identifier)); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void EmptyEmfPlusCommentIsRejectedAsInvalid() + { + Assert.Throws(() => EmfVectorRenderer.Render(Build(Record(70, 4, 0x2B464D45)), 32, 32)); + } + + [Fact] + public void GdiOnlyEmfPlusProcessesOnlyTheGetDcScope() + { + var emf = Build(PlusRecord(0x4001, 1, 0xDBC01002, 0, 96, 96), Record(15, 1, 1, 0x0000FF), + PlusRecord(0x4004), Record(15, 4, 4, 0x0000FF), + PlusRecord(0x402B), Record(15, 8, 8, 0xFF0000), PlusRecord(0x4002)); + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + AssertPixel(pixels, 32, 1, 1, 0, 0, 0, 0); + AssertPixel(pixels, 32, 4, 4, 255, 0, 0, 255); + AssertPixel(pixels, 32, 8, 8, 0, 0, 0, 0); + } + + [Theory] + [InlineData("drawing")] + [InlineData("repeated-dc")] + public void UnsupportedEmfPlusSemanticsDoNotReturnPartialPictures(string feature) + { + var unsupported = feature == "drawing" ? PlusRecord(0x4009, 0, 0xFFFFFFFF) : PlusRecord(0x4004); + var emf = Build(PlusRecord(0x4001, 1, 0xDBC01002, 0, 96, 96), PlusRecord(0x4004), + Record(15, 4, 4, 0x0000FF), unsupported, PlusRecord(0x4002)); + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Theory] + [InlineData("missing-header")] + [InlineData("missing-eof")] + [InlineData("bad-size")] + public void RejectsMalformedEmfPlusStreams(string defect) + { + var header = PlusRecord(0x4001, 1, 0xDBC01002, 0, 96, 96); + if (defect == "bad-size") Set(header, 20, uint.MaxValue); + var records = new List(); + if (defect != "missing-header") records.Add(header); + records.Add(PlusRecord(0x4004)); + if (defect != "missing-eof") records.Add(PlusRecord(0x4002)); + Assert.Throws(() => EmfVectorRenderer.Render(Build(records.ToArray()), 32, 32)); + } + + private static byte[] PlusRecord(ushort type, ushort flags = 0, params uint[] data) => + Record(70, new uint[] { (uint)(16 + data.Length * 4), 0x2B464D45, + type | (uint)flags << 16, (uint)(12 + data.Length * 4), (uint)data.Length * 4 }.Concat(data).ToArray()); + + [Theory] + [InlineData(83)] + [InlineData(78)] + [InlineData(76)] + public void UnsupportedRecordsDoNotProducePartialImages(uint recordType) + { + var emf = Build(Record(15, 1, 1, 0x0000FF), Record(recordType)); + + var exception = Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + + Assert.Contains(recordType.ToString(), exception.Message); + } + + [Theory] + [InlineData("size")] + [InlineData("truncated")] + [InlineData("missing-eof")] + [InlineData("count")] + [InlineData("handles")] + [InlineData("zero-extent")] + [InlineData("restore")] + public void RejectsMalformedInputs(string defect) + { + var emf = defect switch + { + "truncated" => Build(Record(15, 1)), + "handles" => Build(Record(37, 3)), + "zero-extent" => Build(Record(9, 0, 32)), + "restore" => Build(Record(34, unchecked((uint)-1))), + _ => Build(Record(15, 1, 1, 0x0000FF)) + }; + if (defect == "size") BinaryPrimitives.WriteUInt32LittleEndian(emf.AsSpan(92), uint.MaxValue); + if (defect == "count") BinaryPrimitives.WriteUInt32LittleEndian(emf.AsSpan(52), 999); + if (defect == "missing-eof") + { + Array.Resize(ref emf, emf.Length - 20); + BinaryPrimitives.WriteUInt32LittleEndian(emf.AsSpan(48), (uint)emf.Length); + } + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void RejectsZeroOutputDimensions() + { + Assert.Throws(() => EmfVectorRenderer.Render(Build(), 0, 32)); + } + + [Fact] + public void RejectsExcessiveDeviceContextNesting() + { + var emf = Build(Enumerable.Range(0, 1025).Select(_ => Record(33)).ToArray()); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void ClipsExtremeSetPixelCoordinatesBeforeIntegerConversion() + { + var emf = Build( + Record(17, 8), + Record(9, 1, 1), + Record(11, int.MaxValue, int.MaxValue), + Record(15, int.MaxValue, int.MaxValue, 0x0000FF), + Record(15, 0, 0, 0xFF0000)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 0, 0, 0, 0, 255, 255); + Assert.Equal(1, Enumerable.Range(0, 32 * 32).Count(index => pixels[index * 4 + 3] != 0)); + } + + [Theory] + [InlineData(2, 8)] + [InlineData(3, 12)] + public void ComposesWorldTransformsInSpecifiedMultiplicationOrder(uint mode, int expectedLeft) + { + var emf = Build(Record(37, 0x80000008), Record(37, 0x80000004), + WorldRecord(35, new float[] { 1, 0, 0, 1, 4, 0 }), + WorldRecord(36, new float[] { 2, 0, 0, 2, 0, 0 }, mode), + Polygon16((2, 2), (4, 2), (4, 4), (2, 4))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, expectedLeft + 1, 5, 0, 0, 0, 255); + AssertPixel(pixels, 32, expectedLeft - 1, 5, 0, 0, 0, 0); + } + + [Fact] + public void RotatesWorldCoordinatesBeforePageMapping() + { + var emf = Build(Record(37, 0x80000008), Record(37, 0x80000004), + WorldRecord(35, new float[] { 0, 1, -1, 0, 20, 0 }), + Polygon16((2, 2), (6, 2), (6, 6), (2, 6))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 15, 3, 0, 0, 0, 255); + AssertPixel(pixels, 32, 3, 3, 0, 0, 0, 0); + } + + [Fact] + public void RestoresWorldTransformWithDeviceContext() + { + var emf = Build(Record(37, 0x80000008), Record(37, 0x80000004), + WorldRecord(35, new float[] { 1, 0, 0, 1, 8, 4 }), Record(33), + WorldRecord(35, new float[] { 1, 0, 0, 1, 20, 20 }), Record(34, unchecked((uint)-1)), + Polygon16((2, 2), (6, 2), (6, 6), (2, 6))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 11, 7, 0, 0, 0, 255); + AssertPixel(pixels, 32, 23, 23, 0, 0, 0, 0); + } + + [Fact] + public void IdentityModificationIgnoresUnusedTransformBytes() + { + var emf = Build(Record(37, 0x80000008), Record(37, 0x80000004), + WorldRecord(35, new float[] { 1, 0, 0, 1, 20, 20 }), + WorldRecord(36, Enumerable.Repeat(float.NaN, 6).ToArray(), 1), + Polygon16((2, 2), (6, 2), (6, 6), (2, 6))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 3, 3, 0, 0, 0, 255); + AssertPixel(pixels, 32, 23, 23, 0, 0, 0, 0); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void RejectsRotatedBitmapAndRectangularClipRatherThanUsingIncorrectBounds(bool bitmap) + { + var operation = bitmap ? BitmapRecord(24, -2, ColorPixels(24, true, false)) : Record(30, 0, 0, 12, 12); + var emf = Build(WorldRecord(35, new float[] { 0, 1, -1, 0, 20, 0 }), operation); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void RejectsSingularOrNonfiniteWorldTransforms(bool nonfinite) + { + var emf = Build(WorldRecord(35, nonfinite + ? new float[] { float.PositiveInfinity, 0, 0, 1, 0, 0 } + : new float[] { 1, 1, 1, 1, 0, 0 })); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void CapturingAPathDoesNotImmediatelyPaintIt() + { + var emf = Build(Record(59), Record(27, 4, 4), Record(54, 28, 4), + Record(54, 28, 28), Record(60)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + Assert.All(pixels, value => Assert.Equal(0, value)); + } + + [Theory] + [InlineData(62)] + [InlineData(63)] + [InlineData(64)] + public void PathPaintingDistinguishesFillStrokeAndImplicitClosure(uint operation) + { + var emf = Build(Record(39, 1, 0, 0x0000FF, 0), Record(37, 1), + Record(38, 2, 0, 0, 0, 0xFF0000), Record(37, 2), + Record(59), Record(27, 4, 4), Record(54, 28, 4), Record(54, 28, 28), + Record(54, 4, 28), Record(60), Record(operation, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 16, operation == 64 ? (byte)0 : (byte)255, 0, 0, operation == 64 ? (byte)0 : (byte)255); + AssertPixel(pixels, 32, 16, 4, operation == 62 ? (byte)255 : (byte)0, 0, operation == 62 ? (byte)0 : (byte)255, 255); + if (operation == 64) AssertPixel(pixels, 32, 4, 16, 0, 0, 0, 0); + else AssertPixel(pixels, 32, 4, 16, operation == 62 ? (byte)255 : (byte)0, 0, operation == 62 ? (byte)0 : (byte)255, 255); + } + + [Fact] + public void PathPointsRemainInDeviceSpaceAfterTransformChanges() + { + var emf = Build(Record(37, 0x80000004), Record(59), + Record(27, 4, 4), Record(54, 12, 4), Record(54, 12, 12), Record(54, 4, 12), Record(61), + Record(60), WorldRecord(35, new float[] { 1, 0, 0, 1, 16, 16 }), Record(62, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 6, 6, 0, 0, 0, 255); + AssertPixel(pixels, 32, 22, 22, 0, 0, 0, 0); + } + + [Fact] + public void TransformChangeBeforeFirstPathSegmentUsesTheTransformedLogicalCurrentPosition() + { + var emf = Build(Record(37, 0x80000004), Record(59), Record(27, 4, 4), + WorldRecord(35, new float[] { 1, 0, 0, 1, 8, 0 }), + Record(54, 12, 4), Record(54, 12, 12), Record(54, 4, 12), Record(61), Record(60), + WorldRecord(35, new float[] { 1, 0, 0, 1, 0, 0 }), Record(62, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 5, 5, 0, 0, 0, 0); + AssertPixel(pixels, 32, 13, 5, 0, 0, 0, 255); + } + + [Fact] + public void TransformChangeAfterPathSegmentBeginsANewFigureInsteadOfBridgingDevicePositions() + { + var emf = Build(Record(59), Record(27, 4, 4), Record(54, 12, 4), + WorldRecord(35, new float[] { 1, 0, 0, 1, 8, 0 }), + Record(54, 12, 12), Record(60), WorldRecord(35, new float[] { 1, 0, 0, 1, 0, 0 }), + Record(64, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 4, 0, 0, 0, 255); + AssertPixel(pixels, 32, 20, 8, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 8, 0, 0, 0, 0); + } + + [Fact] + public void CosmeticPenRemainsOneDevicePixelWideWhenOutputIsScaled() + { + var emf = Build(Record(27, 4, 4), Record(54, 28, 4)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 128, 128), 128, 128); + + AssertPixel(pixels, 128, 32, 16, 0, 0, 0, 255); + AssertPixel(pixels, 128, 32, 15, 0, 0, 0, 0); + AssertPixel(pixels, 128, 32, 17, 0, 0, 0, 0); + Assert.Equal(96, Enumerable.Range(0, 128 * 128).Count(index => pixels[index * 4 + 3] != 0)); + } + + [Fact] + public void ClipsCosmeticLineBeforeRasterizingExtremeIntegerCoordinates() + { + var emf = Build(Record(27, unchecked((uint)int.MinValue), 16), Record(54, int.MaxValue, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 0, 16, 0, 0, 0, 255); + AssertPixel(pixels, 32, 31, 16, 0, 0, 0, 255); + Assert.Equal(32, Enumerable.Range(0, 32 * 32).Count(index => pixels[index * 4 + 3] != 0)); + } + + [Fact] + public void RejectsStrokeCoordinatesBeyondTheClippingPrecisionLimit() + { + var emf = Build(WorldRecord(35, new float[] { 1e20f, 0, 0, 1, 0, 0 }), Record(54, 28, 4)); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void PreservesCollinearBezierExcursionsWhenStartAndEndCoincide() + { + var emf = Build(PointsRecord(2, (8, 16), (28, 16), (-12, 16), (8, 16))); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 3, 16, 0, 0, 0, 255); + AssertPixel(pixels, 32, 13, 16, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 16, 0, 0, 0, 0); + } + + [Theory] + [InlineData(1, false)] + [InlineData(2, true)] + public void FillsMultiplePathFiguresTogetherSoHolesRespectTheFillRule(uint fillMode, bool filled) + { + var emf = Build(Record(37, 0x80000004), Record(19, fillMode), Record(59), + Polygon16((4, 4), (28, 4), (28, 28), (4, 28)), + Polygon16((10, 10), (22, 10), (22, 22), (10, 22)), + Record(60), Record(62, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 16, 0, 0, 0, filled ? (byte)255 : (byte)0); + AssertPixel(pixels, 32, 6, 16, 0, 0, 0, 255); + } + + [Theory] + [InlineData(2)] + [InlineData(5)] + [InlineData(85)] + [InlineData(88)] + public void Flattens32And16BitCubicPathsWithoutFillingTheirControlPolygon(uint type) + { + var continues = type is 5 or 88; + var points = continues + ? new[] { (4, 4), (28, 4), (28, 24) } + : new[] { (4, 24), (4, 4), (28, 4), (28, 24) }; + var emf = Build(Record(37, 0x80000004), Record(59), Record(27, 4, 24), + PointsRecord(type, points), Record(60), Record(62, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 16, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 8, 0, 0, 0, 0); + AssertPixel(pixels, 32, 16, 10, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 25, 0, 0, 0, 0); + } + + [Theory] + [InlineData(6)] + [InlineData(89)] + public void PolylineToUpdatesCurrentPositionForSubsequentDrawing(uint type) + { + var emf = Build(Record(27, 4, 4), PointsRecord(type, (28, 4), (28, 28)), Record(54, 4, 28)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 4, 0, 0, 0, 255); + AssertPixel(pixels, 32, 28, 16, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 28, 0, 0, 0, 255); + AssertPixel(pixels, 32, 4, 16, 0, 0, 0, 0); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void BeginAndAbortDiscardEarlierPaths(bool abort) + { + var records = new List { Record(37, 0x80000004), Record(59), Polygon16((4, 4), (12, 4), (4, 12)) }; + if (abort) records.Add(Record(68)); + records.AddRange(new[] { Record(59), Polygon16((20, 20), (28, 20), (20, 28)), Record(60), Record(62, 0, 0, 32, 32) }); + + var pixels = Decode(EmfVectorRenderer.Render(Build(records.ToArray()), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 5, 5, 0, 0, 0, 0); + AssertPixel(pixels, 32, 21, 21, 0, 0, 0, 255); + } + + [Fact] + public void ClosingFigureDoesNotMoveCurrentPositionAndSubsequentLineStartsANewFigure() + { + var emf = Build(Record(59), Record(27, 4, 4), Record(54, 12, 4), Record(54, 12, 12), + Record(61), Record(54, 20, 12), Record(60), Record(64, 0, 0, 32, 32)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 16, 12, 0, 0, 0, 255); + AssertPixel(pixels, 32, 16, 8, 0, 0, 0, 0); + } + + [Theory] + [InlineData("end")] + [InlineData("close")] + [InlineData("paint-open")] + [InlineData("paint-twice")] + [InlineData("curve-count")] + public void RejectsInvalidPathSequencesAndCubicPointCounts(string defect) + { + var records = defect switch + { + "end" => new[] { Record(60) }, + "close" => new[] { Record(59), Record(61) }, + "paint-open" => new[] { Record(59), Record(62, 0, 0, 32, 32) }, + "paint-twice" => new[] { Record(59), Record(60), Record(62, 0, 0, 32, 32), Record(62, 0, 0, 32, 32) }, + _ => new[] { PointsRecord(5, (4, 4), (12, 12)) } + }; + + Assert.Throws(() => EmfVectorRenderer.Render(Build(records), 32, 32)); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void RejectsUnimplementedDeviceContextSavingWithPendingPath(bool restore) + { + var records = restore + ? new[] { Record(33), Record(59), Record(34, unchecked((uint)-1)) } + : new[] { Record(59), Record(33) }; + + Assert.Throws(() => EmfVectorRenderer.Render(Build(records), 32, 32)); + } + + private static byte[] WorldRecord(uint type, float[] values, uint mode = 0) + { + var bytes = new byte[type == 36 ? 36 : 32]; + Set(bytes, 0, type); + Set(bytes, 4, (uint)bytes.Length); + for (var index = 0; index < 6; index++) + BinaryPrimitives.WriteSingleLittleEndian(bytes.AsSpan(8 + index * 4), values[index]); + if (type == 36) Set(bytes, 32, mode); + return bytes; + } + + private static byte[] PointsRecord(uint type, params (int X, int Y)[] points) + { + var stride = type >= 85 ? 4 : 8; + var bytes = new byte[28 + points.Length * stride]; + Set(bytes, 0, type); + Set(bytes, 4, (uint)bytes.Length); + Set(bytes, 24, (uint)points.Length); + for (var index = 0; index < points.Length; index++) + { + if (stride == 4) + { + BinaryPrimitives.WriteInt16LittleEndian(bytes.AsSpan(28 + index * stride), checked((short)points[index].X)); + BinaryPrimitives.WriteInt16LittleEndian(bytes.AsSpan(30 + index * stride), checked((short)points[index].Y)); + } + else + { + Set(bytes, 28 + index * stride, unchecked((uint)points[index].X)); + Set(bytes, 32 + index * stride, unchecked((uint)points[index].Y)); + } + } + return bytes; + } + + [Theory] + [InlineData(16, false, false)] + [InlineData(16, true, false)] + [InlineData(16, false, true)] + [InlineData(16, true, true)] + [InlineData(24, false, false)] + [InlineData(24, true, false)] + [InlineData(32, false, false)] + [InlineData(32, true, false)] + [InlineData(32, false, true)] + [InlineData(32, true, true)] + public void RendersDibColorsRowOrientationAndPadding(int bitCount, bool topDown, bool bitfields) + { + uint[]? masks = !bitfields ? null : bitCount == 16 + ? new uint[] { 0xF800, 0x07E0, 0x001F } + : new uint[] { 0xFF0000, 0x00FF00, 0x0000FF }; + var bitmap = BitmapRecord(bitCount, topDown ? -2 : 2, ColorPixels(bitCount, topDown, bitfields), masks: masks); + var emf = Build(Record(21, 3), bitmap); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 6, 6, 255, 0, 0, 255); + AssertPixel(pixels, 32, 17, 6, 0, 255, 0, 255); + AssertPixel(pixels, 32, 6, 17, 0, 0, 255, 255); + AssertPixel(pixels, 32, 17, 17, 255, 255, 255, 255); + AssertPixel(pixels, 32, 2, 2, 0, 0, 0, 0); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void CropsDibSourceFromBottomRegardlessOfStorageDirection(bool topDown) + { + var bitmap = BitmapRecord(24, topDown ? -2 : 2, ColorPixels(24, topDown, false)); + Set(bitmap, 36, 0); + Set(bitmap, 44, 1); + var emf = Build(Record(21, 3), bitmap); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 6, 6, 0, 0, 255, 255); + AssertPixel(pixels, 32, 17, 6, 255, 255, 255, 255); + } + + [Fact] + public void AppliesDibMirroringMappingAndClip() + { + var bitmap = BitmapRecord(24, -2, ColorPixels(24, true, false)); + Set(bitmap, 24, 40); + Set(bitmap, 28, 8); + Set(bitmap, 72, unchecked((uint)-32)); + Set(bitmap, 76, 32); + var emf = Build(Record(17, 8), Record(9, 64, 64), Record(11, 32, 32), + Record(30, 16, 8, 40, 32), Record(21, 3), bitmap); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 6, 0, 255, 0, 255); + AssertPixel(pixels, 32, 17, 6, 255, 0, 0, 255); + AssertPixel(pixels, 32, 7, 6, 0, 0, 0, 0); + AssertPixel(pixels, 32, 8, 16, 0, 0, 0, 0); + } + + [Theory] + [InlineData(true)] + [InlineData(false)] + public void MirroredDibExtentsIncludeStartPixelAndExcludeEndPixel(bool horizontal) + { + var bitmap = BitmapRecord(24, -2, ColorPixels(24, true, false)); + Set(bitmap, horizontal ? 24 : 28, 20); + Set(bitmap, horizontal ? 72 : 76, unchecked((uint)-16)); + + var pixels = Decode(EmfVectorRenderer.Render(Build(Record(21, 3), bitmap), 32, 32), 32, 32); + + void Check(int coordinate, params byte[] expected) => + AssertPixel(pixels, 32, horizontal ? coordinate : 6, horizontal ? 6 : coordinate, expected); + Check(4, 0, 0, 0, 0); + Check(5, 0, horizontal ? (byte)255 : (byte)0, horizontal ? (byte)0 : (byte)255, 255); + Check(12, 0, horizontal ? (byte)255 : (byte)0, horizontal ? (byte)0 : (byte)255, 255); + Check(13, 255, 0, 0, 255); + Check(20, 255, 0, 0, 255); + Check(21, 0, 0, 0, 0); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void AlphaBlendUsesTopLeftSourceDcCoordinatesRegardlessOfDibStorage(bool topDown) + { + var bitmap = BitmapRecord(32, topDown ? -2 : 2, ColorPixels(32, topDown, false), alphaBlend: true); + Set(bitmap, 40, 0x00FF0000); + Set(bitmap, 104, 1); + + var pixels = Decode(EmfVectorRenderer.Render(Build(bitmap), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 6, 6, 255, 0, 0, 255); + AssertPixel(pixels, 32, 17, 6, 0, 255, 0, 255); + } + + [Fact] + public void NormalizesNonstandardContiguousDibMasks() + { + var bitmap = BitmapRecord(16, -1, new byte[] { 16, 0, 0, 0 }, + masks: new uint[] { 0x001F, 0x03E0, 0x7C00 }, imageWidth: 1); + var pixels = Decode(EmfVectorRenderer.Render(Build(Record(21, 3), bitmap), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 8, 132, 0, 0, 255); + } + + [Theory] + [InlineData(0, false)] + [InlineData(128, false)] + [InlineData(255, false)] + [InlineData(0, true)] + [InlineData(128, true)] + [InlineData(255, true)] + public void CombinesPremultipliedPixelAndConstantAlpha(int constantAlpha, bool opaqueBackground) + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 128, 128 }, alphaBlend: true, + masks: new uint[] { 0xFF0000, 0x00FF00, 0x0000FF }, imageWidth: 1); + Set(bitmap, 40, 0x01000000 | (uint)constantAlpha << 16); + var records = new List(); + if (opaqueBackground) + { + records.Add(Record(39, 1, 0, 0xFF0000, 0)); + records.Add(Record(37, 1)); + records.Add(Record(37, 0x80000008)); + records.Add(Record(43, 0, 0, 32, 32)); + } + records.Add(bitmap); + var pixels = Decode(EmfVectorRenderer.Render(Build(records.ToArray()), 32, 32), 32, 32); + + var alpha = (byte)Math.Round(128 * constantAlpha / 255d); + if (opaqueBackground) + AssertPixel(pixels, 32, 8, 8, alpha, 0, (byte)(255 - alpha), 255); + else + AssertPixel(pixels, 32, 8, 8, alpha == 0 ? (byte)0 : (byte)255, 0, 0, alpha); + } + + [Fact] + public void CompositesMultipleLayersWithoutTreatingStraightPngChannelsAsPremultiplied() + { + var red = BitmapRecord(32, -1, new byte[] { 0, 0, 128, 128 }, alphaBlend: true, imageWidth: 1); + var blue = BitmapRecord(32, -1, new byte[] { 64, 0, 0, 64 }, alphaBlend: true, imageWidth: 1); + + var pixels = Decode(EmfVectorRenderer.Render(Build(red, blue), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 8, 153, 0, 102, 160); + } + + [Fact] + public void IgnoresReservedDibAlphaWhenPerPixelAlphaFlagIsAbsent() + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 255, 0 }, alphaBlend: true, imageWidth: 1); + Set(bitmap, 40, 0x00800000); + + var pixels = Decode(EmfVectorRenderer.Render(Build(bitmap), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 8, 8, 255, 0, 0, 128); + } + + [Theory] + [InlineData(128, false)] + [InlineData(128, true)] + [InlineData(255, false)] + [InlineData(255, true)] + public void ReservedBlendFlagsPreserveConstantAndPerPixelAlpha(int flags, bool perPixelAlpha) + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 64, 128 }, alphaBlend: true, imageWidth: 1); + var blend = 0x00800000u | (perPixelAlpha ? 0x01000000u : 0); + Set(bitmap, 40, blend); + var expected = EmfVectorRenderer.Render(Build(bitmap), 32, 32); + + Set(bitmap, 40, blend | (uint)flags << 8); + var actual = EmfVectorRenderer.Render(Build(bitmap), 32, 32); + + Assert.Equal(expected, actual); + AssertPixel(Decode(actual, 32, 32), 32, 8, 8, + perPixelAlpha ? (byte)128 : (byte)64, 0, 0, perPixelAlpha ? (byte)64 : (byte)128); + } + + [Theory] + [InlineData("depth")] + [InlineData("compression")] + [InlineData("rop")] + [InlineData("stretch-mode")] + [InlineData("blend-operation")] + [InlineData("alpha-format")] + [InlineData("transform")] + public void RejectsUnsupportedBitmapFeaturesInsteadOfReturningPartialImages(string feature) + { + var alphaBlend = feature is "blend-operation" or "alpha-format" or "transform"; + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 0, 255 }, alphaBlend: alphaBlend, imageWidth: 1); + var info = alphaBlend ? 108 : 80; + if (feature == "depth") BinaryPrimitives.WriteUInt16LittleEndian(bitmap.AsSpan(info + 14), 8); + if (feature == "compression") Set(bitmap, info + 16, 1); + if (feature == "rop") Set(bitmap, 68, 0x00660046); + if (feature == "blend-operation") Set(bitmap, 40, 0x01FF0001); + if (feature == "alpha-format") Set(bitmap, 40, 0x02FF0000); + if (feature == "transform") Set(bitmap, 52, 0x40000000); + var emf = feature == "stretch-mode" ? Build(bitmap) : Build(Record(21, 3), bitmap); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Theory] + [InlineData("offset")] + [InlineData("length")] + [InlineData("overlap")] + [InlineData("header")] + [InlineData("dimensions")] + [InlineData("planes")] + [InlineData("pixels")] + [InlineData("source-rectangle")] + [InlineData("masks")] + public void RejectsMalformedBitmapRangesAndMetadata(string defect) + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 0, 0 }, + masks: new uint[] { 0xFF0000, 0x00FF00, 0x0000FF }, imageWidth: 1); + if (defect == "offset") Set(bitmap, 48, uint.MaxValue); + if (defect == "length") Set(bitmap, 52, uint.MaxValue); + if (defect == "overlap") Set(bitmap, 56, 80); + if (defect == "header") Set(bitmap, 80, 124); + if (defect == "dimensions") Set(bitmap, 88, 0x80000000); + if (defect == "planes") BinaryPrimitives.WriteUInt16LittleEndian(bitmap.AsSpan(92), 2); + if (defect == "pixels") Set(bitmap, 60, 1); + if (defect == "source-rectangle") Set(bitmap, 32, int.MaxValue); + if (defect == "masks") Set(bitmap, 120, 0x00FF00); + + Assert.Throws(() => + EmfVectorRenderer.Render(Build(Record(21, 3), bitmap), 32, 32)); + } + + [Fact] + public void RejectsNonpremultipliedAlphaSource() + { + var bitmap = BitmapRecord(32, -1, new byte[] { 0, 0, 255, 128 }, alphaBlend: true, imageWidth: 1); + + Assert.Throws(() => EmfVectorRenderer.Render(Build(bitmap), 32, 32)); + } + + [Theory] + [InlineData(24u, 4u)] + [InlineData(26u, 28u)] + [InlineData(30u, 16u)] + public void CompatibleScalePreservesExplicitAdvancesAndHorizontalAlignment(uint alignment, uint referenceX) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var expectedDefinition = FontRecord(); + Set(expectedDefinition, 16, 6); + var expectedText = TextRecord(referenceX, 24, new ushort[] { 1, 1 }, 16, new[] { 12, 12 }); + var compatibleText = (byte[])expectedText.Clone(); + Set(compatibleText, 24, 1); Set(compatibleText, 28, 0x40000000); + byte[] RenderText(byte[] definition, byte[] text) => EmfVectorRenderer.Render( + Build(definition, Record(37, 1), Record(18, 1), Record(22, alignment), text), 32, 32, (_, _, _) => font); + + var expected = RenderText(expectedDefinition, expectedText); + var actual = RenderText(FontRecord(), compatibleText); + + Assert.Equal(expected, actual); + var pixels = Decode(actual, 32, 32); + AssertPixel(pixels, 32, 5, 11, 0, 0, 0, 255); + AssertPixel(pixels, 32, 9, 11, 0, 0, 0, 0); + AssertPixel(pixels, 32, 17, 11, 0, 0, 0, 255); + } + + [Theory] + [InlineData(0u)] + [InlineData(12u)] + public void CompatibleScaleAdjustsDefaultAndRequestedFontWidthsAndNaturalAdvances(uint requestedWidth) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var definition = FontRecord(); Set(definition, 16, requestedWidth); + var expectedDefinition = FontRecord(); Set(expectedDefinition, 16, 6); + var expectedText = TextRecord(4, 24, new ushort[] { 1, 1 }, 16); + var compatibleText = (byte[])expectedText.Clone(); + Set(compatibleText, 24, 1); Set(compatibleText, 28, 0x40000000); + byte[] RenderText(byte[] face, byte[] text) => EmfVectorRenderer.Render( + Build(face, Record(37, 1), Record(18, 1), Record(22, 24), text), 32, 32, (_, _, _) => font); + + Assert.Equal(RenderText(expectedDefinition, expectedText), RenderText(definition, compatibleText)); + } + + [Fact] + public void CompatibleScalePreservesPairedAdvancesAndLocalClipping() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = TextRecord(4, 24, new ushort[] { 1, 1 }, 0x2014, new[] { 12, 2, 0, 0 }); + Set(text, 24, 1); Set(text, 28, 0x40000000); + Set(text, 56, 4); Set(text, 60, 10); Set(text, 64, 21); Set(text, 68, 32); + var emf = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), text, Record(15, 30, 30, 0xFF0000)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 17, 11, 0, 0, 0, 0); + AssertPixel(pixels, 32, 17, 13, 0, 0, 0, 255); + AssertPixel(pixels, 32, 21, 13, 0, 0, 0, 0); + AssertPixel(pixels, 32, 30, 30, 0, 0, 255, 255); + } + + [Fact] + public void AdvancedTextIgnoresCompatibleScaleFields() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = TextRecord(4, 24, new ushort[] { 1, 1 }, 16); + var modified = (byte[])text.Clone(); + Set(modified, 28, 0x40000000); Set(modified, 32, 0); + byte[] RenderText(byte[] record) => EmfVectorRenderer.Render( + Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), record), 32, 32, (_, _, _) => font); + + Assert.Equal(RenderText(text), RenderText(modified)); + } + + [Theory] + [InlineData(0f, 1f)] + [InlineData(-1f, 1f)] + [InlineData(1f, -1f)] + [InlineData(float.NaN, 1f)] + [InlineData(1f, float.PositiveInfinity)] + public void InvalidOrUnsupportedCompatibleScalesDoNotReturnPartialImages(float xScale, float yScale) + { + var text = TextRecord(0, 0, Array.Empty(), 2); + Set(text, 24, 1); Set(text, 28, BitConverter.SingleToUInt32Bits(xScale)); Set(text, 32, BitConverter.SingleToUInt32Bits(yScale)); + var emf = Build(Record(15, 4, 4, 0x0000FF), text); + + if (!float.IsFinite(xScale) || !float.IsFinite(yScale)) + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + else + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32)); + } + + [Fact] + public void CompatibleOpaqueTextDoesNotScaleItsRectangleAndRestoresThePreviousClip() + { + var text = TextRecord(0, 0, Array.Empty(), 6); + Set(text, 24, 1); Set(text, 28, 0x40000000); + Set(text, 56, 4); Set(text, 60, 5); Set(text, 64, 10); Set(text, 68, 12); + var emf = Build(Record(30, 2, 2, 16, 16), Record(25, 0x00FF00), text, + Record(15, 12, 5, 0xFF0000), Record(15, 20, 20, 0x0000FF)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32), 32, 32); + + AssertPixel(pixels, 32, 4, 5, 0, 255, 0, 255); + AssertPixel(pixels, 32, 10, 5, 0, 0, 0, 0); + AssertPixel(pixels, 32, 12, 5, 0, 0, 255, 255); + AssertPixel(pixels, 32, 20, 20, 0, 0, 0, 0); + } + + [Theory] + [InlineData(false, 24, 4)] + [InlineData(true, 26, 28)] + [InlineData(true, 30, 16)] + public void RendersIndependentGlyphContoursWithHolesAndTextAlignment(bool glyphIndices, uint alignment, uint referenceX) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var emf = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, alignment), + Record(24, 0x0000FF), TextRecord(referenceX, 24, glyphIndices ? new ushort[] { 1, 1 } : new ushort[] { 65, 65 }, + glyphIndices ? 16u : 0u)); + var names = new List(); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (name, _, _) => { names.Add(name); return font; }), 32, 32); + + Assert.Equal(new[] { "Synthetic" }, names); + AssertPixel(pixels, 32, 5, 11, 255, 0, 0, 255); + AssertPixel(pixels, 32, 9, 17, 0, 0, 0, 0); + AssertPixel(pixels, 32, 17, 11, 255, 0, 0, 255); + AssertPixel(pixels, 32, 15, 11, 0, 0, 0, 0); + } + + [Fact] + public void PositiveFontHeightsUseCellMetricsForOutlinesAndAdvances() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var positive = FontRecord(); + Set(positive, 12, 24); + var text = TextRecord(4, 24, new ushort[] { 1, 1 }, 16); + byte[] RenderText(byte[] definition) => EmfVectorRenderer.Render( + Build(definition, Record(37, 1), Record(18, 1), Record(22, 24), text), + 32, 32, (_, _, _) => font); + + var expected = Decode(RenderText(FontRecord()), 32, 32); + var actual = Decode(RenderText(positive), 32, 32); + + Assert.Equal(expected, actual); + AssertPixel(actual, 32, 5, 11, 0, 0, 0, 255); + AssertPixel(actual, 32, 17, 11, 0, 0, 0, 255); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void RejectsUnusableCellMetricsWithoutReturningPartialImages(bool truncated) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var cell = TrueTypeGlyphReaderTests.TableOffset(font, "OS/2"); + TrueTypeGlyphReaderTests.Write16(font, cell + 74, 0); + TrueTypeGlyphReaderTests.Write16(font, cell + 76, 0); + if (truncated) + { + for (var entry = 12; entry < 12 + BinaryPrimitives.ReadUInt16BigEndian(font.AsSpan(4)) * 16; entry += 16) + if (System.Text.Encoding.ASCII.GetString(font, entry, 4) == "OS/2") + TrueTypeGlyphReaderTests.Write32(font, entry + 12, 76); + } + var definition = FontRecord(); + Set(definition, 12, 24); + var emf = Build(Record(15, 1, 1, 0x0000FF), definition, Record(37, 1), + Record(18, 1), Record(22, 24), TextRecord(4, 24, new ushort[] { 1 }, 16)); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font)); + } + + [Fact] + public void NegativeCharacterHeightsDoNotRequireCellMetrics() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var os2 = TrueTypeGlyphReaderTests.TableOffset(font, "OS/2"); + TrueTypeGlyphReaderTests.Write16(font, os2 + 74, 0); + TrueTypeGlyphReaderTests.Write16(font, os2 + 76, 0); + var emf = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new ushort[] { 1 }, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 5, 11, 0, 0, 0, 255); + AssertPixel(pixels, 32, 15, 11, 0, 0, 0, 0); + } + + [Fact] + public void RequestedFontWidthsScaleOutlinesButNotExplicitSpacing() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var definition = FontRecord(); + Set(definition, 12, 24); + Set(definition, 16, 6); + byte[] RenderText(int[]? advances) => Decode(EmfVectorRenderer.Render( + Build(definition, Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new ushort[] { 1, 1 }, 16, advances)), + 32, 32, (_, _, _) => font), 32, 32); + + var measured = RenderText(null); + var positioned = RenderText(new[] { 12, 0 }); + + AssertPixel(measured, 32, 8, 11, 0, 0, 0, 255); + AssertPixel(measured, 32, 9, 11, 0, 0, 0, 0); + AssertPixel(measured, 32, 11, 11, 0, 0, 0, 255); + AssertPixel(positioned, 32, 11, 11, 0, 0, 0, 0); + AssertPixel(positioned, 32, 17, 11, 0, 0, 0, 255); + } + + [Theory] + [InlineData(0)] + [InlineData(-1)] + public void RejectsUnusableAverageWidthWhenCustomFontWidthIsRequested(int average) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + TrueTypeGlyphReaderTests.Write16(font, TrueTypeGlyphReaderTests.TableOffset(font, "OS/2") + 2, average); + var definition = FontRecord(); + Set(definition, 16, 6); + var emf = Build(Record(15, 1, 1, 0x0000FF), definition, Record(37, 1), + Record(18, 1), Record(22, 24), TextRecord(4, 24, new ushort[] { 1 }, 16)); + + Assert.Throws(() => EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font)); + } + + [Fact] + public void RendersQuadraticContoursWithImplicitOffCurveEndpoints() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Simple( + new[] { (0, 0, false), (250, 700, false), (500, 0, false) })); + var emf = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new ushort[] { 1 }, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 9, 17, 0, 0, 0, 255); + AssertPixel(pixels, 32, 4, 10, 0, 0, 0, 0); + AssertPixel(pixels, 32, 9, 25, 0, 0, 0, 0); + } + + [Fact] + public void AppliesPairedTextSpacingAndRestoresTextClipForLaterDrawing() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = TextRecord(4, 24, new ushort[] { 1, 1 }, 0x2014, new[] { 12, 2, 0, 0 }); + Set(text, 56, 4); Set(text, 60, 10); Set(text, 64, 21); Set(text, 68, 32); + var emf = Build(FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), text, Record(15, 30, 30, 0xFF0000)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 17, 11, 0, 0, 0, 0); + AssertPixel(pixels, 32, 17, 13, 0, 0, 0, 255); + AssertPixel(pixels, 32, 23, 13, 0, 0, 0, 0); + AssertPixel(pixels, 32, 30, 30, 0, 0, 255, 255); + } + + [Fact] + public void EmptyOpaqueTextFillsTheSpecifiedRectangleWithoutLoadingFonts() + { + var text = TextRecord(0, 0, Array.Empty(), 2); + Set(text, 56, 4); Set(text, 60, 5); Set(text, 64, 10); Set(text, 68, 12); + + var pixels = Decode(EmfVectorRenderer.Render(Build(Record(25, 0x00FF00), text), 32, 32), 32, 32); + + AssertPixel(pixels, 32, 4, 5, 0, 255, 0, 255); + AssertPixel(pixels, 32, 10, 5, 0, 0, 0, 0); + } + + [Fact] + public void RestoresFontAndTextStateAlongWithTheDeviceContext() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var small = FontRecord(); + Set(small, 8, 2); Set(small, 12, unchecked((uint)-10)); + var emf = Build(FontRecord(), small, Record(37, 1), Record(18, 1), Record(22, 24), Record(24, 0x0000FF), + Record(33), Record(37, 2), Record(24, 0xFF0000), Record(22, 26), Record(18, 2), + Record(34, uint.MaxValue), TextRecord(4, 24, new ushort[] { 1 }, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, (_, _, _) => font), 32, 32); + + AssertPixel(pixels, 32, 5, 11, 255, 0, 0, 255); + AssertPixel(pixels, 32, 9, 17, 0, 0, 0, 0); + } + + [Theory] + [InlineData("string-range")] + [InlineData("spacing-range")] + [InlineData("count")] + [InlineData("duplicate-handle")] + [InlineData("glyph")] + public void RejectsMalformedTextAndSharedObjectHandles(string defect) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var text = TextRecord(4, 24, new ushort[] { 1 }, 16, new[] { 12 }); + if (defect == "string-range") Set(text, 48, uint.MaxValue); + if (defect == "spacing-range") Set(text, 72, uint.MaxValue); + if (defect == "count") Set(text, 44, uint.MaxValue); + if (defect == "glyph") BinaryPrimitives.WriteUInt16LittleEndian(text.AsSpan(76), 65535); + var records = new List { FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24) }; + if (defect == "duplicate-handle") records.Add(Record(39, 1, 0, 0, 0)); + records.Add(text); + + Assert.Throws(() => EmfVectorRenderer.Render(Build(records.ToArray()), 32, 32, (_, _, _) => font)); + } + + [Theory] + [InlineData("resolver")] + [InlineData("bottom-layout")] + [InlineData("rtl-layout")] + [InlineData("current-position")] + [InlineData("shaping")] + [InlineData("font-height")] + [InlineData("text-options")] + public void UnsupportedTextDoesNotReturnPartialImages(string defect) + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var definition = FontRecord(); + var text = TextRecord(4, 24, new ushort[] { 65 }, 0); + if (defect == "font-height") Set(definition, 12, 0); + if (defect == "shaping") BinaryPrimitives.WriteUInt16LittleEndian(text.AsSpan(76), 0x627); + if (defect == "text-options") Set(text, 52, 0x80); + var alignment = defect switch { "bottom-layout" => 8u, "rtl-layout" => 280u, "current-position" => 25u, _ => 24u }; + var emf = Build(Record(15, 1, 1, 0x0000FF), definition, Record(37, 1), + Record(18, 1), Record(22, alignment), text); + + Assert.Throws(() => + EmfVectorRenderer.Render(emf, 32, 32, defect == "resolver" ? null : (_, _, _) => font)); + } + + [Fact] + public void ResettingTextAlignmentAfterDrawingDoesNotInvalidateTheImage() + { + var font = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var records = new[] { FontRecord(), Record(37, 1), Record(18, 1), Record(22, 24), + TextRecord(4, 24, new ushort[] { 1 }, 16) }; + var expected = EmfVectorRenderer.Render(Build(records), 32, 32, (_, _, _) => font); + var actual = EmfVectorRenderer.Render(Build(records.Concat(new[] { Record(22, 0) }).ToArray()), + 32, 32, (_, _, _) => font); + + Assert.Equal(expected, actual); + } + + [Theory] + [InlineData(4u)] + [InlineData(16u)] + [InlineData(32u)] + public void RejectsInvalidTextAlignmentValues(uint alignment) + { + Assert.Throws(() => + EmfVectorRenderer.Render(Build(Record(22, alignment)), 32, 32)); + } + + [Fact] + public void ResolvesStyledFacesWithoutRewritingTheirNames() + { + var bytes = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + var definition = FontRecord(); + System.Text.Encoding.Unicode.GetBytes("Synthetic Bold\0").CopyTo(definition, 40); + Set(definition, 28, 700); + definition[32] = 1; + var requests = new List<(string, bool, bool)>(); + var emf = Build(definition, Record(37, 1), Record(18, 1), Record(22, 24), TextRecord(4, 24, new ushort[] { 1 }, 16)); + + var pixels = Decode(EmfVectorRenderer.Render(emf, 32, 32, + (name, bold, italic) => { requests.Add((name, bold, italic)); return bytes; }), 32, 32); + + Assert.Equal(new[] { ("Synthetic Bold", true, true) }, requests); + AssertPixel(pixels, 32, 5, 11, 0, 0, 0, 255); + } + + internal static byte[] FontRecord(string face = "Synthetic") + { + var bytes = new byte[332]; + Set(bytes, 0, 82); Set(bytes, 4, (uint)bytes.Length); Set(bytes, 8, 1); + Set(bytes, 12, unchecked((uint)-20)); Set(bytes, 28, 400); + System.Text.Encoding.Unicode.GetBytes(face + "\0").CopyTo(bytes, 40); + return bytes; + } + + internal static byte[] TextRecord(uint x, uint y, ushort[] values, uint options, int[]? advances = null) + { + var spacingOffset = (76 + values.Length * 2 + 3) & ~3; + var bytes = new byte[spacingOffset + (advances?.Length ?? 0) * 4]; + Set(bytes, 0, 84); Set(bytes, 4, (uint)bytes.Length); Set(bytes, 24, 2); + Set(bytes, 28, 0x3F800000); Set(bytes, 32, 0x3F800000); + Set(bytes, 36, x); Set(bytes, 40, y); Set(bytes, 44, (uint)values.Length); + Set(bytes, 48, 76); Set(bytes, 52, options); + Set(bytes, 72, advances == null ? 0u : (uint)spacingOffset); + for (var index = 0; index < values.Length; index++) + BinaryPrimitives.WriteUInt16LittleEndian(bytes.AsSpan(76 + index * 2), values[index]); + if (advances != null) + for (var index = 0; index < advances.Length; index++) Set(bytes, spacingOffset + index * 4, unchecked((uint)advances[index])); + return bytes; + } + + private static void Set(byte[] bytes, int offset, uint value) => + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(offset), value); + + internal static byte[] BitmapRecord(int bitCount, int signedHeight, byte[] bits, + bool alphaBlend = false, uint[]? masks = null, int imageWidth = 2) + { + var fixedSize = alphaBlend ? 108 : 80; + var infoSize = 40 + (masks?.Length ?? 0) * 4; + var bytes = new byte[(fixedSize + infoSize + bits.Length + 3) & ~3]; + Set(bytes, 0, alphaBlend ? 114u : 81u); + Set(bytes, 4, (uint)bytes.Length); + Set(bytes, 24, 4); + Set(bytes, 28, 4); + if (alphaBlend) + { + Set(bytes, 32, 16); + Set(bytes, 36, 16); + Set(bytes, 40, 0x01FF0000); + Set(bytes, 52, 0x3F800000); + Set(bytes, 64, 0x3F800000); + Set(bytes, 100, (uint)imageWidth); + Set(bytes, 104, (uint)Math.Abs(signedHeight)); + } + else + { + Set(bytes, 40, (uint)imageWidth); + Set(bytes, 44, (uint)Math.Abs(signedHeight)); + Set(bytes, 68, 0x00CC0020); + Set(bytes, 72, 16); + Set(bytes, 76, 16); + } + var fieldsOffset = alphaBlend ? 84 : 48; + Set(bytes, fieldsOffset, (uint)fixedSize); + Set(bytes, fieldsOffset + 4, (uint)infoSize); + Set(bytes, fieldsOffset + 8, (uint)(fixedSize + infoSize)); + Set(bytes, fieldsOffset + 12, (uint)bits.Length); + Set(bytes, fixedSize, 40); + Set(bytes, fixedSize + 4, (uint)imageWidth); + Set(bytes, fixedSize + 8, unchecked((uint)signedHeight)); + BinaryPrimitives.WriteUInt16LittleEndian(bytes.AsSpan(fixedSize + 12), 1); + BinaryPrimitives.WriteUInt16LittleEndian(bytes.AsSpan(fixedSize + 14), (ushort)bitCount); + Set(bytes, fixedSize + 16, masks == null ? 0u : 3u); + Set(bytes, fixedSize + 20, (uint)bits.Length); + if (masks != null) + for (var index = 0; index < masks.Length; index++) Set(bytes, fixedSize + 40 + index * 4, masks[index]); + bits.CopyTo(bytes, fixedSize + infoSize); + return bytes; + } + + private static byte[] ColorPixels(int bitCount, bool topDown, bool bitfields) + { + var colors = bitCount == 16 + ? new uint[] { bitfields ? 0xF800u : 0x7C00u, bitfields ? 0x07E0u : 0x03E0u, 0x001F, bitfields ? 0xFFFFu : 0x7FFFu } + : new uint[] { 0xFF0000, 0x00FF00, 0x0000FF, 0xFFFFFF }; + var stride = (2 * bitCount + 31) / 32 * 4; + var bits = new byte[stride * 2]; + for (var y = 0; y < 2; y++) + { + for (var x = 0; x < 2; x++) + { + var position = (topDown ? y : 1 - y) * stride + x * (bitCount / 8); + var value = colors[y * 2 + x]; + for (var channel = 0; channel < bitCount / 8; channel++) bits[position + channel] = (byte)(value >> (channel * 8)); + } + } + return bits; + } + + internal static byte[] Build(params byte[][] records) + { + var header = new byte[88]; + void Set(int offset, uint value) => BinaryPrimitives.WriteUInt32LittleEndian(header.AsSpan(offset), value); + Set(0, 1); + Set(4, 88); + Set(16, 32); + Set(20, 32); + Set(32, 847); + Set(36, 847); + Set(40, 0x464D4520); + Set(44, 0x10000); + Set(48, (uint)(88 + records.Sum(record => record.Length) + 20)); + Set(52, (uint)(records.Length + 2)); + Set(56, 16); + using var stream = new MemoryStream(); + stream.Write(header); + foreach (var record in records) stream.Write(record); + stream.Write(Record(14, 0, 0, 20)); + return stream.ToArray(); + } + + internal static byte[] Record(uint type, params uint[] values) + { + var bytes = new byte[8 + values.Length * 4]; + BinaryPrimitives.WriteUInt32LittleEndian(bytes, type); + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(4), (uint)bytes.Length); + for (var index = 0; index < values.Length; index++) + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(8 + index * 4), values[index]); + return bytes; + } + + private static byte[] Polygon16(params (short X, short Y)[] points) + { + var bytes = new byte[28 + points.Length * 4]; + BinaryPrimitives.WriteUInt32LittleEndian(bytes, 86); + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(4), (uint)bytes.Length); + BinaryPrimitives.WriteUInt32LittleEndian(bytes.AsSpan(24), (uint)points.Length); + for (var index = 0; index < points.Length; index++) + { + BinaryPrimitives.WriteInt16LittleEndian(bytes.AsSpan(28 + index * 4), points[index].X); + BinaryPrimitives.WriteInt16LittleEndian(bytes.AsSpan(30 + index * 4), points[index].Y); + } + return bytes; + } + + internal static byte[] Decode(byte[] png, int width, int height) + { + Assert.Equal(new byte[] { 137, 80, 78, 71, 13, 10, 26, 10 }, png[..8]); + Assert.Equal(width, BinaryPrimitives.ReadInt32BigEndian(png.AsSpan(16))); + Assert.Equal(height, BinaryPrimitives.ReadInt32BigEndian(png.AsSpan(20))); + using var compressed = new MemoryStream(); + for (var offset = 8; offset < png.Length;) + { + var size = BinaryPrimitives.ReadInt32BigEndian(png.AsSpan(offset)); + var chunk = png.AsSpan(offset + 4, size + 4); + uint crc = uint.MaxValue; + foreach (var value in chunk) + { + crc ^= value; + for (var bit = 0; bit < 8; bit++) + crc = (crc & 1) == 0 ? crc >> 1 : (crc >> 1) ^ 0xEDB88320; + } + Assert.Equal(~crc, BinaryPrimitives.ReadUInt32BigEndian(png.AsSpan(offset + size + 8))); + if (chunk[..4].SequenceEqual("IDAT"u8)) compressed.Write(png, offset + 8, size); + offset += size + 12; + } + compressed.Position = 0; + using var zlib = new ZLibStream(compressed, CompressionMode.Decompress); + var filtered = new byte[height * (width * 4 + 1)]; + zlib.ReadExactly(filtered); + Assert.Equal(-1, zlib.ReadByte()); + var pixels = new byte[width * height * 4]; + for (var row = 0; row < height; row++) + { + Assert.Equal(0, filtered[row * (width * 4 + 1)]); + Buffer.BlockCopy(filtered, row * (width * 4 + 1) + 1, pixels, row * width * 4, width * 4); + } + return pixels; + } + + private static void AssertPixel(byte[] pixels, int width, int x, int y, params byte[] expected) + { + Assert.Equal(expected, pixels.AsSpan((y * width + x) * 4, 4).ToArray()); + } +} diff --git a/tests/MiniPdf.Tests/ExcelTableStyleTests.cs b/tests/MiniPdf.Tests/ExcelTableStyleTests.cs new file mode 100644 index 00000000..673c7608 --- /dev/null +++ b/tests/MiniPdf.Tests/ExcelTableStyleTests.cs @@ -0,0 +1,221 @@ +using System.IO.Compression; +using System.Text; + +namespace MiniSoftware.Tests; + +public class ExcelTableStyleTests +{ + [Fact] + public void TableDataFormat_LayersOverWholeTableStyle() + { + // The table carries its own data format (dataDxfId, italic only) and a + // table style whose wholeTable element defines a fill. + using var stream = CreateWorkbookWithStyledTable(); + + var sheet = Assert.Single(ExcelReader.ReadSheets(stream)); + + var wholeTableFill = PdfColor.FromRgb(0xDD, 0xF4, 0xF9); + Assert.All(new[] { sheet.Rows[1][0], sheet.Rows[1][1], sheet.Rows[2][0], sheet.Rows[2][1] }, cell => + { + Assert.Equal(wholeTableFill, cell.FillColor); + Assert.True(cell.Italic); + }); + Assert.Null(sheet.Rows[1][2].FillColor); + Assert.False(sheet.Rows[1][2].Italic); + } + + [Fact] + public void CellFill_StaysOnTopOfTableStyle() + { + // A4 has its own red fill. B4 in the same row has none. + using var stream = CreateWorkbookWithStyledTable(); + + var sheet = Assert.Single(ExcelReader.ReadSheets(stream)); + + Assert.Equal(PdfColor.FromRgb(0xFF, 0x00, 0x00), sheet.Rows[3][0].FillColor); + Assert.True(sheet.Rows[3][0].Italic); + Assert.Equal(PdfColor.FromRgb(0xDD, 0xF4, 0xF9), sheet.Rows[3][1].FillColor); + } + + [Fact] + public void CellFill_StaysOnTopOfRowStripeAndFirstColumn() + { + // Rows 2 and 4 are first-stripe rows. A4 has its own red fill. + using var stream = CreateWorkbookWithStyledTable(stripesAndFirstColumn: true); + + var sheet = Assert.Single(ExcelReader.ReadSheets(stream)); + + var stripeFill = PdfColor.FromRgb(0x00, 0xB0, 0x50); + Assert.Equal(stripeFill, sheet.Rows[1][0].FillColor); + Assert.Equal(stripeFill, sheet.Rows[3][1].FillColor); + Assert.Equal(PdfColor.FromRgb(0xFF, 0x00, 0x00), sheet.Rows[3][0].FillColor); + // The firstColumn element still sets the font of a cell that keeps its own fill. + Assert.True(sheet.Rows[1][0].Bold); + Assert.True(sheet.Rows[3][0].Bold); + Assert.False(sheet.Rows[3][1].Bold); + } + + [Fact] + public void EmptyDataDxfFill_PreservesRowStripe() + { + using var stream = CreateWorkbookWithStyledTable(stripesAndFirstColumn: true, emptyDataPatternFill: true); + + var sheet = Assert.Single(ExcelReader.ReadSheets(stream)); + + var stripeFill = PdfColor.FromRgb(0x00, 0xB0, 0x50); + Assert.Equal(stripeFill, sheet.Rows[1][0].FillColor); + Assert.Equal(stripeFill, sheet.Rows[1][1].FillColor); + } + + [Fact] + public void ExplicitWhiteCellFill_StaysOnTopOfTableStyle() + { + using var stream = CreateWorkbookWithStyledTable(); + + var sheet = Assert.Single(ExcelReader.ReadSheets(stream)); + + Assert.Equal(PdfColor.FromRgb(0xFF, 0xFF, 0xFF), sheet.Rows[4][0].FillColor); + Assert.Equal(PdfColor.FromRgb(0xDD, 0xF4, 0xF9), sheet.Rows[4][1].FillColor); + } + + private static MemoryStream CreateWorkbookWithStyledTable(bool stripesAndFirstColumn = false, bool emptyDataPatternFill = false) + { + var flag = stripesAndFirstColumn ? "1" : "0"; + var dataDxfFill = emptyDataPatternFill ? "" : string.Empty; + var ms = new MemoryStream(); + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "xl/_rels/workbook.xml.rels", + """ + + + + + + + """); + + AddEntry(archive, "xl/workbook.xml", + """ + + + + + + + """); + + AddEntry(archive, "xl/worksheets/sheet1.xml", + """ + + + + 012 + 3352 + 4252 + 315 + 310 + + + + """); + + AddEntry(archive, "xl/worksheets/_rels/sheet1.xml.rels", + """ + + + + + """); + + AddEntry(archive, "xl/tables/table1.xml", + $""" + + + + + + + +
+ """); + + AddEntry(archive, "xl/styles.xml", + $""" + + + + + + + + + + + + + + + + + + {dataDxfFill} + + + + + + + + + + + + + """); + + AddEntry(archive, "xl/sharedStrings.xml", + """ + + + ItemQtyOutsidePeoniesTulips + + """); + } + + ms.Position = 0; + return ms; + } + + private static void AddEntry(ZipArchive archive, string path, string content) + { + var entry = archive.CreateEntry(path); + using var writer = new StreamWriter(entry.Open(), new UTF8Encoding(false)); + writer.Write(content); + } +} diff --git a/tests/MiniPdf.Tests/ExcelToPdfConverterTests.cs b/tests/MiniPdf.Tests/ExcelToPdfConverterTests.cs index f9d89f7a..b19b5b0e 100644 --- a/tests/MiniPdf.Tests/ExcelToPdfConverterTests.cs +++ b/tests/MiniPdf.Tests/ExcelToPdfConverterTests.cs @@ -1,10 +1,504 @@ using System.IO.Compression; using System.Text; +using System.Xml.Linq; namespace MiniSoftware.Tests; public class ExcelToPdfConverterTests { + [Theory] + [InlineData("Calibri", false)] + [InlineData("Arial", false)] + [InlineData("Calibri", true)] + public void Convert_FontWithoutFamily_UsesWorkbookNormalFont(string normalFont, bool includeTheme) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "Company", "Explicit", "Normal" } }, + columnWidths: new[] { 20f, 20f, 20f }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", $$""" + + + + + + + + + + + """); + if (includeTheme) + AddEntry(archive, "xl/theme/theme1.xml", $$""" + + + + + + """); + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", """ + + + + Company + Explicit + Normal + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var blocks = Assert.Single(doc.Pages).TextBlocks; + var company = Assert.Single(blocks, block => block.Text == "Company"); + Assert.Equal(normalFont, company.PreferredFontName); + Assert.Equal(10f, company.FontSize); + Assert.True(company.Bold); + var explicitFont = Assert.Single(blocks, block => block.Text == "Explicit"); + Assert.Equal("Verdana", explicitFont.PreferredFontName); + var normal = Assert.Single(blocks, block => block.Text == "Normal"); + Assert.Equal(normalFont, normal.PreferredFontName); + Assert.False(normal.Bold); + Assert.Equal(11f, normal.FontSize); + if (normalFont == "Calibri" && + PdfWriter.TryMeasurePreferredFontWidth(normalFont, company.Text, company.FontSize, true, false, 0, out var width)) + Assert.Equal(explicitFont.X - 3.96f, company.X + width, 2); + } + + [Theory] + [InlineData("thin", 1f)] + [InlineData("medium", 2f)] + [InlineData("thick", 3f)] + public void Convert_SolidBorder_PreservesLineWeight(string style, float width) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "Border" } }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", $$""" + + + + + """); + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", """ + + + Border + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + Assert.Equal(width, Assert.Single(Assert.Single(doc.Pages).LineBlocks).LineWidth); + } + + [Fact] + public void Convert_MergedHeading_DoesNotInflateIndividualColumnWidths() + { + using var excelStream = CreateSimpleExcel(new[] + { + new[] { "A long heading spanning both columns", "" }, + new[] { "Left", "Right" }, + }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + var entry = archive.GetEntry("xl/worksheets/sheet1.xml")!; + XDocument worksheet; + using (var input = entry.Open()) + worksheet = XDocument.Load(input); + var ns = worksheet.Root!.Name.Namespace; + worksheet.Root.Add(new XElement(ns + "mergeCells", + new XElement(ns + "mergeCell", new XAttribute("ref", "A1:B1")))); + entry.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", worksheet.ToString()); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var right = Assert.Single(Assert.Single(doc.Pages).TextBlocks, block => block.Text == "Right"); + Assert.InRange(right.X, 100f, 115f); + } + + [Theory] + [InlineData("top", 100)] + [InlineData("bottom", 100)] + [InlineData("left", 100)] + [InlineData("right", 100)] + [InlineData("top", 50)] + [InlineData("left", 50)] + public void Convert_DoubleBorder_RendersTwoScaledSolidStrokes(string side, int printScale) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "Total" } }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", $$""" + + <{{side}} style="double"> + + + """); + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + Total + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var lines = Assert.Single(doc.Pages).LineBlocks; + Assert.Equal(2, lines.Count); + var scale = printScale / 100f; + Assert.All(lines, line => + { + Assert.Equal(scale, line.LineWidth, 3); + Assert.Equal(new PdfColor(1f, 0f, 0f), line.Color); + Assert.Null(line.DashPattern); + }); + if (side is "top" or "bottom") + { + Assert.All(lines, line => Assert.Equal(line.Y1, line.Y2)); + Assert.Equal(lines[0].X1, lines[1].X1); + Assert.Equal(lines[0].X2, lines[1].X2); + Assert.Equal(2f * scale, Math.Abs(lines[0].Y1 - lines[1].Y1), 3); + } + else + { + Assert.All(lines, line => Assert.Equal(line.X1, line.X2)); + Assert.Equal(lines[0].Y1, lines[1].Y1); + Assert.Equal(lines[0].Y2, lines[1].Y2); + Assert.Equal(2f * scale, Math.Abs(lines[0].X1 - lines[1].X1), 3); + } + } + + [Theory] + [InlineData("top", "bottom")] + [InlineData("bottom", "top")] + [InlineData("left", "right")] + [InlineData("right", "left")] + public void Convert_DoubleBorder_TakesPrecedenceOverAdjacentThinBorder(string side, string opposite) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "Total", "Other" } }, columnWidths: new[] { 20f, 20f }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", $$""" + + + <{{opposite}} style="thin"/> + <{{side}} style="double"/> + + + + """); + var firstStyle = side is "bottom" or "right" ? 1 : 0; + var secondStyle = 1 - firstStyle; + var cells = side is "top" or "bottom" + ? $"""FirstSecond""" + : $"""FirstSecond"""; + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + + {{cells}} + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var lines = Assert.Single(doc.Pages).LineBlocks; + Assert.Equal(2, lines.Count); + Assert.All(lines, line => Assert.Equal(1f, line.LineWidth)); + var separation = side is "top" or "bottom" + ? Math.Abs(lines[0].Y1 - lines[1].Y1) + : Math.Abs(lines[0].X1 - lines[1].X1); + Assert.Equal(2f, separation, 3); + } + + [Theory] + [InlineData(false, false)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(true, true)] + public void Convert_DoubleBordersAcrossPages_PreserveSharedEdges(bool lowMemory, bool manualBreaks) + { + using var excelStream = CreateSimpleExcel( + Enumerable.Range(1, 120).Select(row => new[] { $"Detail {row}" }).ToArray(), + columnWidths: new[] { 20f }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + """); + var entry = archive.GetEntry("xl/worksheets/sheet1.xml")!; + XDocument worksheet; + using (var input = entry.Open()) + worksheet = XDocument.Load(input); + var ns = worksheet.Root!.Name.Namespace; + foreach (var cell in worksheet.Descendants(ns + "c")) + cell.SetAttributeValue("s", 0); + if (manualBreaks) + worksheet.Root.Add(new XElement(ns + "rowBreaks", + new XAttribute("count", 2), new XAttribute("manualBreakCount", 2), + new XElement(ns + "brk", new XAttribute("id", 25), new XAttribute("man", 1)), + new XElement(ns + "brk", new XAttribute("id", 75), new XAttribute("man", 1)))); + entry.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", worksheet.ToString()); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream, + new ExcelToPdfConverter.ConversionOptions { LowMemory = lowMemory }); + Assert.True(doc.Pages.Count > 1); + Assert.Equal(120, doc.Pages.Sum(page => page.TextBlocks.Count)); + Assert.All(doc.Pages, page => + { + Assert.NotEmpty(page.TextBlocks); + Assert.Equal(2 * page.TextBlocks.Count + 1, page.LineBlocks.Count); + Assert.All(page.LineBlocks, line => + { + Assert.Equal(line.Y1, line.Y2); + Assert.Equal(1f, line.LineWidth); + Assert.Null(line.DashPattern); + }); + }); + using var actual = new MemoryStream(); + doc.Save(actual); + excelStream.Position = 0; + using var expected = ExcelToPdfConverter.Convert(excelStream); + using var expectedPdf = new MemoryStream(); + expected.Save(expectedPdf); + Assert.Equal(expectedPdf.ToArray(), actual.ToArray()); + } + + [Theory] + [InlineData("Calibri", false, 15f, 14.52f)] + [InlineData("Calibri", true, 15f, 15f)] + [InlineData("Calibri", false, 20f, 20f)] + [InlineData("Arial", false, 15f, 15f)] + public void Convert_DefaultRowHeight_PreservesCustomDefaults( + string fontName, bool customHeight, float defaultHeight, float expectedHeight) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "First" }, new[] { "Second" } }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", $$""" + + + + + """); + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + var height = defaultHeight.ToString(System.Globalization.CultureInfo.InvariantCulture); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + + + First + Second + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var blocks = Assert.Single(doc.Pages).TextBlocks; + var first = Assert.Single(blocks, block => block.Text == "First"); + var second = Assert.Single(blocks, block => block.Text == "Second"); + Assert.Equal(expectedHeight, first.Y - second.Y, 3); + } + + [Theory] + [InlineData(true, 2)] + [InlineData(false, 3)] + public void Convert_DoubleBorder_ResolvesOverlappingMergedEdges(bool mergeDouble, int expectedLines) + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "First", "Second" } }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + + + + """); + var mergeRef = mergeDouble ? "A2:B2" : "A1:B1"; + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + + + First + Total + + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var lines = Assert.Single(doc.Pages).LineBlocks; + Assert.Equal(expectedLines, lines.Count); + var doubleLines = lines.OrderBy(line => line.Y1).ToArray(); + Assert.Equal(2f, doubleLines[^1].Y1 - doubleLines[0].Y1, 3); + if (!mergeDouble) + { + var middle = doubleLines[1]; + Assert.Equal(doubleLines[0].X2, middle.X1, 3); + Assert.True(middle.X2 > middle.X1); + } + } + + [Fact] + public void Convert_CalibriColumnWidths_MatchExcelPrintMetrics() + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "A", "B", "C" } }, + columnWidths: new[] { 25f, 15f, 15f }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var blocks = Assert.Single(doc.Pages).TextBlocks; + var a = Assert.Single(blocks, block => block.Text == "A"); + var b = Assert.Single(blocks, block => block.Text == "B"); + var c = Assert.Single(blocks, block => block.Text == "C"); + Assert.InRange(b.X - a.X, 140.65f, 141.45f); + Assert.InRange(c.X - b.X, 84.22f, 85.02f); + } + + [Fact] + public void Convert_DoubleBorder_VerticalMergeContinuesAcrossPages() + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "Total", "Detail" } }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + """); + var rows = new StringBuilder(); + for (var row = 1; row <= 80; row++) + { + rows.Append($""""""); + if (row == 1) + rows.Append("""Total"""); + rows.Append($"""Detail {row}"""); + } + archive.GetEntry("xl/worksheets/sheet1.xml")!.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + + {{rows}} + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + Assert.Equal(2, doc.Pages.Count); + Assert.All(doc.Pages, page => + { + var lines = page.LineBlocks.OrderBy(line => line.X1).ToArray(); + Assert.Equal(4, lines.Length); + Assert.All(lines, line => + { + Assert.Equal(line.X1, line.X2); + Assert.Equal(1f, line.LineWidth); + Assert.Null(line.DashPattern); + }); + Assert.Equal(2f, lines[1].X1 - lines[0].X1, 3); + Assert.Equal(2f, lines[3].X1 - lines[2].X1, 3); + }); + } + + [Fact] + public void Convert_DefaultCalibriFont_PreservesUnsupportedScriptFallback() + { + const string sample = "\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22"; + using var excelStream = CreateSimpleExcel(new[] { new[] { "Label", sample } }, + columnWidths: new[] { 20f, 30f }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + """); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var page = Assert.Single(doc.Pages); + var label = Assert.Single(page.TextBlocks, block => block.Text == "Label"); + var script = Assert.Single(page.TextBlocks, block => block.Text == sample); + Assert.Equal("Calibri", label.PreferredFontName); + var supported = PdfWriter.TryMeasurePreferredFontWidth("Calibri", sample, 11f, false, false, 0f, out _); + Assert.Equal(supported ? "Calibri" : null, script.PreferredFontName); + } + + [Theory] + [InlineData(0, false)] + [InlineData(3, true)] + public void Convert_ChartAnchorsOutsideData_UseDefaultWidths(int anchorCol, bool useDefaultWidths) + { + using var excelStream = CreateExcelWithBarChart(new[] { "Category" }, new[] { 140.0 }); + using (var archive = new ZipArchive(excelStream, ZipArchiveMode.Update, leaveOpen: true)) + { + AddEntry(archive, "xl/styles.xml", """ + + + + + """); + var entry = archive.GetEntry("xl/worksheets/sheet1.xml")!; + XDocument worksheet; + using (var input = entry.Open()) + worksheet = XDocument.Load(input); + var ns = worksheet.Root!.Name.Namespace; + worksheet.Descendants(ns + "sheetData").Single().Add( + new XElement(ns + "row", new XAttribute("r", 1), + new XElement(ns + "c", new XAttribute("r", "A1"), new XAttribute("s", 1), new XAttribute("t", "inlineStr"), + new XElement(ns + "is", new XElement(ns + "t", "A long overflowing worksheet heading")))), + new XElement(ns + "row", new XAttribute("r", 2), + new XElement(ns + "c", new XAttribute("r", "B2"), new XAttribute("t", "inlineStr"), + new XElement(ns + "is", new XElement(ns + "t", "Cell B2"))))); + entry.Delete(); + AddEntry(archive, "xl/worksheets/sheet1.xml", worksheet.ToString()); + var drawingEntry = archive.GetEntry("xl/drawings/drawing1.xml")!; + XDocument drawing; + using (var input = drawingEntry.Open()) + drawing = XDocument.Load(input); + var drawingNs = drawing.Root!.Name.Namespace; + drawing.Descendants(drawingNs + "from").Single().Element(drawingNs + "col")!.Value = + anchorCol.ToString(System.Globalization.CultureInfo.InvariantCulture); + drawingEntry.Delete(); + AddEntry(archive, "xl/drawings/drawing1.xml", drawing.ToString()); + } + excelStream.Position = 0; + using var doc = ExcelToPdfConverter.Convert(excelStream); + var cell = Assert.Single(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "Cell B2"); + if (useDefaultWidths) + Assert.InRange(cell.X, 103f, 104f); + else + Assert.True(cell.X > 150f); + } + [Fact] public void Convert_SimpleExcel_ProducesValidPdf() { @@ -26,6 +520,82 @@ public void Convert_SimpleExcel_ProducesValidPdf() Assert.Contains("%%EOF", content); } + [Fact] + public void Convert_WithoutPaperSize_UsesA4Page() + { + using var excelStream = CreateSimpleExcel(new[] { new[] { "A4" } }); + + var page = Assert.Single(ExcelToPdfConverter.Convert(excelStream).Pages); + + Assert.Equal(595.2756f, page.Width, 3); + Assert.Equal(841.8898f, page.Height, 3); + } + + [Fact] + public void Convert_WithExplicitLetterPaperSize_UsesLetterPage() + { + using var excelStream = CreateSimpleExcel( + new[] { new[] { "Letter" } }, + includeUnflaggedFitAttributes: true); + + var page = Assert.Single(ExcelToPdfConverter.Convert(excelStream).Pages); + + Assert.Equal(612f, page.Width, 3); + Assert.Equal(792f, page.Height, 3); + } + + [Fact] + public void Convert_WorksheetImage_RendersAboveCellText() + { + using var excelStream = CreateExcelWithImageOverCell(); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + var image = Assert.Single(doc.Pages.SelectMany(page => page.ImageBlocks)); + var overlappedText = Assert.Single(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "Covered"); + Assert.True(image.RenderAboveText); + Assert.True(overlappedText.X < image.X + image.RenderWidth, + "Default column geometry should keep D1 beneath the A1 drawing edge."); + } + + [Fact] + public void Convert_BarChartWithClusteredNonZeroData_KeepsBarsAndAxisWithinPlot() + { + // Values clustered far above zero (like stock prices) should auto-scale + // the axis close to the data instead of forcing a zero baseline; bars + // must still be drawn as bounded rectangles within the chart area. + using var excelStream = CreateExcelWithBarChart( + categories: new[] { "Day 1", "Day 2", "Day 3", "Day 4", "Day 5" }, + values: new[] { 140.0, 145.0, 150.0, 155.0, 150.0 }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + var page = Assert.Single(doc.Pages); + var yAxis = Assert.Single(page.LineBlocks, line => + Math.Abs(line.X1 - line.X2) < 0.01f && line.Color == PdfColor.Black); + var plotBottom = Math.Min(yAxis.Y1, yAxis.Y2); + var plotTop = Math.Max(yAxis.Y1, yAxis.Y2); + var bars = page.RectBlocks.Where(rectangle => rectangle.Height > 7f) + .OrderBy(rectangle => rectangle.X) + .ToArray(); + + Assert.Equal(5, bars.Length); + Assert.All(bars, bar => + { + Assert.Equal(plotBottom, bar.Y, 3); + Assert.InRange(bar.Y + bar.Height, plotBottom, plotTop + 0.01f); + }); + var firstGap = bars[1].X - bars[0].X - bars[0].Width; + Assert.True(firstGap > bars[0].Width, "A 150% gapWidth should leave more gap than bar width."); + + var axisLabels = page.TextBlocks.Select(block => block.Text); + Assert.DoesNotContain("0", axisLabels); + Assert.Contains("130", axisLabels); + Assert.Contains("160", axisLabels); + Assert.Contains("Price", axisLabels); + Assert.Contains(page.TextBlocks, block => block.Text == "Clustered Non-Zero Prices" && block.Bold); + } + [Fact] public void Convert_WithOptions_UsesCustomSettings() { @@ -95,6 +665,86 @@ public void Convert_GeneratedWideTextTableWithoutColumnWidths_InfersReadableColu Assert.Contains("QA Automation Specialist", content); } + [Fact] + public void Convert_LargeGeneratedWideTable_UsesReadableA4ColumnGroups() + { + var rows = new List + { + Enumerable.Range(1, 10).Select(index => $"Header{index}").ToArray(), + }; + rows.AddRange(Enumerable.Range(1, 1000).Select(row => + Enumerable.Range(1, 10).Select(column => $"Long generated value {row}-{column}").ToArray())); + using var excelStream = CreateSimpleExcel(rows.ToArray()); + + var doc = ExcelToPdfConverter.Convert(excelStream); + var firstPageText = doc.Pages[0].TextBlocks.Select(block => block.Text).ToHashSet(); + var headerY = doc.Pages[0].TextBlocks.First(block => block.Text == "Header1").Y; + var firstRowY = doc.Pages[0].TextBlocks.Where(block => block.Y < headerY).Max(block => block.Y); + + Assert.Equal(595.2756f, doc.Pages[0].Width, 3); + Assert.Equal(841.8898f, doc.Pages[0].Height, 3); + Assert.Equal(14.52f, headerY - firstRowY, 3); + for (var column = 1; column <= 4; column++) + Assert.Contains($"Header{column}", firstPageText); + Assert.DoesNotContain("Header5", firstPageText); + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "Header10"); + } + + [Fact] + public void Convert_FitAttributesWithoutFitFlag_DoesNotCompressAllRowsToOnePageHigh() + { + var rows = new List + { + Enumerable.Range(1, 8).Select(index => $"Header{index}").ToArray(), + }; + rows.AddRange(Enumerable.Range(1, 1000).Select(row => + Enumerable.Range(1, 8).Select(column => $"Value {row}-{column}").ToArray())); + using var excelStream = CreateSimpleExcel(rows.ToArray(), includeUnflaggedFitAttributes: true); + + var doc = ExcelToPdfConverter.Convert(excelStream); + var minimumFontSize = doc.Pages.SelectMany(page => page.TextBlocks).Min(block => block.FontSize); + var firstPageText = doc.Pages[0].TextBlocks.Select(block => block.Text).ToHashSet(); + + Assert.True(doc.Pages.Count > 1, $"Expected rows to paginate naturally, got {doc.Pages.Count} page."); + Assert.Equal(595.2756f, doc.Pages[0].Width, 3); + Assert.Equal(841.8898f, doc.Pages[0].Height, 3); + Assert.True(minimumFontSize >= 10f, $"Expected readable text, got {minimumFontSize}pt."); + for (var column = 1; column <= 6; column++) + Assert.Contains($"Header{column}", firstPageText); + Assert.DoesNotContain("Header7", firstPageText); + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "Header8"); + } + + [Fact] + public void Convert_LargeGeneratedTextTableWithUnflaggedFitAttributes_KeepsReadableColumnGroups() + { + var rows = new List + { + new[] { "ID", "Name", "Description", "Phone", "Email", "Company", "Title", "Notes" }, + }; + rows.AddRange(Enumerable.Range(1, 1000).Select(row => new[] + { + $"ID-{row:00000}", + $"Customer {row:00000}", + $"Detailed service description for customer account {row:00000}", + "555-0123", + $"customer{row:00000}@example.test", + "Contoso Operations", + "QA Automation Specialist", + "Priority customer account", + })); + using var excelStream = CreateSimpleExcel(rows.ToArray(), includeUnflaggedFitAttributes: true); + + var doc = ExcelToPdfConverter.Convert(excelStream); + var renderedBlocks = doc.Pages.SelectMany(page => page.TextBlocks).ToArray(); + var renderedText = renderedBlocks.Select(block => block.Text).ToArray(); + + Assert.Contains("Description", renderedText); + Assert.Contains(renderedText, text => text.StartsWith("QA Automation", StringComparison.Ordinal)); + Assert.DoesNotContain("Descriptio", renderedText); + Assert.Contains(renderedBlocks, block => block.Text.StartsWith("Detailed service", StringComparison.Ordinal) && block.MaxWidth.HasValue); + } + [Fact] public void Convert_PrintTitleRowsStartingAtFirstRow_RepeatsHeaderAfterPageBreak() { @@ -130,6 +780,23 @@ public void Convert_AdjacentContentColumns_ConstrainFullTextToCellWidth() Assert.True(addressBlock.MaxWidth.HasValue, "Adjacent populated cells should constrain text to the cell width."); } + [Fact] + public void Convert_EmbeddedNewlineWithoutWrapText_RendersOnOneLine() + { + using var excelStream = CreateSimpleExcel(new[] + { + new[] { "Name", "Address" }, + new[] { "Alice", "Line 1\nLine 2" }, + }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + var renderedText = doc.Pages.SelectMany(page => page.TextBlocks).Select(block => block.Text).ToArray(); + + Assert.Contains("Line 1 Line 2", renderedText); + Assert.DoesNotContain("Line 1", renderedText); + Assert.DoesNotContain("Line 2", renderedText); + } + [Fact] public void Convert_WithRenderLimits_RendersOnlyLeadingRowsAndColumns() { @@ -276,7 +943,10 @@ public void Convert_WithSelectedSheets_RendersOnlyMatchingSheets() ("Archive", new[] { new[] { "ArchiveOnly" } }), }); - var bytes = MiniPdf.ConvertToPdf(excelStream, new[] { "Details" }); + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions + { + Sheets = new[] { "Details" }, + }); var content = Encoding.ASCII.GetString(bytes); Assert.Contains("DetailsOnly", content); @@ -294,7 +964,10 @@ public void Convert_WithSelectedSheetIndexes_RendersOnlyMatchingSheets() ("Archive", new[] { new[] { "ArchiveOnly" } }), }); - var bytes = MiniPdf.ConvertToPdf(excelStream, new[] { 2 }); + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions + { + SheetIndexes = new[] { 2 }, + }); var content = Encoding.ASCII.GetString(bytes); Assert.Contains("DetailsOnly", content); @@ -302,6 +975,20 @@ public void Convert_WithSelectedSheetIndexes_RendersOnlyMatchingSheets() Assert.DoesNotContain("ArchiveOnly", content); } + [Fact] + public void Convert_WorkbookRelationshipTargetOutsideWorksheetsFolder_RendersSelectedSheetIndex() + { + using var excelStream = CreateExcelWithWorksheetTarget("sheets/report.xml", "RelationshipTargetOnly"); + + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions + { + SheetIndexes = new[] { 1 }, + }); + var content = Encoding.ASCII.GetString(bytes); + + Assert.Contains("RelationshipTargetOnly", content); + } + [Fact] public void Convert_WithSelectedSheetNamesAndIndexes_RendersUnion() { @@ -312,7 +999,11 @@ public void Convert_WithSelectedSheetNamesAndIndexes_RendersUnion() ("Archive", new[] { new[] { "ArchiveOnly" } }), }); - var bytes = MiniPdf.ConvertToPdf(excelStream, new[] { "Archive" }, sheetIndexes: new[] { 1 }); + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions + { + Sheets = new[] { "Archive" }, + SheetIndexes = new[] { 1 }, + }); var content = Encoding.ASCII.GetString(bytes); Assert.Contains("SummaryOnly", content); @@ -329,7 +1020,7 @@ public void Convert_WithNullSheets_RendersAllSheets() ("Details", new[] { new[] { "DetailsOnly" } }), }); - var bytes = MiniPdf.ConvertToPdf(excelStream, sheets: null); + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions { Sheets = null }); var content = Encoding.ASCII.GetString(bytes); Assert.Contains("SummaryOnly", content); @@ -345,7 +1036,8 @@ public void Convert_WithUnknownSheet_ThrowsHelpfulError() ("Details", new[] { new[] { "DetailsOnly" } }), }); - var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(excelStream, new[] { "Missing" })); + var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(excelStream, + new MiniPdfConversionOptions { Sheets = new[] { "Missing" } })); Assert.Contains("Sheet(s) not found: Missing", ex.Message); Assert.Contains("Available sheets: Summary, Details", ex.Message); @@ -360,7 +1052,8 @@ public void Convert_WithUnknownSheetIndex_ThrowsHelpfulError() ("Details", new[] { new[] { "DetailsOnly" } }), }); - var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(excelStream, new[] { 3 })); + var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(excelStream, + new MiniPdfConversionOptions { SheetIndexes = new[] { 3 } })); Assert.Contains("Sheet index(es) out of range: 3", ex.Message); Assert.Contains("Available index range: 1-2", ex.Message); @@ -491,10 +1184,418 @@ public override void Flush() { } public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException(); } + [Fact] + public void Convert_BuiltInNumFmtId4_WithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 4, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30.596,37"); + } + + [Fact] + public void Convert_BuiltInNumFmtId4_WithEnUsCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 4, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30,596.37"); + } + + [Fact] + public void Convert_BuiltInNumFmtId4_LargeValueWithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 4, values: new[] { 1234567.89 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "1.234.567,89"); + } + + [Fact] + public void Convert_BuiltInNumFmtId4_NullCulturePreservesInvariantBehavior() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 4, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30,596.37"); + } + + [Fact] + public void Convert_BuiltInNumFmtId4_MultipleValuesWithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat( + numFmtId: 4, + values: new[] { 0, 1, 100, 1234.5, 30596.37, 1234567.89, -30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + var expected = new[] + { + "0,00", + "1,00", + "100,00", + "1.234,50", + "30.596,37", + "1.234.567,89", + "-30.596,37", + }; + + foreach (var text in expected) + { + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == text); + } + } + + [Fact] + public void Convert_BuiltInGeneralFormat_WithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 0, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30596,37"); + } + + [Fact] + public void Convert_BuiltInGeneralFormat_WithEnUsCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 0, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30596.37"); + } + + [Fact] + public void Convert_BuiltInGeneralFormat_NullCulturePreservesInvariantBehavior() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 0, values: new[] { 30596.37 }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "30596.37"); + } + + [Fact] + public void Convert_BuiltInDateFormat_WithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 15, values: new[] { 44927.0 }); + var culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = culture, + }); + + var expected = new DateTime(2023, 1, 1).ToString("d-MMM-yy", culture); + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == expected); + } + + [Fact] + public void Convert_BuiltInShortDateFormat_WithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 14, values: new[] { 45092.0 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "15/6/2023"); + } + + [Fact] + public void Convert_BuiltInShortDateTimeFormat_WithEsArCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 22, values: new[] { 45092.5 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "15/6/2023 12:00"); + } + + [Fact] + public void Convert_BuiltInShortDateFormat_NullCulturePreservesInvariantBehavior() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 14, values: new[] { 45092.0 }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "6/15/2023"); + } + + [Fact] + public void Convert_BuiltInDateFormat_WithEnUsCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 15, values: new[] { 44927.0 }); + + var doc = ExcelToPdfConverter.Convert(excelStream, new ExcelToPdfConverter.ConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US"), + }); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "1-Jan-23"); + } + + [Fact] + public void Convert_BuiltInDateFormat_NullCulturePreservesInvariantBehavior() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 15, values: new[] { 44927.0 }); + + var doc = ExcelToPdfConverter.Convert(excelStream); + + Assert.Contains(doc.Pages.SelectMany(page => page.TextBlocks), block => block.Text == "1-Jan-23"); + } + + [Fact] + public void ConvertToPdf_PublicApi_BuiltInNumFmtId4_HonorsCulture() + { + using var excelStream = CreateExcelWithBuiltInNumberFormat(numFmtId: 4, values: new[] { 30596.37 }); + + var bytes = MiniPdf.ConvertToPdf(excelStream, new MiniPdfConversionOptions + { + Culture = System.Globalization.CultureInfo.GetCultureInfo("es-AR"), + }); + var content = Encoding.ASCII.GetString(bytes); + + Assert.Contains("30.596,37", content); + } + + /// + /// Creates a minimal .xlsx with a built-in number format (numFmtId only, no custom + /// <numFmts> entry) and a single column of numeric cells using that format. This + /// reproduces the real-world XLSX where cells carry only a built-in numFmtId. + /// + private static MemoryStream CreateExcelWithBuiltInNumberFormat(int numFmtId, params double[] values) + { + var ms = new MemoryStream(); + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "xl/_rels/workbook.xml.rels", + """ + + + + + + """); + + AddEntry(archive, "xl/workbook.xml", + """ + + + + + + + """); + + // styles.xml with a built-in numFmtId and no custom section: + // the cell style references the built-in format directly. + AddEntry(archive, "xl/styles.xml", + $$""" + + + + + + + + + + + + + + + + """); + + var sheetSb = new StringBuilder(); + sheetSb.AppendLine(""""""); + sheetSb.AppendLine(""""""); + sheetSb.AppendLine(""); + for (var i = 0; i < values.Length; i++) + { + sheetSb.AppendLine($" "); + sheetSb.AppendLine($" {values[i].ToString(System.Globalization.CultureInfo.InvariantCulture)}"); + sheetSb.AppendLine(" "); + } + sheetSb.AppendLine(""); + sheetSb.AppendLine(""); + + AddEntry(archive, "xl/worksheets/sheet1.xml", sheetSb.ToString()); + } + + ms.Position = 0; + return ms; + } + + [Fact] + public void Convert_PrefixedSpreadsheetNamespace_ReadsWorkbookSheetsAndStrings() + { + // Some writers (for example ClosedXML) declare the SpreadsheetML namespace with a + // prefix (xmlns:x="...") instead of as the default namespace. + const string main = "http://schemas.openxmlformats.org/spreadsheetml/2006/main"; + const string rel = "http://schemas.openxmlformats.org/officeDocument/2006/relationships"; + var ms = new MemoryStream(); + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", """ + + + + + + + + + """); + AddEntry(archive, "_rels/.rels", """ + + + + """); + AddEntry(archive, "xl/_rels/workbook.xml.rels", """ + + + + + + """); + AddEntry(archive, "xl/workbook.xml", $$""" + + + + """); + AddEntry(archive, "xl/styles.xml", $$""" + + + + + + + + + + + + """); + AddEntry(archive, "xl/sharedStrings.xml", $$""" + + SharedPrefixedText + + """); + AddEntry(archive, "xl/worksheets/sheet1.xml", $$""" + + + + 0 + InlinePrefixedText + 0.42 + 20 + 5 + 10 + 4.2 + 4.4 + + + + + 110 + + + + + 1$F$1 + + + + + $H$110 + + + + + H1=H1 + + + + """); + } + ms.Position = 0; + + var parsedSheet = ExcelReader.ReadSheets(ms).Single(); + Assert.False(parsedSheet.Rows[0][3].Italic); + Assert.True(parsedSheet.Rows[0][4].Italic); + Assert.Equal("4", parsedSheet.Rows[0][7].Text); + Assert.False(parsedSheet.Rows[0][6].Italic); + Assert.True(parsedSheet.Rows[0][7].Italic); + ms.Position = 0; + + using var doc = ExcelToPdfConverter.Convert(ms, + new ExcelToPdfConverter.ConversionOptions { Sheets = new[] { "Prefixed" } }); + var textBlocks = doc.Pages.SelectMany(page => page.TextBlocks).ToList(); + Assert.Contains(textBlocks, block => block.Text == "SharedPrefixedText"); + Assert.Contains(textBlocks, block => block.Text == "InlinePrefixedText"); + Assert.Contains(textBlocks, block => block.Text == "42%" && !block.Bold && !block.Italic && + !block.Underline && !block.Strikethrough); + Assert.Contains(textBlocks, block => block.Text == "20"); + Assert.Contains(textBlocks, block => block.Text == "5"); + } + /// /// Creates a minimal valid .xlsx file in memory with the given data. /// - private static MemoryStream CreateSimpleExcel(string[][] rows, float[]? columnWidths = null, bool customWidth = true, bool printTitleFirstRow = false) + private static MemoryStream CreateSimpleExcel(string[][] rows, float[]? columnWidths = null, bool customWidth = true, + bool printTitleFirstRow = false, bool includeUnflaggedFitAttributes = false) { var ms = new MemoryStream(); @@ -599,6 +1700,8 @@ int GetStringIndex(string value) } sheetSb.AppendLine(""); + if (includeUnflaggedFitAttributes) + sheetSb.AppendLine(""); sheetSb.AppendLine(""); AddEntry(archive, "xl/worksheets/sheet1.xml", sheetSb.ToString()); @@ -620,6 +1723,234 @@ int GetStringIndex(string value) return ms; } + private static MemoryStream CreateExcelWithImageOverCell() + { + var stream = new MemoryStream(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + + + """); + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + AddEntry(archive, "xl/_rels/workbook.xml.rels", + """ + + + + + """); + AddEntry(archive, "xl/workbook.xml", + """ + + + + + """); + AddEntry(archive, "xl/worksheets/sheet1.xml", + """ + + + Covered + + + """); + AddEntry(archive, "xl/worksheets/_rels/sheet1.xml.rels", + """ + + + + + """); + AddEntry(archive, "xl/drawings/drawing1.xml", + """ + + + + 0000 + + + + + + """); + AddEntry(archive, "xl/drawings/_rels/drawing1.xml.rels", + """ + + + + + """); + + var imageEntry = archive.CreateEntry("xl/media/image1.png"); + using var imageStream = imageEntry.Open(); + var image = Convert.FromBase64String( + "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lLQ2VwAAAABJRU5ErkJggg=="); + imageStream.Write(image, 0, image.Length); + } + + stream.Position = 0; + return stream; + } + + /// + /// Creates a minimal .xlsx containing a single clustered-column bar chart + /// with the given category labels and values embedded as chart cache data + /// (no dependency on resolving worksheet cell references). + /// + private static MemoryStream CreateExcelWithBarChart(string[] categories, double[] values) + { + var stream = new MemoryStream(); + using (var archive = new ZipArchive(stream, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + """ + + + + + + + + + + """); + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + AddEntry(archive, "xl/_rels/workbook.xml.rels", + """ + + + + + """); + AddEntry(archive, "xl/workbook.xml", + """ + + + + + """); + AddEntry(archive, "xl/worksheets/sheet1.xml", + """ + + + + + + """); + AddEntry(archive, "xl/worksheets/_rels/sheet1.xml.rels", + """ + + + + + """); + AddEntry(archive, "xl/drawings/drawing1.xml", + """ + + + + 0000 + 100200 + + + + + + + + + + + + + + + + """); + AddEntry(archive, "xl/drawings/_rels/drawing1.xml.rels", + """ + + + + + """); + + var catPts = string.Join("", categories.Select((cat, i) => + $"""{EscapeXml(cat)}""")); + var valPts = string.Join("", values.Select((val, i) => + $"""{val.ToString(System.Globalization.CultureInfo.InvariantCulture)}""")); + + AddEntry(archive, "xl/charts/chart1.xml", + $$""" + + + + + Clustered Non-Zero Prices + + + + + + + + Price + + + Sheet1!$A$2:$A${{categories.Length + 1}} + {{catPts}} + + + + + Sheet1!$B$2:$B${{values.Length + 1}} + {{valPts}} + + + + + + + + + + """); + } + + stream.Position = 0; + return stream; + } + private static MemoryStream CreateMultiSheetExcel((string Name, string[][] Rows)[] sheets) { var ms = new MemoryStream(); @@ -728,6 +2059,78 @@ int GetStringIndex(string value) return ms; } + private static MemoryStream CreateExcelWithWorksheetTarget(string worksheetTarget, string cellText) + { + var ms = new MemoryStream(); + var worksheetPart = "xl/" + worksheetTarget.Replace('\\', '/').TrimStart('/'); + + using (var archive = new ZipArchive(ms, ZipArchiveMode.Create, leaveOpen: true)) + { + AddEntry(archive, "[Content_Types].xml", + $$""" + + + + + + + + + """); + + AddEntry(archive, "_rels/.rels", + """ + + + + + """); + + AddEntry(archive, "xl/_rels/workbook.xml.rels", + $$""" + + + + + + """); + + AddEntry(archive, "xl/workbook.xml", + """ + + + + + + + """); + + AddEntry(archive, worksheetPart, + """ + + + + + 0 + + + + """); + + AddEntry(archive, "xl/sharedStrings.xml", + $$""" + + + {{EscapeXml(cellText)}} + + """); + } + + ms.Position = 0; + return ms; + } + private static void AddEntry(ZipArchive archive, string path, string content) { var entry = archive.CreateEntry(path); diff --git a/tests/MiniPdf.Tests/LowMemoryXlsxTests.cs b/tests/MiniPdf.Tests/LowMemoryXlsxTests.cs new file mode 100644 index 00000000..54c37a94 --- /dev/null +++ b/tests/MiniPdf.Tests/LowMemoryXlsxTests.cs @@ -0,0 +1,400 @@ +using System.IO.Compression; +using System.Text; +using System.Xml; + +namespace MiniSoftware.Tests; + +public class LowMemoryXlsxTests +{ + public static IEnumerable SupportedClassicFixtures() + { + var directory = GetCorpusDirectory(); + var numbers = Enumerable.Range(1, 60).Except([35, 36, 38]) + .Concat(Enumerable.Range(121, 7)) + .Concat(Enumerable.Range(131, 6)) + .Concat([139]) + .Concat(Enumerable.Range(143, 6)) + .Concat(Enumerable.Range(151, 18)) + .Concat(Enumerable.Range(170, 11)) + .Concat([182, 184]); + foreach (var number in numbers) + yield return [Directory.GetFiles(directory, $"classic{number:D2}_*.xlsx").Single()]; + } + + [ClassicCorpusTheory] + [MemberData(nameof(SupportedClassicFixtures))] + public void LowMemory_RealClassicFixture_ProducesIdenticalPdf(string path) + { + using var input = File.OpenRead(path); + var expected = MiniPdf.ConvertToPdf(input); + input.Position = 0; + Assert.Equal(expected, MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + private static string GetCorpusDirectory() + { + var root = new DirectoryInfo(AppContext.BaseDirectory); + while (root != null && !File.Exists(Path.Combine(root.FullName, "MiniPdf.sln"))) root = root.Parent; + if (root == null) throw new DirectoryNotFoundException("MiniPdf repository root was not found."); + return Path.Combine(root.FullName, "tests", "MiniPdf.Scripts", "output"); + } + + public sealed class ClassicCorpusTheoryAttribute : TheoryAttribute + { + public ClassicCorpusTheoryAttribute() + { + if (!File.Exists(Path.Combine(GetCorpusDirectory(), "classic01_basic_table_with_headers.xlsx"))) + Skip = "Generate the classic XLSX corpus with tests/MiniPdf.Scripts/generate_classic_xlsx.py."; + } + } + + [Theory] + [InlineData(0, false, false)] + [InlineData(1, false, false)] + [InlineData(200, false, false)] + [InlineData(1500, true, false)] + [InlineData(80, false, true)] + [InlineData(80, true, true)] + public void LowMemory_ProducesByteIdenticalPdf(int rows, bool compress, bool wide) + { + using var input = CreateWorkbook(rows, wide); + var expected = MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { Compress = compress }); + input.Position = 0; + var actual = MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true, Compress = compress }); + Assert.Equal(expected, actual); + } + + [Fact] + public void LowMemoryRows_PreserveNumericValue() + { + using var rows = new FileBackedList>( + LowMemorySerialization.ReadRow, LowMemorySerialization.WriteRow); + rows.Add(new List { new("4", null, null, NumericValue: 4.4) }); + + Assert.Equal((double?)4.4, rows[0][0].NumericValue); + } + + [Fact] + public void LowMemory_NonSeekableStreams_ProduceIdenticalPdfAndStayOpen() + { + using var workbook = CreateWorkbook(100); + var expected = MiniPdf.ConvertToPdf(workbook); + workbook.Position = 0; + using var input = new NonSeekableStream(workbook); + using var destination = new MemoryStream(); + using var output = new NonSeekableStream(destination); + MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions { LowMemory = true }); + Assert.Equal(expected, destination.ToArray()); + Assert.True(input.CanRead); + Assert.True(output.CanWrite); + } + + [Fact] + public void LowMemory_FileOverloads_ProduceIdenticalPdf() + { + var inputPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString("N") + ".xlsx"); + var outputPath = Path.ChangeExtension(inputPath, ".pdf"); + try + { + using (var workbook = CreateWorkbook(150)) + using (var file = File.Create(inputPath)) + workbook.CopyTo(file); + var expected = MiniPdf.ConvertToPdf(inputPath); + Assert.Equal(expected, MiniPdf.ConvertToPdf(inputPath, new MiniPdfConversionOptions { LowMemory = true })); + MiniPdf.ConvertToPdf(inputPath, outputPath, new MiniPdfConversionOptions { LowMemory = true }); + Assert.Equal(expected, File.ReadAllBytes(outputPath)); + ExcelToPdfConverter.ConvertToFile(inputPath, outputPath, + new ExcelToPdfConverter.ConversionOptions { LowMemory = true }); + Assert.Equal(expected, File.ReadAllBytes(outputPath)); + } + finally + { + File.Delete(inputPath); + File.Delete(outputPath); + } + } + + [Fact] + public void LowMemory_LayoutOverridesAndCulture_PreserveOutput() + { + using var input = CreateWorkbook(200); + var options = new MiniPdfConversionOptions + { + Landscape = true, + FitToWidth = 1, + FitToHeight = 0, + PrintScale = 80, + Culture = System.Globalization.CultureInfo.GetCultureInfo("fr-FR"), + Sheets = ["Data"], + }; + var expected = MiniPdf.ConvertToPdf(input, options); + input.Position = 0; + options.LowMemory = true; + Assert.Equal(expected, MiniPdf.ConvertToPdf(input, options)); + } + + [Theory] + [InlineData("", "mergeCells")] + [InlineData("", "conditionalFormatting")] + [InlineData("", "drawing")] + [InlineData("", "legacyDrawing")] + [InlineData("", "tableParts")] + [InlineData("", "hyperlinks")] + [InlineData("", "headerFooter")] + [InlineData("", "vertical centering")] + [InlineData("", "extLst")] + public void LowMemory_UnsupportedFeatures_ThrowBeforeWritingOutput(string feature, string message) + { + using var input = CreateWorkbook(1, extraWorksheetXml: feature); + using var output = new MemoryStream(); + var exception = Assert.Throws(() => + MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions { LowMemory = true })); + Assert.Contains(message, exception.Message); + Assert.Equal(0, output.Length); + } + + [Theory] + [InlineData("1", "row heights")] + [InlineData("", "row heights")] + [InlineData("1", "row heights")] + [InlineData("1+12", "formulas")] + public void LowMemory_UnsupportedRows_Throw(string row, string message) + { + using var input = CreateWorkbook(0, customRows: row); + var exception = Assert.Throws(() => + MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + Assert.Contains(message, exception.Message); + } + + [Theory] + [InlineData("")] + [InlineData("")] + [InlineData("1")] + public void LowMemory_InvalidRowOrderOrLimit_Throws(string rows) + { + using var input = CreateWorkbook(0, customRows: rows); + Assert.Throws(() => + MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + [Fact] + public void LowMemory_SparseRowsColumnsAndTrailingEmptyRows_PreserveOutput() + { + using var input = CreateWorkbook(0, customRows: + """ + First + Last + + """); + var expected = MiniPdf.ConvertToPdf(input); + input.Position = 0; + Assert.Equal(expected, MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + [Fact] + public void LowMemory_UnsupportedOptions_Throw() + { + var options = new[] + { + new MiniPdfConversionOptions { LowMemory = true, MaxRows = 10 }, + new MiniPdfConversionOptions { LowMemory = true, MaxColumns = 2 }, + new MiniPdfConversionOptions { LowMemory = true, FitToHeight = 1 }, + new MiniPdfConversionOptions { LowMemory = true, RowsPerPage = 40 }, + }; + foreach (var option in options) + { + using var input = CreateWorkbook(1); + Assert.Throws(() => MiniPdf.ConvertToPdf(input, option)); + } + } + + [Theory] + [InlineData("_xlnm.Print_Area")] + [InlineData("_xlnm.Print_Titles")] + public void LowMemory_PrintDefinitions_Throw(string name) + { + using var input = CreateWorkbook(1); + using (var archive = new ZipArchive(input, ZipArchiveMode.Update, leaveOpen: true)) + { + archive.GetEntry("xl/workbook.xml")!.Delete(); + WriteEntry(archive, "xl/workbook.xml", + $"""Data!$A$1:$B$2"""); + } + input.Position = 0; + Assert.Throws(() => + MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + [Fact] + public void LowMemory_WorksheetFitToHeight_Throws() + { + using var input = CreateWorkbook(1, fitToHeight: 1, + extraWorksheetXml: ""); + Assert.Throws(() => + MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + [Fact] + public void LowMemory_NonXlsxInput_Throws() + { + using var input = new MemoryStream(); + using (var zip = new ZipArchive(input, ZipArchiveMode.Create, leaveOpen: true)) + WriteEntry(zip, "word/document.xml", ""); + input.Position = 0; + Assert.Throws(() => + MiniPdf.ConvertToPdf(input, new MiniPdfConversionOptions { LowMemory = true })); + } + + [Fact] + public void FileBackedPages_RoundTripAndPersistChanges() + { + using var memory = new PdfDocument(); + using var disk = new PdfDocument(lowMemory: true); + foreach (var document in new[] { memory, disk }) + { + for (var i = 0; i < 4; i++) + { + var page = document.AddPage(); + page.AddText("Text " + i, 20, 50, clipRect: (1, 2, 3, 4), maxWidth: 80, + bold: true, italic: true, underline: true, strikethrough: true, hidden: i == 3, + charSpacing: 0.5f, wordSpacing: 1.5f, underlineWidth: 23); + page.AddRectangle(1, 2, 3, 4, PdfColor.Red, 0.5f); + page.AddLine(10, 20, 30, 40, PdfColor.Blue, 2, [2, 3]); + } + document.Pages[0].AddText("Added later", 10, 20); + } + Assert.Equal(memory.ToArray(), disk.ToArray()); + } + + [Fact] + public void TemporaryStorage_IsDeletedOnDispose() + { + string path; + using (var stream = FileBackedList.CreateTemporaryStream()) + { + path = stream.Name; + Assert.True(File.Exists(path)); + } + Assert.False(File.Exists(path)); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void LowMemoryWorkbook_DeletesOwnedFilesOnSuccessAndFailure(bool fail) + { + var paths = new List(); + using (var input = CreateWorkbook(10, extraWorksheetXml: fail ? "" : "")) + using (var storage = new LowMemoryWorkbook()) + { + paths.Add(storage.Package.Name); + paths.Add(storage.SharedStrings.FilePath); + if (fail) Assert.Throws(() => storage.Prepare(input)); + else + { + storage.Prepare(input); + var sheets = ExcelReader.ReadSheets(storage.Package, lowMemory: storage); + paths.Add(Assert.IsType>>(Assert.Single(sheets).Rows).FilePath); + } + paths.Add(Assert.IsType>(storage.GetRows("xl/worksheets/sheet1.xml")).FilePath); + Assert.All(paths, path => Assert.True(File.Exists(path))); + } + Assert.All(paths, path => Assert.False(File.Exists(path))); + } + + [Fact] + public void LowMemory_OutputFailure_Propagates() + { + using var input = CreateWorkbook(100); + using var output = new FailingOutput(); + var exception = Assert.Throws(() => + MiniPdf.ConvertToPdf(input, output, new MiniPdfConversionOptions { LowMemory = true })); + Assert.Equal("Output failure", exception.Message); + } + + internal static MemoryStream CreateWorkbook(int rows, bool wide = false, string extraWorksheetXml = "", + string? customRows = null, int fitToHeight = 0) + { + const string ns = "http://schemas.openxmlformats.org/spreadsheetml/2006/main"; + var result = new MemoryStream(); + using (var zip = new ZipArchive(result, ZipArchiveMode.Create, leaveOpen: true)) + { + WriteEntry(zip, "xl/workbook.xml", + $""""""); + WriteEntry(zip, "xl/sharedStrings.xml", + $"""Header value中文"""); + WriteEntry(zip, "xl/styles.xml", + $""" + + + + + + + """); + var entry = zip.CreateEntry("xl/worksheets/sheet1.xml"); + using var stream = entry.Open(); + using var writer = XmlWriter.Create(stream); + writer.WriteStartElement("worksheet", ns); + writer.WriteRaw($""); + writer.WriteStartElement("sheetData", ns); + if (customRows != null) writer.WriteRaw(customRows); + else + { + for (var i = 1; i <= rows; i++) + { + writer.WriteStartElement("row", ns); + writer.WriteAttributeString("r", i.ToString(System.Globalization.CultureInfo.InvariantCulture)); + writer.WriteRaw($"01{i}.25"); + writer.WriteStartElement("c", ns); + writer.WriteAttributeString("r", $"D{i}"); + writer.WriteAttributeString("t", "inlineStr"); + writer.WriteStartElement("is", ns); + writer.WriteElementString("t", ns, $"Row {i} & value"); + writer.WriteEndElement(); + writer.WriteEndElement(); + writer.WriteEndElement(); + } + } + writer.WriteEndElement(); + writer.WriteRaw($"" + extraWorksheetXml); + writer.WriteEndElement(); + } + result.Position = 0; + return result; + } + + private static void WriteEntry(ZipArchive zip, string path, string text) + { + using var writer = new StreamWriter(zip.CreateEntry(path).Open(), Encoding.UTF8); + writer.Write(text); + } + + private sealed class NonSeekableStream(Stream inner) : Stream + { + public override bool CanRead => inner.CanRead; + public override bool CanSeek => false; + public override bool CanWrite => inner.CanWrite; + public override long Length => throw new NotSupportedException(); + public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } + public override void Flush() => inner.Flush(); + public override int Read(byte[] buffer, int offset, int count) => inner.Read(buffer, offset, count); + public override void Write(byte[] buffer, int offset, int count) => inner.Write(buffer, offset, count); + public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); + public override void SetLength(long value) => throw new NotSupportedException(); + } + + private sealed class FailingOutput : Stream + { + public override bool CanRead => false; + public override bool CanSeek => false; + public override bool CanWrite => true; + public override long Length => throw new NotSupportedException(); + public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } + public override void Flush() { } + public override void Write(byte[] buffer, int offset, int count) => throw new IOException("Output failure"); + public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); + public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); + public override void SetLength(long value) => throw new NotSupportedException(); + } +} diff --git a/tests/MiniPdf.Tests/OfficeCloudFontTests.cs b/tests/MiniPdf.Tests/OfficeCloudFontTests.cs new file mode 100644 index 00000000..680dc750 --- /dev/null +++ b/tests/MiniPdf.Tests/OfficeCloudFontTests.cs @@ -0,0 +1,52 @@ +namespace MiniSoftware.Tests; + +public class OfficeCloudFontTests +{ + [Fact] + public void ConversionDiagnostics_ReportsMissingPreferredFontOccurrences() + { + var diagnostics = new MiniPdfConversionDiagnostics(); + var document = new PdfDocument(); + var page = document.AddPage(); + page.AddText("First", 20, 20, preferredFontName: "MiniPdf Missing Test Font"); + page.AddText("Second", 20, 40, preferredFontName: "MiniPdf Missing Test Font"); + + _ = document.ToArray(new PdfSaveOptions { Diagnostics = diagnostics }); + + var missing = Assert.Single(diagnostics.MissingFonts); + Assert.Equal("MiniPdf Missing Test Font", missing.FontFamily); + Assert.Equal(2, missing.OccurrenceCount); + } + + [Fact] + public void PreferredFontLookup_ResolvesNumericOfficeCloudFontFiles() + { + if (!OperatingSystem.IsWindows()) return; + + var windowsFonts = Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.Windows), "Fonts"); + var regularSource = Path.Combine(windowsFonts, "arial.ttf"); + var boldSource = Path.Combine(windowsFonts, "arialbd.ttf"); + if (!File.Exists(regularSource) || !File.Exists(boldSource)) return; + + var cacheRoot = Path.Combine(Path.GetTempPath(), $"minipdf-font-cache-{Guid.NewGuid():N}"); + var cloudFamily = Path.Combine(cacheRoot, "4", "CloudFonts", "Arial"); + Directory.CreateDirectory(cloudFamily); + var regularTarget = Path.Combine(cloudFamily, "123456789.ttf"); + var boldTarget = Path.Combine(cloudFamily, "987654321.ttf"); + File.Copy(regularSource, regularTarget); + File.Copy(boldSource, boldTarget); + + try + { + Assert.Equal(regularTarget, + PdfWriter.FindOfficeCloudFontByPreferredName("Arial", cacheRoot)); + Assert.Equal(boldTarget, + PdfWriter.FindOfficeCloudFontByPreferredName("Arial Bold", cacheRoot)); + } + finally + { + Directory.Delete(cacheRoot, recursive: true); + } + } +} \ No newline at end of file diff --git a/tests/MiniPdf.Tests/PdfDocumentTests.cs b/tests/MiniPdf.Tests/PdfDocumentTests.cs index 88d483c3..aea6e2fe 100644 --- a/tests/MiniPdf.Tests/PdfDocumentTests.cs +++ b/tests/MiniPdf.Tests/PdfDocumentTests.cs @@ -76,6 +76,26 @@ public void Save_ContainsTextContent() Assert.Contains("/Helvetica", content); } + [Fact] + public void Save_WithLayeredImages_PlacesForegroundImageAfterText() + { + var image = Convert.FromBase64String( + "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lLQ2VwAAAABJRU5ErkJggg=="); + var doc = new PdfDocument(); + var page = doc.AddPage(); + page.AddImage(image, "png", 10, 10, 20, 20); + page.AddText("Layered text", 10, 20); + page.AddImage(image, "png", 10, 10, 20, 20, renderAboveText: true); + + var content = System.Text.Encoding.ASCII.GetString(doc.ToArray()); + var backgroundImageIndex = content.IndexOf("/Im0 Do", StringComparison.Ordinal); + var textIndex = content.IndexOf("(Layered text) Tj", StringComparison.Ordinal); + var foregroundImageIndex = content.IndexOf("/Im1 Do", StringComparison.Ordinal); + + Assert.True(backgroundImageIndex < textIndex, "Background image should be painted before text."); + Assert.True(textIndex < foregroundImageIndex, "Foreground image should be painted after text."); + } + [Fact] public void Save_WithCompressedContentStreams_WritesFlateContentStream() { diff --git a/tests/MiniPdf.Tests/PptxToPdfConverterTests.cs b/tests/MiniPdf.Tests/PptxToPdfConverterTests.cs index b6b92659..c8e93d7d 100644 --- a/tests/MiniPdf.Tests/PptxToPdfConverterTests.cs +++ b/tests/MiniPdf.Tests/PptxToPdfConverterTests.cs @@ -273,13 +273,13 @@ public void ConvertToPdf_StreamApi_WorksWithNonSeekablePptxStream() } [Fact] - public void ConvertPptxToPdf_WorksWithNonSeekableStream() + public void ConvertToPdf_WorksWithNonSeekableStream() { using var pptxStream = CreatePptx( new PptxSlideSpec(new[] { PptxShapeSpec.TextBox("Explicit PPTX API", 914400, 914400, 3000000, 700000) })); using var nonSeekable = new NonSeekableStream(pptxStream); - var bytes = MiniPdf.ConvertPptxToPdf(nonSeekable); + var bytes = MiniPdf.ConvertToPdf(nonSeekable); var content = Encoding.ASCII.GetString(bytes); Assert.StartsWith("%PDF-1.4", content); @@ -320,7 +320,8 @@ public void ConvertToPdf_PptxWithSheetSelection_ThrowsHelpfulError() using var pptxStream = CreatePptx( new PptxSlideSpec(new[] { PptxShapeSpec.TextBox("No Sheets", 914400, 914400, 3000000, 700000) })); - var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(pptxStream, new[] { "Slide1" })); + var ex = Assert.Throws(() => MiniPdf.ConvertToPdf(pptxStream, + new MiniPdfConversionOptions { Sheets = new[] { "Slide1" } })); Assert.Contains("Sheet selection is only supported for .xlsx files.", ex.Message); } diff --git a/tests/MiniPdf.Tests/RegisteredFontTests.cs b/tests/MiniPdf.Tests/RegisteredFontTests.cs new file mode 100644 index 00000000..4d425649 --- /dev/null +++ b/tests/MiniPdf.Tests/RegisteredFontTests.cs @@ -0,0 +1,96 @@ +namespace MiniSoftware.Tests; + +/// +/// Runs registered-font tests apart from other collections. Registrations are process-wide, +/// so conversions running in parallel would otherwise read the fonts these tests register. +/// +[CollectionDefinition(Name, DisableParallelization = true)] +public class RegisteredFontCollection +{ + public const string Name = "Registered fonts"; +} + +[Collection(RegisteredFontCollection.Name)] +public class RegisteredFontTests : IDisposable +{ + /// + /// Starts each test with no registered fonts. + /// + public RegisteredFontTests() => MiniPdf.ClearRegisteredFonts(); + + /// + /// Clears the fonts a test registered so the next test starts from an empty list. + /// + public void Dispose() => MiniPdf.ClearRegisteredFonts(); + + /// + /// Clearing removes every registration, including repeated registrations of the same name. + /// + [Fact] + public void ClearRegisteredFonts_RemovesAllRegistrations() + { + MiniPdf.RegisterFont("First", new byte[] { 1 }); + MiniPdf.RegisterFont("Second", new byte[] { 2 }); + MiniPdf.RegisterFont("First", new byte[] { 3 }); + Assert.Equal(3, MiniPdf.GetRegisteredFonts().Count); + + MiniPdf.ClearRegisteredFonts(); + + Assert.Empty(MiniPdf.GetRegisteredFonts()); + } + + /// + /// A host can swap font sets between conversions by clearing and registering again. + /// + [Fact] + public void ClearRegisteredFonts_AllowsRegisteringADifferentFontSet() + { + MiniPdf.RegisterFont("NotoSansTC", new byte[] { 1 }); + + MiniPdf.ClearRegisteredFonts(); + MiniPdf.RegisterFont("NotoSansJP", new byte[] { 2 }); + + var registered = Assert.Single(MiniPdf.GetRegisteredFonts()); + Assert.Equal("NotoSansJP", registered.Name); + } + + /// + /// A snapshot taken before clearing, such as the one a conversion in progress reads, is not changed. + /// + [Fact] + public void ClearRegisteredFonts_DoesNotChangeEarlierSnapshot() + { + MiniPdf.RegisterFont("NotoSansTC", new byte[] { 1 }); + var snapshot = MiniPdf.GetRegisteredFonts(); + + MiniPdf.ClearRegisteredFonts(); + + Assert.Equal("NotoSansTC", Assert.Single(snapshot).Name); + } + + [Fact] + public void MetafileResolverUsesTheRegisteredFamilyWithoutSubstitution() + { + var data = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + MiniPdf.RegisterFont("MiniPdfRegisteredMetafileFace", data); + + Assert.Same(data, PdfWriter.ResolveMetafileFont("MiniPdfRegisteredMetafileFace", false, false)); + } + + [Fact] + public void MetafileResolverUsesSameFamilyOutlinesForSyntheticBold() + { + var data = TrueTypeGlyphReaderTests.CreateFont(TrueTypeGlyphReaderTests.Box()); + TrueTypeGlyphReaderTests.Write16(data, TrueTypeGlyphReaderTests.TableOffset(data, "OS/2") + 4, 400); + MiniPdf.RegisterFont("MiniPdfRegisteredMetafileFace", data); + + Assert.Same(data, PdfWriter.ResolveMetafileFont("MiniPdfRegisteredMetafileFace", true, false)); + } + + [Fact] + public void MetafileResolverRejectsAnUnavailableFamily() + { + Assert.Throws(() => + PdfWriter.ResolveMetafileFont("MiniPdfNoSuchMetafileFamilyF6DD51", false, false)); + } +} diff --git a/tests/MiniPdf.Tests/SystemFontTheoryAttribute.cs b/tests/MiniPdf.Tests/SystemFontTheoryAttribute.cs new file mode 100644 index 00000000..b7dcbce6 --- /dev/null +++ b/tests/MiniPdf.Tests/SystemFontTheoryAttribute.cs @@ -0,0 +1,29 @@ +namespace MiniSoftware.Tests; + +public sealed class SystemFontTheoryAttribute : TheoryAttribute +{ + public SystemFontTheoryAttribute(params string[] fontNames) + { + foreach (var fontName in fontNames) + { + if (!PdfWriter.TryMeasurePreferredFontWidth(fontName, "A", 11f, + bold: false, italic: false, charSpacing: 0f, out _)) + { + Skip = $"Required system font is unavailable: {fontName}"; + return; + } + } + } +} + +public class SystemFontTheoryAttributeTests +{ + [Fact] + public void MissingFont_IsReportedAsSkipped() + { + const string missingFont = "MiniPdf Missing Test Font"; + var attribute = new SystemFontTheoryAttribute(missingFont); + + Assert.Equal($"Required system font is unavailable: {missingFont}", attribute.Skip); + } +} diff --git a/tests/MiniPdf.Tests/TrueTypeGlyphReaderTests.cs b/tests/MiniPdf.Tests/TrueTypeGlyphReaderTests.cs new file mode 100644 index 00000000..90e3743e --- /dev/null +++ b/tests/MiniPdf.Tests/TrueTypeGlyphReaderTests.cs @@ -0,0 +1,310 @@ +using System.Buffers.Binary; + +namespace MiniSoftware.Tests; + +public class TrueTypeGlyphReaderTests +{ + [Fact] + public void ReadsContoursAndHorizontalMetricsWithoutDrawingDependencies() + { + var font = new TrueTypeGlyphReader(CreateFont(Box())); + var contours = font.ReadGlyph(1); + + Assert.Equal(1000, font.UnitsPerEm); + Assert.Equal(600, font.Advance(1)); + Assert.Equal(1, font.GlyphForCharacter('A')); + Assert.Equal(2, contours.Count); + Assert.Equal(new[] { (0d, 0d), (0d, 700d), (500d, 700d), (500d, 0d) }, + contours[0].Select(point => (point.X, point.Y))); + Assert.All(contours.SelectMany(contour => contour), point => Assert.True(point.OnCurve)); + Assert.Empty(font.ReadGlyph(0)); + } + + [Fact] + public void DecodesRepeatedFlagsAndUnsignedShortCoordinateDeltas() + { + var glyph = new byte[24]; + Write16(glyph, 0, 1); + Write16(glyph, 10, 3); + glyph[14] = 0x3F; + glyph[15] = 3; + new byte[] { 10, 20, 30, 40, 20, 20, 20, 20 }.CopyTo(glyph, 16); + var font = new TrueTypeGlyphReader(CreateFont(glyph)); + + Assert.Equal(new[] { (10d, 20d), (30d, 40d), (60d, 60d), (100d, 80d) }, + Assert.Single(font.ReadGlyph(1)).Select(point => (point.X, point.Y))); + } + + [Theory] + [InlineData(0x000B, 100, 200)] + [InlineData(0x080B, 50, 100)] + [InlineData(0x100B, 100, 200)] + public void ScalesCompositePointsAndHonorsOffsetCoordinateSystem(ushort flags, int expectedX, int expectedY) + { + var font = new TrueTypeGlyphReader(CreateFont(Box(), Composite(flags, 1, 100, 200, 8192))); + + var contours = font.ReadGlyph(2); + + Assert.Equal((expectedX, expectedY), ((int)contours[0][0].X, (int)contours[0][0].Y)); + Assert.Equal((expectedX + 250, expectedY + 350), ((int)contours[0][2].X, (int)contours[0][2].Y)); + } + + [Fact] + public void AppliesCompositeMatrixInOpenTypeRowVectorOrder() + { + var font = new TrueTypeGlyphReader(CreateFont(Box(), Composite(0x83, 1, -100, 200, 0, 16384, -16384, 0))); + + var point = font.ReadGlyph(2)[0][2]; + + Assert.Equal(-800, point.X); + Assert.Equal(700, point.Y); + } + + [Fact] + public void ReadsSignedByteCompositeOffsets() + { + var glyph = new byte[16]; + Write16(glyph, 0, -1); Write16(glyph, 10, 2); Write16(glyph, 12, 1); + glyph[14] = unchecked((byte)-10); glyph[15] = unchecked((byte)-20); + var font = new TrueTypeGlyphReader(CreateFont(Box(), glyph)); + + var point = font.ReadGlyph(2)[0][0]; + + Assert.Equal(-10, point.X); + Assert.Equal(-20, point.Y); + } + + [Fact] + public void LooksUpIndirectFormatFourGlyphsAndAppliesDelta() + { + var cmap = new byte[36]; + Write16(cmap, 0, 4); Write16(cmap, 2, cmap.Length); Write16(cmap, 6, 4); + Write16(cmap, 14, 66); Write16(cmap, 16, 0xFFFF); + Write16(cmap, 20, 65); Write16(cmap, 22, 0xFFFF); + Write16(cmap, 24, 1); Write16(cmap, 26, 1); Write16(cmap, 28, 4); + Write16(cmap, 32, 1); Write16(cmap, 34, 2); + var font = new TrueTypeGlyphReader(ReplaceCmap(CreateFont(Box(), Box(), Box()), cmap, 1)); + + Assert.Equal(2, font.GlyphForCharacter('A')); + Assert.Equal(3, font.GlyphForCharacter('B')); + Assert.Throws(() => font.GlyphForCharacter('@')); + } + + [Fact] + public void LooksUpFormatTwelveGroupsWithoutFillingCharacterGaps() + { + var cmap = new byte[40]; + Write16(cmap, 0, 12); Write32(cmap, 4, (uint)cmap.Length); Write32(cmap, 12, 2); + Write32(cmap, 16, 65); Write32(cmap, 20, 65); Write32(cmap, 24, 1); + Write32(cmap, 28, 67); Write32(cmap, 32, 67); Write32(cmap, 36, 2); + var font = new TrueTypeGlyphReader(ReplaceCmap(CreateFont(Box(), Box()), cmap, 10)); + + Assert.Equal(1, font.GlyphForCharacter('A')); + Assert.Equal(2, font.GlyphForCharacter('C')); + Assert.Throws(() => font.GlyphForCharacter('B')); + } + + [Fact] + public void ReadsShortLocaOffsetsAndReusesFinalLongHorizontalMetric() + { + var bytes = CreateFont(Box(), Box()); + var head = TableOffset(bytes, "head"); + var loca = TableOffset(bytes, "loca"); + Write16(bytes, head + 50, 0); + var glyphSize = Box().Length; + Write16(bytes, loca, 0); Write16(bytes, loca + 2, 0); + Write16(bytes, loca + 4, glyphSize / 2); Write16(bytes, loca + 6, glyphSize); + Write16(bytes, TableOffset(bytes, "hhea") + 34, 1); + var font = new TrueTypeGlyphReader(bytes); + + Assert.Equal(600, font.Advance(2)); + Assert.Equal(2, font.ReadGlyph(2).Count); + } + + [Theory] + [InlineData("cycle")] + [InlineData("glyph-index")] + [InlineData("truncated")] + [InlineData("repeat")] + [InlineData("transform-flags")] + [InlineData("location")] + [InlineData("table-range")] + public void RejectsMalformedGlyphsAndFontRanges(string defect) + { + var glyph = Box(); + if (defect == "cycle") glyph = Composite(3, 1, 0, 0); + if (defect == "glyph-index") glyph = Composite(3, 300, 0, 0); + if (defect == "truncated") Array.Resize(ref glyph, 16); + if (defect == "repeat") { glyph[16] = 9; glyph[17] = 255; } + if (defect == "transform-flags") glyph = Composite(0x4B, 1, 0, 0); + var bytes = CreateFont(glyph); + if (defect == "location") Write32(bytes, TableOffset(bytes, "loca") + 4, uint.MaxValue); + if (defect == "table-range") Write32(bytes, 20, uint.MaxValue); + + Assert.Throws(() => new TrueTypeGlyphReader(bytes).ReadGlyph(1)); + } + + [Theory] + [InlineData(1)] + public void RejectsPointAttachedComposites(ushort flags) + { + var font = new TrueTypeGlyphReader(CreateFont(Box(), Composite(flags, 1, 0, 0))); + + Assert.Throws(() => font.ReadGlyph(2)); + } + + [Fact] + public void GridRoundingDoesNotRoundUnhintedCompositeDesignOffsets() + { + var font = new TrueTypeGlyphReader(CreateFont(Box(), Composite(0x80F, 1, 1, 1, 0x2000))); + var contours = font.ReadGlyph(2); + + Assert.Equal(0.5, contours[0][0].X); + Assert.Equal(0.5, contours[0][0].Y); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void RejectsInheritedCompositeMetricsThatDifferFromTheParent(bool bearing) + { + var bytes = CreateFont(Box(), Composite(0x203, 1, 0, 0)); + Write16(bytes, TableOffset(bytes, "hmtx") + 8 + (bearing ? 2 : 0), 100); + var font = new TrueTypeGlyphReader(bytes); + + Assert.Throws(() => font.ReadGlyph(2)); + } + + internal static byte[] Box() => Simple( + new[] { (0, 0, true), (0, 700, true), (500, 700, true), (500, 0, true) }, + new[] { (100, 100, true), (400, 100, true), (400, 600, true), (100, 600, true) }); + + internal static byte[] Simple(params (int X, int Y, bool OnCurve)[][] contours) + { + var points = contours.SelectMany(contour => contour).ToArray(); + var size = 12 + contours.Length * 2 + points.Length * 5; + var bytes = new byte[(size + 1) & ~1]; + Write16(bytes, 0, contours.Length); + var last = -1; + for (var index = 0; index < contours.Length; index++) + { + last += contours[index].Length; + Write16(bytes, 10 + index * 2, last); + } + var flagsOffset = 12 + contours.Length * 2; + var previousX = 0; + var previousY = 0; + for (var index = 0; index < points.Length; index++) + { + var point = points[index]; + bytes[flagsOffset + index] = point.OnCurve ? (byte)1 : (byte)0; + Write16(bytes, flagsOffset + points.Length + index * 2, point.X - previousX); + Write16(bytes, flagsOffset + points.Length * 3 + index * 2, point.Y - previousY); + previousX = point.X; previousY = point.Y; + } + return bytes; + } + + internal static byte[] Composite(ushort flags, ushort glyph, short x, short y, params short[] transform) + { + var bytes = new byte[18 + transform.Length * 2]; + Write16(bytes, 0, -1); + Write16(bytes, 10, flags); + Write16(bytes, 12, glyph); + Write16(bytes, 14, x); + Write16(bytes, 16, y); + for (var index = 0; index < transform.Length; index++) Write16(bytes, 18 + index * 2, transform[index]); + return bytes; + } + + internal static byte[] CreateFont(params byte[][] glyphs) + { + var count = glyphs.Length + 1; + var head = new byte[54]; + Write16(head, 18, 1000); + Write16(head, 50, 1); + var hhea = new byte[36]; + Write16(hhea, 34, count); + var os2 = new byte[78]; + Write16(os2, 2, 600); + Write16(os2, 74, 1000); + Write16(os2, 76, 200); + var hmtx = new byte[count * 4]; + for (var index = 0; index < count; index++) Write16(hmtx, index * 4, 600); + var maxp = new byte[6]; + Write32(maxp, 0, 0x10000); + Write16(maxp, 4, count); + var loca = new byte[(count + 1) * 4]; + var offset = 0; + for (var index = 0; index < glyphs.Length; index++) + { + offset += glyphs[index].Length; + Write32(loca, (index + 2) * 4, (uint)offset); + } + var cmap = new byte[44]; + Write16(cmap, 2, 1); + Write16(cmap, 4, 3); + Write16(cmap, 6, 1); + Write32(cmap, 8, 12); + Write16(cmap, 12, 4); + Write16(cmap, 14, 32); + Write16(cmap, 18, 4); + Write16(cmap, 26, 0x40 + glyphs.Length); + Write16(cmap, 28, 0xFFFF); + Write16(cmap, 32, 0x41); + Write16(cmap, 34, 0xFFFF); + Write16(cmap, 36, -64); + Write16(cmap, 38, 1); + var tables = new Dictionary + { + ["head"] = head, ["hhea"] = hhea, ["hmtx"] = hmtx, ["maxp"] = maxp, + ["loca"] = loca, ["glyf"] = glyphs.SelectMany(glyph => glyph).ToArray(), + ["OS/2"] = os2, ["cmap"] = cmap + }; + var dataOffset = 12 + tables.Count * 16; + var font = new byte[dataOffset + tables.Values.Sum(table => (table.Length + 3) & ~3)]; + Write32(font, 0, 0x10000); + Write16(font, 4, tables.Count); + var entry = 12; + foreach (var table in tables) + { + System.Text.Encoding.ASCII.GetBytes(table.Key).CopyTo(font, entry); + Write32(font, entry + 8, (uint)dataOffset); + Write32(font, entry + 12, (uint)table.Value.Length); + table.Value.CopyTo(font, dataOffset); + dataOffset += (table.Value.Length + 3) & ~3; + entry += 16; + } + return font; + } + + internal static int TableOffset(byte[] font, string tag) + { + var count = BinaryPrimitives.ReadUInt16BigEndian(font.AsSpan(4)); + for (var index = 0; index < count; index++) + if (System.Text.Encoding.ASCII.GetString(font, 12 + index * 16, 4) == tag) + return (int)BinaryPrimitives.ReadUInt32BigEndian(font.AsSpan(20 + index * 16)); + throw new InvalidOperationException("Synthetic font table was not found."); + } + + private static byte[] ReplaceCmap(byte[] font, byte[] subtable, int encoding) + { + var offset = TableOffset(font, "cmap"); + Array.Resize(ref font, offset + 12 + subtable.Length); + font.AsSpan(offset).Clear(); + Write16(font, offset + 2, 1); Write16(font, offset + 4, 3); + Write16(font, offset + 6, encoding); Write32(font, offset + 8, 12); + subtable.CopyTo(font, offset + 12); + var count = BinaryPrimitives.ReadUInt16BigEndian(font.AsSpan(4)); + for (var index = 0; index < count; index++) + if (System.Text.Encoding.ASCII.GetString(font, 12 + index * 16, 4) == "cmap") + Write32(font, 24 + index * 16, (uint)(12 + subtable.Length)); + return font; + } + + internal static void Write16(byte[] bytes, int offset, int value) => + BinaryPrimitives.WriteUInt16BigEndian(bytes.AsSpan(offset), unchecked((ushort)value)); + + internal static void Write32(byte[] bytes, int offset, uint value) => + BinaryPrimitives.WriteUInt32BigEndian(bytes.AsSpan(offset), value); +} diff --git a/tests/MiniPdf.Tests/TrueTypeNativeGlyphTests.cs b/tests/MiniPdf.Tests/TrueTypeNativeGlyphTests.cs new file mode 100644 index 00000000..1229fecd --- /dev/null +++ b/tests/MiniPdf.Tests/TrueTypeNativeGlyphTests.cs @@ -0,0 +1,209 @@ +using System.Buffers.Binary; +using System.Runtime.InteropServices; + +namespace MiniSoftware.Tests; + +public sealed class WindowsGlyphTheoryAttribute : TheoryAttribute +{ + public WindowsGlyphTheoryAttribute() + { + if (!OperatingSystem.IsWindows()) Skip = "Native unhinted outline comparisons require Windows GDI."; + else if (!File.Exists(TrueTypeNativeGlyphTests.FontPath)) Skip = "Native outline comparisons require installed Arial."; + } +} + +public class TrueTypeNativeGlyphTests +{ + internal static string FontPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Fonts), "arial.ttf"); + + [WindowsGlyphTheory] + [InlineData('A')] + [InlineData('B')] + [InlineData('O')] + [InlineData('S')] + [InlineData('g')] + public void DecodedContoursMatchNativeUnhintedOutlines(char character) + { + var font = new TrueTypeGlyphReader(File.ReadAllBytes(FontPath)); + var glyph = font.GlyphForCharacter(character); + var actual = Segments(font.ReadGlyph(glyph)); + var native = NativeOutline(character, font.UnitsPerEm, out var advance); + var expected = Segments(native); + + Assert.NotEmpty(expected); + Assert.Equal(advance, font.Advance(glyph)); + Assert.True(actual.SetEquals(expected), + $"Unhinted {character} outline differs: {actual.Count} decoded segments, {expected.Count} native segments; " + + $"first unexpected {actual.Except(expected).FirstOrDefault()}, first missing {expected.Except(actual).FirstOrDefault()}."); + } + + [WindowsEmfTheory] + [InlineData('ồ')] + [InlineData('ề')] + [InlineData('ẫ')] + [InlineData('ủ')] + public void SegoeVietnameseCompositesMatchNativeUnhintedOutlines(char character) + { + var bytes = File.ReadAllBytes(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Fonts), "segoeui.ttf")); + var font = new TrueTypeGlyphReader(bytes); + var glyph = font.GlyphForCharacter(character); + var native = NativeOutline(character, font.UnitsPerEm, out var advance, face: "Segoe UI"); + + Assert.Equal(advance, font.Advance(glyph)); + Assert.True(Segments(font.ReadGlyph(glyph)).SetEquals(Segments(native)), "Vietnamese composite outlines must preserve their shared horizontal origin."); + } + + [WindowsGlyphTheory] + [InlineData('A')] + [InlineData('g')] + public void PositiveCellHeightsMatchNativeUnhintedFontSizing(char character) + { + var bytes = File.ReadAllBytes(FontPath); + var font = new TrueTypeGlyphReader(bytes); + var offset = TrueTypeGlyphReaderTests.TableOffset(bytes, "OS/2"); + var cellHeight = BinaryPrimitives.ReadUInt16BigEndian(bytes.AsSpan(offset + 74)) + + BinaryPrimitives.ReadUInt16BigEndian(bytes.AsSpan(offset + 76)); + var actual = Segments(font.ReadGlyph(font.GlyphForCharacter(character))); + var native = NativeOutline(character, font.UnitsPerEm, out var advance, cellHeight); + + Assert.True(actual.SetEquals(Segments(native)), "Positive cell height must select the matching em size."); + Assert.Equal(font.Advance(font.GlyphForCharacter(character)), advance); + } + + [WindowsGlyphTheory] + [InlineData(1, false)] + [InlineData(2, false)] + [InlineData(2, true)] + public void RequestedAverageWidthsMatchNativeHorizontalScaling(int factor, bool positiveHeight) + { + var bytes = File.ReadAllBytes(FontPath); + var font = new TrueTypeGlyphReader(bytes); + var offset = TrueTypeGlyphReaderTests.TableOffset(bytes, "OS/2"); + var average = BinaryPrimitives.ReadInt16BigEndian(bytes.AsSpan(offset + 2)); + var glyph = font.GlyphForCharacter('A'); + var expected = font.ReadGlyph(glyph).Select(contour => contour.Select(point => + new TrueTypeGlyphReader.Point(point.X * factor, point.Y, point.OnCurve)).ToList()).ToList(); + var cellHeight = BinaryPrimitives.ReadUInt16BigEndian(bytes.AsSpan(offset + 74)) + + BinaryPrimitives.ReadUInt16BigEndian(bytes.AsSpan(offset + 76)); + var native = NativeOutline('A', font.UnitsPerEm, out var advance, + cellHeight: positiveHeight ? cellHeight : null, width: average * factor); + + Assert.True(Segments(expected).SetEquals(Segments(native)), "Requested width must scale only the horizontal outline."); + Assert.Equal(font.Advance(glyph) * factor, advance); + } + + private static HashSet<(long, long, long, long, long, long)> Segments(List> contours) + { + var result = new HashSet<(long, long, long, long, long, long)>(); + foreach (var contour in contours) + { + var first = contour[0]; + var last = contour[contour.Count - 1]; + var start = first.OnCurve ? (first.X, first.Y) : last.OnCurve ? (last.X, last.Y) : Mid(last, first); + var current = start; + for (var index = first.OnCurve ? 1 : 0; index < contour.Count;) + { + var point = contour[index]; + if (point.OnCurve) { Line((point.X, point.Y)); index++; } + else + { + var next = contour[(index + 1) % contour.Count]; + var end = next.OnCurve ? (next.X, next.Y) : Mid(point, next); + Add(current, (point.X, point.Y), end); + current = end; + index += next.OnCurve ? 2 : 1; + } + } + Line(start); + + void Line((double X, double Y) end) + { + if (current != end) Add(current, ((current.Item1 + end.X) / 2, (current.Item2 + end.Y) / 2), end); + current = end; + } + void Add((double X, double Y) a, (double X, double Y) b, (double X, double Y) c) => + result.Add((Q(a.X), Q(a.Y), Q(b.X), Q(b.Y), Q(c.X), Q(c.Y))); + } + return result; + + static long Q(double value) => (long)Math.Round(value * 128); + static (double, double) Mid(TrueTypeGlyphReader.Point a, TrueTypeGlyphReader.Point b) => ((a.X + b.X) / 2, (a.Y + b.Y) / 2); + } + + private static List> NativeOutline(char character, int unitsPerEm, out int advance, + int? cellHeight = null, int width = 0, string face = "Arial") + { + var dc = CreateCompatibleDC(IntPtr.Zero); + Assert.NotEqual(IntPtr.Zero, dc); + var font = IntPtr.Zero; + var previous = IntPtr.Zero; + try + { + font = CreateFontW(cellHeight ?? -unitsPerEm, width, 0, 0, 400, 0, 0, 0, 1, 0, 0, 3, 0, face); + Assert.NotEqual(IntPtr.Zero, font); + previous = SelectObject(dc, font); + Assert.NotEqual(IntPtr.Zero, previous); + var transform = new Matrix { M11 = 65536, M22 = 65536 }; + const uint unhintedNative = 0x102; + var length = GetGlyphOutlineW(dc, character, unhintedNative, out var metrics, 0, null, ref transform); + Assert.NotEqual(uint.MaxValue, length); + var bytes = new byte[length]; + Assert.Equal(length, GetGlyphOutlineW(dc, character, unhintedNative, out metrics, length, bytes, ref transform)); + advance = metrics.AdvanceX; + var contours = new List>(); + for (var offset = 0; offset < bytes.Length;) + { + var end = checked(offset + (int)U32(offset)); + Assert.InRange(end, offset + 16, bytes.Length); + Assert.Equal(24u, U32(offset + 4)); + var contour = new List { Point(offset + 8, true) }; + for (var curve = offset + 16; curve < end;) + { + var type = U16(curve); + var count = U16(curve + 2); + Assert.True(type == 1 || type == 2, $"Unexpected native quadratic outline primitive {type}."); + Assert.True(count >= (type == 1 ? 1 : 2)); + Assert.True(curve + 4 + count * 8 <= end); + for (var index = 0; index < count; index++) + contour.Add(Point(curve + 4 + index * 8, type == 1 || index == count - 1)); + curve += 4 + count * 8; + } + contours.Add(contour); + offset = end; + } + return contours; + + ushort U16(int offset) => BinaryPrimitives.ReadUInt16LittleEndian(bytes.AsSpan(offset)); + uint U32(int offset) => BinaryPrimitives.ReadUInt32LittleEndian(bytes.AsSpan(offset)); + TrueTypeGlyphReader.Point Point(int offset, bool onCurve) => new( + BinaryPrimitives.ReadInt32LittleEndian(bytes.AsSpan(offset)) / 65536d, + BinaryPrimitives.ReadInt32LittleEndian(bytes.AsSpan(offset + 4)) / 65536d, onCurve); + } + finally + { + if (previous != IntPtr.Zero) SelectObject(dc, previous); + if (font != IntPtr.Zero) DeleteObject(font); + DeleteDC(dc); + } + } + + [StructLayout(LayoutKind.Sequential)] + private struct Matrix { internal int M11, M12, M21, M22; } + [StructLayout(LayoutKind.Sequential)] + private struct Metrics { internal uint Width, Height; internal int OriginX, OriginY; internal short AdvanceX, AdvanceY; } + + [DllImport("gdi32.dll", CharSet = CharSet.Unicode, ExactSpelling = true)] + private static extern IntPtr CreateFontW(int height, int width, int escapement, int orientation, int weight, + uint italic, uint underline, uint strikeout, uint charset, uint precision, uint clip, uint quality, uint pitch, string face); + [DllImport("gdi32.dll", ExactSpelling = true)] + private static extern uint GetGlyphOutlineW(IntPtr dc, uint character, uint format, + out Metrics metrics, uint length, [Out] byte[]? buffer, ref Matrix transform); + [DllImport("gdi32.dll")] + private static extern IntPtr CreateCompatibleDC(IntPtr dc); + [DllImport("gdi32.dll")] + private static extern bool DeleteDC(IntPtr dc); + [DllImport("gdi32.dll")] + private static extern IntPtr SelectObject(IntPtr dc, IntPtr value); + [DllImport("gdi32.dll")] + private static extern bool DeleteObject(IntPtr value); +} diff --git a/tests/MiniPdf.Tests/WmfVectorAdapterTests.cs b/tests/MiniPdf.Tests/WmfVectorAdapterTests.cs new file mode 100644 index 00000000..b3e65369 --- /dev/null +++ b/tests/MiniPdf.Tests/WmfVectorAdapterTests.cs @@ -0,0 +1,105 @@ +using System.Buffers.Binary; +using System.Runtime.InteropServices; + +namespace MiniSoftware.Tests; + +public class WmfVectorAdapterTests +{ + [Fact] + public void ProductionPortableConversionRendersPlaceableWmf() + { + var png = DocxReader.TryConvertMetafileToPngPortable(CreateWmf(), 1, 1, rasterHeight: 32); + Assert.NotNull(png); + var pixels = EmfVectorRendererTests.Decode(png, 32, 32); + Assert.Equal(new byte[] { 255, 0, 0, 255 }, pixels.AsSpan((8 * 32 + 8) * 4, 4).ToArray()); + Assert.Equal(new byte[] { 0, 0, 255, 255 }, pixels.AsSpan((27 * 32 + 27) * 4, 4).ToArray()); + } + + [WindowsEmfTheory] + [InlineData(32)] + [InlineData(64)] + public void PlaceableVectorWmfMatchesNativeConversion(int size) + { + var wmf = CreateWmf(); + var emf = WmfVectorAdapter.Convert(wmf, size, size); + var actual = EmfVectorRendererTests.Decode(EmfVectorRenderer.Render(emf, size, size), size, size); + var dc = CreateCompatibleDC(IntPtr.Zero); + var native = IntPtr.Zero; + try + { + Assert.NotEqual(IntPtr.Zero, dc); + var picture = new MetafilePicture { MapMode = 8, Width = 847, Height = 847 }; + var bits = wmf.AsSpan(22).ToArray(); + native = SetWinMetaFileBits((uint)bits.Length, bits, dc, ref picture); + Assert.NotEqual(IntPtr.Zero, native); + var length = GetEnhMetaFileBits(native, 0, null); + Assert.NotEqual(0u, length); + var converted = new byte[length]; + Assert.Equal(length, GetEnhMetaFileBits(native, length, converted)); + var expected = EmfNativePlaybackTests.PlayNative(converted, size, size); + EmfNativePlaybackTests.AssertPixelsEqual(actual, expected, size, size); + } + finally + { + if (native != IntPtr.Zero) DeleteEnhMetaFile(native); + if (dc != IntPtr.Zero) DeleteDC(dc); + } + } + + [Theory] + [InlineData("checksum")] + [InlineData("length")] + [InlineData("record")] + public void MalformedWmfDoesNotReturnAnImage(string defect) + { + var data = CreateWmf(); + if (defect == "checksum") data[20] ^= 1; + if (defect == "length") BinaryPrimitives.WriteUInt32LittleEndian(data.AsSpan(28), uint.MaxValue); + if (defect == "record") BinaryPrimitives.WriteUInt32LittleEndian(data.AsSpan(40), uint.MaxValue); + Assert.Throws(() => WmfVectorAdapter.Convert(data, 32, 32)); + } + + private static byte[] CreateWmf() + { + byte[] Record(ushort function, params ushort[] parameters) + { + var record = new byte[6 + parameters.Length * 2]; + BinaryPrimitives.WriteUInt32LittleEndian(record, (uint)record.Length / 2); + BinaryPrimitives.WriteUInt16LittleEndian(record.AsSpan(4), function); + for (var index = 0; index < parameters.Length; index++) + BinaryPrimitives.WriteUInt16LittleEndian(record.AsSpan(6 + index * 2), parameters[index]); + return record; + } + var records = new[] { + Record(0x020B, 0, 0), Record(0x020C, 32, 32), + Record(0x02FC, 0, 255, 0, 0), Record(0x012D, 0), + Record(0x02FA, 5, 0, 0, 0, 0), Record(0x012D, 1), Record(0x041B, 24, 24, 4, 4), + Record(0x012D, 0x8005), Record(0x012D, 0x8008), Record(0x01F0, 0), Record(0x01F0, 1), + Record(0x02FC, 0, 0, 255, 0), Record(0x012D, 0), Record(0x041B, 30, 30, 26, 26), Record(0) }; + var result = new byte[40 + records.Sum(record => record.Length)]; + BinaryPrimitives.WriteUInt32LittleEndian(result, 0x9AC6CDD7); + BinaryPrimitives.WriteInt16LittleEndian(result.AsSpan(10), 32); + BinaryPrimitives.WriteInt16LittleEndian(result.AsSpan(12), 32); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(14), 96); + ushort checksum = 0; + for (var index = 0; index < 20; index += 2) checksum ^= BinaryPrimitives.ReadUInt16LittleEndian(result.AsSpan(index)); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(20), checksum); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(22), 1); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(24), 9); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(26), 0x300); + BinaryPrimitives.WriteUInt32LittleEndian(result.AsSpan(28), (uint)(result.Length - 22) / 2); + BinaryPrimitives.WriteUInt16LittleEndian(result.AsSpan(32), 2); + BinaryPrimitives.WriteUInt32LittleEndian(result.AsSpan(34), (uint)records.Max(record => record.Length) / 2); + var offset = 40; + foreach (var record in records) { record.CopyTo(result, offset); offset += record.Length; } + return result; + } + + [StructLayout(LayoutKind.Sequential)] + private struct MetafilePicture { internal int MapMode, Width, Height; internal IntPtr Metafile; } + [DllImport("gdi32.dll")] private static extern IntPtr CreateCompatibleDC(IntPtr dc); + [DllImport("gdi32.dll")] private static extern bool DeleteDC(IntPtr dc); + [DllImport("gdi32.dll")] private static extern bool DeleteEnhMetaFile(IntPtr metafile); + [DllImport("gdi32.dll")] private static extern IntPtr SetWinMetaFileBits(uint size, byte[] data, IntPtr dc, ref MetafilePicture picture); + [DllImport("gdi32.dll")] private static extern uint GetEnhMetaFileBits(IntPtr metafile, uint size, [Out] byte[]? data); +} diff --git a/tests/MiniPdf.Tests/XlsxIssueFileTests.cs b/tests/MiniPdf.Tests/XlsxIssueFileTests.cs index 12e07401..991c269e 100644 --- a/tests/MiniPdf.Tests/XlsxIssueFileTests.cs +++ b/tests/MiniPdf.Tests/XlsxIssueFileTests.cs @@ -1,10 +1,115 @@ using System.Text; using System.Text.RegularExpressions; +using System.IO.Compression; namespace MiniSoftware.Tests; public class XlsxIssueFileTests { + [Fact] + public void Issue202609031340_PreservesLayoutAndOlePreviews() + { + var issuePath = FindIssueXlsx("Issue202609031340.xlsx"); + + using (var archive = ZipFile.OpenRead(issuePath)) + { + foreach (var entryName in new[] { "xl/media/image1.emf", "xl/media/image2.emf" }) + { + var entry = Assert.IsType(archive.GetEntry(entryName)); + using var input = entry.Open(); + using var source = new MemoryStream(); + input.CopyTo(source); + var png = DocxReader.TryConvertMetafileToPngPortable(source.ToArray(), 1, 1); + Assert.NotNull(png); + AssertHasDrawingContent(png); + } + } + + using var stream = File.OpenRead(issuePath); + var sheets = ExcelReader.ReadSheets(stream); + Assert.All(sheets, sheet => Assert.True(sheet.VerticalCentered)); + Assert.Equal(255, sheets[0].Rows[45][0].TextRotation); + Assert.Equal(2, sheets[0].Images.Count); + Assert.All(sheets[0].Images, image => + { + Assert.Equal("png", image.Extension); + AssertHasDrawingContent(image.Data); + Assert.NotNull(image.AbsoluteLeftPt); + Assert.NotNull(image.AbsoluteTopPt); + Assert.NotNull(image.VmlFromColOffset); + Assert.NotNull(image.VmlFromRowOffset); + Assert.NotNull(image.VmlToColOffset); + Assert.NotNull(image.VmlToRowOffset); + }); + + var doc = ExcelToPdfConverter.Convert(issuePath); + + Assert.Equal(4, doc.Pages.Count); + Assert.All(new[] { doc.Pages[1], doc.Pages[3] }, page => + { + Assert.NotEmpty(page.LineBlocks); + Assert.True(page.LineBlocks.Max(line => Math.Max(line.Y1, line.Y2)) < page.Height * 0.7f); + Assert.True(page.LineBlocks.Min(line => Math.Min(line.Y1, line.Y2)) > page.Height * 0.3f); + }); + Assert.All("修订记录", character => + Assert.Contains(doc.Pages[1].TextBlocks, block => block.Text == character.ToString())); + Assert.Equal(2, doc.Pages[0].ImageBlocks.Count); + var imageTops = doc.Pages[0].ImageBlocks + .Select(image => doc.Pages[0].Height - image.Y - image.RenderHeight) + .OrderBy(top => top) + .ToArray(); + Assert.InRange(imageTops[0], 215f, 218f); + Assert.InRange(imageTops[1], 528f, 530f); + } + + private static void AssertHasDrawingContent(byte[] png) + { + Assert.True(PdfWriter.TryDecodePngToRgb(png, out var width, out var height, out var rgb, out var alpha)); + var visiblePixels = 0; + var hasRed = false; + var hasBlue = false; + for (var row = 0; row < height; row += 2) + { + for (var column = 0; column < width; column += 2) + { + var position = row * width + column; + var a = alpha == null ? (byte)255 : alpha[position]; + var r = rgb[position * 3]; var g = rgb[position * 3 + 1]; var b = rgb[position * 3 + 2]; + if (a > 0 && (r < 250 || g < 250 || b < 250)) + visiblePixels++; + if (a > 0 && r > g * 1.5 && r > b * 1.5) + hasRed = true; + if (a > 0 && b > r * 1.5 && b > g * 1.5) + hasBlue = true; + } + } + Assert.True(visiblePixels > 100, $"Expected substantial rendered content, got {visiblePixels} sampled pixels."); + Assert.True(hasRed, "Expected red drawing content."); + Assert.True(hasBlue, "Expected blue drawing content."); + } + + [Fact] + public void AcademicAchievement_ManualPageBreak_UsesIntegerScaleForFixedRows() + { + var issuePath = FindIssueXlsx("Academic Achievement Summary Table.xlsx"); + + var doc = ExcelToPdfConverter.Convert(issuePath); + + Assert.Equal(2, doc.Pages.Count); + var horizontalGridLines = doc.Pages[1].LineBlocks + .Where(line => Math.Abs(line.Y1 - line.Y2) < 0.001f) + .Select(line => line.Y1) + .Distinct() + .OrderByDescending(y => y) + .ToArray(); + var repeatedFixedRows = horizontalGridLines + .Zip(horizontalGridLines.Skip(1), (top, bottom) => top - bottom) + .Count(height => Math.Abs(height - 28.083f) < 0.001f); + + Assert.True(repeatedFixedRows >= 8, + $"Expected repeated 37.95pt rows at 74% scale, found {repeatedFixedRows} matching rows."); + } + [Fact] public void Issue81_LayoutOptions_CompactLargeWorksheetOutput() { @@ -39,6 +144,76 @@ public void Issue81_LayoutOptions_CompactLargeWorksheetOutput() Assert.Equal(compactDoc.Pages.Count, CountPdfPages(compactPdf)); } + [Fact] + public void Issue82_WideTable_NoColumnMetadataFitsOnFinalPage() + { + var issuePath = FindIssueXlsx("XlsxIssue82_WideTable.xlsx"); + + var doc = ExcelToPdfConverter.Convert(issuePath); + + Assert.Equal(13, doc.Pages.Count); + Assert.Contains(doc.Pages[12].TextBlocks, block => block.Text == "Phone"); + Assert.Contains(doc.Pages[12].TextBlocks, block => block.Text.Contains("QA Automation Specialist")); + } + + [Fact] + public void BusinessExpenseBudget_ExplicitPageSetupPreservesHorizontalChartSlices() + { + var issuePath = FindIssueXlsx("Business expense budget1.xlsx"); + + var doc = ExcelToPdfConverter.Convert(issuePath); + + Assert.Equal(4, doc.Pages.Count); + Assert.DoesNotContain(doc.Pages[0].TextBlocks, block => block.Text == "Q2 ACTUAL"); + Assert.Contains(doc.Pages[1].TextBlocks, block => block.Text == "Budget vs Actual by Category"); + Assert.Contains(doc.Pages[2].TextBlocks, block => block.Text == "Q2 ACTUAL"); + Assert.Contains(doc.Pages[3].TextBlocks, block => block.Text.Contains("Professional Services")); + } + + [Fact] + public void BusinessExpensesBudget2_GroupedDrawingUsesPrintScale() + { + var issuePath = FindIssueXlsx("Business expenses budget2.xlsx"); + + using var stream = File.OpenRead(issuePath); + var sheet = Assert.Single(ExcelReader.ReadSheets(stream).Take(1)); + Assert.Equal("Wages", sheet.Rows[8][1].Text); + var firstStripeFill = Assert.IsType(sheet.Rows[8][1].FillColor); + Assert.InRange(firstStripeFill.R, 0.84f, 0.86f); + Assert.InRange(firstStripeFill.G, 0.84f, 0.86f); + Assert.InRange(firstStripeFill.B, 0.84f, 0.86f); + Assert.Equal("Benefits", sheet.Rows[9][1].Text); + // Rows between stripes keep the whole-table fill, as in the Excel reference. + var wholeTableFill = Assert.IsType(sheet.Rows[9][1].FillColor); + Assert.InRange(wholeTableFill.R, 0.94f, 0.96f); + Assert.InRange(wholeTableFill.G, 0.94f, 0.96f); + Assert.InRange(wholeTableFill.B, 0.94f, 0.96f); + + var doc = ExcelToPdfConverter.Convert(issuePath); + var page = doc.Pages[0]; + + Assert.Equal(2, page.ImageBlocks.Count); + Assert.All(page.ImageBlocks, image => + { + Assert.InRange(image.RenderWidth, 105f, 107f); + Assert.InRange(image.RenderHeight, 67f, 69f); + }); + + var decoration = Assert.Single(page.PolygonBlocks); + Assert.Equal(new PdfColor(0f, 0f, 0f), decoration.FillColor); + Assert.Equal(0.5f, decoration.Alpha); + var decorationWidth = decoration.Points.Max(point => point.X) - decoration.Points.Min(point => point.X); + var decorationHeight = decoration.Points.Max(point => point.Y) - decoration.Points.Min(point => point.Y); + Assert.InRange(decorationWidth, 89f, 91f); + Assert.InRange(decorationHeight, 49f, 51f); + + using var output = new MemoryStream(); + doc.Save(output); + var pdf = System.Text.Encoding.Latin1.GetString(output.ToArray()); + Assert.Contains("/GS_P0 << /Type /ExtGState /ca 0.500 >>", pdf); + Assert.Contains("/GS_P0 gs", pdf); + } + private static string FindIssueXlsx(string fileName) { var dir = new DirectoryInfo(AppContext.BaseDirectory);