public class ReportCell extends ReportElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XMLTAG
For internal use only
|
bgColor, borderColor, CHART, COLUMN, COLUMNHEADER, FORMULA, GRID, height, ID_TYPE, IMAGE, isLocked, LABEL, LINE, min_height, min_width, NONE, rotate_angle, ROTATE_CLOCKWISE, ROTATE_COUNTERCLOCKWISE, ROTATE_NONE, roundCornerRadius, roundCornersArray, RTFOBJECT, SECTION, securityMap, snap, SORT_X, SORT_Y, SORT_Z, SUBREPORT, TABLE, TABLEOFCONTENTS, TITLE, visible, vsnap, width, x
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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 |
write(java.io.DataOutput out)
For internal use only
|
void |
writeXML(java.io.Writer out,
boolean writeElementTag)
For internal use only
|
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyTemplate, createScriptObject, createScriptObjectFromName, deepCopy, doesElementSupportRoundCorners, equals, findElementsAbove, findElementsBelow, findElementsToLeft, findElementsToRight, findElementsToRight, findElementType, findGroupElementType, findMaxXr, findMaxYd, findMinX, findMinY, findSpecificElements, getAlign, getAllColors, getBgColor, getBookmark, getBorder, getBorderColor, getBorderThickness, getBottomBorder, getCustomID, getDrawX, getDrawX, getDrawY, getDrawY, getDrillDownName, getElementType, getElementTypeName, getFirst2RowOfColumns, getFirst2RowOfColumns, getFont, getFontColor, getHeight, getHeight, getHeightOfElement, getHeightOfElement, getHeightToPoints, getHint, getID, getLeftBorder, getLink, getMaxXr, getMin_Height, getMin_Width, getMinX, getRefFont, getRefFontToDraw, getRightBorder, getRotateAngle, getRoundCornerRadius, getRoundCornersArray, getScript, getScriptName, getScriptObj, getSecuredScripts, getSecurityLevel, getSecurityLevels, getSecurityMap, getSnap, getStyleName, getTarget, getText, getTopBorder, getVAlign, getVSnap, getWidth, getWidth, getWidthOfElement, getWidthOfElement, getWidthToPoints, getX, getX, getXPos, getXPos, getXToPoints, getY, getY, getYPos, getYPos, getYToPoints, getZ, hasBorder, inBottomHalf, inLeftEnd, inLeftHalf, inRightEnd, inRightHalf, inTopHalf, isCrossTabElt, isDrawAgain, isLocked, isNoWrap, isResizeToFitContent, isSecurityLevelDefined, isSecurityTextScript, isShiftSecuredColX, isShiftSecuredColXIncludeHeaderAndFooter, isSnapToGrid, isUnderline, isVisible, moveForCrossTabFixedField, moveForCrossTabFixedField, newArrayX, newArrayY, removeScriptReferenced, removeSecurityLevel, renameSecurityLevel, resize, resizeForCrossTabFixedField, resizeForCrossTabFixedField, scriptReferenced, securityScriptReferenced, setAlign, setBgColor, setBookmark, setBorder, setBorderColor, setBorderThickness, setBorderThickness, setBorderThickness, setBottomBorder, setCustomID, setDrawAgain, setDrawX, setDrawX, setDrawY, setDrawY, setDrillDownName, setFont, setFontColor, setHeight, setHeight, setHint, setID, setID, setInchGridSpace, setLeftBorder, setLink, setLocked, setMinHeight, setMinWidth, setNoWrap, setResizeToFitContent, setRightBorder, setRotateAngle, setRotateAngle, setRoundCornerRadius, setRoundCornersArray, setScript, setScriptName, setScriptObj, setScriptObjNull, setSecurityLevelProperties, setSecurityMap, setSecurityTextScript, setShiftSecuredColX, setShiftSecuredColXIncludeHeaderAndFooter, setSnap, setSnapToGrid, setSnapToGrid, setStyleName, setTarget, setText, setTopBorder, setUnderline, setVAlign, setVisible, setVSnap, setWidth, setWidth, setX, setX, setXX, setXX, setY, setY, setYY, setYY, setZ, shift, shiftObjectsOnMove, shiftOnMove, sortElement, sortElement, sortElementHorizontally, sortElementInXYOrder, sortElementVertically, swapElements, switchSecurityProperties
public static final java.lang.String XMLTAG
public ReportCell()
public ReportCell(java.lang.String name)
public ReportCell(IObject formula)
public ReportCell(Formula formula)
public ReportCell(ReportColumn _col, int index)
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 emulatedpublic 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 write(java.io.DataOutput out) throws java.io.IOException
write
in class ReportElement
java.io.IOException
public void writeXML(java.io.Writer out, boolean writeElementTag) throws java.io.IOException
writeXML
in class ReportElement
java.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 ReportElement
java.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 ReportElement
java.lang.Exception
public 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()
@Deprecated public void setFormula(java.lang.String formula)
public quadbase.reportdesigner.ReportElements.Bookmark getEntry()
Bookmark
public void setEntry(quadbase.reportdesigner.ReportElements.Bookmark entry)
Bookmark
public ReportColumn getColumn()
public void setColumn(ReportColumn column)
public void applyStyle(ReportCell _cell)
public void applyStyleButNotWH(ReportCell _cell)