Class AbstractJasperExcelExporter
- All Implemented Interfaces:
Serializable
,JasperIExcelExporter
,JasperIExporter
- Direct Known Subclasses:
JasperOdsExporter
,JasperXlsExporter
,JasperXlsxExporter
Abstract AbstractJasperExcelExporter class.
- Author:
- Ricardo Mariaca
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSheetName
(String sheetName) addSheetName.getCellHidden.getCellLocked.getCollapseRowSpan.getColumnWidthRatio.getCreateCustomPalette.getDetectCellType.getFirstPageNumber.getFitHeight.getFitWidth.getFontSizeFixEnabled.getFormatPatternsMap.getIgnoreAnchors.getIgnoreCellBackground.getIgnoreCellBorder.getIgnoreGraphics.getIgnoreHyperLink.getIgnorePageMargins.getImageAnchorType.getImageBorderFixEnabled.getKeepWorkbookTemplateSheets.getMaxRowsPerSheet.getOnePagePerSheet.getPageScale.getPassword.getRemoveEmptySpaceBetweenColumns.getRemoveEmptySpaceBetweenRows.getSheetDirection.getSheetFooterCenter.getSheetFooterLeft.getSheetFooterRight.getSheetHeaderCenter.getSheetHeaderLeft.getSheetHeaderRight.getSheetNames.getShowGridLines.getUseTimeZone.getWhitePageBackground.getWorkbookTemplate.getWrapText.void
setCellHidden
(Boolean cellHidden) Setter for the fieldcellHidden
.void
setCellLocked
(Boolean cellLocked) Setter for the fieldcellLocked
.void
setCollapseRowSpan
(Boolean collapseRowSpan) Setter for the fieldcollapseRowSpan
.void
setColumnWidthRatio
(Float columnWidthRatio) Setter for the fieldcolumnWidthRatio
.void
setCreateCustomPalette
(Boolean createCustomPalette) Setter for the fieldcreateCustomPalette
.void
setDetectCellType
(Boolean detectCellType) Setter for the fielddetectCellType
.void
setFirstPageNumber
(Integer firstPageNumber) Setter for the fieldfirstPageNumber
.void
setFitHeight
(Integer fitHeight) Setter for the fieldfitHeight
.void
setFitWidth
(Integer fitWidth) Setter for the fieldfitWidth
.void
setFontSizeFixEnabled
(Boolean fontSizeFixEnabled) Setter for the fieldfontSizeFixEnabled
.void
setFormatPatternsMap
(Map<String, String> formatPatternsMap) Setter for the fieldformatPatternsMap
.void
setIgnoreAnchors
(Boolean ignoreAnchors) Setter for the fieldignoreAnchors
.void
setIgnoreCellBackground
(Boolean ignoreCellBackground) Setter for the fieldignoreCellBackground
.void
setIgnoreCellBorder
(Boolean ignoreCellBorder) Setter for the fieldignoreCellBorder
.void
setIgnoreGraphics
(Boolean ignoreGraphics) Setter for the fieldignoreGraphics
.void
setIgnoreHyperLink
(Boolean ignoreHyperLink) Setter for the fieldignoreHyperLink
.void
setIgnorePageMargins
(Boolean ignorePageMargins) Setter for the fieldignorePageMargins
.void
setImageAnchorType
(ImageAnchorType imageAnchorType) Setter for the fieldimageAnchorType
.void
setImageBorderFixEnabled
(Boolean imageBorderFixEnabled) Setter for the fieldimageBorderFixEnabled
.void
setKeepWorkbookTemplateSheets
(Boolean keepWorkbookTemplateSheets) Setter for the fieldkeepWorkbookTemplateSheets
.void
setMaxRowsPerSheet
(Integer maxRowsPerSheet) Setter for the fieldmaxRowsPerSheet
.void
setOnePagePerSheet
(Boolean onePagePerSheet) Setter for the fieldonePagePerSheet
.void
setPageScale
(Integer pageScale) Setter for the fieldpageScale
.void
setPassword
(String password) Setter for the fieldpassword
.void
setRemoveEmptySpaceBetweenColumns
(Boolean removeEmptySpaceBetweenColumns) Setter for the fieldremoveEmptySpaceBetweenColumns
.void
setRemoveEmptySpaceBetweenRows
(Boolean removeEmptySpaceBetweenRows) Setter for the fieldremoveEmptySpaceBetweenRows
.void
setSheetDirection
(RunDirection sheetDirection) Setter for the fieldsheetDirection
.void
setSheetFooterCenter
(String sheetFooterCenter) Setter for the fieldsheetFooterCenter
.void
setSheetFooterLeft
(String sheetFooterLeft) Setter for the fieldsheetFooterLeft
.void
setSheetFooterRight
(String sheetFooterRight) Setter for the fieldsheetFooterRight
.void
setSheetHeaderCenter
(String sheetHeaderCenter) Setter for the fieldsheetHeaderCenter
.void
setSheetHeaderLeft
(String sheetHeaderLeft) Setter for the fieldsheetHeaderLeft
.void
setSheetHeaderRight
(String sheetHeaderRight) Setter for the fieldsheetHeaderRight
.void
setSheetNames
(List<String> sheetNames) Setter for the fieldsheetNames
.void
setShowGridLines
(Boolean showGridLines) Setter for the fieldshowGridLines
.void
setUseTimeZone
(Boolean useTimeZone) Setter for the fielduseTimeZone
.void
setWhitePageBackground
(Boolean whitePageBackground) Setter for the fieldwhitePageBackground
.void
setWorkbookTemplate
(String workbookTemplate) Setter for the fieldworkbookTemplate
.void
setWrapText
(Boolean wrapText) Setter for the fieldwrapText
.Methods inherited from class net.sf.dynamicreports.jasper.base.export.AbstractJasperExporter
getCharacterEncoding, getEndPageIndex, getOffsetX, getOffsetY, getOutputFile, getOutputFileName, getOutputStream, getOutputWriter, getPageIndex, getStartPageIndex, setCharacterEncoding, setEndPageIndex, setOffsetX, setOffsetY, setOutputFile, setOutputFileName, setOutputStream, setOutputWriter, setPageIndex, setStartPageIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.dynamicreports.jasper.definition.export.JasperIExporter
getCharacterEncoding, getEndPageIndex, getOffsetX, getOffsetY, getOutputFile, getOutputFileName, getOutputStream, getOutputWriter, getPageIndex, getStartPageIndex
-
Constructor Details
-
AbstractJasperExcelExporter
public AbstractJasperExcelExporter()Constructor for AbstractJasperExcelExporter.
-
-
Method Details
-
getOnePagePerSheet
getOnePagePerSheet.
- Specified by:
getOnePagePerSheet
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setOnePagePerSheet
Setter for the field
onePagePerSheet
.- Parameters:
onePagePerSheet
- aBoolean
object.
-
getRemoveEmptySpaceBetweenRows
getRemoveEmptySpaceBetweenRows.
- Specified by:
getRemoveEmptySpaceBetweenRows
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setRemoveEmptySpaceBetweenRows
Setter for the field
removeEmptySpaceBetweenRows
.- Parameters:
removeEmptySpaceBetweenRows
- aBoolean
object.
-
getRemoveEmptySpaceBetweenColumns
getRemoveEmptySpaceBetweenColumns.
- Specified by:
getRemoveEmptySpaceBetweenColumns
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setRemoveEmptySpaceBetweenColumns
Setter for the field
removeEmptySpaceBetweenColumns
.- Parameters:
removeEmptySpaceBetweenColumns
- aBoolean
object.
-
getWhitePageBackground
getWhitePageBackground.
- Specified by:
getWhitePageBackground
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setWhitePageBackground
Setter for the field
whitePageBackground
.- Parameters:
whitePageBackground
- aBoolean
object.
-
getDetectCellType
getDetectCellType.
- Specified by:
getDetectCellType
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setDetectCellType
Setter for the field
detectCellType
.- Parameters:
detectCellType
- aBoolean
object.
-
getSheetNames
getSheetNames.
- Specified by:
getSheetNames
in interfaceJasperIExcelExporter
- Returns:
- a
List
object.
-
setSheetNames
Setter for the field
sheetNames
.- Parameters:
sheetNames
- aList
object.
-
addSheetName
addSheetName.
- Parameters:
sheetName
- aString
object.
-
getFontSizeFixEnabled
getFontSizeFixEnabled.
- Specified by:
getFontSizeFixEnabled
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setFontSizeFixEnabled
Setter for the field
fontSizeFixEnabled
.- Parameters:
fontSizeFixEnabled
- aBoolean
object.
-
getImageBorderFixEnabled
getImageBorderFixEnabled.
- Specified by:
getImageBorderFixEnabled
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setImageBorderFixEnabled
Setter for the field
imageBorderFixEnabled
.- Parameters:
imageBorderFixEnabled
- aBoolean
object.
-
getMaxRowsPerSheet
getMaxRowsPerSheet.
- Specified by:
getMaxRowsPerSheet
in interfaceJasperIExcelExporter
- Returns:
- a
Integer
object.
-
setMaxRowsPerSheet
Setter for the field
maxRowsPerSheet
.- Parameters:
maxRowsPerSheet
- aInteger
object.
-
getIgnoreGraphics
getIgnoreGraphics.
- Specified by:
getIgnoreGraphics
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnoreGraphics
Setter for the field
ignoreGraphics
.- Parameters:
ignoreGraphics
- aBoolean
object.
-
getCollapseRowSpan
getCollapseRowSpan.
- Specified by:
getCollapseRowSpan
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setCollapseRowSpan
Setter for the field
collapseRowSpan
.- Parameters:
collapseRowSpan
- aBoolean
object.
-
getIgnoreCellBorder
getIgnoreCellBorder.
- Specified by:
getIgnoreCellBorder
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnoreCellBorder
Setter for the field
ignoreCellBorder
.- Parameters:
ignoreCellBorder
- aBoolean
object.
-
getIgnoreCellBackground
getIgnoreCellBackground.
- Specified by:
getIgnoreCellBackground
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnoreCellBackground
Setter for the field
ignoreCellBackground
.- Parameters:
ignoreCellBackground
- aBoolean
object.
-
getPassword
getPassword.
- Specified by:
getPassword
in interfaceJasperIExcelExporter
- Returns:
- a
String
object.
-
setPassword
Setter for the field
password
.- Parameters:
password
- aString
object.
-
getIgnorePageMargins
getIgnorePageMargins.
- Specified by:
getIgnorePageMargins
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnorePageMargins
Setter for the field
ignorePageMargins
.- Parameters:
ignorePageMargins
- aBoolean
object.
-
getWrapText
getWrapText.
- Specified by:
getWrapText
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setWrapText
Setter for the field
wrapText
.- Parameters:
wrapText
- aBoolean
object.
-
getCellLocked
getCellLocked.
- Specified by:
getCellLocked
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setCellLocked
Setter for the field
cellLocked
.- Parameters:
cellLocked
- aBoolean
object.
-
getCellHidden
getCellHidden.
- Specified by:
getCellHidden
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setCellHidden
Setter for the field
cellHidden
.- Parameters:
cellHidden
- aBoolean
object.
-
getSheetHeaderLeft
getSheetHeaderLeft.
- Specified by:
getSheetHeaderLeft
in interfaceJasperIExcelExporter
- Returns:
- a
String
object.
-
setSheetHeaderLeft
Setter for the field
sheetHeaderLeft
.- Parameters:
sheetHeaderLeft
- aString
object.
-
getSheetHeaderCenter
getSheetHeaderCenter.
- Specified by:
getSheetHeaderCenter
in interfaceJasperIExcelExporter
- Returns:
- a
String
object.
-
setSheetHeaderCenter
Setter for the field
sheetHeaderCenter
.- Parameters:
sheetHeaderCenter
- aString
object.
-
getSheetHeaderRight
getSheetHeaderRight.
- Specified by:
getSheetHeaderRight
in interfaceJasperIExcelExporter
- Returns:
- a
String
object.
-
setSheetHeaderRight
Setter for the field
sheetHeaderRight
.- Parameters:
sheetHeaderRight
- aString
object.
-
getFormatPatternsMap
getFormatPatternsMap.
- Specified by:
getFormatPatternsMap
in interfaceJasperIExcelExporter
- Returns:
- a
Map
object.
-
setFormatPatternsMap
Setter for the field
formatPatternsMap
.- Parameters:
formatPatternsMap
- aMap
object.
-
getIgnoreHyperLink
getIgnoreHyperLink.
- Specified by:
getIgnoreHyperLink
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnoreHyperLink
Setter for the field
ignoreHyperLink
.- Parameters:
ignoreHyperLink
- aBoolean
object.
-
getIgnoreAnchors
getIgnoreAnchors.
- Specified by:
getIgnoreAnchors
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setIgnoreAnchors
Setter for the field
ignoreAnchors
.- Parameters:
ignoreAnchors
- aBoolean
object.
-
getFitWidth
getFitWidth.
- Specified by:
getFitWidth
in interfaceJasperIExcelExporter
- Returns:
- a
Integer
object.
-
setFitWidth
Setter for the field
fitWidth
.- Parameters:
fitWidth
- aInteger
object.
-
getFitHeight
getFitHeight.
- Specified by:
getFitHeight
in interfaceJasperIExcelExporter
- Returns:
- a
Integer
object.
-
setFitHeight
Setter for the field
fitHeight
.- Parameters:
fitHeight
- aInteger
object.
-
getPageScale
getPageScale.
- Specified by:
getPageScale
in interfaceJasperIExcelExporter
- Returns:
- a
Integer
object.
-
setPageScale
Setter for the field
pageScale
.- Parameters:
pageScale
- aInteger
object.
-
getSheetDirection
getSheetDirection.
- Specified by:
getSheetDirection
in interfaceJasperIExcelExporter
- Returns:
- a
RunDirection
object.
-
setSheetDirection
Setter for the field
sheetDirection
.- Parameters:
sheetDirection
- aRunDirection
object.
-
getColumnWidthRatio
getColumnWidthRatio.
- Specified by:
getColumnWidthRatio
in interfaceJasperIExcelExporter
- Returns:
- a
Float
object.
-
setColumnWidthRatio
Setter for the field
columnWidthRatio
.- Parameters:
columnWidthRatio
- aFloat
object.
-
getUseTimeZone
getUseTimeZone.
- Specified by:
getUseTimeZone
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setUseTimeZone
Setter for the field
useTimeZone
.- Parameters:
useTimeZone
- aBoolean
object.
-
getFirstPageNumber
getFirstPageNumber.
- Specified by:
getFirstPageNumber
in interfaceJasperIExcelExporter
- Returns:
- a
Integer
object.
-
setFirstPageNumber
Setter for the field
firstPageNumber
.- Parameters:
firstPageNumber
- aInteger
object.
-
getShowGridLines
getShowGridLines.
- Specified by:
getShowGridLines
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setShowGridLines
Setter for the field
showGridLines
.- Parameters:
showGridLines
- aBoolean
object.
-
getImageAnchorType
getImageAnchorType.
- Specified by:
getImageAnchorType
in interfaceJasperIExcelExporter
- Returns:
- a
ImageAnchorType
object.
-
setImageAnchorType
Setter for the field
imageAnchorType
.- Parameters:
imageAnchorType
- aImageAnchorType
object.
-
getCreateCustomPalette
getCreateCustomPalette.
- Specified by:
getCreateCustomPalette
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setCreateCustomPalette
Setter for the field
createCustomPalette
.- Parameters:
createCustomPalette
- aBoolean
object.
-
getWorkbookTemplate
getWorkbookTemplate.
- Specified by:
getWorkbookTemplate
in interfaceJasperIExcelExporter
- Returns:
- a
String
object.
-
setWorkbookTemplate
Setter for the field
workbookTemplate
.- Parameters:
workbookTemplate
- aString
object.
-
getKeepWorkbookTemplateSheets
getKeepWorkbookTemplateSheets.
- Specified by:
getKeepWorkbookTemplateSheets
in interfaceJasperIExcelExporter
- Returns:
- a
Boolean
object.
-
setKeepWorkbookTemplateSheets
Setter for the field
keepWorkbookTemplateSheets
.- Parameters:
keepWorkbookTemplateSheets
- aBoolean
object.
-