Class JROpenDocumentExporterNature
- java.lang.Object
-
- net.sf.jasperreports.engine.export.AbstractExporterNature
-
- net.sf.jasperreports.engine.export.oasis.JROpenDocumentExporterNature
-
- All Implemented Interfaces:
ExporterFilter
,ExporterNature
- Direct Known Subclasses:
JROdtExporterNature
public abstract class JROpenDocumentExporterNature extends AbstractExporterNature
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.export.AbstractExporterNature
filter, handlerEnvironment, jasperReportsContext, propertiesUtil
-
-
Constructor Summary
Constructors Constructor Description JROpenDocumentExporterNature(JasperReportsContext jasperReportsContext, ExporterFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBreakAfterRow(JRPrintElement element)
boolean
isBreakBeforeRow(JRPrintElement element)
boolean
isDeep(JRPrintFrame frame)
Specified whether to include in the grid sub elements of a givenframe
element.boolean
isHorizontallyMergeEmptyCells()
Flag that specifies that empty cells are to be horizontally merged.boolean
isIgnoreLastRow()
boolean
isIgnorePageMargins()
Specifies whether empty page margins should be ignoredboolean
isSpanCells()
Specifies whether the exporter handles cells spanboolean
isToExport(JRPrintElement element)
void
setXProperties(Map<String,Object> xCutsProperties, JRPrintElement element)
void
setXProperties(CutsInfo xCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
void
setYProperties(Map<String,Object> yCutsProperties, JRPrintElement element)
void
setYProperties(CutsInfo yCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
-
Methods inherited from class net.sf.jasperreports.engine.export.AbstractExporterNature
getPropertiesUtil
-
-
-
-
Constructor Detail
-
JROpenDocumentExporterNature
public JROpenDocumentExporterNature(JasperReportsContext jasperReportsContext, ExporterFilter filter)
-
-
Method Detail
-
isToExport
public boolean isToExport(JRPrintElement element)
-
isDeep
public boolean isDeep(JRPrintFrame frame)
Description copied from interface:ExporterNature
Specified whether to include in the grid sub elements of a givenframe
element.
-
isSpanCells
public boolean isSpanCells()
Description copied from interface:ExporterNature
Specifies whether the exporter handles cells span
-
isIgnoreLastRow
public boolean isIgnoreLastRow()
-
isHorizontallyMergeEmptyCells
public boolean isHorizontallyMergeEmptyCells()
Description copied from interface:ExporterNature
Flag that specifies that empty cells are to be horizontally merged.If the flag is set and this nature is
deep
, the nature is required toexport
frames
.- Returns:
- whether empty cells are to be horizontally merged
-
isIgnorePageMargins
public boolean isIgnorePageMargins()
Specifies whether empty page margins should be ignored
-
isBreakBeforeRow
public boolean isBreakBeforeRow(JRPrintElement element)
-
isBreakAfterRow
public boolean isBreakAfterRow(JRPrintElement element)
-
setXProperties
public void setXProperties(CutsInfo xCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
- Specified by:
setXProperties
in interfaceExporterNature
- Overrides:
setXProperties
in classAbstractExporterNature
-
setXProperties
public void setXProperties(Map<String,Object> xCutsProperties, JRPrintElement element)
- Specified by:
setXProperties
in interfaceExporterNature
- Overrides:
setXProperties
in classAbstractExporterNature
-
setYProperties
public void setYProperties(CutsInfo yCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
- Specified by:
setYProperties
in interfaceExporterNature
- Overrides:
setYProperties
in classAbstractExporterNature
-
setYProperties
public void setYProperties(Map<String,Object> yCutsProperties, JRPrintElement element)
- Specified by:
setYProperties
in interfaceExporterNature
- Overrides:
setYProperties
in classAbstractExporterNature
-
-