net.sf.jasperreports.engine.export.oasis
Class JROpenDocumentExporterNature

java.lang.Object
  extended by net.sf.jasperreports.engine.export.oasis.JROpenDocumentExporterNature
All Implemented Interfaces:
ExporterFilter, ExporterNature
Direct Known Subclasses:
JROdsExporterNature, JROdtExporterNature

public abstract class JROpenDocumentExporterNature
extends java.lang.Object
implements ExporterNature

Version:
$Id: JROpenDocumentExporterNature.java 5377 2012-05-11 13:50:50Z shertage $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
protected  ExporterFilter filter
           
static byte ODS_NATURE
           
static byte ODT_NATURE
           
 
Constructor Summary
JROpenDocumentExporterNature(ExporterFilter filter)
           
 
Method Summary
protected abstract  byte getOpenDocumentNature()
           
 boolean isBreakAfterRow(JRPrintElement element)
           
 boolean isBreakBeforeRow(JRPrintElement element)
           
 boolean isDeep(JRPrintFrame frame)
          Specified whether to include in the grid sub elements of a given frame 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 ignored
 boolean isSpanCells()
          Specifies whether the exporter handles cells span
 boolean isSplitSharedRowSpan()
           
 boolean isToExport(JRPrintElement element)
           
 void setXProperties(CutsInfo xCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
           
 void setXProperties(java.util.Map<java.lang.String,java.lang.Object> xCutsProperties, JRPrintElement element)
           
 void setYProperties(CutsInfo yCuts, JRPrintElement element, int row1, int col1, int row2, int col2)
           
 void setYProperties(java.util.Map<java.lang.String,java.lang.Object> yCutsProperties, JRPrintElement element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ODT_NATURE

public static final byte ODT_NATURE
See Also:
Constant Field Values

ODS_NATURE

public static final byte ODS_NATURE
See Also:
Constant Field Values

filter

protected ExporterFilter filter
Constructor Detail

JROpenDocumentExporterNature

public JROpenDocumentExporterNature(ExporterFilter filter)
Method Detail

isToExport

public boolean isToExport(JRPrintElement element)
Specified by:
isToExport in interface ExporterFilter

isDeep

public boolean isDeep(JRPrintFrame frame)
Description copied from interface: ExporterNature
Specified whether to include in the grid sub elements of a given frame element.

Specified by:
isDeep in interface ExporterNature

isSplitSharedRowSpan

public boolean isSplitSharedRowSpan()
Specified by:
isSplitSharedRowSpan in interface ExporterNature

isSpanCells

public boolean isSpanCells()
Description copied from interface: ExporterNature
Specifies whether the exporter handles cells span

Specified by:
isSpanCells in interface ExporterNature

isIgnoreLastRow

public boolean isIgnoreLastRow()
Specified by:
isIgnoreLastRow in interface ExporterNature

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 to export frames.

Specified by:
isHorizontallyMergeEmptyCells in interface ExporterNature
Returns:
whether empty cells are to be horizontally merged

isIgnorePageMargins

public boolean isIgnorePageMargins()
Specifies whether empty page margins should be ignored

Specified by:
isIgnorePageMargins in interface ExporterNature

isBreakBeforeRow

public boolean isBreakBeforeRow(JRPrintElement element)
Specified by:
isBreakBeforeRow in interface ExporterNature

isBreakAfterRow

public boolean isBreakAfterRow(JRPrintElement element)
Specified by:
isBreakAfterRow in interface ExporterNature

getOpenDocumentNature

protected abstract byte getOpenDocumentNature()

setXProperties

public void setXProperties(CutsInfo xCuts,
                           JRPrintElement element,
                           int row1,
                           int col1,
                           int row2,
                           int col2)
Specified by:
setXProperties in interface ExporterNature

setXProperties

public void setXProperties(java.util.Map<java.lang.String,java.lang.Object> xCutsProperties,
                           JRPrintElement element)
Specified by:
setXProperties in interface ExporterNature

setYProperties

public void setYProperties(CutsInfo yCuts,
                           JRPrintElement element,
                           int row1,
                           int col1,
                           int row2,
                           int col2)
Specified by:
setYProperties in interface ExporterNature

setYProperties

public void setYProperties(java.util.Map<java.lang.String,java.lang.Object> yCutsProperties,
                           JRPrintElement element)
Specified by:
setYProperties in interface ExporterNature


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com