EspressReport 6.6

quadbase.reportdesigner.ReportElements
Class ReportDocument

java.lang.Object
  extended by quadbase.reportdesigner.ReportElements.ReportElement
      extended by quadbase.reportdesigner.ReportElements.ReportCell
          extended by quadbase.reportdesigner.ReportElements.ReportDocument
All Implemented Interfaces:
java.io.Serializable, quadbase.common.util.internal.IReportDocument

public class ReportDocument
extends ReportCell
implements quadbase.common.util.internal.IReportDocument, java.io.Serializable

This class is used to represent a clob(Character large object). If the clob is less than MAX_CHAR long, then it's content is stored in a String in the object, otherwise the clob is stored in a file and the filename is stored in the object.

See Also:
Serialized Form

Field Summary
static java.lang.String XMLTAG
           
 
Fields 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
 
Fields inherited from interface quadbase.common.util.internal.IReportDocument
docsDir, MAX_CHAR
 
Constructor Summary
ReportDocument()
          allocates a new ReportDocument
ReportDocument(ReportColumn _col, int index)
          allocates a new ReportDocument to be located at specified column and position index
ReportDocument(java.lang.String name)
          allocates a new ReportDocument with specified name
 
Method Summary
static ReportDocument createDocument(java.io.DataInput in, int version)
          internal use only
static ReportDocument createDocument(org.w3c.dom.Node node, int version)
          internal use only
 java.lang.String getRelativePath()
          Gets the relative path to the file that contains the data for the document
 java.lang.String getTextString()
          gets the text of this document as a String
 void read(java.io.DataInput in, int version)
          internal use only
 void readXML(org.w3c.dom.Node node, int version)
          internal use only
 void setRelativePath(java.lang.String rpath)
          Sets where to find the file that contains the data for the document
 void setText()
          internal use only
 void setTextString(java.lang.String text)
          Sets the text of this document to the specified String
 java.lang.String toString()
           
 void write(java.io.DataOutput out)
          internal use only
 void writeXML(java.io.Writer out, boolean writeElementTag)
          internal use only
 
Methods inherited from class quadbase.reportdesigner.ReportElements.ReportCell
applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, clone, copy, copyTemplate, createCell, createCell, createFormulaObject, createFormulaObjectFromName, createFormulaObjectFromText, deepCopy, equals, formulaReferenced, getColIndex, getColumn, getDataFormat, getEntry, getFormula, getFormulaName, getFormulaObj, getScriptedValue, getSQLType, setColumn, setDataFormat, setEntry, setFormula, setFormulaObj, setScriptedValue
 
Methods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XMLTAG

public static final java.lang.String XMLTAG
See Also:
Constant Field Values
Constructor Detail

ReportDocument

public ReportDocument()
allocates a new ReportDocument


ReportDocument

public ReportDocument(java.lang.String name)
allocates a new ReportDocument with specified name


ReportDocument

public ReportDocument(ReportColumn _col,
                      int index)
allocates a new ReportDocument to be located at specified column and position index

Method Detail

setTextString

public void setTextString(java.lang.String text)
Sets the text of this document to the specified String

Specified by:
setTextString in interface quadbase.common.util.internal.IReportDocument

getTextString

public java.lang.String getTextString()
gets the text of this document as a String

Specified by:
getTextString in interface quadbase.common.util.internal.IReportDocument

setRelativePath

public void setRelativePath(java.lang.String rpath)
Sets where to find the file that contains the data for the document

Specified by:
setRelativePath in interface quadbase.common.util.internal.IReportDocument

getRelativePath

public java.lang.String getRelativePath()
Gets the relative path to the file that contains the data for the document

Specified by:
getRelativePath in interface quadbase.common.util.internal.IReportDocument

setText

public void setText()
internal use only

Specified by:
setText in interface quadbase.common.util.internal.IReportDocument

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
internal use only

Overrides:
write in class ReportCell
Throws:
java.io.IOException

writeXML

public void writeXML(java.io.Writer out,
                     boolean writeElementTag)
              throws java.io.IOException
internal use only

Overrides:
writeXML in class ReportCell
Throws:
java.io.IOException

createDocument

public static ReportDocument createDocument(java.io.DataInput in,
                                            int version)
                                     throws java.lang.Exception
internal use only

Throws:
java.lang.Exception

read

public void read(java.io.DataInput in,
                 int version)
          throws java.lang.Exception
internal use only

Overrides:
read in class ReportCell
Throws:
java.lang.Exception

createDocument

public static ReportDocument createDocument(org.w3c.dom.Node node,
                                            int version)
                                     throws java.lang.Exception
internal use only

Throws:
java.lang.Exception

readXML

public void readXML(org.w3c.dom.Node node,
                    int version)
             throws java.lang.Exception
internal use only

Overrides:
readXML in class ReportCell
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

EspressReport 6.6