Skip to content

Conversation

Nandhakumar-SF4686
Copy link
Collaborator

@Nandhakumar-SF4686 Nandhakumar-SF4686 commented Aug 27, 2025

Added project for how to open various type of documents (.docx, .xlsx, .xps, .ppt, image) in MAUI PDF Viewer

// 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

@Nandhakumar-SF4686 Nandhakumar-SF4686 Aug 27, 2025

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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All are numbered 1
image

Copy link
Collaborator Author

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


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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra lines
image

Copy link
Collaborator Author

@Nandhakumar-SF4686 Nandhakumar-SF4686 Aug 27, 2025

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

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.
Copy link
Collaborator

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

Copy link
Collaborator Author

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

@Nandhakumar-SF4686 Nandhakumar-SF4686 changed the title 977905 - Create a blog sample for how to open various type of documents (.docx, xlsx, HTML) in MAUI PDF Viewer 977905 - Create a blog sample for how to open various type of documents (.docx, .xlsx, .xps, .ppt, image) in MAUI PDF Viewer Aug 27, 2025
@@ -0,0 +1,14 @@
<?xml version = "1.0" encoding = "UTF-8" ?>
Copy link
Collaborator

@Deepak1799 Deepak1799 Sep 1, 2025

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"
Copy link
Collaborator

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

@Deepak1799 Deepak1799 merged commit 50585b5 into master Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants