public class JRXmlssExporter extends JRAbstractExporter
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.ParameterOverriddenResolver, JRAbstractExporter.ParameterOverrideResolver, JRAbstractExporter.ParameterResolver
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
currentSheetName |
protected JRFont |
defaultFont |
protected java.io.File |
destFile |
protected java.lang.String |
encoding |
protected java.util.Map |
fontMap
Deprecated.
|
protected java.util.Map |
formatPatternsMap |
protected static java.lang.String |
HORIZONTAL_ALIGN_CENTER |
protected static java.lang.String |
HORIZONTAL_ALIGN_JUSTIFY |
protected static java.lang.String |
HORIZONTAL_ALIGN_LEFT |
protected static java.lang.String |
HORIZONTAL_ALIGN_RIGHT |
static java.lang.String |
IMAGE_NAME_PREFIX |
protected static int |
IMAGE_NAME_PREFIX_LEGTH |
protected java.util.Map |
imageMaps |
protected java.util.List |
imagesToProcess |
protected boolean |
isAutoDetectCellType |
protected boolean |
isCollapseRowSpan |
protected boolean |
isDetectCellType |
protected boolean |
isFontSizeFixEnabled |
protected boolean |
isIgnoreCellBorder |
protected boolean |
isIgnoreGraphics |
protected boolean |
isIgnorePageMargins |
protected boolean |
isOnePagePerSheet |
protected boolean |
isRemoveEmptySpaceBetweenColumns |
protected boolean |
isRemoveEmptySpaceBetweenRows |
protected boolean |
isWhitePageBackground |
protected boolean |
isWrapBreakWord |
protected static java.lang.String |
JR_PAGE_ANCHOR_PREFIX |
protected int |
maxRowsPerSheet |
protected ExporterNature |
nature |
protected static java.lang.String[] |
PAGE_LAYOUT |
protected int |
pageIndex |
protected OrientationEnum |
pageOrientation |
protected JRExportProgressMonitor |
progressMonitor |
protected java.util.Map |
rendererToImagePathMap |
protected int |
reportIndex |
protected int |
sheetIndex
used for counting the total number of sheets
|
protected java.lang.String[] |
sheetNames |
protected java.util.Map |
sheetNamesMap
used when indexing the identical sheet generated names with ordering numbers;
contains sheet names as keys and the number of occurences of each sheet name as values
|
protected boolean |
startPage |
protected int |
tableIndex |
protected java.io.Writer |
tempBodyWriter |
protected java.io.Writer |
tempStyleWriter |
protected static java.lang.String |
VERTICAL_ALIGN_BOTTOM |
protected static java.lang.String |
VERTICAL_ALIGN_MIDDLE |
protected static java.lang.String |
VERTICAL_ALIGN_TOP |
static java.lang.String |
XMLSS_EXPORTER_KEY
The exporter key, as used in
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String) . |
classLoader, classLoaderSet, dateFormatCache, endPageIndex, fileResolver, fileResolverSet, filter, globalOffsetX, globalOffsetY, hyperlinkProducerFactory, isModeBatch, jasperPrint, jasperPrintList, numberFormatCache, parameters, PROPERTY_CELL_FORMULA, PROPERTY_DEFAULT_FILTER_FACTORY, PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY, startPageIndex, urlHandlerFactory, urlHandlerFactorySet
Constructor and Description |
---|
JRXmlssExporter() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildColumns(CutsInfo xCuts,
XmlssTableBuilder tableBuilder) |
protected void |
endFontTag() |
protected void |
exportFrame(XmlssTableBuilder tableBuilder,
JRPrintFrame frame,
JRExporterGridCell gridCell) |
protected int |
exportPage(JRPrintPage page,
CutsInfo xCuts,
int startRow,
JRPrintElementIndex frameIndex,
boolean isNewSheet) |
void |
exportReport()
Actually starts the export process.
|
protected java.lang.StringBuffer |
exportReportToBuffer() |
protected void |
exportReportToFile() |
protected void |
exportReportToStream(java.io.Writer writer) |
protected void |
exportStyledText(JRStyledText styledText) |
protected void |
exportStyledTextRun(java.util.Map attributes,
java.lang.String text) |
protected void |
exportText(XmlssTableBuilder tableBuilder,
JRPrintText text,
JRExporterGridCell gridCell) |
protected JRPrintElementIndex |
getElementIndex(JRExporterGridCell gridCell) |
protected java.lang.String |
getExporterKey() |
protected java.lang.String |
getHyperlinkURL(JRPrintHyperlink link) |
static JRPrintElementIndex |
getPrintElementIndex(java.lang.String imageName) |
protected void |
restoreBackcolor() |
protected void |
setBackcolor(java.awt.Color color) |
protected void |
setParameters() |
protected void |
startFontTag() |
protected void |
writeHyperlink(JRPrintHyperlink link) |
createFilter, defaultParseNumber, getBooleanCellValue, getBooleanParameter, getCharacterParameter, getCustomHandler, getDateCellValue, getDateFormat, getFloatParameter, getHyperlinkProducer, getIntegerParameter, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getParameter, getParameterResolver, getParameters, getStringArrayParameter, getStringParameter, getStringParameterOrDefault, getStyledText, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, reset, resetClassLoader, resetExportContext, restoreElementOffsets, setClassLoader, setExportContext, setFrameElementsOffset, setHyperlinkProducerFactory, setInput, setJasperPrint, setOffset, setOffset, setOutput, setPageRange, setParameter, setParameters
public static final java.lang.String XMLSS_EXPORTER_KEY
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String)
.protected static final java.lang.String JR_PAGE_ANCHOR_PREFIX
protected static final java.lang.String HORIZONTAL_ALIGN_LEFT
protected static final java.lang.String HORIZONTAL_ALIGN_RIGHT
protected static final java.lang.String HORIZONTAL_ALIGN_CENTER
protected static final java.lang.String HORIZONTAL_ALIGN_JUSTIFY
protected static final java.lang.String VERTICAL_ALIGN_TOP
protected static final java.lang.String VERTICAL_ALIGN_MIDDLE
protected static final java.lang.String VERTICAL_ALIGN_BOTTOM
public static final java.lang.String IMAGE_NAME_PREFIX
protected static final int IMAGE_NAME_PREFIX_LEGTH
protected static final java.lang.String[] PAGE_LAYOUT
protected java.io.Writer tempBodyWriter
protected java.io.Writer tempStyleWriter
protected JRExportProgressMonitor progressMonitor
protected java.util.Map rendererToImagePathMap
protected java.util.Map imageMaps
protected java.util.List imagesToProcess
protected int reportIndex
protected int pageIndex
protected int tableIndex
protected boolean startPage
protected java.lang.String encoding
protected boolean isWrapBreakWord
protected java.util.Map fontMap
protected ExporterNature nature
protected java.io.File destFile
protected boolean isOnePagePerSheet
protected boolean isRemoveEmptySpaceBetweenRows
protected boolean isRemoveEmptySpaceBetweenColumns
protected boolean isWhitePageBackground
protected boolean isAutoDetectCellType
protected boolean isDetectCellType
protected boolean isFontSizeFixEnabled
protected boolean isIgnoreGraphics
protected boolean isCollapseRowSpan
protected boolean isIgnoreCellBorder
protected boolean isIgnorePageMargins
protected int maxRowsPerSheet
protected java.lang.String[] sheetNames
protected int sheetIndex
protected java.util.Map sheetNamesMap
protected java.lang.String currentSheetName
protected JRFont defaultFont
protected java.util.Map formatPatternsMap
protected OrientationEnum pageOrientation
public void exportReport() throws JRException
JRExporter
exportReport
in interface JRExporter
exportReport
in class JRAbstractExporter
JRException
protected void exportReportToFile() throws JRException
JRException
protected java.lang.StringBuffer exportReportToBuffer() throws JRException
JRException
protected void exportReportToStream(java.io.Writer writer) throws JRException, java.io.IOException
JRException
java.io.IOException
protected int exportPage(JRPrintPage page, CutsInfo xCuts, int startRow, JRPrintElementIndex frameIndex, boolean isNewSheet) throws JRException
JRException
protected void exportText(XmlssTableBuilder tableBuilder, JRPrintText text, JRExporterGridCell gridCell) throws java.io.IOException
java.io.IOException
protected void exportStyledText(JRStyledText styledText) throws java.io.IOException
java.io.IOException
protected void exportStyledTextRun(java.util.Map attributes, java.lang.String text) throws java.io.IOException
java.io.IOException
protected JRPrintElementIndex getElementIndex(JRExporterGridCell gridCell)
public static JRPrintElementIndex getPrintElementIndex(java.lang.String imageName)
protected void exportFrame(XmlssTableBuilder tableBuilder, JRPrintFrame frame, JRExporterGridCell gridCell) throws java.io.IOException
java.io.IOException
protected void setBackcolor(java.awt.Color color)
protected void restoreBackcolor()
protected void writeHyperlink(JRPrintHyperlink link) throws java.io.IOException
java.io.IOException
protected java.lang.String getHyperlinkURL(JRPrintHyperlink link)
protected void setParameters()
protected void startFontTag() throws java.io.IOException
java.io.IOException
protected void endFontTag() throws java.io.IOException
java.io.IOException
protected void buildColumns(CutsInfo xCuts, XmlssTableBuilder tableBuilder)
protected java.lang.String getExporterKey()
getExporterKey
in class JRAbstractExporter
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com