Package net.sf.jasperreports.export
Class SimpleXlsxMetadataReportConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleReportExportConfiguration
-
- net.sf.jasperreports.export.AbstractXlsReportConfiguration
-
- net.sf.jasperreports.export.SimpleXlsxMetadataReportConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration
,ReportExportConfiguration
,XlsMetadataReportConfiguration
,XlsReportConfiguration
,XlsxMetadataReportConfiguration
public class SimpleXlsxMetadataReportConfiguration extends AbstractXlsReportConfiguration implements XlsxMetadataReportConfiguration
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
Fields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS
-
Fields inherited from interface net.sf.jasperreports.export.XlsMetadataReportConfiguration
PROPERTY_COLUMN_NAMES_PREFIX, PROPERTY_WRITE_HEADER
-
Fields inherited from interface net.sf.jasperreports.export.XlsReportConfiguration
FORMAT_PATTERN_PREFIX, PROPERTY_AUTO_FIT_PAGE_HEIGHT, PROPERTY_CELL_HIDDEN, PROPERTY_CELL_LOCKED, PROPERTY_COLLAPSE_ROW_SPAN, PROPERTY_COLUMN_WIDTH_RATIO, PROPERTY_DEFINED_NAMES_PREFIX, PROPERTY_DETECT_CELL_TYPE, PROPERTY_FIRST_PAGE_NUMBER, PROPERTY_FIT_HEIGHT, PROPERTY_FIT_WIDTH, PROPERTY_FONT_SIZE_FIX_ENABLED, PROPERTY_FORCE_PAGE_BREAKS, PROPERTY_FREEZE_COLUMN, PROPERTY_FREEZE_ROW, PROPERTY_IGNORE_ANCHORS, PROPERTY_IGNORE_CELL_BACKGROUND, PROPERTY_IGNORE_CELL_BORDER, PROPERTY_IGNORE_GRAPHICS, PROPERTY_IGNORE_HYPERLINK, PROPERTY_IGNORE_TEXT_FORMATTING, PROPERTY_IMAGE_ANCHOR_TYPE, PROPERTY_IMAGE_BORDER_FIX_ENABLED, PROPERTY_MAXIMUM_ROWS_PER_SHEET, PROPERTY_ONE_PAGE_PER_SHEET, PROPERTY_PAGE_SCALE, PROPERTY_PASSWORD, PROPERTY_PRINT_FOOTER_MARGIN, PROPERTY_PRINT_HEADER_MARGIN, PROPERTY_PRINT_PAGE_BOTTOM_MARGIN, PROPERTY_PRINT_PAGE_HEIGHT, PROPERTY_PRINT_PAGE_LEFT_MARGIN, PROPERTY_PRINT_PAGE_RIGHT_MARGIN, PROPERTY_PRINT_PAGE_TOP_MARGIN, PROPERTY_PRINT_PAGE_WIDTH, PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, PROPERTY_SHEET_DIRECTION, PROPERTY_SHEET_FOOTER_CENTER, PROPERTY_SHEET_FOOTER_LEFT, PROPERTY_SHEET_FOOTER_RIGHT, PROPERTY_SHEET_HEADER_CENTER, PROPERTY_SHEET_HEADER_LEFT, PROPERTY_SHEET_HEADER_RIGHT, PROPERTY_SHEET_NAMES_PREFIX, PROPERTY_SHEET_TAB_COLOR, PROPERTY_SHOW_GRIDLINES, PROPERTY_SHRINK_TO_FIT, PROPERTY_USE_TIMEZONE, PROPERTY_WHITE_PAGE_BACKGROUND, PROPERTY_WRAP_TEXT
-
-
Constructor Summary
Constructors Constructor Description SimpleXlsxMetadataReportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getColumnNames()
Returns an array of strings representing the comma-separated names of the columns that should be exported.Boolean
isWriteHeader()
Returns a boolean that specifies whether the export header (the column names) should be written or not.void
setColumnNames(String[] columnNames)
void
setWriteHeader(Boolean isWriteHeader)
-
Methods inherited from class net.sf.jasperreports.export.AbstractXlsReportConfiguration
getColumnWidthRatio, getDefinedNames, getFirstPageNumber, getFitHeight, getFitWidth, getFormatPatternsMap, getFreezeColumn, getFreezeRow, getImageAnchorType, getMaxRowsPerSheet, getPageScale, getPassword, getPrintFooterMargin, getPrintHeaderMargin, getPrintPageBottomMargin, getPrintPageHeight, getPrintPageLeftMargin, getPrintPageRightMargin, getPrintPageTopMargin, getPrintPageWidth, getSheetDirection, getSheetFooterCenter, getSheetFooterLeft, getSheetFooterRight, getSheetHeaderCenter, getSheetHeaderLeft, getSheetHeaderRight, getSheetNames, getSheetTabColor, isAutoFitPageHeight, isAutoFitRow, isCellHidden, isCellLocked, isCollapseRowSpan, isDetectCellType, isFontSizeFixEnabled, isForcePageBreaks, isIgnoreAnchors, isIgnoreCellBackground, isIgnoreCellBorder, isIgnoreGraphics, isIgnoreHyperlink, isIgnorePageMargins, isIgnoreTextFormatting, isImageBorderFixEnabled, isOnePagePerSheet, isRemoveEmptySpaceBetweenColumns, isRemoveEmptySpaceBetweenRows, isShowGridLines, isShrinkToFit, isUseTimeZone, isWhitePageBackground, isWrapText, setAutoFitPageHeight, setAutoFitRow, setCellHidden, setCellLocked, setCollapseRowSpan, setColumnWidthRatio, setDefinedNames, setDetectCellType, setFirstPageNumber, setFitHeight, setFitWidth, setFontSizeFixEnabled, setForcePageBreaks, setFormatPatternsMap, setFreezeColumn, setFreezeRow, setIgnoreAnchors, setIgnoreCellBackground, setIgnoreCellBorder, setIgnoreGraphics, setIgnoreHyperlink, setIgnorePageMargins, setIgnoreTextFormatting, setImageAnchorType, setImageBorderFixEnabled, setMaxRowsPerSheet, setOnePagePerSheet, setPageScale, setPassword, setPrintFooterMargin, setPrintHeaderMargin, setPrintPageBottomMargin, setPrintPageHeight, setPrintPageLeftMargin, setPrintPageRightMargin, setPrintPageTopMargin, setPrintPageWidth, setRemoveEmptySpaceBetweenColumns, setRemoveEmptySpaceBetweenRows, setSheetDirection, setSheetFooterCenter, setSheetFooterLeft, setSheetFooterRight, setSheetHeaderCenter, setSheetHeaderLeft, setSheetHeaderRight, setSheetNames, setSheetTabColor, setShowGridLines, setShrinkToFit, setUseTimeZone, setWhitePageBackground, setWrapText
-
Methods inherited from class net.sf.jasperreports.export.SimpleReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex, setEndPageIndex, setExporterFilter, setHyperlinkProducerFactory, setOffsetX, setOffsetY, setPageIndex, setProgressMonitor, setStartPageIndex
-
Methods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
Methods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
Methods inherited from interface net.sf.jasperreports.export.XlsReportConfiguration
getColumnWidthRatio, getDefinedNames, getFirstPageNumber, getFitHeight, getFitWidth, getFormatPatternsMap, getFreezeColumn, getFreezeRow, getImageAnchorType, getMaxRowsPerSheet, getPageScale, getPassword, getPrintFooterMargin, getPrintHeaderMargin, getPrintPageBottomMargin, getPrintPageHeight, getPrintPageLeftMargin, getPrintPageRightMargin, getPrintPageTopMargin, getPrintPageWidth, getSheetDirection, getSheetFooterCenter, getSheetFooterLeft, getSheetFooterRight, getSheetHeaderCenter, getSheetHeaderLeft, getSheetHeaderRight, getSheetNames, getSheetTabColor, isAutoFitPageHeight, isAutoFitRow, isCellHidden, isCellLocked, isCollapseRowSpan, isDetectCellType, isFontSizeFixEnabled, isForcePageBreaks, isIgnoreAnchors, isIgnoreCellBackground, isIgnoreCellBorder, isIgnoreGraphics, isIgnoreHyperlink, isIgnorePageMargins, isIgnoreTextFormatting, isImageBorderFixEnabled, isOnePagePerSheet, isRemoveEmptySpaceBetweenColumns, isRemoveEmptySpaceBetweenRows, isShowGridLines, isShrinkToFit, isUseTimeZone, isWhitePageBackground, isWrapText
-
-
-
-
Method Detail
-
isWriteHeader
public Boolean isWriteHeader()
Description copied from interface:XlsMetadataReportConfiguration
Returns a boolean that specifies whether the export header (the column names) should be written or not.- Specified by:
isWriteHeader
in interfaceXlsMetadataReportConfiguration
- See Also:
XlsMetadataReportConfiguration.PROPERTY_WRITE_HEADER
-
setWriteHeader
public void setWriteHeader(Boolean isWriteHeader)
-
getColumnNames
public String[] getColumnNames()
Description copied from interface:XlsMetadataReportConfiguration
Returns an array of strings representing the comma-separated names of the columns that should be exported. NOTE: The order of the columns is important and for accurate results they should be in the same order as the original columns.- Specified by:
getColumnNames
in interfaceXlsMetadataReportConfiguration
- See Also:
XlsMetadataReportConfiguration.PROPERTY_COLUMN_NAMES_PREFIX
-
setColumnNames
public void setColumnNames(String[] columnNames)
-
-