-
Notifications
You must be signed in to change notification settings - Fork 1
977905 - Create a blog sample for how to open various type of documents (.docx, .xlsx, .xps, .ppt, image) in MAUI PDF Viewer #74
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
Conversation
…ts (.docx, xlsx, HTML) in MAUI PDF Viewer
DocumentViewerDemo/MainPage.xaml.cs
Outdated
// Check if the first tab's header matches "PDF_Succinctly.pdf" | ||
if (tab1.Header.Equals("PDF_Succinctly.pdf")) | ||
{ | ||
await Task.Delay(80); // Slight delay to ensure UI is ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these kind of delay is used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The delay is used to ensure UI is ready sir, the delay is not required sir, I have removed the delay sir
|
||
## Run the App | ||
|
||
1. Build and run the application on all platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed it sir
DocumentViewerDemo/README.md
Outdated
|
||
1. Build and run the application on all platforms. | ||
1. Switch to all tabs and check whether all pdf is loading. | ||
1. Ensure all behaviors of PdfViewer in all PdfViewer tabs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed it sir
DocumentViewerDemo/README.md
Outdated
3. [Syncfusion.Maui.TabView](https://www.nuget.org/packages/Syncfusion.Maui.TabView) package. | ||
4. [Syncfusion.DocIORenderer.NET](https://www.nuget.org/packages/Syncfusion.DocIORenderer.NET) package to convert Word document to PDF. | ||
5. [Syncfusion.Pdf.Imaging.NET](https://www.nuget.org/packages/Syncfusion.Pdf.Imaging.NET) package used to draw the image files to PDF. | ||
6. [Syncfusion.Presentation.NET](https://www.nuget.org/packages/Syncfusion.Presentation.NET) package used to read write and converting the PowerPoint presentation programmatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package used to read write and converting the PowerPoint presentation programmatically.
commas (,) are missing.
package used to read, write, and converting the PowerPoint presentation programmatically.
Get AI review for the contents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed it sir
@@ -0,0 +1,14 @@ | |||
<?xml version = "1.0" encoding = "UTF-8" ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
App responsiveness need to be improved. Need to load documents only after a tab is switched
@@ -0,0 +1,14 @@ | |||
<?xml version = "1.0" encoding = "UTF-8" ?> | |||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify the document size as same as image size
Added project for how to open various type of documents (.docx, .xlsx, .xps, .ppt, image) in MAUI PDF Viewer