java.lang.Object
com.aspose.words.XlsxSectionMode
public class XlsxSectionMode
- extends java.lang.Object
Utility class containing constants.
Specifies how sections are handled when saving a document in the XLSX format.
Example:
Shows how to save document as a separate worksheets.
Document doc = new Document(getMyDir() + "Big document.docx");
// Each section of a document will be created as a separate worksheet.
// Use 'SingleWorksheet' to display all document on one worksheet.
XlsxSaveOptions xlsxSaveOptions = new XlsxSaveOptions();
xlsxSaveOptions.setSectionMode(XlsxSectionMode.MULTIPLE_WORKSHEETS);
doc.save(getArtifactsDir() + "XlsxSaveOptions.SelectionMode.xlsx", xlsxSaveOptions);
|
Field Summary |
static final int | MULTIPLE_WORKSHEETS = 0 | |
|
Specifies that a separate worksheet is created for each section of a document.
|
static final int | SINGLE_WORKSHEET = 1 | |
|
Specifies that all sections of a document are saved on one worksheet.
|
MULTIPLE_WORKSHEETS = 0 | |
public static final int MULTIPLE_WORKSHEETS |
-
Specifies that a separate worksheet is created for each section of a document.
SINGLE_WORKSHEET = 1 | |
public static final int SINGLE_WORKSHEET |
-
Specifies that all sections of a document are saved on one worksheet.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.