Skip to content

Support custom element and newline separators in LocationTextExtractionStrategy#41

Closed
schallb wants to merge 1 commit intoitext:developfrom
schallb:develop
Closed

Support custom element and newline separators in LocationTextExtractionStrategy#41
schallb wants to merge 1 commit intoitext:developfrom
schallb:develop

Conversation

@schallb
Copy link
Copy Markdown

@schallb schallb commented Feb 5, 2026

Based on existing LocationTextExtractionStrategy i needed more possibilities to distinguish between a "planned" space in text and the separator that was inserted when a new junk is found.
Same applies to the line feed.
Therefore i extended the LocationTextExtractionStrategy to use my own separators like pipes or other special characters.

@vitali-pr
Copy link
Copy Markdown
Contributor

Hi @schallb ,
Thank you for your contribution!

Would you mind signing the Contributor License Agreement?
The details are available at https://itextpdf.com/en/how-buy/legal/itext-contributor-license-agreement
We need it in order to be able to merge your PR.

@schallb
Copy link
Copy Markdown
Author

schallb commented Feb 9, 2026 via email

@e-zhavoronok
Copy link
Copy Markdown
Contributor

Hello @schallb
Your commit has been merged: 4062090
The functionality was also slightly modified in a different commit: bcd96b3

Thank you for your contribution!

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.

3 participants