Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Wed Mar 22, 2023 8:13 am

Hi,

"Merged cells found" Exception occurs when resplitting merged cells in table.
Is there any way to re-split cells after merging?

Environment
- Windows 11
- WPF(.NET 6.0)
- Spire.Office 8.1.1

KyungHyunRoh
 
Posts: 8
Joined: Tue Jun 28, 2022 6:02 am

Wed Mar 22, 2023 10:02 am

Hi,

Thanks for your inquiry.
I performed an initial test and did not reproduce your issue. In order to help us reproduce and work out a solution for you, please provide your complete code as well as the input file. Thank you for your assistance in advance.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Mar 23, 2023 1:14 am

Trying this :

Code: Select all
var presentation = new Spire.Presentation.Presentation(templatePath, FileFormat.Pptx2013);

this.slideSize = presentation.SlideSize.Size;

double[] widths = new double[] { 100, 100, 150, 100, 100 };
double[] heights = new double[] { 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 };

ITable table = presentation.Slides[0].Shapes.AppendTable(this.slideSize.Width / 2 - 275, 80, widths, heights);
table.MergeCells(table[0, 0], table[1, 0], false);
table[0, 0].Split(1, 2);

presentation.SaveToFile(@"C:\Users\user\Downloads\test.pptx", FileFormat.Auto);
presentation.Dispose();

KyungHyunRoh
 
Posts: 8
Joined: Tue Jun 28, 2022 6:02 am

Thu Mar 23, 2023 4:01 am

Hello,

Thank you for providing the code to reproduce the issue and the screenshot of the error.
I have successfully replicated the issue on my end and logged it into our issue tracking system with the number SPIREPPT-2215.
We apologize for any inconvenience caused. We will notify you once the issue is resolved.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Jun 05, 2023 9:46 am

Hello,

Thank you for your patience.
I am pleased to inform you that SPIREPPT-2215 issue has been resolved. Please feel free to download and test Spire.Presentation Pack Hotfix Version:8.6.0.
Our website link: https://www.e-iceblue.com/Download/download-presentation-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.Presentation/8.6.0

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Jun 07, 2023 2:18 am

Hello,

I am glad to tell you that new Spire.Office for .NET which includes the fix for SPIREPPT-2215 issue has been released. Please feel free to download and test Spire.Office Platinum(Hotfix) Version:8.6.0.
Our website link: https://www.e-iceblue.com/Download/download-office-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/8.6.0

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Presentation