|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportCell
public class ReportCell
This class can be used to insert labels and formula in the ReportSection of the Report, e.g. headers and footers.
| Field Summary | |
|---|---|
static java.lang.String |
XMLTAG
For internal use only |
| Fields inherited from class quadbase.reportdesigner.ReportElements.ReportElement |
|---|
bgColor, border, borderColor, CHART, COLUMN, FORMULA, GRID, height, ID_TYPE, IMAGE, isLocked, LABEL, LINE, min_height, min_width, RTFOBJECT, SECTION, securityMap, snap, SORT_X, SORT_Y, SORT_Z, SUBREPORT, TABLE, TABLEOFCONTENTS, visible, vsnap, width, x |
| Constructor Summary | |
|---|---|
ReportCell()
Constructs a ReportCell with no name |
|
ReportCell(Formula formula)
Constructs a new ReportCell object w/ the specified Formula object |
|
ReportCell(IObject formula)
Constructs a ReportCell with the specified formula |
|
ReportCell(ReportColumn _col,
int index)
For internal use only |
|
ReportCell(java.lang.String name)
Constructs a ReportCell with the specified name |
|
| Method Summary | |
|---|---|
void |
applyStyle(ReportCell _cell)
Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell. |
void |
applyStyleButNotWH(ReportCell _cell)
Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell, but width and height options are ignored. |
void |
applyTemplate(ReportCell _cell)
Specifies the look and feel to be the same as another ReportCell object. |
void |
applyTemplate(ReportCell _cell,
boolean applyScript)
Specifies the look and feel to be the same as another ReportCell object. |
static ReportCell |
clone(ReportCell _cell)
For internal use only |
void |
copy(ReportCell _cell)
For internal use only |
void |
copyTemplate(ReportCell _cell)
For internal use only. |
static ReportCell |
createCell(java.io.DataInput in,
int version)
For internal use only |
static ReportCell |
createCell(org.w3c.dom.Node node,
int version)
For internal use only |
void |
createFormulaObject(quadbase.reportdesigner.report.Report r)
For internal use only |
void |
createFormulaObjectFromName(quadbase.reportdesigner.report.Report r)
For internal use only |
void |
createFormulaObjectFromText(quadbase.reportdesigner.report.Report r)
For internal use only |
void |
deepCopy(ReportCell _cell)
For internal use only |
boolean |
equals(ReportCell _cell)
For internal use only |
boolean |
formulaReferenced(Formula form)
For internal use only |
int |
getColIndex(ReportTable table)
For internal use only |
ReportColumn |
getColumn()
Gets the current column in crosstab reports |
IFormat |
getDataFormat()
Gets the Data Format |
quadbase.reportdesigner.ReportElements.Bookmark |
getEntry()
Gets the bookmark entry for this object |
java.lang.String |
getFormula()
returns the actual formula content |
java.lang.String |
getFormulaName()
returns the formula name |
Formula |
getFormulaObj()
returns the Formula object contained in this ReportCell |
java.lang.Object |
getScriptedValue()
For internal use only |
int |
getSQLType()
For internal use only |
void |
read(java.io.DataInput in,
int version)
For internal use only |
void |
readXML(org.w3c.dom.Node node,
int version)
For internal use only |
void |
setColumn(ReportColumn column)
Sets the current column in crosstab reports |
void |
setDataFormat(IFormat format)
Sets the Data Format |
void |
setEntry(quadbase.reportdesigner.ReportElements.Bookmark entry)
Sets the bookmark entry for this object |
void |
setFormula(java.lang.String formula)
Deprecated. Replaced by @link setFormulaObj(Formula) |
void |
setFormulaObj(Formula f)
sets the Formula object for this ReportCell. |
void |
setScriptedValue(java.lang.Object value)
For internal use only |
void |
setSQLType(int sqlType)
For internal use only |
void |
write(java.io.DataOutput out)
For internal use only |
void |
writeXML(java.io.Writer out,
boolean writeElementTag)
For internal use only |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XMLTAG
| Constructor Detail |
|---|
public ReportCell()
public ReportCell(java.lang.String name)
public ReportCell(IObject formula)
public ReportCell(Formula formula)
public ReportCell(ReportColumn _col,
int index)
| Method Detail |
|---|
public IFormat getDataFormat()
public void setDataFormat(IFormat format)
format - the new formatpublic void copy(ReportCell _cell)
public void deepCopy(ReportCell _cell)
public void copyTemplate(ReportCell _cell)
public void applyTemplate(ReportCell _cell)
_cell - the object to be emulated
public void applyTemplate(ReportCell _cell,
boolean applyScript)
_cell - the object to be emulatedapplyScript - Specifies whether or not to copy scripts applied the objectpublic boolean equals(ReportCell _cell)
public void setFormulaObj(Formula f)
public Formula getFormulaObj()
public java.lang.String getFormulaName()
public java.lang.String getFormula()
public int getSQLType()
public void setSQLType(int sqlType)
public void write(java.io.DataOutput out)
throws java.io.IOException
write in class ReportElementjava.io.IOException
public void writeXML(java.io.Writer out,
boolean writeElementTag)
throws java.io.IOException
writeXML in class ReportElementjava.io.IOException
public static ReportCell createCell(org.w3c.dom.Node node,
int version)
throws java.lang.Exception
java.lang.Exception
public void readXML(org.w3c.dom.Node node,
int version)
throws java.lang.Exception
readXML in class ReportElementjava.lang.Exception
public static ReportCell createCell(java.io.DataInput in,
int version)
throws java.lang.Exception
java.lang.Exception
public void read(java.io.DataInput in,
int version)
throws java.lang.Exception
read in class ReportElementjava.lang.Exceptionpublic static ReportCell clone(ReportCell _cell)
public boolean formulaReferenced(Formula form)
public void createFormulaObject(quadbase.reportdesigner.report.Report r)
public void createFormulaObjectFromText(quadbase.reportdesigner.report.Report r)
public void createFormulaObjectFromName(quadbase.reportdesigner.report.Report r)
public int getColIndex(ReportTable table)
public void setScriptedValue(java.lang.Object value)
public java.lang.Object getScriptedValue()
public void setFormula(java.lang.String formula)
public quadbase.reportdesigner.ReportElements.Bookmark getEntry()
Bookmarkpublic void setEntry(quadbase.reportdesigner.ReportElements.Bookmark entry)
Bookmarkpublic ReportColumn getColumn()
public void setColumn(ReportColumn column)
public void applyStyle(ReportCell _cell)
public void applyStyleButNotWH(ReportCell _cell)
|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||