Hi,
When i want to create an excel document, I use the following code:
workbook = new Workbook(inputStream, loadOptions);
excelDocument.setWorkbook(workbook);
excelDocument.addStyles();
for (int i = 0; i < sheetRender.getPageCount(); i++)
{
float width = sheetRender.getPageSize(i)[0];
float height = sheetRender.getPageSize(i)[1];
CellArea pageArea = printingPageBreaks[i];
String range = CellsHelper.cellIndexToName(pageArea.StartRow, pageArea.StartColumn) + ":" + CellsHelper.cellIndexToName(pageArea.EndRow, pageArea.EndColumn);
ExcelPage excelPage = new ExcelPage(pageNumber + 1, index, i, width, height, range);
pageNumbersList.add(pageNumber + 1);
excelDocument.addPageToDocument(excelPage);
excelDocument.setPageCount(excelDocument.getPageCount() + 1);
pageNumber++;
}
What are the similar APIs to create a page in asposeWords and then add to a document ?
I looked at DocumentBuilder and PageSetup.
Is there and addPage API in words to the document ?