We use Aspose version 16.7.0.0 .Net.
So far used version 13.8.0.0 .Net.
Currently we have the problem that the cloning of tables does not have the clone all sub Ranges and Bookmarks with (see figure).
The following error message appears:
'(Aspose.Words.Bookmark) ((new System.Linq.SystemCore_EnumerableDebugView (((Aspose.Words.Tables.Table) tableCloneNode) .Range.Bookmarks)) Type 'System.InvalidOperationException'
Code:
//Arrange
string docPath = Path.Combine(Directory.GetCurrentDirectory(), @"testdoc\CloneDokument.docx");
Document doc = new Document(docPath);
//Act
Node table = doc.GetChild(NodeType.Table, 0, true);
Node tableCloneNode = table.Clone(true);
Used Document: See Attachment