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

Add possibility to configure Apache POI #232

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martinstuder
Copy link
Member

Adds a new function configurePOI that allows to configure Apache POI according to configuration options documented at https://poi.apache.org/components/configuration.html.

@martinstuder martinstuder marked this pull request as ready for review February 18, 2025 16:29
Copy link
Member

@spoltier spoltier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - see suggestions

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Looking at the POI reference you linked in the doc, should we also have a setting for setThresholdBytesForTempFiles ? Even if we would leave the default of not using temp files (in case we run on a readonly system), it seems like this may sometimes be needed when using large files.
  • I understand it would be wasteful to have a happy-path test that uses a large file, but we could have negative tests which check that an exception is produced after setting some config value to an arbitrarily low level. This could alert us to some potential future changes in behavior of these config options

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.

2 participants