public class ReportTable
extends quadbase.reportdesigner.ReportElements.ReportTableElement
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.Hashtable<java.lang.String,java.lang.Object> |
aggrResult |
protected ReportSection |
footer |
protected ReportSection |
header |
int[] |
indexArray |
protected ReportSection |
masterSection |
boolean[][] |
rowsWithMissingChart |
static java.lang.String |
XMLTAG |
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 |
---|
ReportTable()
Constructs a default ReportTable.
|
ReportTable(java.util.Locale locale,
java.util.TimeZone timeZone)
Constructs a ReportTable with specified locale and time zone.
|
ReportTable(ReportTable _tbl)
Constructs a ReportTable from another ReportTable.
|
Modifier and Type | Method and Description |
---|---|
void |
addAggrValue(java.lang.String key,
java.lang.Object object)
internal use only
|
void |
addColumn(int idx,
ReportColumn col)
For internal use only.
|
void |
addColumn(ReportColumn col)
For internal use only.
|
void |
addFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey,
quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
internal use only Allow to add new FormattedRow object to formattedRows hashtable
|
void |
addFormattedRow(int rowIndex,
quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar
Report only
|
void |
addFormattedRow(int row,
java.util.Vector<java.lang.Integer> tree,
quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar
Report only
|
void |
addImage(int idx,
ReportImage cht)
Adds a ReportImage into this ReportTable, at the specified index.
|
void |
addImage(ReportImage cht)
Adds a ReportImage into this ReportTable.
|
void |
addReportCellToRow(int rowIndex,
int[] tree,
ReportCell cell)
internal use only Adds a ReportCell into this FormattedRow with specified key index For All
type of reports.
|
void |
addReportCellToRow(int rowIndex,
ReportCell cell)
Deprecated.
|
void |
addReportCellToRow(int rowIndex,
java.util.Vector<java.lang.Integer> tree,
ReportCell cell)
internal use only Adds a ReportCell into this FormattedRow with specified key index For All
type of reports.
|
void |
addRTFObject(ReportRTFObject rObj)
Adds an RTF object to this ReportTable
|
void |
addSubReport(SubReportObject sreport)
Adds a sub-report into this ReportTable.
|
void |
adjustColumnXPos(ReportTable _tbl,
int separatingIndex,
quadbase.reportdesigner.report.Report report)
After apply global format, the cells' width may change, adjust cells' x position according to
the width.
|
void |
applyGlobalFormatToColumns(ReportColumn[] formats)
internal use only
|
void |
applySecurity(ReportTable _tbl)
For internal use only.
|
void |
applyStyle(ReportTable table) |
void |
applyStyle(java.util.Vector setting,
ReportTable table) |
void |
applyStyleForFixedFieldTable(ReportTable _tbl) |
void |
applyTemplate(ReportTable _tbl)
For internal use only.
|
void |
buildIndexArrayFromIndexTree(quadbase.reportdesigner.report.IndexNode indexNode)
For internal use only.
|
void |
buildIndexTree(int[] colIndex,
int idx,
boolean[] isAsc,
quadbase.reportdesigner.report.Report report,
quadbase.reportdesigner.report.IndexNode indexNode)
For internal use only.
|
void |
cleanup() |
boolean |
contains(ReportElement e) |
boolean |
containsZIndex()
For internal use only.
|
void |
copy(ReportTable _tbl)
For internal use only.
|
void |
copyAllGuideLineElts(quadbase.reportdesigner.report.Report report,
quadbase.reportdesigner.report.Report _report,
ReportTable _tbl)
internal use only
|
void |
copyGuideLineElts(quadbase.reportdesigner.report.Report _report)
internal use only
|
void |
copySortingInfo(ReportTable _tbl,
int level,
boolean isMasterDetails,
quadbase.reportdesigner.report.Report report)
internal use only
|
void |
copyTemplate(ReportTable _tbl)
For internal use only.
|
void |
copyTemplate(ReportTable _tbl,
boolean applyFormula)
For internal use only.
|
void |
copyTemplate(ReportTable _tbl,
boolean applyFormula,
boolean copyEmptySection)
For internal use only.
|
void |
copyTemplate(ReportTable _tbl,
boolean applyFormula,
boolean copyEmptySection,
boolean copyGuideLine)
internal use only
|
void |
copyTemplate(ReportTable _tbl,
boolean applyFormula,
boolean copyEmptySection,
boolean copyGuideLine,
boolean isApplyTemplateForDHTMLViewer) |
int |
countRowBreakFooter()
For Summary-Break, CrossTab & Master-Details Tables.
|
int |
countRowBreakHeader()
For Summary-Break, CrossTab & Master-Details Tables.
|
void |
createFormulaObject(quadbase.reportdesigner.report.Report report)
internal use only
|
void |
createFormulaObjectFromName(quadbase.reportdesigner.report.Report report)
internal use only
|
void |
createIndexArray(int[] colIndex,
int idx,
boolean[] isAsc,
quadbase.reportdesigner.report.Report report,
int level)
internal use only multi column sorting int[] colIndex must be in the same order as colInfo
|
void |
createIndexArray(int colIndex,
boolean isAsc,
quadbase.reportdesigner.report.Report report,
int level)
internal use only
|
void |
createScriptObject(java.util.Vector<Script> scripts)
internal use only
|
void |
createScriptObjectFromName(java.util.Vector<Script> scripts)
For internal use only.
|
static ReportTable |
createTable(java.io.DataInput in,
int version)
For internal use only.
|
static ReportTable |
createTable(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
java.lang.String domainPath)
For internal use only.
|
static ReportTable |
createTable(org.w3c.dom.Node node,
int version)
For internal use only.
|
boolean |
customIDExists(java.lang.String id)
For internal use only.
|
void |
deepCopy(ReportTable _tbl)
For internal use only.
|
void |
deleteChart(int rowIndex,
ReportElement chart)
internal use only
|
void |
deleteSubReportColData() |
boolean |
drawChart(int rowIndex,
int chartIndex)
internal use only
|
boolean |
equals(ReportTable reportTable) |
protected void |
finalize() |
static ReportElement[] |
findElementsAbove(ReportElement r,
ReportTable elt)
internal use only
|
static ReportElement[] |
findElementstoLeft(ReportElement r,
ReportTable elt)
internal use only
|
static ReportElement[] |
findElementstoRight(ReportElement r,
ReportTable elt)
internal use only
|
int[] |
findImageIndex(double cx,
double cy)
internal use only Returns the index of the specified ReportImage.
|
ReportSection |
findMasterSection(double x,
double y)
internal use only
|
int[] |
findReportColumnIndex(double cx,
double cy,
int row)
Returns the column index containing the coordinate point (cx, cy) along a given row.
|
int[] |
findRowElementIndex(double cx,
double cy,
quadbase.reportdesigner.ReportElements.FormattedRowKey key)
internal use only Returns the index of the specified SubReportObject.
|
int[] |
findRowElementIndex(double cx,
double cy,
int rowIndex)
internal use only Returns the index of the specified FormattedRow with rowIndex.
|
int[] |
findRTFObjectIndex(double cx,
double cy)
Returns the index of the specified SubReportObject.
|
int[] |
findSubReportIndex(double cx,
double cy)
Returns the index of the specified SubReportObject.
|
ReportCell |
formatCell(ReportCell cell,
int index,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportCell cell,
int index,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r,
boolean designMode,
java.util.Vector preAggCol,
java.util.Vector resultCol)
For internal use only.
|
ReportCell |
formatCell(ReportCell cell,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportCell cell,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportCell cell,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportCell cell,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int page,
int section,
int totalPages,
int totalSections,
int displayidx,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int page,
int section,
int totalPages,
int totalSections,
int displayidx,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int displayidx,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int dataidx,
int displayidx,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int idx,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
ReportCell |
formatCell(ReportColumn col,
int idx,
quadbase.reportdesigner.report.Report r,
boolean designMode)
For internal use only.
|
void |
formatColumn()
For internal use only.
|
void |
formatColumn(boolean isFixedFieldCrossTab)
For internal use only.
|
void |
formatTable()
For internal use only.
|
boolean |
formulaReferenced(Formula formula)
internal use only
|
java.lang.Object |
getAggrValue(java.lang.String key)
internal use only
|
java.util.Vector<java.awt.Color> |
getAllColors(java.util.Vector<java.awt.Color> colors)
internal use only
|
ReportChartObject[] |
getAllReportChartObjects()
Returns an array of all the ReportChartObject objects in this table For Internal Use Only
|
ReportImage[] |
getAllReportImages()
Returns an array of all the ReportImage objects in this table For Internal Use Only
|
SubReportObject[] |
getAllSubReports()
Returns an array of all the SubReport objects in this table For Internal Use Only
|
ReportElement[] |
getAllTableElements()
Gets all elements in the table, including charts and other non-report elements.
|
double |
getBodyMinWidth()
Gets the minimum width of the table only, excluding header and footer
|
java.util.Vector |
getChartsNoGuideLine()
For internal use only.
|
ReportColumn[] |
getColumn()
Returns the ReportColumn array of this table.
|
ReportColumn |
getColumn(int idx)
Returns the ReportColumn object at the specified index of this table.
|
int |
getColumnBreakColumnCount()
For CrossTab Tables only.
|
ReportColumn |
getColumnByID(java.lang.String id)
For internal use only.
|
int |
getColumnCount()
Gets the number of columns in this table.
|
int |
getColumnIndex(ReportColumn rpc)
internal use only
|
int |
getColumnIndex(ReportElement elt)
Gets the column index of this element in the table
|
java.util.Vector<ReportColumn> |
getColumns()
Returns a vector containing ReportColumn objects in this table.
|
java.util.Vector<ReportElement[]> |
getColumnsForHTML()
internal use only
|
java.util.Vector<ReportColumn> |
getColumnsIgnoreRepeatColumn()
Looks through the columns of this table object and returns the number of columns in the
table, ignoring column break and column break aggregation columns.
|
double |
getColumnWidths() |
ReportElement |
getData(java.lang.String id)
Gets a specific ReportElement in this ReportTable
|
int |
getEndOfColumnBreakColumn()
For CrossTab Tables only.
|
quadbase.reportdesigner.ReportElements.CBAggrColumn |
getFirstCBAggrColumn(int level,
int colBkValIdx)
Looks through the columns of this table object and returns the first column break aggregation
column.
|
quadbase.reportdesigner.ReportElements.ColumnBreakColumn |
getFirstColumnBreakColumn(int colBkValIdx)
Looks through the columns of this table object and returns the index of the first column
break column.
|
java.lang.Object |
getFirstColumnScriptedValue(int index)
Returns an object containing the first value in the specified column.
|
java.lang.Object |
getFirstColumnValue(int index)
Returns an object containing the first value in the specified column.
|
int |
getFixedFieldColumnBreakColumnCount()
Looks through the columns of this table object and returns the number of column break columns
in the table.
|
ReportSection |
getFooter()
Returns the table footer.
|
int |
getFormatColumnIndex(quadbase.reportdesigner.report.MultiDimData mData,
int index) |
quadbase.reportdesigner.ReportElements.FormattedRow |
getFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
internal use only Give the rowIndex, get the formattedRow object with this specified
FormattedRowKey For All report types
|
quadbase.reportdesigner.ReportElements.FormattedRow |
getFormattedRow(int rowIndex,
java.util.Vector<java.lang.Integer> tree)
internal use only
|
java.util.Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedRow> |
getFormattedRows()
internal use only.
|
int |
getFormattedRowsCount()
internal use only Gets the length of the formattedRows hashtable object used.
|
ReportSection |
getHeader()
Returns the table header.
|
ReportImage[] |
getImage()
Returns the ReportImage object array within this ReportTable.
|
ReportImage |
getImage(int idx)
Returns the ReportImage object at the specified index, within this ReportTable.
|
int |
getImageCount()
Returns the total number ReportImage objects present in this ReportTable.
|
ReportColumn[] |
getInvisibleColumnList()
Returns an array of ReportColumn Objects that are invisible in this table.
|
ReportSection |
getMasterSection()
Gets the master section
|
double |
getMinHeight()
Gets the minimum height that this table must span
|
double |
getMinWidth()
Gets the minimum width this table must span.
|
ReportTable |
getParentTable(ReportTable table)
internal use only
|
ReportTable |
getParentTableWithCell(java.lang.String id,
ReportTable table)
internal use only
|
int |
getPrintOnNewPageRowCount() |
ReportChartObject[] |
getReportChartObjects()
Returns the ReportChartObject object array within this ReportTable.
|
ReportSection |
getRowBreakFooter(int breakLevel)
For Summary-Break, CrossTab & Master-Details Tables.
|
ReportSection |
getRowBreakHeader(int breakLevel)
For Summary-Break, CrossTab & Master-Details Tables.
|
int |
getRowCount()
Gets the number of rows in the ReportTable.
|
ReportElement |
getRowElement(quadbase.reportdesigner.ReportElements.FormattedRowKey key,
int elementIndex)
internal use only Returns the ReportElement of this FormattedRow with key at the specific
index with
|
ReportElement |
getRowElement(int rowIndex,
int elementIndex)
internal use only Returns the sub-report at the specific index
|
ReportRTFObject |
getRTFObject(int index)
Returns the sub-report at the specific index
|
int |
getRTFObjectCount()
Gets the number of RTF Objects in this table.
|
ReportChartObject[] |
getSectionReportChartObjects()
Returns an array of all the ReportChartObject objects in this table's header and footer For
Internal Use Only
|
protected ReportImage[] |
getSectionReportImages()
Returns an array of all the ReportImage objects in this table all sections including group
header/footer.
|
ReportColumn |
getSectionStyle()
internal use only
|
protected SubReportObject[] |
getSectionSubReports()
Returns an array of all the SubReport objects in this table all sections including group
header/footer.
|
java.lang.String[] |
getSecuredScripts()
For internal use only.
|
java.lang.String[] |
getSecurityLevels()
Gets all security level names in this table.
|
ReportImage[] |
getSortedImages()
Returns sorted array of reportImages by their x position
|
ReportRTFObject[] |
getSortedRTFObjects()
Returns an array of sorted RTF objects by their x position.
|
SubReportObject[] |
getSortedSubReports()
Returns an array of sorted sub-reports by their x position.
|
ReportColumn[] |
getSortedVisibleColumns()
Returns an array of visible ReportColumn objects sorted by the individual x positions.
|
int |
getStartOfColumnBreakColumn()
For CrossTab Tables only.
|
SubReportObject |
getSubReport(int index)
Returns the sub-report at the specific index
|
int |
getSubReportCount()
Gets the number of sub-reports stored in this table.
|
java.util.Vector<ReportElement[]> |
getSubReportForHTML()
For internal use only.
|
ReportElement[] |
getTableElements()
Gets all the report elements(columns and images) in the table
|
ReportElement[] |
getTableElements(boolean applyToVisibleColOnly) |
ReportElement[] |
getTableElements(boolean applyToVisibleColOnly,
boolean sortColumns) |
ReportElement[] |
getTableElements(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
internal use only
|
ReportElement[] |
getTableElements(int rowId)
Gets the report elements if it is a formatted row
|
ReportElement[] |
getTableElementsNoGL()
internal use only
|
ReportElement[] |
getTableElementsNoGLWithSecuredMode()
internal use only
|
int |
getTableNumber()
internal use only
|
java.lang.Object |
getValue(ReportCell cell,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r)
For internal use only.
|
java.lang.Object |
getValue(ReportCell cell,
int page,
int section,
int totalPages,
int totalSections,
quadbase.reportdesigner.report.Report r,
java.util.Vector preAggCol,
java.util.Vector resultCol)
For internal use only.
|
int |
getVisibleColumnCount()
Returns the number of visible columns in this table.
|
ReportColumn[] |
getVisibleColumnList()
Returns an array of ReportColumn Objects that are visible in this table.
|
boolean[] |
getVisibleColumns()
Returns a boolean array which shows the status of individual column display.
|
ReportElement[] |
getXSortedVisibleElements()
Returns an array of visible ReportElement objects sorted by the individual x positions.
|
ReportElement[] |
getYSortedVisibleElements()
Returns an array of visible ReportElement objects sorted by the individual y positions.
|
ReportElement[] |
getZSortedVisibleElements()
Returns an array of visible ReportElement objects sorted by the individual z positions.
|
boolean |
hasColumn(ReportElement elt)
Returns whether this element has a column in this Table.
|
boolean |
hasDualColorOnColumnChange()
internal use only
|
int |
hashCode() |
boolean |
hasResizeToFitElement() |
boolean |
hasSectionStyle()
internal use only
|
boolean |
hasSubTable(ReportTable table)
Returns whether this table has a sub-table
|
boolean |
hasVisibleElements()
returns whether this table has any visible elements
|
int |
indexOf(ReportImage cht)
Returns the first instance of a chart within this ReportTable.
|
boolean |
isAggregationTable()
ReturnsSets whether the table is used for aggregation
|
boolean |
isFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
internal use only Give the FormattedRowKey, check whether it is a formatted row
|
boolean |
isFormattedRow(int rowIndex)
internal use only Give the rowIndex, check whether this row is a formatted row For Columnar
type report only @ return true if it is a formatted row, false otherwise
|
boolean |
isPrintOnNewPage(int rowCount) |
boolean |
isSectionStyle(ReportColumn column)
Returns whether the sectionStyle of this ReportTable matches the specified column
|
boolean |
isValid() |
void |
loadStyle(quadbase.reportdesigner.report.Report report,
ReportTable table) |
void |
loadTable(ReportTable _tbl)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula,
boolean copyRpt)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula,
int separatingIndex,
boolean generateCrossTabGrandTotalColumn)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula,
int separatingIndex,
boolean generateCrossTabGrandTotalColumn,
boolean copyRpt)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula,
int separatingIndex,
boolean generateCrossTabGrandTotalColumn,
boolean copyRpt,
boolean copyVisible)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
boolean applyFormula,
int separatingIndex,
boolean generateCrossTabGrandTotalColumn,
boolean copyRpt,
boolean copyVisible,
ReportCell[] globalFormatTemplates,
int reportType)
For internal use only.
|
void |
loadTable(ReportTable _tbl,
int separatingIndex)
For internal use only.
|
void |
positionCopy(ReportTable _tbl)
For internal use only.
|
void |
read(java.io.DataInput in,
int version)
For internal use only.
|
void |
read(java.io.DataInput in,
int version,
boolean pack,
boolean fromReportDesigner,
quadbase.common.util.internal.FileInMemTable subFilesTable,
java.lang.String domainPath)
For internal use only.
|
void |
readSTL(java.io.DataInput in,
int version)
Inports style information from a DataOutput object made from a .STL stylesheet
|
void |
readXML(org.w3c.dom.Node node,
int version)
For internal use only.
|
void |
recalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report)
internal use only
|
void |
releaseDiskBuffer() |
void |
removeAllFormattedRows()
internal use only removes all FormattedRow Objects in this table
|
void |
removeAllSubReports()
Remove all sub-reports in this ReportTable
|
void |
removeColumn(int idx)
For internal use only.
|
void |
removeColumnWrap(ColumnWrap col)
Removes the specified column wrapping from this report table.
|
void |
removeFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
internal use only Remove this row
|
void |
removeFormattedRow(int rowIndex)
internal use only Remove this formattedRow For Columnar type of report only
|
void |
removeImage(int idx)
Removes ReportImage at the specified index from this ReportTable.
|
void |
removeImage(ReportImage cht)
Removes the specified ReportImage from this ReportTable.
|
void |
removeRTFObject(int index)
Remove a sub-report from this ReportTable at the specific index
|
void |
removeRTFObject(ReportRTFObject cht)
Removes the specified SubReportObject from this ReportTable.
|
void |
removeScriptReferenced(Script script)
internal use only
|
void |
removeScriptReferenced(Script script,
boolean checkTableOnly)
internal use only
|
void |
removeSubReport(int index)
Remove a sub-report from this ReportTable at the specific index
|
void |
removeSubReport(SubReportObject cht)
Removes the specified SubReportObject from this ReportTable.
|
void |
removeSubReportsReference()
internal use only
|
void |
removeSubReportWithFileName(java.lang.String filename)
For internal use only.
|
void |
renameSecurityLevel(java.lang.String oldName,
java.lang.String newName)
For internal use only.
|
void |
renameSubReportFileNames(java.lang.String[] oldFileNames,
java.lang.String[] newFileNames)
Update filenames of all SubReportObject objects.
|
void |
resize(double xratio,
double yratio)
Resizes the table by the specified ratio
|
void |
resizeForCrossTabFixedField(java.util.Vector<ReportElement> resizeItems,
double ratioW,
double ratioH,
double startXD,
double startYD)
Shifts a group of elements by the CHANGE amount and moves other surrounding elements if
needed in a cross tab fixed field
|
static void |
resizeVerticallyAndShift(ReportElement r,
ReportTable elt,
double heightChange)
Resizes the ReportElement objects in this elt ReportTable by making the height Change.
|
boolean |
scriptReferenced(Script script)
internal use only
|
boolean |
scriptReferenced(Script script,
boolean checkTableOnly)
internal use only
|
boolean |
securityScriptReferenced(Script script)
internal use only
|
boolean |
securityScriptReferenced(Script script,
boolean checkTableOnly)
internal use only
|
void |
setAggregationTable(boolean b)
Sets whether the table is used for aggregation
|
void |
setBorder(int border)
Deprecated.
|
void |
setBorderColor(java.awt.Color color)
Sets the border color.
|
void |
setBorderThickness(int border)
Sets the border thickness in pixels.
|
void |
setChartParameterMap(java.lang.String filename,
java.lang.String[] paramMap)
For internal use only.
|
void |
setChartPath(java.lang.String path)
changing all the chart path location for ReportChartObject.
|
void |
setDrillDownData(int columnIndex,
java.lang.Object data)
Sets the Drill Down data associated with this column index to be the specified data When user
clicks on the column at columnIndex, it brings them to a report of the data.
|
void |
setFooter(ReportSection cells)
Sets the table footer.
|
void |
setFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey,
quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
internal use only Adds a formattedRow at the specified row index in the table tree.
|
void |
setFormattedRow(int rowIndex,
quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
internal use only Replaces the formattedCell at the specified rowIndex with this new
formattedCell.
|
void |
setFormattedRows(java.util.Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedRow> formattedRows)
internal use only Sets the formattedRows hashtable object used by this ReportTable.
|
void |
setGridLineLink(IReport report)
internal use only
|
void |
setHeader(ReportSection cells)
Sets the table header.
|
void |
setHeightOfRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key,
double height)
internal use only Sets the height of this FormattedRow with specified key index For All type
of reports.
|
void |
setHeightOfRow(int rowIndex,
double height)
internal use only Set the height of this FormattedRow with specified key index For Columnar
type report only
|
void |
setHeightOfRow(int rowIndex,
int[] tree,
double height)
internal use only Sets the height of this FormattedRow with specified key index For All type
of reports.
|
void |
setHeightOfRow(int rowIndex,
java.util.Vector<java.lang.Integer> tree,
double height)
internal use only Set the height of this FormattedRow with specified key index For All type
of reports
|
void |
setHTMLParameters(java.lang.String dirLocation,
java.lang.String url,
java.lang.String fileName)
changing all the chart path location for ReportChartObject.
|
void |
setID(java.lang.String newID)
internal use only
|
void |
setImagePath(java.lang.String path)
changing all the image path location for ReportImage.
|
void |
setLocale(java.util.Locale l)
For internal use only
|
void |
setMasterSection(ReportSection mSection)
Set the master section for a side-by-side master-details report
|
void |
setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable,
java.util.Vector vec) |
void |
setPrintOnNewPageRowCount(int i)
Specifies number of table data rows to be printed on each page For this to take affect, must
setPrintOnNewPage to true first
|
void |
setReportObjectForSubReports(java.lang.String filename,
ISubReport rptobject)
For internal use only.
|
void |
setSectionStyle(ReportColumn column)
internal use only
|
void |
setSecurityLevelProperties(java.lang.String levelName,
ReportElement level)
For internal use only.
|
void |
setSnapToGrid(boolean snapToGrid,
boolean metric,
double stepSize)
internal use only
|
void |
setSnapToGrid(boolean snapToGrid,
double stepSize,
double cmStepSize)
internal use only
|
void |
setSubReportParameterMap(java.lang.String filename,
java.lang.String[] paramMap)
For internal use only.
|
void |
setSubReportPath(java.lang.String path)
changing all the image path location for ReportImage.
|
void |
setTableNumber(int number)
internal use only
|
void |
setWidth(double width)
Sets the table width.
|
void |
shift(ReportElement elt,
boolean isHorizontal,
double change)
shift after resizing one report element
|
void |
shiftObjectsOnMove(ReportElement elt,
boolean isHorizontal,
double change)
internal use only
|
void |
shiftOnMove(ReportElement elt,
boolean isHorizontal,
double change)
Shifts the element by the CHANGE amount and moves other surrounding elements if needed
|
int |
update(ReportImage cht)
For internal use only
|
void |
updateSubReportFileName(java.lang.String oldfilename,
java.lang.String newfilename)
For internal use only.
|
void |
write(java.io.DataOutput out)
For internal use only.
|
void |
write(java.io.DataOutput out,
boolean pack)
For internal use only.
|
void |
writeSTL(java.io.DataOutput out)
Exports the style information to a DataOutput object to be written to a .STL stylesheet
|
void |
writeXML(java.io.Writer out,
boolean writeElementTag)
For internal use only.
|
applyTemplate, copy, copyTemplate, deepCopy, filterElementForSecurity, getBackground, getCellPadding, getCellSpacing, getHTMLTableBorderColor, getHTMLTableBorderObject, getHTMLTableBorderThickness, hasHTMLTableBorder, isPrintOnNewPage, isSkipFirstGroupValue, isSkipFirstValue, setBackground, setCellPadding, setCellSpacing, setDesignerSecuredMode, setHTMLTableBorder, setHTMLTableBorder, setHTMLTableBorderColor, setHTMLTableBorderThickness, setPrintOnNewPage, setSkipFirstGroupValue, setSkipFirstValue
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyTemplate, deepCopy, doesElementSupportRoundCorners, equals, findElementsAbove, findElementsBelow, findElementsToLeft, findElementsToRight, findElementsToRight, findElementType, findGroupElementType, findMaxXr, findMaxYd, findMinX, findMinY, findSpecificElements, getAlign, 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, getSecurityLevel, 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, removeSecurityLevel, resizeForCrossTabFixedField, resizeForCrossTabFixedField, setAlign, setBgColor, setBookmark, setBorderThickness, setBorderThickness, setBottomBorder, setCustomID, setDrawAgain, setDrawX, setDrawX, setDrawY, setDrawY, setDrillDownName, setFont, setFontColor, setHeight, setHeight, setHint, setID, setInchGridSpace, setLeftBorder, setLink, setLocked, setMinHeight, setMinWidth, setNoWrap, setResizeToFitContent, setRightBorder, setRotateAngle, setRotateAngle, setRoundCornerRadius, setRoundCornersArray, setScript, setScriptName, setScriptObj, setScriptObjNull, setSecurityMap, setSecurityTextScript, setShiftSecuredColX, setShiftSecuredColXIncludeHeaderAndFooter, setSnap, setStyleName, setTarget, setText, setTopBorder, setUnderline, setVAlign, setVisible, setVSnap, setWidth, setX, setX, setXX, setXX, setY, setY, setYY, setYY, setZ, shift, shiftObjectsOnMove, shiftOnMove, sortElement, sortElement, sortElementHorizontally, sortElementInXYOrder, sortElementVertically, swapElements, switchSecurityProperties
protected ReportSection header
protected ReportSection footer
public int[] indexArray
public boolean[][] rowsWithMissingChart
public java.util.Hashtable<java.lang.String,java.lang.Object> aggrResult
protected ReportSection masterSection
public static final java.lang.String XMLTAG
public ReportTable()
public ReportTable(java.util.Locale locale, java.util.TimeZone timeZone)
public ReportTable(ReportTable _tbl)
public void copy(ReportTable _tbl)
public void loadTable(ReportTable _tbl)
public void loadTable(ReportTable _tbl, int separatingIndex)
public void loadTable(ReportTable _tbl, boolean applyFormula)
public void loadTable(ReportTable _tbl, boolean applyFormula, boolean copyRpt)
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn)
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt)
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible)
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible, ReportCell[] globalFormatTemplates, int reportType)
public int getFormatColumnIndex(quadbase.reportdesigner.report.MultiDimData mData, int index)
public void setAggregationTable(boolean b)
public boolean isAggregationTable()
public quadbase.reportdesigner.ReportElements.ColumnBreakColumn getFirstColumnBreakColumn(int colBkValIdx)
public int getFixedFieldColumnBreakColumnCount()
public quadbase.reportdesigner.ReportElements.CBAggrColumn getFirstCBAggrColumn(int level, int colBkValIdx)
public void copyTemplate(ReportTable _tbl)
public void copyTemplate(ReportTable _tbl, boolean applyFormula)
public void copyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection)
public void copyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine)
public void copyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine, boolean isApplyTemplateForDHTMLViewer)
public void applyStyleForFixedFieldTable(ReportTable _tbl)
public java.util.Vector<ReportColumn> getColumnsIgnoreRepeatColumn()
public void deepCopy(ReportTable _tbl)
public void positionCopy(ReportTable _tbl)
public void copyGuideLineElts(quadbase.reportdesigner.report.Report _report)
public void copyAllGuideLineElts(quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.Report _report, ReportTable _tbl)
public void applyTemplate(ReportTable _tbl)
public void applySecurity(ReportTable _tbl)
public void formatColumn()
public void formatColumn(boolean isFixedFieldCrossTab)
public void setID(java.lang.String newID)
setID
in class ReportElement
newID
- the value of new idpublic boolean customIDExists(java.lang.String id)
public boolean containsZIndex()
public boolean formulaReferenced(Formula formula)
public boolean scriptReferenced(Script script)
scriptReferenced
in class ReportElement
public boolean scriptReferenced(Script script, boolean checkTableOnly)
public boolean securityScriptReferenced(Script script)
securityScriptReferenced
in class ReportElement
public boolean securityScriptReferenced(Script script, boolean checkTableOnly)
public void removeScriptReferenced(Script script)
removeScriptReferenced
in class ReportElement
public void removeScriptReferenced(Script script, boolean checkTableOnly)
public void createFormulaObject(quadbase.reportdesigner.report.Report report)
public void createFormulaObjectFromName(quadbase.reportdesigner.report.Report report)
public void createScriptObject(java.util.Vector<Script> scripts)
createScriptObject
in class ReportElement
public void createScriptObjectFromName(java.util.Vector<Script> scripts)
createScriptObjectFromName
in class quadbase.reportdesigner.ReportElements.ReportTableElement
public ReportColumn getColumnByID(java.lang.String id)
public ReportElement getData(java.lang.String id)
id
- reportElement id, or custom idpublic java.lang.String[] getSecurityLevels()
getSecurityLevels
in class ReportElement
public java.lang.String[] getSecuredScripts()
getSecuredScripts
in class ReportElement
public void setSecurityLevelProperties(java.lang.String levelName, ReportElement level)
setSecurityLevelProperties
in class ReportElement
public void setReportObjectForSubReports(java.lang.String filename, ISubReport rptobject)
public void updateSubReportFileName(java.lang.String oldfilename, java.lang.String newfilename)
public void setHTMLParameters(java.lang.String dirLocation, java.lang.String url, java.lang.String fileName)
dirLocation
- The physical directory of this objecturl
- The URL path for this objectfileName
- The filename of this objectpublic void setChartPath(java.lang.String path)
public void setSubReportPath(java.lang.String path)
public void setImagePath(java.lang.String path)
public double getMinWidth()
public double getBodyMinWidth()
public double getMinHeight()
public void resize(double xratio, double yratio)
resize
in class ReportElement
public void setGridLineLink(IReport report)
public void setWidth(double width)
setWidth
in class ReportElement
width
- width of this elementpublic int[] findReportColumnIndex(double cx, double cy, int row)
public java.util.Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedRow> getFormattedRows()
public void setFormattedRows(java.util.Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedRow> formattedRows)
public int getFormattedRowsCount()
public void addFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
public void setFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
public void addFormattedRow(int row, java.util.Vector<java.lang.Integer> tree, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
public void addFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
public void setFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow)
row
- the index to the row to be insertedtree
- a vector of integers specifying the Element on the table. A table can be thought
of as a tree and the nodes are the elements in the table.formattedRow
- the FormattedRow Object to be added.public quadbase.reportdesigner.ReportElements.FormattedRow getFormattedRow(int rowIndex, java.util.Vector<java.lang.Integer> tree)
public quadbase.reportdesigner.ReportElements.FormattedRow getFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
public boolean isFormattedRow(int rowIndex)
public boolean isFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
public void removeFormattedRow(int rowIndex)
public void removeFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
public void removeAllFormattedRows()
public int[] findRowElementIndex(double cx, double cy, int rowIndex)
public ReportElement getRowElement(int rowIndex, int elementIndex)
public int[] findRowElementIndex(double cx, double cy, quadbase.reportdesigner.ReportElements.FormattedRowKey key)
public ReportElement getRowElement(quadbase.reportdesigner.ReportElements.FormattedRowKey key, int elementIndex)
@Deprecated public void addReportCellToRow(int rowIndex, ReportCell cell)
public void addReportCellToRow(int rowIndex, java.util.Vector<java.lang.Integer> tree, ReportCell cell)
rowIndex
- the index to the row to be insertedtree
- a vector of integers specifying the Element on the table. A table can be thought
of as a tree and the nodes are the elements in the table.cell
- the ReportCell Object to be added.public void addReportCellToRow(int rowIndex, int[] tree, ReportCell cell)
rowIndex
- the index to the row to be insertedtree
- an array of integers specifying the Element on the table. A table can be thought
of as a tree and the nodes are the elements in the table.cell
- the ReportCell Object to be added.public void setHeightOfRow(int rowIndex, double height)
public void setHeightOfRow(int rowIndex, java.util.Vector<java.lang.Integer> tree, double height)
rowIndex
- the index of the rowtree
- a vector of integers specifying the Element on the table. A table can be thought
of as a tree and the nodes are the elements in the table.height
- the new heightpublic void setHeightOfRow(int rowIndex, int[] tree, double height)
rowIndex
- the index of the rowtree
- an array of integers specifying the Element on the table. A table can be thought
of as a tree and the nodes are the elements in the table.height
- the new heightpublic void setHeightOfRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key, double height)
key
- the key to the FormattedRow Objectheight
- the new heightpublic ReportImage[] getAllReportImages()
protected ReportImage[] getSectionReportImages()
public ReportChartObject[] getAllReportChartObjects()
public ReportChartObject[] getSectionReportChartObjects()
public ReportChartObject[] getReportChartObjects()
public int getImageCount()
public ReportImage getImage(int idx)
public ReportImage[] getImage()
public void addImage(ReportImage cht)
public void addImage(int idx, ReportImage cht)
public void removeImage(int idx)
public int indexOf(ReportImage cht)
public int update(ReportImage cht)
public void removeImage(ReportImage cht)
public void removeColumnWrap(ColumnWrap col)
public int[] findImageIndex(double cx, double cy)
public ReportImage[] getSortedImages()
public void addSubReport(SubReportObject sreport)
public SubReportObject[] getSortedSubReports()
public void removeAllSubReports()
public void removeSubReportsReference()
public int[] findSubReportIndex(double cx, double cy)
public void removeSubReport(SubReportObject cht)
public void removeSubReportWithFileName(java.lang.String filename)
public void removeSubReport(int index)
public SubReportObject getSubReport(int index)
public int getSubReportCount()
public SubReportObject[] getAllSubReports()
protected SubReportObject[] getSectionSubReports()
public void renameSubReportFileNames(java.lang.String[] oldFileNames, java.lang.String[] newFileNames)
public void setSubReportParameterMap(java.lang.String filename, java.lang.String[] paramMap)
public void setChartParameterMap(java.lang.String filename, java.lang.String[] paramMap)
public void setMasterSection(ReportSection mSection)
public ReportSection getMasterSection()
public ReportSection findMasterSection(double x, double y)
public java.util.Vector<ReportColumn> getColumns()
public int getColumnCount()
public boolean isValid()
public ReportColumn getColumn(int idx)
public boolean hasColumn(ReportElement elt)
public int getColumnIndex(ReportElement elt)
public ReportColumn[] getColumn()
public void addColumn(ReportColumn col)
public void addColumn(int idx, ReportColumn col)
public void removeColumn(int idx)
public boolean[] getVisibleColumns()
public int getVisibleColumnCount()
public ReportColumn[] getInvisibleColumnList()
public ReportColumn[] getVisibleColumnList()
public ReportColumn[] getSortedVisibleColumns()
public ReportElement[] getXSortedVisibleElements()
public ReportElement[] getYSortedVisibleElements()
public ReportElement[] getZSortedVisibleElements()
public java.util.Vector<java.awt.Color> getAllColors(java.util.Vector<java.awt.Color> colors)
getAllColors
in class ReportElement
public ReportElement[] getTableElementsNoGL()
public ReportElement[] getTableElementsNoGLWithSecuredMode()
public ReportElement[] getAllTableElements()
public ReportElement[] getTableElements()
public ReportElement[] getTableElements(boolean applyToVisibleColOnly)
public ReportElement[] getTableElements(boolean applyToVisibleColOnly, boolean sortColumns)
public ReportElement[] getTableElements(int rowId)
public ReportElement[] getTableElements(quadbase.reportdesigner.ReportElements.FormattedRowKey key)
public boolean hasVisibleElements()
public void setDrillDownData(int columnIndex, java.lang.Object data)
public void shift(ReportElement elt, boolean isHorizontal, double change)
elt
- the element to be shiftedisHorizontal
- is this a horizontal shift or notchange
- the shift amount, positive means to the right (horizontal==true) or bottom
(horizontal==false).public void shiftOnMove(ReportElement elt, boolean isHorizontal, double change)
elt
- the element to be shiftedisHorizontal
- is this a horizontal shift or notchange
- the shift amount, positive means to the right (horizontal==true) or bottom
(horizontal==false).public void resizeForCrossTabFixedField(java.util.Vector<ReportElement> resizeItems, double ratioW, double ratioH, double startXD, double startYD)
resizeItems
- the element to be shiftedratioW
- The ratio toshift the widthratioH
- The ratio toshift the heightstartXD
- The starting X dimensionstartYD
- The starting Y dimensionpublic void shiftObjectsOnMove(ReportElement elt, boolean isHorizontal, double change)
public java.util.Vector<ReportElement[]> getColumnsForHTML()
public int getRowCount()
public ReportSection getHeader()
public void setHeader(ReportSection cells)
public ReportSection getFooter()
public void setFooter(ReportSection cells)
public int countRowBreakHeader()
public ReportSection getRowBreakHeader(int breakLevel)
public int countRowBreakFooter()
public ReportSection getRowBreakFooter(int breakLevel)
public int getStartOfColumnBreakColumn()
public int getEndOfColumnBreakColumn()
public int getColumnBreakColumnCount()
public void setBorderThickness(int border)
setBorderThickness
in class ReportElement
@Deprecated public void setBorder(int border)
setBorder
in class ReportElement
public void setBorderColor(java.awt.Color color)
setBorderColor
in class ReportElement
color
- new border color of this elementpublic void formatTable() throws java.lang.Exception
java.lang.Exception
public java.lang.Object getValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r)
public java.lang.Object getValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, java.util.Vector preAggCol, java.util.Vector resultCol)
public ReportCell formatCell(ReportCell cell, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportCell cell, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportCell cell, int index, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportCell cell, int index, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode, java.util.Vector preAggCol, java.util.Vector resultCol)
index
- : rowindex of this cell, added for scripting on image url.public ReportCell formatCell(ReportColumn col, int idx, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportColumn col, int idx, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode)
public ReportCell formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, int displayidx, quadbase.reportdesigner.report.Report r)
public ReportCell formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, int displayidx, quadbase.reportdesigner.report.Report r, boolean designMode)
public void write(java.io.DataOutput out) throws java.io.IOException
write
in class quadbase.reportdesigner.ReportElements.ReportTableElement
java.io.IOException
public void write(java.io.DataOutput out, boolean pack) throws java.io.IOException
java.io.IOException
public void writeXML(java.io.Writer out, boolean writeElementTag) throws java.io.IOException
writeXML
in class quadbase.reportdesigner.ReportElements.ReportTableElement
java.io.IOException
public static ReportTable createTable(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 quadbase.reportdesigner.ReportElements.ReportTableElement
java.lang.Exception
public static ReportTable createTable(java.io.DataInput in, int version) throws java.lang.Exception
java.lang.Exception
public static ReportTable createTable(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, java.lang.String domainPath) throws java.lang.Exception
java.lang.Exception
public void read(java.io.DataInput in, int version) throws java.lang.Exception
read
in class quadbase.reportdesigner.ReportElements.ReportTableElement
java.lang.Exception
public void read(java.io.DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, java.lang.String domainPath) throws java.lang.Exception
java.lang.Exception
public void writeSTL(java.io.DataOutput out) throws java.lang.Exception
java.lang.Exception
public void readSTL(java.io.DataInput in, int version) throws java.lang.Exception
java.lang.Exception
public static ReportElement[] findElementstoRight(ReportElement r, ReportTable elt)
public static ReportElement[] findElementstoLeft(ReportElement r, ReportTable elt)
public static ReportElement[] findElementsAbove(ReportElement r, ReportTable elt)
public static void resizeVerticallyAndShift(ReportElement r, ReportTable elt, double heightChange)
public void createIndexArray(int colIndex, boolean isAsc, quadbase.reportdesigner.report.Report report, int level)
public void createIndexArray(int[] colIndex, int idx, boolean[] isAsc, quadbase.reportdesigner.report.Report report, int level)
public void buildIndexTree(int[] colIndex, int idx, boolean[] isAsc, quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.IndexNode indexNode)
public void buildIndexArrayFromIndexTree(quadbase.reportdesigner.report.IndexNode indexNode)
public void copySortingInfo(ReportTable _tbl, int level, boolean isMasterDetails, quadbase.reportdesigner.report.Report report)
public void addRTFObject(ReportRTFObject rObj)
public ReportRTFObject[] getSortedRTFObjects()
public void removeRTFObject(ReportRTFObject cht)
public void removeRTFObject(int index)
public ReportRTFObject getRTFObject(int index)
public int getRTFObjectCount()
public int[] findRTFObjectIndex(double cx, double cy)
public void setTableNumber(int number)
public int getTableNumber()
public void setSectionStyle(ReportColumn column)
public ReportColumn getSectionStyle()
public boolean hasSectionStyle()
public boolean isSectionStyle(ReportColumn column)
public void recalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report)
public void adjustColumnXPos(ReportTable _tbl, int separatingIndex, quadbase.reportdesigner.report.Report report)
public void applyGlobalFormatToColumns(ReportColumn[] formats)
public void deleteChart(int rowIndex, ReportElement chart)
public boolean drawChart(int rowIndex, int chartIndex)
public void setSnapToGrid(boolean snapToGrid, double stepSize, double cmStepSize)
setSnapToGrid
in class ReportElement
public void setSnapToGrid(boolean snapToGrid, boolean metric, double stepSize)
setSnapToGrid
in class ReportElement
public java.lang.Object getAggrValue(java.lang.String key)
public void addAggrValue(java.lang.String key, java.lang.Object object)
public boolean hasSubTable(ReportTable table)
public ReportTable getParentTableWithCell(java.lang.String id, ReportTable table)
public ReportTable getParentTable(ReportTable table)
public int getColumnIndex(ReportColumn rpc)
public java.util.Vector<ReportElement[]> getSubReportForHTML()
public void renameSecurityLevel(java.lang.String oldName, java.lang.String newName)
renameSecurityLevel
in class ReportElement
public java.util.Vector getChartsNoGuideLine()
public boolean hasResizeToFitElement()
public boolean hasDualColorOnColumnChange()
public void setLocale(java.util.Locale l)
public java.lang.Object getFirstColumnValue(int index)
public java.lang.Object getFirstColumnScriptedValue(int index)
public void setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable, java.util.Vector vec)
public double getColumnWidths()
public void loadStyle(quadbase.reportdesigner.report.Report report, ReportTable table)
public void applyStyle(ReportTable table)
public void applyStyle(java.util.Vector setting, ReportTable table)
public boolean contains(ReportElement e)
public void deleteSubReportColData()
public void setPrintOnNewPageRowCount(int i)
public int getPrintOnNewPageRowCount()
public boolean isPrintOnNewPage(int rowCount)
public void cleanup()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void releaseDiskBuffer()
public boolean equals(ReportTable reportTable)
public int hashCode()
hashCode
in class java.lang.Object