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

[Feature]: interaction with pdf files #4476

Open
ToratEmetInWord opened this issue Apr 7, 2024 · 5 comments
Open

[Feature]: interaction with pdf files #4476

ToratEmetInWord opened this issue Apr 7, 2024 · 5 comments
Labels
feature request feature request

Comments

@ToratEmetInWord
Copy link

Describe the feature/enhancement you need

when loading a pdf file interaction with file through code is very limited
such as setting the default page to open to or gettng the selected text in the pdf file through code

The scenario/use case where you would use this feature

i am using webview as part of a reaserch program my users need a lot of flexibilty when viewng and accesing pdfs through search or any other way

How important is this request to you?

Critical. My app's basic functions wouldn't work without it.

Suggested implementation

No response

What does your app do? Is there a pending deadline for this request?

i am using webview as part of a reaserch program my users need a lot of flexibilty when viewng and accesing pdfs through search or any other way
people are getting very frustrated

@ToratEmetInWord ToratEmetInWord added the feature request feature request label Apr 7, 2024
@victorhuangwq
Copy link
Collaborator

Hi @pcinfogmach, what behaviors that is currently supported by the Edge Browser are you thinking of that is not currently supported in WebView2? Could you provide screenshots / more details?

@ToratEmetInWord
Copy link
Author

ToratEmetInWord commented Apr 9, 2024

thats the thing
i am not looking for behaviours that are accesible in edge i am looking for the pdf reader to be exposed to code the same way that webview itself is exposed to code interaction through programming
it should be so since webview is such an amazing tool for develpors to use

some sample behaviours are:
accesing js window.find does not work
setting default page on open
acces to text of currently open document or at least to currently selected text

many thanks

@victorhuangwq
Copy link
Collaborator

@pcinfogmach I see. Could you elaborate further in the feature request on each of these behaviors, and why do you need that behavior? Else it will be difficult for us to track the request

@ToratEmetInWord
Copy link
Author

ToratEmetInWord commented Apr 9, 2024

accesing js window.find - will allow me to implement a search function even if i choose to hide the pdf toolbar.
setting default page on open will allow showing indexed search results efficiently
acces to text of currently open document or at least to currently selected text - wiil allow copying text dirctly from source to the research paper

these might seem trivial at first but when doing extensive reseach it simply piles uo and becomes gruesomly annoying

many thanks

perhaps a link to my app might be prudent

https://github.com/pcinfogmach/ToratEmetInWord/releases/tag/ToratEmetInWord

@ToratEmetInWord
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request
Projects
None yet
Development

No branches or pull requests

2 participants