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

Array of strings to automatically create highlights #245

Open
SimeriaIonut opened this issue Aug 2, 2023 · 3 comments
Open

Array of strings to automatically create highlights #245

SimeriaIonut opened this issue Aug 2, 2023 · 3 comments

Comments

@SimeriaIonut
Copy link

Is there an easy way to have an array of strings and find them in the PDF and create a highlight for that found string? I don't see a way to look for strings in the PDF and also to get back the boundingRect for it.

Thanks!

@straeter
Copy link

straeter commented Aug 9, 2023

@SimeriaIonut this was already discussed here: #176

@SimeriaIonut
Copy link
Author

@straeter that doesn't seem to return any positioning of the found string (I would need that to create the highlight programatically). Or am I missing something?

@straeter
Copy link

@SimeriaIonut yes you are right, it just highlights the text without giving back the positions. Actually, I am also working on a solution to get the positions from search queries, it seems to be quite tricky. Let's keep each other updated on this

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

No branches or pull requests

2 participants