Hi, I’m using Aspose.words for a POC, to split large html documents into smaller html chunks/section. but the problem is I’m losing formatting of the boxes. They are covering full width while in original document each box has a specific styling. Files have been attached.
test.zip (21.0 KB)
I’m using the below mentioned code:
using Aspose.Words;
var doc = new Document("Original Doc.html");
for (var page = 0; page < doc.PageCount; page++)
{
var extractedPage = doc.ExtractPages(page, 1);
extractedPage.Save($"Section{page + 1}.html");
}