We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Clone existing table

Hey Aspose Team,

I use Aspose slide 15.9 for Java. I am searching how to clone existing table. But i can’t find a solution in your documentation. I try to create a simple solution:

publi void clonetable(ITable table, Slide slide){
ITable tblClone = sld.getShapes().addTable(100, 50,x, y);
for(int row = 0; row < table().size(); row++) {
table.getRows().addClone(tbl.getRows().get_Item(row) , false);
} }

But this solution not work, and throw me exception : “Not support operation” or something else i don’t remember.

Hi Stefan,

Thank you for posting.

I have observed your comments and like to share with you that table is a shape and you can clone a shape as explained in this documentation article, or if you want to clone a row or column, then please visit this documentation article for your kind reference.

Please let us know if the issue persists. We will be happy to assist you further.

Best Regards,

Hi Stefan,

I have observed your comments and like to request you to please share with us a source presentation as well as a presentation created using PowerPoint as expected output, so that we may investigate it further to help you out.

Best Regards,