public class XlsxSectionMode
extends java.lang.Object
Examples:
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);
| Modifier and Type | Field and Description |
|---|---|
static int |
length |
static int |
MULTIPLE_WORKSHEETS
Specifies that a separate worksheet is created for each section of a document.
|
static int |
SINGLE_WORKSHEET
Specifies that all sections of a document are saved on one worksheet.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String xlsxSectionModeName) |
static java.lang.String |
getName(int xlsxSectionMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int xlsxSectionMode) |
public static int MULTIPLE_WORKSHEETS
public static int SINGLE_WORKSHEET
public static int length