public class OfficeSpreadsheetConverterProperties extends AbstractOfficeConverterProperties
Constructor and Description |
---|
OfficeSpreadsheetConverterProperties()
Creates OfficeSpreadsheetConverterProperties instance.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxPagesToFitColumns()
Gets number of pages to fit to in width.
|
Integer |
getMaxPagesToFitRows()
Gets number of pages to fit to in height.
|
SheetSelector |
getSheetSelector()
Gets the selector of the workbook sheets which will be rendered.
|
boolean |
isIgnorePrintArea()
Gets the spreadsheet ignore print area setting.
|
OfficeSpreadsheetConverterProperties |
setIgnorePrintArea(boolean ignorePrintArea)
Defines whether all the sheet's content, including content outside print area, should be converted.
|
OfficeSpreadsheetConverterProperties |
setMaxPagesToFitColumns(Integer maxPagesToFitColumns)
Sets the maximal number of pages which the sheet can occupy horizontally.
|
OfficeSpreadsheetConverterProperties |
setMaxPagesToFitRows(Integer maxPagesToFitRows)
Sets the maximal number of pages which the sheet can occupy vertically.
|
OfficeSpreadsheetConverterProperties |
setSheetSelector(SheetSelector sheetSelector)
Defines the selector of the workbook sheets which will be rendered.
|
getThreadWaitingTimeLimit, setEventMetaInfo, setThreadWaitingTimeLimit
public OfficeSpreadsheetConverterProperties()
OfficeSpreadsheetConverterProperties
instance.
public Integer getMaxPagesToFitRows()
If stored value is more than the actual number of pages in spreadsheet document, than the value is ignored and scale is not applied.
public OfficeSpreadsheetConverterProperties setMaxPagesToFitRows(Integer maxPagesToFitRows)
Any positive number is allowed, if zero/negative value is passed, then the PdfOfficeException
is thrown.
maxPagesToFitRows
- number of pages to fit or null to disable scale
OfficeSpreadsheetConverterProperties
instance
PdfOfficeException
- if negative value is passed
public Integer getMaxPagesToFitColumns()
If stored value is more than the actual number of pages in spreadsheet document, than the value is ignored and scale is not applied.
public OfficeSpreadsheetConverterProperties setMaxPagesToFitColumns(Integer maxPagesToFitColumns)
Any positive number is allowed, if zero/negative value is passed, then the PdfOfficeException
is thrown.
maxPagesToFitColumns
- number of pages to fit or null to disable scale
OfficeSpreadsheetConverterProperties
instance
PdfOfficeException
- if negative value is passed
public boolean isIgnorePrintArea()
The default value is false
.
public OfficeSpreadsheetConverterProperties setIgnorePrintArea(boolean ignorePrintArea)
The default value is false
.
ignorePrintArea
- if true, print area will be ignored, if false - respected
OfficeSpreadsheetConverterProperties
instance
public SheetSelector getSheetSelector()
public OfficeSpreadsheetConverterProperties setSheetSelector(SheetSelector sheetSelector)
sheetSelector
- the sheet selector of the workbook pages which will be rendered
OfficeSpreadsheetConverterProperties
instance
Copyright © 1998–2022 iText Group NV. All rights reserved.