Class JRXlsMetadataExporter
- java.lang.Object
-
- net.sf.jasperreports.engine.JRAbstractExporter<RC,C,OutputStreamExporterOutput,E>
-
- net.sf.jasperreports.engine.export.ExcelAbstractExporter<RC,C,E>
-
- net.sf.jasperreports.engine.export.JRXlsAbstractExporter<RC,C,E>
-
- net.sf.jasperreports.engine.export.JRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
- net.sf.jasperreports.engine.export.JRXlsMetadataExporter
-
- All Implemented Interfaces:
JRExporter<ExporterInput,XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,OutputStreamExporterOutput>,Exporter<ExporterInput,XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,OutputStreamExporterOutput>
public class JRXlsMetadataExporter extends JRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classJRXlsMetadataExporter.BoxStyleprotected classJRXlsMetadataExporter.CellSettingsprotected classJRXlsMetadataExporter.ExporterContextprotected classJRXlsMetadataExporter.StyleInfo-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.export.JRXlsAbstractExporter
JRXlsAbstractExporter.SheetInfo
-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.export.ExcelAbstractExporter
ExcelAbstractExporter.NameScope, ExcelAbstractExporter.TextAlignHolder
-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.JRAbstractExporter
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.PageRange
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<org.apache.poi.ss.usermodel.Hyperlink>>anchorLinksprotected Map<String,org.apache.poi.hssf.usermodel.HSSFName>anchorNamesprotected org.apache.poi.ss.usermodel.FillPatternTypebackgroundModeprotected shortblackIndexprotected org.apache.poi.hssf.usermodel.HSSFCellcellprotected Map<String,org.apache.poi.hssf.usermodel.HSSFCellStyle>columnStylesMapprotected Map<String,Float>columnWidthRatiosprotected Map<String,Integer>columnWidthsprotected org.apache.poi.ss.usermodel.CreationHelpercreateHelperprotected shortcustomColorIndexprotected org.apache.poi.hssf.usermodel.HSSFDataFormatdataFormatprotected static StringEMPTY_SHEET_NAMEprotected org.apache.poi.hssf.usermodel.HSSFCellStyleemptyCellStyleprotected Map<org.apache.poi.hssf.usermodel.HSSFCell,String>formulaCellsMapprotected DateFormatisoDateFormatprotected Map<JRXlsMetadataExporter.StyleInfo,org.apache.poi.hssf.usermodel.HSSFCellStyle>loadedCellStylesstatic shortMAX_COLOR_INDEXstatic shortMIN_COLOR_INDEXprotected Map<Integer,List<org.apache.poi.ss.usermodel.Hyperlink>>pageLinksprotected org.apache.poi.hssf.usermodel.HSSFPatriarchpatriarchprotected org.apache.poi.hssf.usermodel.HSSFRowrowprotected org.apache.poi.hssf.usermodel.HSSFSheetsheetprotected shortwhiteIndexprotected org.apache.poi.hssf.usermodel.HSSFWorkbookworkbookstatic StringXLS_EXPORTER_KEYThe exporter key, as used inGenericElementHandlerEnviroment.getElementHandler(JRGenericElementType, String).-
Fields inherited from class net.sf.jasperreports.engine.export.JRXlsAbstractMetadataExporter
columnNames, columnNamesMap, rowIndex
-
Fields inherited from class net.sf.jasperreports.engine.export.ExcelAbstractExporter
autoFilterEnd, autoFilterStart, collapseRowSpan, CURRENT_ROW_AUTOFIT, CURRENT_ROW_HEIGHT, DEFAULT_DEFINED_NAME_SCOPE, DEFAULT_DEFINED_NAME_SCOPE_SEPARATOR, DEFAULT_SHEET_NAME_PREFIX, defaultCellHidden, defaultCellLocked, defaultFont, defaultIgnoreHyperlink, defaultIgnoreTextFormatting, defaultImageAnchorType, defaultShrinkToFit, defaultUseTimeZone, defaultWrapText, definedNamesMap, detectCellType, EXCEPTION_MESSAGE_KEY_CANNOT_ADD_CELL, EXCEPTION_MESSAGE_KEY_CANNOT_MERGE_CELLS, EXCEPTION_MESSAGE_KEY_CELL_FORMAT_TEMPLATE_ERROR, EXCEPTION_MESSAGE_KEY_COLUMN_INDEX_BEYOND_LIMIT, EXCEPTION_MESSAGE_KEY_LOADED_FONTS_ERROR, EXCEPTION_MESSAGE_KEY_NEGATIVE_COLUMN_INDEX, EXCEPTION_MESSAGE_KEY_REPORT_GENERATION_ERROR, EXCEPTION_MESSAGE_KEY_TEMPLATE_NOT_FOUND, firstPageNotSet, formatPatternsMap, ignoreAnchors, imageBorderFixEnabled, invalidCharReplacement, keepTemplateSheets, loadedFonts, maxColumnIndex, nature, onePagePerSheet, onePagePerSheetMap, pageFormat, pageIndex, PROPERTY_AUTO_FILTER, PROPERTY_AUTO_FIT_COLUMN, PROPERTY_AUTO_FIT_ROW, PROPERTY_BREAK_AFTER_ROW, PROPERTY_BREAK_BEFORE_ROW, PROPERTY_CELL_FORMULA, PROPERTY_CELL_PATTERN, PROPERTY_COLUMN_NAME, PROPERTY_COLUMN_WIDTH, PROPERTY_COLUMN_WIDTH_METADATA, PROPERTY_DATA, PROPERTY_FREEZE_COLUMN_EDGE, PROPERTY_FREEZE_ROW_EDGE, PROPERTY_IGNORE_ROW_HEIGHT, PROPERTY_REPEAT_VALUE, PROPERTY_ROW_OUTLINE_LEVEL_PREFIX, PROPERTY_SHEET_NAME, renderersCache, reportIndex, sheetIndex, sheetInfo, sheetNames, sheetNamesIndex, sheetNamesMap, sheetsBeforeCurrentReport, sheetsBeforeCurrentReportMap, workbookTemplate, XLS_EXPORTER_PROPERTIES_PREFIX
-
Fields inherited from class net.sf.jasperreports.engine.JRAbstractExporter
allSelector, crtCompositeConfiguration, crtCompositeItemConfiguration, crtItem, dateFormatCache, EXCEPTION_MESSAGE_KEY_END_PAGE_INDEX_OUT_OF_RANGE, EXCEPTION_MESSAGE_KEY_INVALID_IMAGE_NAME, EXCEPTION_MESSAGE_KEY_INVALID_ZOOM_RATIO, EXCEPTION_MESSAGE_KEY_MIXED_CALLS_NOT_ALLOWED, EXCEPTION_MESSAGE_KEY_OUTPUT_WRITER_ERROR, EXCEPTION_MESSAGE_KEY_PAGE_INDEX_OUT_OF_RANGE, EXCEPTION_MESSAGE_KEY_START_PAGE_INDEX_OUT_OF_RANGE, exporterConfiguration, exporterContext, exporterInput, exporterOutput, filter, fontUtil, hyperlinkProducerFactory, itemConfiguration, jasperPrint, jasperReportsContext, noBackcolorSelector, noneSelector, numberFormatCache, parameters, propertiesUtil, PROPERTY_DEFAULT_FILTER_FACTORY, PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY, rendererUtil, styledTextUtil, textValueClasses
-
-
Constructor Summary
Constructors Constructor Description JRXlsMetadataExporter()JRXlsMetadataExporter(JasperReportsContext jasperReportsContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBlankCell(org.apache.poi.hssf.usermodel.HSSFCellStyle cellStyle, Map<String,Object> cellValueMap, String currentColumnName)protected voidaddBlankElement(org.apache.poi.hssf.usermodel.HSSFCellStyle cellStyle, boolean repeatValue, String currentColumnName)protected voidaddCell(JRXlsMetadataExporter.CellSettings cellSettings, Map<String,Object> cellValueMap, String currentColumnName)protected voidaddRowBreak(int rowIndex)protected voidaddTextElement(JRXlsMetadataExporter.CellSettings cellSettings, String textStr, boolean repeatValue, String currentColumnName)protected voidadjustColumnWidth(String columnName, int columnWidth, Boolean isAutofit)protected voidadjustRowHeight(int rowHeight, Boolean isAutofit)protected voidcloseSheet()protected voidcloseWorkbook(OutputStream os)protected voidcreateSheet(CutsInfo xCuts, JRXlsAbstractExporter.SheetInfo sheetInfo)protected voidcreateSheet(JRXlsAbstractExporter.SheetInfo sheetInfo)protected voidexportFrame(JRPrintFrame frame)protected voidexportGenericElement(JRGenericPrintElement element)voidexportImage(JRPrintImage element)protected voidexportLine(JRPrintLine line)protected voidexportRectangle(JRPrintGraphicElement element)protected voidexportText(JRPrintText textElement)protected static org.apache.poi.ss.usermodel.BorderStylegetBorderStyle(JRPen pen)protected Class<XlsMetadataExporterConfiguration>getConfigurationInterface()StringgetExporterKey()StringgetExporterPropertiesPrefix()Returns the properties prefix for the current exporter.protected Class<XlsMetadataReportConfiguration>getItemConfigurationInterface()protected org.apache.poi.hssf.usermodel.HSSFCellStylegetLoadedCellStyle(JRXlsMetadataExporter.StyleInfo style)protected org.apache.poi.hssf.usermodel.HSSFCellStylegetLoadedCellStyle(org.apache.poi.ss.usermodel.FillPatternType mode, short backcolor, org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment, org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment, short rotation, org.apache.poi.hssf.usermodel.HSSFFont font, JRXlsMetadataExporter.BoxStyle box, boolean isCellLocked, boolean isCellHidden, boolean isShrinkToFit)protected org.apache.poi.hssf.usermodel.HSSFFontgetLoadedFont(JRFont font, short forecolor, Map<AttributedCharacterIterator.Attribute,Object> attributes, Locale locale)protected ExporterNaturegetNature()protected static org.apache.poi.hssf.util.HSSFColorgetNearestColor(Color awtColor)protected org.apache.poi.hssf.usermodel.HSSFRichTextStringgetRichTextString(JRStyledText styledText, short forecolor, JRFont defaultFont, Locale locale)protected org.apache.poi.hssf.util.HSSFColorgetWorkbookColor(Color awtColor)protected voidinitExport()protected voidinitReport()protected voidopenWorkbook(OutputStream os)protected voidsetAutoFilter(String autoFilterRange)protected voidsetColumnName(String currentColumnName)protected voidsetColumnWidth(int col, int width)protected voidsetColumnWidth(int col, int width, boolean autoFit)protected voidsetFreezePane(int rowIndex, int colIndex)protected voidsetHyperlinkCell(JRPrintHyperlink hyperlink, JRXlsMetadataExporter.CellSettings cellSettings)protected voidsetRowHeight(int rowIndex, int lastRowHeight, Cut yCut, XlsRowLevelInfo levelInfo)protected voidsetRowHeight(org.apache.poi.hssf.usermodel.HSSFRow row)protected voidsetRowLevels(XlsRowLevelInfo levelInfo, String level)protected voidsetSheetName(String sheetName)protected voidupdateSheet(JRPrintElement element)protected voidwriteCurrentRow(Map<String,Object> currentRow, Map<String,Object> repeatedValues)protected voidwriteReportHeader()Writes the header column names-
Methods inherited from class net.sf.jasperreports.engine.export.JRXlsAbstractMetadataExporter
addBlankCell, addOccupiedCell, exportFrame, exportGenericElement, exportImage, exportLine, exportPage, exportRectangle, exportReportToStream, exportText, getFormula, getImageBorderCorrection, getSheetName, getStyledText, isColumnReadOnTime, setColumnNames, setRowHeight
-
Methods inherited from class net.sf.jasperreports.engine.export.JRXlsAbstractExporter
configureHeaderFooter, configurePrintSettings, exportEmptyReport, exportPage, exportSheet, getSheetProps, setColumnWidths
-
Methods inherited from class net.sf.jasperreports.engine.export.ExcelAbstractExporter
calculateHeightForDinAN, calculateHeightForDinBN, calculateHeightForDinCN, calculateWidthForDinAN, calculateWidthForDinBN, calculateWidthForDinCN, configureDefinedNames, configureDefinedNames, configureDefinedNames, ensureInput, ensureOutput, exportReport, getColumIndexName, getColumnIndex, getColumnName, getConvertedPattern, getDefaultFont, getMaxRowsPerSheet, getSheetName, getTextAlignHolder, hasGlobalSheetNames, isCellHidden, isCellLocked, isIgnoreTextFormatting, isShrinkToFit, isUseTimeZone, isValidScale, isWrapText, mergeAndSetRowLevels, resetAutoFilters, setSheetNames, toExcelName, translateDateValue, updateHeaderFooter, updatePrintSettings
-
Methods inherited from class net.sf.jasperreports.engine.JRAbstractExporter
checkInterrupted, createFilter, defaultParseNumber, ensureJasperReportsContext, getBooleanCellValue, getCurrentConfiguration, getCurrentItemConfiguration, getCurrentJasperPrint, getDateCellValue, getDateFormat, getExporterContext, getExporterInput, getExporterOutput, getHyperlinkProducer, getJasperReportsContext, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getPageRange, getParameter, getParameters, getPropertiesUtil, getRendererUtil, getReportContext, getRepository, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, insideFrame, reset, resetClassLoader, resetExportContext, restoreElementOffsets, setClassLoader, setConfiguration, setConfiguration, setCurrentExporterInputItem, setExporterInput, setExporterOutput, setFrameElementsOffset, setJasperReportsContext, setOffset, setOffset, setParameter, setParameters, setReportContext
-
-
-
-
Field Detail
-
XLS_EXPORTER_KEY
public static final String XLS_EXPORTER_KEY
The exporter key, as used inGenericElementHandlerEnviroment.getElementHandler(JRGenericElementType, String).- See Also:
- Constant Field Values
-
MAX_COLOR_INDEX
public static short MAX_COLOR_INDEX
-
MIN_COLOR_INDEX
public static short MIN_COLOR_INDEX
-
isoDateFormat
protected final DateFormat isoDateFormat
-
loadedCellStyles
protected Map<JRXlsMetadataExporter.StyleInfo,org.apache.poi.hssf.usermodel.HSSFCellStyle> loadedCellStyles
-
workbook
protected org.apache.poi.hssf.usermodel.HSSFWorkbook workbook
-
sheet
protected org.apache.poi.hssf.usermodel.HSSFSheet sheet
-
row
protected org.apache.poi.hssf.usermodel.HSSFRow row
-
cell
protected org.apache.poi.hssf.usermodel.HSSFCell cell
-
emptyCellStyle
protected org.apache.poi.hssf.usermodel.HSSFCellStyle emptyCellStyle
-
createHelper
protected org.apache.poi.ss.usermodel.CreationHelper createHelper
-
whiteIndex
protected short whiteIndex
-
blackIndex
protected short blackIndex
-
customColorIndex
protected short customColorIndex
-
backgroundMode
protected org.apache.poi.ss.usermodel.FillPatternType backgroundMode
-
dataFormat
protected org.apache.poi.hssf.usermodel.HSSFDataFormat dataFormat
-
patriarch
protected org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch
-
EMPTY_SHEET_NAME
protected static final String EMPTY_SHEET_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRXlsMetadataExporter
public JRXlsMetadataExporter()
-
JRXlsMetadataExporter
public JRXlsMetadataExporter(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
getConfigurationInterface
protected Class<XlsMetadataExporterConfiguration> getConfigurationInterface()
-
getItemConfigurationInterface
protected Class<XlsMetadataReportConfiguration> getItemConfigurationInterface()
-
initExport
protected void initExport()
-
initReport
protected void initReport()
-
openWorkbook
protected void openWorkbook(OutputStream os) throws JRException
- Specified by:
openWorkbookin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
createSheet
protected void createSheet(JRXlsAbstractExporter.SheetInfo sheetInfo)
-
closeSheet
protected void closeSheet()
- Specified by:
closeSheetin classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
closeWorkbook
protected void closeWorkbook(OutputStream os) throws JRException
- Specified by:
closeWorkbookin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
setColumnWidth
protected void setColumnWidth(int col, int width)
-
setRowHeight
protected void setRowHeight(org.apache.poi.hssf.usermodel.HSSFRow row)
-
adjustRowHeight
protected void adjustRowHeight(int rowHeight, Boolean isAutofit)
-
adjustColumnWidth
protected void adjustColumnWidth(String columnName, int columnWidth, Boolean isAutofit)
-
addBlankCell
protected void addBlankCell(org.apache.poi.hssf.usermodel.HSSFCellStyle cellStyle, Map<String,Object> cellValueMap, String currentColumnName) throws JRException- Throws:
JRException
-
writeCurrentRow
protected void writeCurrentRow(Map<String,Object> currentRow, Map<String,Object> repeatedValues) throws JRException
- Specified by:
writeCurrentRowin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
exportLine
protected void exportLine(JRPrintLine line) throws JRException
- Specified by:
exportLinein classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
exportRectangle
protected void exportRectangle(JRPrintGraphicElement element) throws JRException
- Specified by:
exportRectanglein classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
exportText
protected void exportText(JRPrintText textElement) throws JRException
- Specified by:
exportTextin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
setHyperlinkCell
protected void setHyperlinkCell(JRPrintHyperlink hyperlink, JRXlsMetadataExporter.CellSettings cellSettings)
-
addTextElement
protected void addTextElement(JRXlsMetadataExporter.CellSettings cellSettings, String textStr, boolean repeatValue, String currentColumnName) throws JRException
- Throws:
JRException
-
addBlankElement
protected void addBlankElement(org.apache.poi.hssf.usermodel.HSSFCellStyle cellStyle, boolean repeatValue, String currentColumnName) throws JRException- Throws:
JRException
-
addCell
protected void addCell(JRXlsMetadataExporter.CellSettings cellSettings, Map<String,Object> cellValueMap, String currentColumnName) throws JRException
- Throws:
JRException
-
getRichTextString
protected org.apache.poi.hssf.usermodel.HSSFRichTextString getRichTextString(JRStyledText styledText, short forecolor, JRFont defaultFont, Locale locale)
-
exportImage
public void exportImage(JRPrintImage element) throws JRException
- Specified by:
exportImagein classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
getLoadedCellStyle
protected org.apache.poi.hssf.usermodel.HSSFCellStyle getLoadedCellStyle(JRXlsMetadataExporter.StyleInfo style)
-
getLoadedCellStyle
protected org.apache.poi.hssf.usermodel.HSSFCellStyle getLoadedCellStyle(org.apache.poi.ss.usermodel.FillPatternType mode, short backcolor, org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment, org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment, short rotation, org.apache.poi.hssf.usermodel.HSSFFont font, JRXlsMetadataExporter.BoxStyle box, boolean isCellLocked, boolean isCellHidden, boolean isShrinkToFit)
-
getBorderStyle
protected static org.apache.poi.ss.usermodel.BorderStyle getBorderStyle(JRPen pen)
-
exportFrame
protected void exportFrame(JRPrintFrame frame) throws JRException
- Specified by:
exportFramein classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
exportGenericElement
protected void exportGenericElement(JRGenericPrintElement element) throws JRException
- Specified by:
exportGenericElementin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
getNature
protected ExporterNature getNature()
- Specified by:
getNaturein classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
getExporterKey
public String getExporterKey()
-
getExporterPropertiesPrefix
public String getExporterPropertiesPrefix()
Description copied from class:JRAbstractExporterReturns the properties prefix for the current exporter.- Specified by:
getExporterPropertiesPrefixin classJRAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,OutputStreamExporterOutput,JRXlsExporterContext>- Returns:
- the properties prefix for the current exporter
-
setColumnName
protected void setColumnName(String currentColumnName)
-
writeReportHeader
protected void writeReportHeader() throws JRExceptionWrites the header column names- Specified by:
writeReportHeaderin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
setSheetName
protected void setSheetName(String sheetName)
- Specified by:
setSheetNamein classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
setFreezePane
protected void setFreezePane(int rowIndex, int colIndex)- Specified by:
setFreezePanein classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
setAutoFilter
protected void setAutoFilter(String autoFilterRange)
- Specified by:
setAutoFilterin classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
setRowLevels
protected void setRowLevels(XlsRowLevelInfo levelInfo, String level)
- Specified by:
setRowLevelsin classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
getWorkbookColor
protected org.apache.poi.hssf.util.HSSFColor getWorkbookColor(Color awtColor)
-
getNearestColor
protected static org.apache.poi.hssf.util.HSSFColor getNearestColor(Color awtColor)
-
getLoadedFont
protected org.apache.poi.hssf.usermodel.HSSFFont getLoadedFont(JRFont font, short forecolor, Map<AttributedCharacterIterator.Attribute,Object> attributes, Locale locale)
-
createSheet
protected void createSheet(CutsInfo xCuts, JRXlsAbstractExporter.SheetInfo sheetInfo)
-
setRowHeight
protected void setRowHeight(int rowIndex, int lastRowHeight, Cut yCut, XlsRowLevelInfo levelInfo) throws JRException- Specified by:
setRowHeightin classJRXlsAbstractMetadataExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>- Throws:
JRException
-
addRowBreak
protected void addRowBreak(int rowIndex)
- Specified by:
addRowBreakin classExcelAbstractExporter<XlsMetadataReportConfiguration,XlsMetadataExporterConfiguration,JRXlsExporterContext>
-
setColumnWidth
protected void setColumnWidth(int col, int width, boolean autoFit)
-
updateSheet
protected void updateSheet(JRPrintElement element)
-
-