|
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
quadbase.reportdesigner.ReportElements.SubReportObject
public class SubReportObject
This represents a sub report that can be added to a QbReport -- in the ReportSection, or ReportTable.
| Field Summary | |
|---|---|
static java.lang.String |
SUBREPORT_DIR
For internal use only |
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 | |
|---|---|
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)
internal use only |
|
| Method Summary | |
|---|---|
void |
applyTemplate(SubReportObject _cell)
internal use only Does nothing |
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" |
void |
copyTemplate(SubReportObject _cell)
For internal use only. |
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,
java.util.Hashtable subFilesTable)
internal use only |
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write)
internal use only |
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write,
java.lang.String domainPath)
internal use only |
static SubReportObject |
createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write,
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 |
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 qbreport)
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 |
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,
java.util.Hashtable subFilesTable,
boolean write)
internal use only |
void |
readByteArray(java.io.DataInput in,
int version,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write,
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 |
writeByteArray(java.io.DataOutput out,
java.util.Hashtable subFilesTable)
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, setSQLType |
| 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 SUBREPORT_DIR
public static final java.lang.String XMLTAG
| Constructor Detail |
|---|
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-report
public SubReportObject(java.lang.String parentFile,
java.lang.String id)
public SubReportObject(java.lang.String parentFile,
java.lang.String id,
java.lang.String domainPath)
public SubReportObject()
public SubReportObject(ISubReport sr)
| Method Detail |
|---|
public void copy(SubReportObject _cell)
_cell - The SubReportObject object being emulatedpublic void deepCopy(SubReportObject _cell)
public void copyTemplate(SubReportObject _cell)
public void applyTemplate(SubReportObject _cell)
_cell - the SubReportObject object being emulatedpublic boolean equals(SubReportObject _cell)
_cell - the SubReportObject object being compared topublic java.lang.String getFileName()
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 ReportCelljava.io.IOException
public void writeByteArray(java.io.DataOutput out,
java.util.Hashtable subFilesTable)
throws java.io.IOException
java.io.IOException
public void writeXML(java.io.Writer out,
boolean writeElementTag)
throws java.io.IOException
writeXML in class ReportCelljava.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 ReportCelljava.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,
java.util.Hashtable subFilesTable)
throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write)
throws java.lang.Exception
java.lang.Exception
public static SubReportObject createSubReportObject(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write,
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,
java.util.Hashtable subFilesTable,
boolean write,
java.lang.String domainPath,
boolean loadNewOnly)
throws java.lang.Exception
java.lang.Exception
public void readByteArray(java.io.DataInput in,
int version,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write)
throws java.lang.Exception
java.lang.Exception
public void readByteArray(java.io.DataInput in,
int version,
boolean fromReportDesigner,
java.util.Hashtable subFilesTable,
boolean write,
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 ReportCelljava.lang.Exception
public ISubReport getSubReport()
throws java.lang.Exception
java.lang.ExceptiongetSubReport(IReport)
public ISubReport getSubReport(IReport qbreport)
throws java.lang.Exception
qbreport - the parent QbReport object.
java.lang.Exception
public ISubReport getSubReport(boolean isEnterpriseServer,
boolean optimizeMemory,
boolean useBackupData)
throws java.lang.Exception
java.lang.ExceptiongetSubReport(boolean isEnterpriseServer, boolean optimizeMemory, boolean useBackupData, IReport qbreport)
public ISubReport getSubReport(boolean isEnterpriseServer,
boolean optimizeMemory,
boolean useBackupData,
IReport qbreport)
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.qbreport - the parent QbReport object.
java.lang.Exceptionpublic 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 format
java.lang.Exception
public byte[] getBytes()
throws java.lang.Exception
java.lang.Exceptionpublic 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)
public void setChartPath(java.lang.String path)
public void setImagePath(java.lang.String path)
public java.lang.String getChartPath()
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 ReportElementpublic 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()
|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||