|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.JRAbstractExporter
Field Summary | |
protected java.lang.ClassLoader |
classLoader
|
protected JRFont |
defaultFont
|
protected int |
endPageIndex
|
protected int |
globalOffsetX
|
protected int |
globalOffsetY
|
protected boolean |
isModeBatch
|
protected JasperPrint |
jasperPrint
|
protected java.util.List |
jasperPrintList
|
protected java.util.Map |
parameters
|
protected int |
startPageIndex
|
protected JRStyledTextParser |
styledTextParser
|
Constructor Summary | |
protected |
JRAbstractExporter()
|
Method Summary | |
abstract void |
exportReport()
Actually starts the export process. |
protected JRBox |
getBox(JRPrintGraphicElement element)
|
protected JRFont |
getDefaultFont()
|
protected int |
getOffsetX()
Returns the X axis offset used for element export. |
protected int |
getOffsetY()
Returns the Y axis offset used for element export. |
java.lang.Object |
getParameter(JRExporterParameter parameter)
Gets an export parameter. |
java.util.Map |
getParameters()
Gets a map containing all export parameters. |
protected JRStyledText |
getStyledText(JRPrintText textElement)
|
protected JRStyledText |
getStyledText(JRPrintText textElement,
boolean setBackcolor)
|
protected void |
resetClassLoader()
|
protected void |
restoreElementOffsets()
Restores offsets after a call to setFrameElementsOffset . |
protected void |
setClassLoader()
|
protected void |
setFrameElementsOffset(JRPrintFrame frame,
boolean relative)
Sets the offsets for exporting elements from a frame . |
protected void |
setInput()
|
protected void |
setOffset()
|
protected void |
setOutput()
|
protected void |
setPageRange()
|
void |
setParameter(JRExporterParameter parameter,
java.lang.Object value)
Sets an export parameter for advanced customization of the export process. |
void |
setParameters(java.util.Map parameters)
Sets export parameters from a specified map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map parameters
protected java.util.List jasperPrintList
protected JasperPrint jasperPrint
protected boolean isModeBatch
protected int startPageIndex
protected int endPageIndex
protected int globalOffsetX
protected int globalOffsetY
protected java.lang.ClassLoader classLoader
protected JRFont defaultFont
protected JRStyledTextParser styledTextParser
Constructor Detail |
protected JRAbstractExporter()
Method Detail |
public void setParameter(JRExporterParameter parameter, java.lang.Object value)
JRExporter
setParameter
in interface JRExporter
parameter
- the parameter, selected from the static parameters defined by JasperReportsvalue
- the parameter valueJRExporterParameter
public java.lang.Object getParameter(JRExporterParameter parameter)
JRExporter
getParameter
in interface JRExporter
public void setParameters(java.util.Map parameters)
JRExporter
setParameters
in interface JRExporter
JRExporter.setParameter(JRExporterParameter, Object)
public java.util.Map getParameters()
JRExporter
getParameters
in interface JRExporter
public abstract void exportReport() throws JRException
JRExporter
exportReport
in interface JRExporter
JRException
protected void setOffset()
protected void setClassLoader()
protected void resetClassLoader()
protected void setInput() throws JRException
JRException
protected void setPageRange() throws JRException
JRException
protected JRFont getDefaultFont()
protected JRStyledText getStyledText(JRPrintText textElement, boolean setBackcolor)
protected JRStyledText getStyledText(JRPrintText textElement)
protected void setOutput()
protected int getOffsetX()
This method should be used istead of globalOffsetX
when
exporting elements.
protected int getOffsetY()
This method should be used istead of globalOffsetY
when
exporting elements.
protected void setFrameElementsOffset(JRPrintFrame frame, boolean relative)
frame
.
After the frame elements are exported, a call to popElementOffsets
is required
so that the previous offsets are resored.
frame
- relative
- getOffsetX()
,
getOffsetY()
,
restoreElementOffsets()
protected void restoreElementOffsets()
setFrameElementsOffset
.
protected JRBox getBox(JRPrintGraphicElement element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |