public class ExcelConvertOptions extends OfficeConvertOptions
Modifier and Type | Class and Description |
---|---|
static class |
ExcelConvertOptions.MaxPageCountReached
Exception thrown when the maximum number of pages has been reached (as set by the option) during a conversion.
|
static class |
ExcelConvertOptions.PageOrientation
Enum type used to set the Page Orientation Override.
|
static class |
ExcelConvertOptions.PageSize
This enum defines some of the common standard paper sizes
with their widths and heights stored in points where 72 points
equals 1 inch.
|
static class |
ExcelConvertOptions.Paging
Enum type used to set the Paging option.
|
OfficeConvertOptions.SubstituteFontRecord
Constructor and Description |
---|
ExcelConvertOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
createBookmarks()
Returns the value of the option to create bookmarks.
|
int |
getMaxPageCount()
Gets the option that controls the maximum page count.
|
ExcelConvertOptions.PageOrientation |
getPageOrientationOverride()
Returns the value of the page orientation override option.
|
Dimension |
getPageSizeOverride()
Returns the value of the page size override option.
|
ExcelConvertOptions.Paging |
getPaging()
Returns the value of the Paging option.
|
void |
setCreateBookmarks(boolean bookmarks)
Sets the value of the option to create bookmarks.
|
void |
setMaxPageCount(int maxPageCount)
Sets the maximum number of pages when running a conversion.
|
void |
setPageOrientationOverride(ExcelConvertOptions.PageOrientation orientation)
Sets a page orientation override that will be applied to all Worksheets.
|
void |
setPageSizeOverride(Dimension pageSize)
Sets a page size override that will be applied to all Worksheets.
|
void |
setPaging(ExcelConvertOptions.Paging paging)
Sets the paging option.
|
getEmbedFonts, getFallbackFontPath, getMaxUndefinedGlyphCountAllowed, getSubstituteFontsMap, setEmbedFonts, setFallbackFontPath, setFontSubstitute, setMaxUndefinedGlyphCountAllowed, setSubstituteFontsMap
public ExcelConvertOptions.Paging getPaging()
public void setPaging(ExcelConvertOptions.Paging paging)
paging
- The new value of the Paging option.public boolean createBookmarks()
public void setCreateBookmarks(boolean bookmarks)
bookmarks
- The new value of the option.public int getMaxPageCount()
public void setMaxPageCount(int maxPageCount)
maxPageCount
- The new value of the maximum number of pages.public Dimension getPageSizeOverride()
public void setPageSizeOverride(Dimension pageSize)
pageSize
- The page size override.public ExcelConvertOptions.PageOrientation getPageOrientationOverride()
public void setPageOrientationOverride(ExcelConvertOptions.PageOrientation orientation)
orientation
- The page orientation override.