Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor improvements to PageContentStreamOptimized class #260

Open
Nawrok opened this issue Sep 19, 2022 · 1 comment
Open

Minor improvements to PageContentStreamOptimized class #260

Nawrok opened this issue Sep 19, 2022 · 1 comment

Comments

@Nawrok
Copy link

Nawrok commented Sep 19, 2022

Hi,
While using the PageContentStreamOptimized class, which is used in PDStreamUtils, I noticed a couple of drawbacks that can be improved.

  • First, it would be good to implement a Closable interface to this wrapper.
  • Secondly, you can add constructors in this class analogous to those in the PDPageContentStream class and, as a result, simplify their invocation.
  • In addition, you can also provide a method to return the raw stream that is part of this class.
@johnmanko
Copy link
Collaborator

@Nawrok I'll run the tests this weekend. If all looks good I'll merge.

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 a pull request may close this issue.

2 participants