Skip to content

Implement layout engines, PDF pipeline, and enhance documentation#8

Merged
guillercp93 merged 41 commits into
Masterfrom
develop
Jun 12, 2026
Merged

Implement layout engines, PDF pipeline, and enhance documentation#8
guillercp93 merged 41 commits into
Masterfrom
develop

Conversation

@guillercp93

Copy link
Copy Markdown
Owner

No description provided.

guillercp93 and others added 30 commits April 16, 2026 10:31
…improved pagination, and enhanced background/border rendering logic.
…gression tests to prevent path traversal vulnerabilities
…s and adding thread synchronization to FontRegistry
@guillercp93 guillercp93 merged commit 7f40779 into Master Jun 12, 2026
3 of 4 checks passed
guillercp93 added a commit that referenced this pull request Jun 21, 2026
* feat: implement CSS value parsing logic and project structure for library, example, and test suites

* feat: implement new block and inline layout engines with supporting primitive models

* docs: add XML documentation comments to BlockLayoutEngine methods and class

* feat: implement PDF document writing pipeline and supporting structural models

* feat: implement TrueType font embedding with subsetting support and glyph-accurate layout metrics

* refactor: move font-related models and builders to a dedicated namespace and simplify font resource management

* refactor: modernize codebase by adopting target-typed new expressions and collection initializers

* chore: add .snyk configuration file to exclude test projects and build directories

* feat: implement image loading subsystem with PNG and JPEG support

* feat: implement CSS stylesheet parsing and selector matching logic for layout engines

* docs: add comprehensive documentation and dependency injection support for HtmlToPdfDotNet library

* feat: add Razor view rendering support and an MVC example for sales report generation

* refactor: implement Z-order control for box primitives and improve image layout rendering logic

* refactor: clean up service namespaces and improve image data URI parsing with robust sanitization and logging

* refactor: optimize TableLayoutEngine with struct-based row handling, improved pagination, and enhanced background/border rendering logic.

* feat: add table layout tests and fix CSS border parser to correctly handle RGB/RGBA color values

* feat: initialize CodeGraph MCP server configuration and documentation

* docs: update README with ASP.NET Core Razor view integration and image embedding guidance

* refactor: secure file path resolution to prevent directory traversal and update sample sales data

* fix: sanitize directory separators in image paths and add security regression tests to prevent path traversal vulnerabilities

* feat: implement text-transform property support including full-width conversion

* feat: implement border-radius support for CSS rectangles and update PDF rendering primitives

* feat: implement text-decoration CSS property support with underline, overline, and line-through rendering

* feat: implement text-transform inheritance and optimize content stream path rendering

* refactor: migrate codegraph configuration and cleanup legacy project files

* feat: make PdfGenerator thread-safe by snapshotting conversion options and adding thread synchronization to FontRegistry

* feat: improve public API robustness by adding comprehensive input validation and throwing meaningful exceptions

* test: add integration tests for PDF structure and output content validation

* test: remove flaky test cases and update font path for cross-environment compatibility

* chore: remove stale daemon process identifier file

* chore: ignore pid and sock files in .codegraph directory

* test: add unit tests for image loading, resource building, page dimensions, and dependency injection registration

* feat: implement layout engine upgrades including page break controls, header/footer support, and basic flexbox rendering

* feat: implement table header repetition across pages in TableLayoutEngine

* feat: implement FlexLayoutEngine and configure project development skills and specifications

* chore: add .agents skills for project conventions and ignore .atl directory

---------

Co-authored-by: guiller <guillercp93@outlook.com>
guillercp93 added a commit that referenced this pull request Jun 21, 2026
* feat: implement CSS value parsing logic and project structure for library, example, and test suites

* feat: implement new block and inline layout engines with supporting primitive models

* docs: add XML documentation comments to BlockLayoutEngine methods and class

* feat: implement PDF document writing pipeline and supporting structural models

* feat: implement TrueType font embedding with subsetting support and glyph-accurate layout metrics

* refactor: move font-related models and builders to a dedicated namespace and simplify font resource management

* refactor: modernize codebase by adopting target-typed new expressions and collection initializers

* chore: add .snyk configuration file to exclude test projects and build directories

* feat: implement image loading subsystem with PNG and JPEG support

* feat: implement CSS stylesheet parsing and selector matching logic for layout engines

* docs: add comprehensive documentation and dependency injection support for HtmlToPdfDotNet library

* feat: add Razor view rendering support and an MVC example for sales report generation

* refactor: implement Z-order control for box primitives and improve image layout rendering logic

* refactor: clean up service namespaces and improve image data URI parsing with robust sanitization and logging

* refactor: optimize TableLayoutEngine with struct-based row handling, improved pagination, and enhanced background/border rendering logic.

* feat: add table layout tests and fix CSS border parser to correctly handle RGB/RGBA color values

* feat: initialize CodeGraph MCP server configuration and documentation

* docs: update README with ASP.NET Core Razor view integration and image embedding guidance

* refactor: secure file path resolution to prevent directory traversal and update sample sales data

* fix: sanitize directory separators in image paths and add security regression tests to prevent path traversal vulnerabilities

* feat: implement text-transform property support including full-width conversion

* feat: implement border-radius support for CSS rectangles and update PDF rendering primitives

* feat: implement text-decoration CSS property support with underline, overline, and line-through rendering

* feat: implement text-transform inheritance and optimize content stream path rendering

* refactor: migrate codegraph configuration and cleanup legacy project files

* feat: make PdfGenerator thread-safe by snapshotting conversion options and adding thread synchronization to FontRegistry

* feat: improve public API robustness by adding comprehensive input validation and throwing meaningful exceptions

* test: add integration tests for PDF structure and output content validation

* test: remove flaky test cases and update font path for cross-environment compatibility

* chore: remove stale daemon process identifier file

* chore: ignore pid and sock files in .codegraph directory

* test: add unit tests for image loading, resource building, page dimensions, and dependency injection registration

* feat: implement layout engine upgrades including page break controls, header/footer support, and basic flexbox rendering

* feat: implement table header repetition across pages in TableLayoutEngine

* feat: implement FlexLayoutEngine and configure project development skills and specifications

* chore: add .agents skills for project conventions and ignore .atl directory

* feat: implement support for link annotations, list items, and CSS gap property

* refactor: remove redundant constructor and internal copy logic from ConversionOptions

* Implement layout engines, PDF pipeline, and enhance documentation (#8)

* feat: implement CSS value parsing logic and project structure for library, example, and test suites

* feat: implement new block and inline layout engines with supporting primitive models

* docs: add XML documentation comments to BlockLayoutEngine methods and class

* feat: implement PDF document writing pipeline and supporting structural models

* feat: implement TrueType font embedding with subsetting support and glyph-accurate layout metrics

* refactor: move font-related models and builders to a dedicated namespace and simplify font resource management

* refactor: modernize codebase by adopting target-typed new expressions and collection initializers

* chore: add .snyk configuration file to exclude test projects and build directories

* feat: implement image loading subsystem with PNG and JPEG support

* feat: implement CSS stylesheet parsing and selector matching logic for layout engines

* docs: add comprehensive documentation and dependency injection support for HtmlToPdfDotNet library

* feat: add Razor view rendering support and an MVC example for sales report generation

* refactor: implement Z-order control for box primitives and improve image layout rendering logic

* refactor: clean up service namespaces and improve image data URI parsing with robust sanitization and logging

* refactor: optimize TableLayoutEngine with struct-based row handling, improved pagination, and enhanced background/border rendering logic.

* feat: add table layout tests and fix CSS border parser to correctly handle RGB/RGBA color values

* feat: initialize CodeGraph MCP server configuration and documentation

* docs: update README with ASP.NET Core Razor view integration and image embedding guidance

* refactor: secure file path resolution to prevent directory traversal and update sample sales data

* fix: sanitize directory separators in image paths and add security regression tests to prevent path traversal vulnerabilities

* feat: implement text-transform property support including full-width conversion

* feat: implement border-radius support for CSS rectangles and update PDF rendering primitives

* feat: implement text-decoration CSS property support with underline, overline, and line-through rendering

* feat: implement text-transform inheritance and optimize content stream path rendering

* refactor: migrate codegraph configuration and cleanup legacy project files

* feat: make PdfGenerator thread-safe by snapshotting conversion options and adding thread synchronization to FontRegistry

* feat: improve public API robustness by adding comprehensive input validation and throwing meaningful exceptions

* test: add integration tests for PDF structure and output content validation

* test: remove flaky test cases and update font path for cross-environment compatibility

* chore: remove stale daemon process identifier file

* chore: ignore pid and sock files in .codegraph directory

* test: add unit tests for image loading, resource building, page dimensions, and dependency injection registration

* feat: implement layout engine upgrades including page break controls, header/footer support, and basic flexbox rendering

* feat: implement table header repetition across pages in TableLayoutEngine

* feat: implement FlexLayoutEngine and configure project development skills and specifications

* chore: add .agents skills for project conventions and ignore .atl directory

---------

Co-authored-by: guiller <guillercp93@outlook.com>

---------

Co-authored-by: guiller <guillercp93@outlook.com>
guillercp93 added a commit that referenced this pull request Jun 21, 2026
* feat: implement CSS value parsing logic and project structure for library, example, and test suites

* feat: implement new block and inline layout engines with supporting primitive models

* docs: add XML documentation comments to BlockLayoutEngine methods and class

* feat: implement PDF document writing pipeline and supporting structural models

* feat: implement TrueType font embedding with subsetting support and glyph-accurate layout metrics

* refactor: move font-related models and builders to a dedicated namespace and simplify font resource management

* refactor: modernize codebase by adopting target-typed new expressions and collection initializers

* chore: add .snyk configuration file to exclude test projects and build directories

* feat: implement image loading subsystem with PNG and JPEG support

* feat: implement CSS stylesheet parsing and selector matching logic for layout engines

* docs: add comprehensive documentation and dependency injection support for HtmlToPdfDotNet library

* feat: add Razor view rendering support and an MVC example for sales report generation

* refactor: implement Z-order control for box primitives and improve image layout rendering logic

* refactor: clean up service namespaces and improve image data URI parsing with robust sanitization and logging

* refactor: optimize TableLayoutEngine with struct-based row handling, improved pagination, and enhanced background/border rendering logic.

* feat: add table layout tests and fix CSS border parser to correctly handle RGB/RGBA color values

* feat: initialize CodeGraph MCP server configuration and documentation

* docs: update README with ASP.NET Core Razor view integration and image embedding guidance

* refactor: secure file path resolution to prevent directory traversal and update sample sales data

* fix: sanitize directory separators in image paths and add security regression tests to prevent path traversal vulnerabilities

* feat: implement text-transform property support including full-width conversion

* feat: implement border-radius support for CSS rectangles and update PDF rendering primitives

* feat: implement text-decoration CSS property support with underline, overline, and line-through rendering

* feat: implement text-transform inheritance and optimize content stream path rendering

* refactor: migrate codegraph configuration and cleanup legacy project files

* feat: make PdfGenerator thread-safe by snapshotting conversion options and adding thread synchronization to FontRegistry

* feat: improve public API robustness by adding comprehensive input validation and throwing meaningful exceptions

* test: add integration tests for PDF structure and output content validation

* test: remove flaky test cases and update font path for cross-environment compatibility

* chore: remove stale daemon process identifier file

* chore: ignore pid and sock files in .codegraph directory

* test: add unit tests for image loading, resource building, page dimensions, and dependency injection registration

* feat: implement layout engine upgrades including page break controls, header/footer support, and basic flexbox rendering

* feat: implement table header repetition across pages in TableLayoutEngine

* feat: implement FlexLayoutEngine and configure project development skills and specifications

* chore: add .agents skills for project conventions and ignore .atl directory

* feat: implement support for link annotations, list items, and CSS gap property

* refactor: remove redundant constructor and internal copy logic from ConversionOptions

* Implement layout engines, PDF pipeline, and enhance documentation (#8)

* feat: implement CSS value parsing logic and project structure for library, example, and test suites

* feat: implement new block and inline layout engines with supporting primitive models

* docs: add XML documentation comments to BlockLayoutEngine methods and class

* feat: implement PDF document writing pipeline and supporting structural models

* feat: implement TrueType font embedding with subsetting support and glyph-accurate layout metrics

* refactor: move font-related models and builders to a dedicated namespace and simplify font resource management

* refactor: modernize codebase by adopting target-typed new expressions and collection initializers

* chore: add .snyk configuration file to exclude test projects and build directories

* feat: implement image loading subsystem with PNG and JPEG support

* feat: implement CSS stylesheet parsing and selector matching logic for layout engines

* docs: add comprehensive documentation and dependency injection support for HtmlToPdfDotNet library

* feat: add Razor view rendering support and an MVC example for sales report generation

* refactor: implement Z-order control for box primitives and improve image layout rendering logic

* refactor: clean up service namespaces and improve image data URI parsing with robust sanitization and logging

* refactor: optimize TableLayoutEngine with struct-based row handling, improved pagination, and enhanced background/border rendering logic.

* feat: add table layout tests and fix CSS border parser to correctly handle RGB/RGBA color values

* feat: initialize CodeGraph MCP server configuration and documentation

* docs: update README with ASP.NET Core Razor view integration and image embedding guidance

* refactor: secure file path resolution to prevent directory traversal and update sample sales data

* fix: sanitize directory separators in image paths and add security regression tests to prevent path traversal vulnerabilities

* feat: implement text-transform property support including full-width conversion

* feat: implement border-radius support for CSS rectangles and update PDF rendering primitives

* feat: implement text-decoration CSS property support with underline, overline, and line-through rendering

* feat: implement text-transform inheritance and optimize content stream path rendering

* refactor: migrate codegraph configuration and cleanup legacy project files

* feat: make PdfGenerator thread-safe by snapshotting conversion options and adding thread synchronization to FontRegistry

* feat: improve public API robustness by adding comprehensive input validation and throwing meaningful exceptions

* test: add integration tests for PDF structure and output content validation

* test: remove flaky test cases and update font path for cross-environment compatibility

* chore: remove stale daemon process identifier file

* chore: ignore pid and sock files in .codegraph directory

* test: add unit tests for image loading, resource building, page dimensions, and dependency injection registration

* feat: implement layout engine upgrades including page break controls, header/footer support, and basic flexbox rendering

* feat: implement table header repetition across pages in TableLayoutEngine

* feat: implement FlexLayoutEngine and configure project development skills and specifications

* chore: add .agents skills for project conventions and ignore .atl directory

---------

Co-authored-by: guiller <guillercp93@outlook.com>

* Restore develop changes to affected files to prioritize develop logic

---------

Co-authored-by: guiller <guillercp93@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant