Thanks for your quick reply. Our scenario: We need to add a bunch of new tables to a document and we want to apply different table styles to them.
Interestingly, we somewhat found a way how to tell Aspose.Words to apply a table style of an existing table (manually created and styled in a word template document) to any new table created by using the Aspose.Words API. If we move to the existing table by means of a "MoveToBookmark" before inserting the new table at any location in the document, it seems that Aspose.Words inherits the table style also for the new one! See code below...
Does this make sense for you? Would you say that this is a "supported" scenario?
mDocumentBuilder.MoveToBookmark("BookmarkAroundAStyledTable", true, false);
// BookmarkAroundAStyledTable is a bookmark defined in the template document around a table with a custom table
// style applied. It is this table style that we want to use for the manually created table...
BookmarkStart bookmarkStart = ((BookmarkStart)mDocumentBuilder.CurrentNode);
// Manually create a new table. The table will automatically become the same style as the existing table identified
// by means of a bookmark.