Skip to content

Feature/output stream support for html to pdf batch utils#1539

Open
Julius1st wants to merge 2 commits intoLibrePDF:masterfrom
Julius1st:feature/OutputStream_support_for_HtmlToPdfBatchUtils
Open

Feature/output stream support for html to pdf batch utils#1539
Julius1st wants to merge 2 commits intoLibrePDF:masterfrom
Julius1st:feature/OutputStream_support_for_HtmlToPdfBatchUtils

Conversation

@Julius1st
Copy link
Copy Markdown

Description of the new Feature/Bugfix

Added the ability to HtmlToPdfBatchUtils to return rendered pdf files streamed to a user supplied OutputStream instead of saving it to a path.

Related Issue: Closes #1537

Unit-Tests for the new Feature/Bugfix

  • [8] Unit-Tests added to the added feature

Compatibilities Issues

The already available methods were changed to use the newly implemented methods. This is to reduce code repetition but does not change the way they behave.

Your real name

Julius Schömer

  • this is my first PR to an open source project. Hope I did everything correctly.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 18 complexity · 4 duplication

Metric Results
Complexity 18
Duplication 4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

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.

HtmlToPdfBatchUtils: add byte[] / OutputStream output support alongside file-based rendering

1 participant