public class SubReportObject extends ReportCell implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SUBREPORT_DIR |
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 |
---|
SubReportObject()
For internal use only.
|
SubReportObject(ISubReport sr)
For internal use only.
|
SubReportObject(java.lang.String parentFile)
For internal use only
Construct a place holder for a sub-report.
|
SubReportObject(java.lang.String parentFile,
java.lang.String id)
internal use only
|
SubReportObject(java.lang.String parentFile,
java.lang.String id,
java.lang.String domainPath,
quadbase.common.util.internal.FileInMemTable subFilesTable)
internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
clearReportCache()
For internal use only
|
void |
clearReportCache(double percent)
For internal use only
|
void |
copy(SubReportObject _cell)
internal use only Specifies this SubReportObject to be the same as "_cell"
|
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version)
For internal use only.
|
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable)
internal use only
|
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
boolean writeToFileSystem)
internal use only
|
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
boolean writeToFileSystem,
java.lang.String domainPath)
internal use only
|
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
boolean writeToFileSystem,
java.lang.String domainPath,
boolean loadNewOnly) |
static SubReportObject |
createSubReportObject(org.w3c.dom.Node node,
int version)
For internal use only.
|
void |
deepCopy(SubReportObject _cell)
For internal use only
|
void |
deleteSubReportColDataFiles() |
boolean |
equals(SubReportObject _cell)
Checks if this SubReportObject object's properties are the same as "_cell"
|
byte[] |
getByteArray()
internal use only
|
byte[] |
getBytes()
Returns the contained SubReport as a byte array
|
ISubReport |
getCachedSubReport()
internal use only
|
int |
getCacheSize()
return the number of SubReport that will be cached
|
java.lang.String |
getChartPath()
Deprecated.
call this method from the parent QbReport
|
java.lang.String |
getCustomerQueryForLinkedSubReport() |
java.lang.String |
getDomainPath() |
java.lang.String |
getFileName()
Return the file location of the sub-report RPT file
|
java.lang.String |
getFileName(quadbase.common.util.internal.FileInMemTable subFilesTable) |
java.lang.String |
getImagePath()
Deprecated.
call this method from the parent QbReport
|
java.lang.String[] |
getParameterMap()
For parameterized SubReport only, returns a String array of CELL_ID
|
java.lang.String |
getParamShareReportID()
Gets the id for this sub report object when sharing parameter values with main report.
|
ISubReport |
getSubReport()
For internal use only.
|
ISubReport |
getSubReport(boolean isEnterpriseServer,
boolean optimizeMemory,
boolean useBackupData)
Deprecated.
Use getSubReport(boolean isEnterpriseServer, boolean optimizeMemory, boolean
useBackupData, IReport qbreport) instead of this method.
|
ISubReport |
getSubReport(boolean isEnterpriseServer,
boolean optimizeMemory,
boolean useBackupData,
IReport ireport)
Returns the contained ISubReport object, which can be class-casted to a SubReport object.
|
ISubReport |
getSubReport(IReport qbreport)
Returns the contained ISubReport object, which can be class-casted to a SubReport object.
|
java.lang.String |
getText()
gets the filename of the sub report
|
java.lang.String |
getText(quadbase.common.util.internal.FileInMemTable subFilesTable) |
boolean |
hasUsableReport()
For internal use only
|
boolean |
isColDataPopulated() |
boolean |
isResizeWidth()
Whether this SubReportObject resizes its width automatically to fit its contents.
|
quadbase.reportdesigner.report.Report |
loadReport_std(quadbase.reportdesigner.report.Report mainreport,
ReportTable tbl,
boolean useDefaultParamValue)
internal use only
|
quadbase.reportdesigner.report.Report |
loadReport(quadbase.reportdesigner.report.Report mainreport,
ReportTable tbl)
For internal use only
This method is used when the user loads a report directly from a file and the
'SubReportObject' object has no temporary reference to a 'Report' object.
|
quadbase.reportdesigner.report.Report |
loadReport(quadbase.reportdesigner.report.Report mainreport,
ReportTable tbl,
boolean useDefaultParamValue) |
void |
read(java.io.DataInput in,
int version)
For internal use only.
|
void |
readByteArray(java.io.DataInput in,
int version,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
boolean write)
internal use only
|
void |
readByteArray(java.io.DataInput in,
int version,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
boolean writeToFileSystem,
boolean loadNewOnly) |
void |
readXML(org.w3c.dom.Node node,
int version)
For internal use only.
|
void |
refreshColData() |
quadbase.reportdesigner.report.Report |
reloadReportWithParameters_std(quadbase.reportdesigner.report.Report subreport,
quadbase.reportdesigner.report.Report mainreport,
ReportTable tbl)
For internal use only
This method is called when the 'SubReportObject' object has a temporary referecne to a
'Report' object.
|
quadbase.reportdesigner.report.Report |
reloadReportWithParameters(quadbase.reportdesigner.report.Report subreport,
quadbase.reportdesigner.report.Report mainreport,
ReportTable tbl) |
void |
setByteArray(byte[] barray)
internal use only
|
void |
setBytes(byte[] barray)
Set the contained SubReport object.
|
void |
setCacheSize(int size)
Set the size of the cache for parameterized sub-reports.
|
void |
setChartPath(java.lang.String path)
Deprecated.
use setChartPath from the QbReport object.
|
void |
setCustomerQueryForLinkedSubReport(java.lang.String query) |
void |
setDomainAndCheckForUniqueFileName(java.lang.String path) |
void |
setDomainPath(java.lang.String path) |
void |
setFileName(java.lang.String fn)
For internal use only.
|
void |
setHTMLParameters(java.lang.String dirLocation,
java.lang.String url,
java.lang.String fileName)
Not used.
|
void |
setImagePath(java.lang.String path)
Deprecated.
call this method from the parent QbReport
|
void |
setParameterMap(java.lang.String[] p)
For parameterized SubReport only, sets the specified String array as CELL_ID.
|
void |
setParamShareReportID(java.lang.String id)
internal use only
|
void |
setResizeWidth(boolean b)
Sets whether this SubReportObject resizes its width automatically to fit its contents.
|
void |
setSubReport(ISubReport report)
For internal use only.
|
void |
write(java.io.DataOutput out)
For internal use only.
|
void |
write(quadbase.common.util.internal.FileInMemTable subFilesTable,
java.io.DataOutput out)
For internal use only.
|
void |
writeByteArray(java.io.DataOutput out,
quadbase.common.util.internal.FileInMemTable subFilesTable)
internal use only
|
void |
writeXML(java.io.Writer out,
boolean writeElementTag)
internal use only
|
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
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, 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 SUBREPORT_DIR
public static final java.lang.String XMLTAG
public SubReportObject(java.lang.String parentFile)
parentFile
- The file name of the root report. Assumes the root report to be saved and has a
file name.name
- Name of the sub-reportpublic SubReportObject(java.lang.String parentFile, java.lang.String id)
public SubReportObject(java.lang.String parentFile, java.lang.String id, java.lang.String domainPath, quadbase.common.util.internal.FileInMemTable subFilesTable)
public SubReportObject()
public SubReportObject(ISubReport sr)
public void copy(SubReportObject _cell)
_cell
- The SubReportObject object being emulatedpublic void deepCopy(SubReportObject _cell)
public boolean equals(SubReportObject _cell)
_cell
- the SubReportObject object being compared topublic java.lang.String getFileName()
public java.lang.String getFileName(quadbase.common.util.internal.FileInMemTable subFilesTable)
public void setFileName(java.lang.String fn)
public java.lang.String getParamShareReportID()
public void setParamShareReportID(java.lang.String id)
public void write(java.io.DataOutput out) throws java.io.IOException
write
in class ReportCell
java.io.IOException
public void write(quadbase.common.util.internal.FileInMemTable subFilesTable, java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void writeByteArray(java.io.DataOutput out, quadbase.common.util.internal.FileInMemTable subFilesTable) throws java.io.IOException
java.io.IOException
public void writeXML(java.io.Writer out, boolean writeElementTag) throws java.io.IOException
writeXML
in class ReportCell
java.io.IOException
public static SubReportObject createSubReportObject(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 ReportCell
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in, int version) throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable) throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, boolean writeToFileSystem) throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, boolean writeToFileSystem, java.lang.String domainPath) throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, boolean writeToFileSystem, java.lang.String domainPath, boolean loadNewOnly) throws java.lang.Exception
java.lang.Exception
public void readByteArray(java.io.DataInput in, int version, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, boolean write) throws java.lang.Exception
java.lang.Exception
public void readByteArray(java.io.DataInput in, int version, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, boolean writeToFileSystem, boolean loadNewOnly) throws java.lang.Exception
java.lang.Exception
public void read(java.io.DataInput in, int version) throws java.lang.Exception
read
in class ReportCell
java.lang.Exception
public ISubReport getSubReport() throws java.lang.Exception
java.lang.Exception
getSubReport(IReport)
public ISubReport getSubReport(IReport qbreport) throws java.lang.Exception
qbreport
- the parent QbReport object.java.lang.Exception
@Deprecated public ISubReport getSubReport(boolean isEnterpriseServer, boolean optimizeMemory, boolean useBackupData) throws java.lang.Exception
java.lang.Exception
getSubReport(boolean isEnterpriseServer, boolean optimizeMemory, boolean useBackupData,
IReport qbreport)
public ISubReport getSubReport(boolean isEnterpriseServer, boolean optimizeMemory, boolean useBackupData, IReport ireport) throws java.lang.Exception
isEnterpriseServer
- whether to prompt parameter value on clientsideoptimizeMemory
- whether to get data in packets to save memory resourceuseBackupData
- if true, the returned SubReport object would contain only the 2 rows of backup
data. Otherwise, refresh data.ireport
- the parent QbReport object.java.lang.Exception
public boolean hasUsableReport()
public void setParameterMap(java.lang.String[] p)
public java.lang.String[] getParameterMap()
public quadbase.reportdesigner.report.Report loadReport(quadbase.reportdesigner.report.Report mainreport, ReportTable tbl) throws java.lang.Exception
java.lang.Exception
public quadbase.reportdesigner.report.Report loadReport(quadbase.reportdesigner.report.Report mainreport, ReportTable tbl, boolean useDefaultParamValue) throws java.lang.Exception
java.lang.Exception
public quadbase.reportdesigner.report.Report reloadReportWithParameters(quadbase.reportdesigner.report.Report subreport, quadbase.reportdesigner.report.Report mainreport, ReportTable tbl) throws java.lang.Exception
java.lang.Exception
public quadbase.reportdesigner.report.Report loadReport_std(quadbase.reportdesigner.report.Report mainreport, ReportTable tbl, boolean useDefaultParamValue) throws java.lang.Exception
java.lang.Exception
public quadbase.reportdesigner.report.Report reloadReportWithParameters_std(quadbase.reportdesigner.report.Report subreport, quadbase.reportdesigner.report.Report mainreport, ReportTable tbl) throws java.lang.Exception
java.lang.Exception
public void setBytes(byte[] barray) throws java.lang.Exception
barray
- the new SubReport object in the byte array formatjava.lang.Exception
public byte[] getBytes() throws java.lang.Exception
java.lang.Exception
public void clearReportCache()
public void clearReportCache(double percent)
public int getCacheSize()
public void setCacheSize(int size)
public void setHTMLParameters(java.lang.String dirLocation, java.lang.String url, java.lang.String fileName)
@Deprecated public void setChartPath(java.lang.String path)
@Deprecated public void setImagePath(java.lang.String path)
@Deprecated public java.lang.String getChartPath()
@Deprecated public java.lang.String getImagePath()
public void setByteArray(byte[] barray)
public byte[] getByteArray()
public void setSubReport(ISubReport report)
public java.lang.String getText()
getText
in class ReportElement
public java.lang.String getText(quadbase.common.util.internal.FileInMemTable subFilesTable)
public boolean isResizeWidth()
public void setResizeWidth(boolean b)
public ISubReport getCachedSubReport()
public void deleteSubReportColDataFiles()
public void refreshColData()
public boolean isColDataPopulated()
public void setDomainPath(java.lang.String path)
public void setDomainAndCheckForUniqueFileName(java.lang.String path)
public java.lang.String getDomainPath()
public void setCustomerQueryForLinkedSubReport(java.lang.String query)
public java.lang.String getCustomerQueryForLinkedSubReport()