Class ReportCell
java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportCell
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ColumnHeader,ReportDocument,ReportImage,ReportRTFObject,SubReportObject
This class can be used to insert labels and formula in the ReportSection of the Report, e.g.
headers and footers.
- See Also:
-
Field Summary
FieldsFields inherited from class quadbase.reportdesigner.ReportElements.ReportElement
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 Summary
ConstructorsConstructorDescriptionConstructs a ReportCell with no nameReportCell(String name) Constructs a ReportCell with the specified nameReportCell(IObject formula) Constructs a ReportCell with the specified formulaReportCell(Formula formula) Constructs a new ReportCell object w/ the specified Formula objectReportCell(ReportColumn _col, int index) For internal use only -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyle(ReportCell _cell) Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell.voidapplyStyleButNotWH(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.voidapplyStyleButNotWHCopyScripts(ReportCell _cell, boolean copyScriptsAndDrillDownLinks) voidapplyTemplate(ReportCell _cell) Specifies the look and feel to be the same as another ReportCell object.voidapplyTemplate(ReportCell _cell, boolean applyScript) Specifies the look and feel to be the same as another ReportCell object.static ReportCellclone(ReportCell _cell) For internal use onlyvoidcopy(ReportCell _cell) For internal use onlyvoidcopyTemplate(ReportCell _cell) For internal use only.static ReportCellcreateCell(DataInput in, int version) For internal use onlystatic ReportCellcreateCell(Node node, int version) For internal use onlyvoidcreateFormulaObject(quadbase.reportdesigner.report.Report r) For internal use onlyvoidcreateFormulaObjectFromName(quadbase.reportdesigner.report.Report r) For internal use onlyvoidcreateFormulaObjectFromText(quadbase.reportdesigner.report.Report r) For internal use onlyvoiddeepCopy(ReportCell _cell) For internal use onlybooleanequals(ReportCell _cell) For internal use onlybooleanformulaReferenced(Formula form) For internal use onlyintgetColIndex(ReportTable table) For internal use onlyGets the current column in crosstab reportsGets the Data Formatquadbase.reportdesigner.ReportElements.BookmarkgetEntry()Gets the bookmark entry for this objectreturns the actual formula contentreturns the formula namereturns the Formula object contained in this ReportCellFor internal use onlyintFor internal use onlyvoidFor internal use onlyvoidFor internal use onlyvoidsetColumn(ReportColumn column) Sets the current column in crosstab reportsvoidsetDataFormat(IFormat format) Sets the Data FormatvoidsetEntry(quadbase.reportdesigner.ReportElements.Bookmark entry) Sets the bookmark entry for this objectvoidsetFormula(String formula) Deprecated.Replaced by @link setFormulaObj(Formula)voidsets the Formula object for this ReportCell.voidsetScriptedValue(Object value) For internal use onlyvoidwrite(DataOutput out) For internal use onlyvoidFor internal use onlyMethods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyStyleWithScriptsButNotWH, 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, 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
-
Field Details
-
XMLTAG
For internal use only- See Also:
-
-
Constructor Details
-
ReportCell
public ReportCell()Constructs a ReportCell with no name -
ReportCell
Constructs a ReportCell with the specified name -
ReportCell
Constructs a ReportCell with the specified formula -
ReportCell
Constructs a new ReportCell object w/ the specified Formula object -
ReportCell
For internal use only
-
-
Method Details
-
getDataFormat
Gets the Data Format- Returns:
- IFormat type object
-
setDataFormat
Sets the Data Format- Parameters:
format- the new format
-
copy
For internal use only -
deepCopy
For internal use only -
copyTemplate
For internal use only. -
applyTemplate
Specifies the look and feel to be the same as another ReportCell object.- Parameters:
_cell- the object to be emulated
-
applyTemplate
Specifies the look and feel to be the same as another ReportCell object.- Parameters:
_cell- the object to be emulatedapplyScript- Specifies whether or not to copy scripts applied the object
-
equals
For internal use only -
setFormulaObj
sets the Formula object for this ReportCell. -
getFormulaObj
returns the Formula object contained in this ReportCell -
getFormulaName
returns the formula name -
getFormula
returns the actual formula content -
getSQLType
public int getSQLType()For internal use only -
write
For internal use only- Overrides:
writein classReportElement- Throws:
IOException
-
writeXML
For internal use only- Overrides:
writeXMLin classReportElement- Throws:
IOException
-
createCell
For internal use only- Throws:
Exception
-
readXML
For internal use only- Overrides:
readXMLin classReportElement- Throws:
Exception
-
createCell
For internal use only- Throws:
Exception
-
read
For internal use only- Overrides:
readin classReportElement- Throws:
Exception
-
clone
For internal use only -
formulaReferenced
For internal use only -
createFormulaObject
public void createFormulaObject(quadbase.reportdesigner.report.Report r) For internal use only -
createFormulaObjectFromText
public void createFormulaObjectFromText(quadbase.reportdesigner.report.Report r) For internal use only -
createFormulaObjectFromName
public void createFormulaObjectFromName(quadbase.reportdesigner.report.Report r) For internal use only -
getColIndex
For internal use only -
setScriptedValue
For internal use only -
getScriptedValue
For internal use only -
setFormula
Deprecated.Replaced by @link setFormulaObj(Formula) -
getEntry
public quadbase.reportdesigner.ReportElements.Bookmark getEntry()Gets the bookmark entry for this object- See Also:
-
setEntry
public void setEntry(quadbase.reportdesigner.ReportElements.Bookmark entry) Sets the bookmark entry for this object- See Also:
-
getColumn
Gets the current column in crosstab reports -
setColumn
Sets the current column in crosstab reports -
applyStyle
Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell. -
applyStyleButNotWH
Applies the style information (font, font color, underline, horizontal and vertical alignment, wrap, border) from another cell, but width and height options are ignored. -
applyStyleButNotWHCopyScripts
-