MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
452 stars 55 forks source link

[Question] Support rendering for PDF and Word files #21

Closed shaggygi closed 5 years ago

shaggygi commented 5 years ago

Not being familiar with this control and direction being used, I'm assuming it will be included in WinUI 3.0 eventually.

Is the plan to support native rendering for PDF and Word docx files? If so, will this be able to run on Win7 and Win10. Lastly, can the control be used in WPF and UWP type apps for development?

Thanks in advance for any help.

david-risney commented 5 years ago

Thanks for the questions!

Can you describe your scenarios? Do you have a particular need for PDF, Word doc rendering or Win7 support? Thanks!

shaggygi commented 5 years ago

@david-risney Thanks for the reply. I just found out that we will be migrated to Windows 10 before the development/deployment of the related project we would possibly be using this control. Therefore, in our case, we would not need the Win7 requirement (but would be nice if it also supported that OS).

We are looking at methods to load/display documents and need to be able to view various types of files. In most cases, we will be able to save the related files as PDFs. However, there may be cases where they are in docx and Visio-type format, as well. All files would be read-only and for viewing purposes only within the app/WebView control.

The docs will be stored in a location on SharePoint server and would like to use the WebView control to load based on url of selected file(s). We would rather the app (with WebView control) navigate/display the files rather than loading the native viewing app (e.g. Adobe Reader, Word, etc.). Each machine running the app would have licensed Office, of course (if that was an issue with viewing those types of files).

I thought I read somewhere before that Chrome and Edge had the ability to render docx. Again, I haven't reviewed this new WebView control in detail since it is in preview. I'm hoping it can provide what we're trying to accomplish.

Hope this helps with a little more insight of what we plan to use the WebView for. Thanks again.

rajsite commented 5 years ago

@david-risney Do you know when the .NET WinForm Control may be available? I'm interested in using it in the LabVIEW development environment which has some restrictions on what .NET controls and assemblies can be used.

Hopefully if it's known early enough in development then certain use cases could be considered. Some ideas of the environment:

I would love to try it out for our use cases when it's available to test.

david-risney commented 5 years ago

.NET support is high on our list of tasks (including WPF & WinForms) but we don't have a fixed date yet. We'll take a look at those links, thanks!