Class ReportTable
java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportTableElement
quadbase.reportdesigner.ReportElements.ReportTable
- All Implemented Interfaces:
Serializable
public class ReportTable
extends quadbase.reportdesigner.ReportElements.ReportTableElement
implements Serializable
This class can be used to manipulate the look invalid input: '&' feel, as well as the content of a Report Table.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReportSectionprotected ReportSectionint[]protected ReportSectionprotected quadbase.reportdesigner.report.AbstractReportSectionFactoryboolean[][]static final StringFields inherited from class quadbase.reportdesigner.ReportElements.ReportElement
bgColor, borderColor, CHART, COLUMN, COLUMNHEADER, FORMULA, GRID, height, ID_TYPE, IMAGE, isLocked, LABEL, LINE, min_height, min_width, NONE, rotate_angle, ROTATE_CLOCKWISE, ROTATE_COUNTERCLOCKWISE, ROTATE_NONE, roundCornerRadius, roundCornersArray, RTFOBJECT, SECTION, securityMap, snap, SORT_X, SORT_Y, SORT_Z, SUBREPORT, TABLE, TABLEOFCONTENTS, TITLE, visible, vsnap, width, x -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default ReportTable.ReportTable(Locale locale, TimeZone timeZone) Constructs a ReportTable with specified locale and time zone.ReportTable(ReportTable _tbl) Constructs a ReportTable from another ReportTable. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAggrValue(String key, Object object) internal use onlyvoidaddColumn(int idx, ReportColumn col) For internal use only.voidaddColumn(ReportColumn col) For internal use only.voidaddFormattedRow(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar Report onlyvoidaddFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar Report onlyvoidaddFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtablevoidaddImage(int idx, ReportImage cht) Adds a ReportImage into this ReportTable, at the specified index.voidaddImage(ReportImage cht) Adds a ReportImage into this ReportTable.voidaddReportCellToRow(int rowIndex, int[] tree, ReportCell cell) internal use only Adds a ReportCell into this FormattedRow with specified key index For All type of reports.voidaddReportCellToRow(int rowIndex, Vector<Integer> tree, ReportCell cell) internal use only Adds a ReportCell into this FormattedRow with specified key index For All type of reports.voidaddReportCellToRow(int rowIndex, ReportCell cell) Deprecated.voidaddRTFObject(ReportRTFObject rObj) Adds an RTF object to this ReportTablevoidaddSubReport(SubReportObject sreport) Adds a sub-report into this ReportTable.voidadjustColumnXPos(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.voidapplyGlobalFormatToColumns(ReportColumn[] formats) internal use onlyvoidapplySecurity(ReportTable _tbl) For internal use only.voidapplyStyle(Vector setting, ReportTable table) voidapplyStyle(ReportTable table) voidapplyStyleForFixedFieldTable(ReportTable _tbl, boolean copyScripts) voidapplyTemplate(ReportTable _tbl) For internal use only.voidbuildIndexArrayFromIndexTree(quadbase.reportdesigner.report.IndexNode indexNode) For internal use only.voidbuildIndexTree(int[] colIndex, int idx, boolean[] isAsc, quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.IndexNode indexNode) For internal use only.voidcleanup()booleanbooleanFor internal use only.voidcopy(ReportTable _tbl) For internal use only.voidcopyAllGuideLineElts(quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.Report _report, ReportTable _tbl) internal use onlyvoidcopyGuideLineElts(quadbase.reportdesigner.report.Report _report) internal use onlyvoidcopySortingInfo(ReportTable _tbl, int level, boolean isMasterDetails, quadbase.reportdesigner.report.Report report) internal use onlyvoidcopyTemplate(ReportTable _tbl) For internal use only.voidcopyTemplate(ReportTable _tbl, boolean applyFormula) For internal use only.voidcopyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection) For internal use only.voidcopyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine) internal use onlyvoidcopyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine, boolean isApplyTemplateForDHTMLViewer) intFor Summary-Break, CrossTab invalid input: '&' Master-Details Tables.intFor Summary-Break, CrossTab invalid input: '&' Master-Details Tables.voidcreateFormulaObject(quadbase.reportdesigner.report.Report report) internal use onlyvoidcreateFormulaObjectFromName(quadbase.reportdesigner.report.Report report) internal use onlyprotected voidcreateHeaderAndFooter(DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) voidcreateIndexArray(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 colInfovoidcreateIndexArray(int colIndex, boolean isAsc, quadbase.reportdesigner.report.Report report, int level) internal use onlyvoidcreateScriptObject(Vector<Script> scripts) internal use onlyvoidcreateScriptObjectFromName(Vector<Script> scripts) For internal use only.static ReportTablecreateTable(DataInput in, int version) For internal use only.static ReportTablecreateTable(DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) For internal use only.static ReportTablecreateTable(Node node, int version) For internal use only.booleancustomIDExists(String id) For internal use only.voiddeepCopy(ReportTable _tbl) For internal use only.voiddeleteChart(int rowIndex, ReportElement chart) internal use onlyvoidbooleandrawChart(int rowIndex, int chartIndex) internal use onlybooleanequals(ReportTable reportTable) protected voidfinalize()static ReportElement[]internal use onlystatic ReportElement[]internal use onlystatic ReportElement[]internal use onlyint[]findImageIndex(double cx, double cy) internal use only Returns the index of the specified ReportImage.findMasterSection(double x, double y) internal use onlyint[]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, int rowIndex) internal use only Returns the index of the specified FormattedRow with rowIndex.int[]findRowElementIndex(double cx, double cy, quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Returns the index of the specified SubReportObject.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.formatCell(ReportCell cell, int index, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.formatCell(ReportCell cell, int index, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode, Vector preAggCol, Vector resultCol) For internal use only.formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only.formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.formatCell(ReportCell cell, quadbase.reportdesigner.report.Report r) For internal use only.formatCell(ReportCell cell, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, int displayidx, quadbase.reportdesigner.report.Report r) For internal use only.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.formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only.formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r) For internal use only.formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.formatCell(ReportColumn col, int idx, quadbase.reportdesigner.report.Report r) For internal use only.formatCell(ReportColumn col, int idx, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only.voidFor internal use only.voidformatColumn(boolean isFixedFieldCrossTab) For internal use only.voidFor internal use only.booleanformulaReferenced(Formula formula) internal use onlygetAggrValue(String key) internal use onlygetAllColors(Vector<Color> colors) internal use onlyReturns an array of all the ReportChartObject objects in this table For Internal Use OnlyReturns an array of all the ReportImage objects in this table For Internal Use OnlyReturns an array of all the SubReport objects in this table For Internal Use OnlyGets all elements in the table, including charts and other non-report elements.doubleGets the minimum width of the table only, excluding header and footerFor internal use only.Returns the ReportColumn array of this table.getColumn(int idx) Returns the ReportColumn object at the specified index of this table.intFor CrossTab Tables only.getColumnByID(String id) For internal use only.intGets the number of columns in this table.intinternal use onlyintGets the column index of this element in the tableReturns a vector containing ReportColumn objects in this table.internal use onlyLooks through the columns of this table object and returns the number of columns in the table, ignoring column break and column break aggregation columns.doubleGets a specific ReportElement in this ReportTableintFor CrossTab Tables only.quadbase.reportdesigner.ReportElements.CBAggrColumngetFirstCBAggrColumn(int level, int colBkValIdx) Looks through the columns of this table object and returns the first column break aggregation column.quadbase.reportdesigner.ReportElements.ColumnBreakColumngetFirstColumnBreakColumn(int colBkValIdx) Looks through the columns of this table object and returns the index of the first column break column.getFirstColumnScriptedValue(int index) Returns an object containing the first value in the specified column.getFirstColumnValue(int index) Returns an object containing the first value in the specified column.intLooks through the columns of this table object and returns the number of column break columns in the table.Returns the table footer.intgetFormatColumnIndex(quadbase.reportdesigner.report.MultiDimData mData, int index) quadbase.reportdesigner.ReportElements.FormattedRowgetFormattedRow(int rowIndex, Vector<Integer> tree) internal use onlyquadbase.reportdesigner.ReportElements.FormattedRowgetFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Give the rowIndex, get the formattedRow object with this specified FormattedRowKey For All report typesHashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedRow> internal use only.intinternal use only Gets the length of the formattedRows hashtable object used.Returns the table header.getImage()Returns the ReportImage object array within this ReportTable.getImage(int idx) Returns the ReportImage object at the specified index, within this ReportTable.intReturns the total number ReportImage objects present in this ReportTable.Returns an array of ReportColumn Objects that are invisible in this table.Gets the master sectiondoubleGets the minimum height that this table must spandoubleGets the minimum width this table must span.getParentTable(ReportTable table) internal use onlygetParentTableWithCell(String id, ReportTable table) internal use onlyintReturns the ReportChartObject object array within this ReportTable.quadbase.reportdesigner.report.AbstractReportSectionFactoryquadbase.reportdesigner.report.AbstractReportSectionFactorygetReportSectionFactory(int version, boolean pack, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) getRowBreakFooter(int breakLevel) For Summary-Break, CrossTab invalid input: '&' Master-Details Tables.getRowBreakHeader(int breakLevel) For Summary-Break, CrossTab invalid input: '&' Master-Details Tables.intGets the number of rows in the ReportTable.getRowElement(int rowIndex, int elementIndex) internal use only Returns the sub-report at the specific indexgetRowElement(quadbase.reportdesigner.ReportElements.FormattedRowKey key, int elementIndex) internal use only Returns the ReportElement of this FormattedRow with key at the specific index withgetRTFObject(int index) Returns the sub-report at the specific indexintGets the number of RTF Objects in this table.Returns an array of all the ReportChartObject objects in this table's header and footer For Internal Use Onlyprotected ReportImage[]Returns an array of all the ReportImage objects in this table all sections including group header/footer.internal use onlyprotected SubReportObject[]Returns an array of all the SubReport objects in this table all sections including group header/footer.String[]For internal use only.String[]Gets all security level names in this table.Returns sorted array of reportImages by their x positionReturns an array of sorted RTF objects by their x position.Returns an array of sorted sub-reports by their x position.Returns an array of visible ReportColumn objects sorted by the individual x positions.intFor CrossTab Tables only.getSubReport(int index) Returns the sub-report at the specific indexintGets the number of sub-reports stored in this table.For internal use only.Gets all the report elements(columns and images) in the tablegetTableElements(boolean applyToVisibleColOnly) getTableElements(boolean applyToVisibleColOnly, boolean sortColumns) getTableElements(int rowId) Gets the report elements if it is a formatted rowgetTableElements(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use onlyinternal use onlyinternal use onlyintinternal use onlygetValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only.getValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, Vector preAggCol, Vector resultCol) For internal use only.intReturns the number of visible columns in this table.Returns an array of ReportColumn Objects that are visible in this table.boolean[]Returns a boolean array which shows the status of individual column display.Returns an array of visible ReportElement objects sorted by the individual x positions.Returns an array of visible ReportElement objects sorted by the individual y positions.Returns an array of visible ReportElement objects sorted by the individual z positions.booleanhasColumn(ReportElement elt) Returns whether this element has a column in this Table.booleaninternal use onlyinthashCode()booleanbooleaninternal use onlybooleanhasSubTable(ReportTable table) Returns whether this table has a sub-tablebooleanreturns whether this table has any visible elementsintindexOf(ReportImage cht) Returns the first instance of a chart within this ReportTable.booleanReturnsSets whether the table is used for aggregationbooleanisFormattedRow(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 otherwisebooleanisFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Give the FormattedRowKey, check whether it is a formatted rowbooleanisPrintOnNewPage(int rowCount) booleanisSectionStyle(ReportColumn column) Returns whether the sectionStyle of this ReportTable matches the specified columnbooleanisValid()voidloadStyle(quadbase.reportdesigner.report.Report report, ReportTable table) voidloadTable(ReportTable _tbl) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula, boolean copyRpt) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible) For internal use only.voidloadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible, ReportCell[] globalFormatTemplates, int reportType) For internal use only.voidloadTable(ReportTable _tbl, int separatingIndex) For internal use only.voidpositionCopy(ReportTable _tbl) For internal use only.voidFor internal use only.voidread(DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) For internal use only.voidInports style information from a DataOutput object made from a .STL stylesheetvoidFor internal use only.voidrecalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report) internal use onlyvoidvoidinternal use only removes all FormattedRow Objects in this tablevoidRemove all sub-reports in this ReportTablevoidremoveColumn(int idx) For internal use only.voidRemoves the specified column wrapping from this report table.voidremoveFormattedRow(int rowIndex) internal use only Remove this formattedRow For Columnar type of report onlyvoidremoveFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Remove this rowvoidremoveImage(int idx) Removes ReportImage at the specified index from this ReportTable.voidremoveImage(ReportImage cht) Removes the specified ReportImage from this ReportTable.voidremoveRTFObject(int index) Remove a sub-report from this ReportTable at the specific indexvoidRemoves the specified SubReportObject from this ReportTable.voidremoveScriptReferenced(Script script) internal use onlyvoidremoveScriptReferenced(Script script, boolean checkTableOnly) internal use onlyvoidremoveSubReport(int index) Remove a sub-report from this ReportTable at the specific indexvoidRemoves the specified SubReportObject from this ReportTable.voidinternal use onlyvoidremoveSubReportWithFileName(String filename) For internal use only.voidrenameSecurityLevel(String oldName, String newName) For internal use only.voidrenameSubReportFileNames(String[] oldFileNames, String[] newFileNames) Update filenames of all SubReportObject objects.voidresize(double xratio, double yratio) Resizes the table by the specified ratiovoidresizeForCrossTabFixedField(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 fieldstatic voidresizeVerticallyAndShift(ReportElement r, ReportTable elt, double heightChange) Resizes the ReportElement objects in this elt ReportTable by making the height Change.booleanscriptReferenced(Script script) internal use onlybooleanscriptReferenced(Script script, boolean checkTableOnly) internal use onlybooleansecurityScriptReferenced(Script script) internal use onlybooleansecurityScriptReferenced(Script script, boolean checkTableOnly) internal use onlyvoidsetAggregationTable(boolean b) Sets whether the table is used for aggregationvoidsetBorder(int border) Deprecated.voidsetBorderColor(Color color) Sets the border color.voidsetBorderThickness(int border) Sets the border thickness in pixels.voidsetChartParameterMap(String filename, String[] paramMap) For internal use only.voidsetChartPath(String path) changing all the chart path location for ReportChartObject.voidsetDrillDownData(int columnIndex, 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.voidsetFooter(ReportSection cells) Sets the table footer.voidsetFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Replaces the formattedCell at the specified rowIndex with this new formattedCell.voidsetFormattedRow(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.voidsetFormattedRows(Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedRow> formattedRows) internal use only Sets the formattedRows hashtable object used by this ReportTable.voidsetGridLineLink(IReport report) internal use onlyvoidsetHeader(ReportSection header) Sets the table header.voidsetHeightOfRow(int rowIndex, double height) internal use only Set the height of this FormattedRow with specified key index For Columnar type report onlyvoidsetHeightOfRow(int rowIndex, int[] tree, double height) internal use only Sets the height of this FormattedRow with specified key index For All type of reports.voidsetHeightOfRow(int rowIndex, Vector<Integer> tree, double height) internal use only Set the height of this FormattedRow with specified key index For All type of reportsvoidsetHeightOfRow(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.voidsetHTMLParameters(String dirLocation, String url, String fileName) changing all the chart path location for ReportChartObject.voidinternal use onlyvoidsetImagePath(String path) changing all the image path location for ReportImage.voidFor internal use onlyvoidsetMasterSection(ReportSection mSection) Set the master section for a side-by-side master-details reportvoidsetPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable, Vector vec) voidsetPrintOnNewPageRowCount(int i) Specifies number of table data rows to be printed on each page For this to take affect, must setPrintOnNewPage to true firstvoidsetReportObjectForSubReports(String filename, ISubReport rptobject) For internal use only.voidsetSectionStyle(ReportColumn column) internal use onlyvoidsetSecurityLevelProperties(String levelName, ReportElement level) For internal use only.voidsetSnapToGrid(boolean snapToGrid, boolean metric, double stepSize) internal use onlyvoidsetSnapToGrid(boolean snapToGrid, double stepSize, double cmStepSize) internal use onlyvoidsetSubReportParameterMap(String filename, String[] paramMap) For internal use only.voidsetSubReportPath(String path) changing all the image path location for ReportImage.voidsetTableNumber(int number) internal use onlyvoidsetWidth(double width) Sets the table width.voidshift(ReportElement elt, boolean isHorizontal, double change) shift after resizing one report elementvoidshiftObjectsOnMove(ReportElement elt, boolean isHorizontal, double change) internal use onlyvoidshiftOnMove(ReportElement elt, boolean isHorizontal, double change) Shifts the element by the CHANGE amount and moves other surrounding elements if neededintupdate(ReportImage cht) For internal use onlyvoidupdateSubReportFileName(String oldfilename, String newfilename) For internal use only.voidwrite(DataOutput out) For internal use only.voidwrite(DataOutput out, boolean pack) For internal use only.voidwriteSTL(DataOutput out) Exports the style information to a DataOutput object to be written to a .STL stylesheetvoidFor internal use only.Methods inherited from class quadbase.reportdesigner.ReportElements.ReportTableElement
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, setSkipFirstValueMethods inherited from class quadbase.reportdesigner.ReportElements.ReportElement
addSecurityLevel, applyImageTemplate, applyImageTemplateExceptBound, applySecurity, applyStyle, applyStyleButNotWH, applyTemplate, applyTemplate, applyTemplate, contains, contains, containsX, containsY, copy, copyStyleWithScriptsButNotWH, 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, 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
-
Field Details
-
header
-
indexArray
public int[] indexArray -
rowsWithMissingChart
public boolean[][] rowsWithMissingChart -
aggrResult
-
masterSection
-
XMLTAG
- See Also:
-
reportSectionFactory
protected quadbase.reportdesigner.report.AbstractReportSectionFactory reportSectionFactory
-
-
Constructor Details
-
ReportTable
public ReportTable()Constructs a default ReportTable. -
ReportTable
Constructs a ReportTable with specified locale and time zone. -
ReportTable
Constructs a ReportTable from another ReportTable.
-
-
Method Details
-
getReportSectionFactory
public quadbase.reportdesigner.report.AbstractReportSectionFactory getReportSectionFactory() -
getReportSectionFactory
public quadbase.reportdesigner.report.AbstractReportSectionFactory getReportSectionFactory(int version, boolean pack, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) -
copy
For internal use only. Copies data invalid input: '&' properties from another ReportTable. -
loadTable
For internal use only. This method is called when opening a report. -
loadTable
For internal use only. This method is called when opening a report. -
loadTable
For internal use only. This method is called when opening a report. -
loadTable
For internal use only. This method is called when opening a report. -
loadTable
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn) For internal use only. This method is called when opening a report. -
loadTable
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt) For internal use only. This method is called when opening a report. -
loadTable
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible) For internal use only. This method is called when opening a report. -
loadTable
public void loadTable(ReportTable _tbl, boolean applyFormula, int separatingIndex, boolean generateCrossTabGrandTotalColumn, boolean copyRpt, boolean copyVisible, ReportCell[] globalFormatTemplates, int reportType) For internal use only. This method is called when opening a report. -
getFormatColumnIndex
public int getFormatColumnIndex(quadbase.reportdesigner.report.MultiDimData mData, int index) -
setAggregationTable
public void setAggregationTable(boolean b) Sets whether the table is used for aggregation -
isAggregationTable
public boolean isAggregationTable()ReturnsSets whether the table is used for aggregation -
getFirstColumnBreakColumn
public 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.- Returns:
- the first column break
-
getFixedFieldColumnBreakColumnCount
public int getFixedFieldColumnBreakColumnCount()Looks through the columns of this table object and returns the number of column break columns in the table.- Returns:
- the number of column break columns
-
getFirstCBAggrColumn
public 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.- Returns:
- the first column break aggregation column
-
copyTemplate
For internal use only. -
copyTemplate
For internal use only. This method is called when applying a template. -
copyTemplate
For internal use only. This method is called when applying a template. -
copyTemplate
public void copyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine) internal use only -
copyTemplate
public void copyTemplate(ReportTable _tbl, boolean applyFormula, boolean copyEmptySection, boolean copyGuideLine, boolean isApplyTemplateForDHTMLViewer) -
applyStyleForFixedFieldTable
-
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.- Returns:
- the number of columns
-
deepCopy
For internal use only. -
positionCopy
For internal use only. For resize to fit content -
copyGuideLineElts
public void copyGuideLineElts(quadbase.reportdesigner.report.Report _report) internal use only -
copyAllGuideLineElts
public void copyAllGuideLineElts(quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.Report _report, ReportTable _tbl) internal use only -
applyTemplate
For internal use only. This method is called when applying a template. Applies the look and feel from another ReportTable. -
applySecurity
For internal use only. -
formatColumn
public void formatColumn()For internal use only. Updates the columns to be of the new text, and dimensions. -
formatColumn
public void formatColumn(boolean isFixedFieldCrossTab) For internal use only. Updates the columns to be of the new text, and dimensions. -
setID
internal use only- Overrides:
setIDin classReportElement- Parameters:
newID- the value of new id
-
customIDExists
For internal use only. -
containsZIndex
public boolean containsZIndex()For internal use only. -
formulaReferenced
internal use only -
scriptReferenced
internal use only- Overrides:
scriptReferencedin classReportElement
-
scriptReferenced
internal use only -
securityScriptReferenced
internal use only- Overrides:
securityScriptReferencedin classReportElement
-
securityScriptReferenced
internal use only -
removeScriptReferenced
internal use only- Overrides:
removeScriptReferencedin classReportElement
-
removeScriptReferenced
internal use only -
createFormulaObject
public void createFormulaObject(quadbase.reportdesigner.report.Report report) internal use only -
createFormulaObjectFromName
public void createFormulaObjectFromName(quadbase.reportdesigner.report.Report report) internal use only -
createScriptObject
internal use only- Overrides:
createScriptObjectin classReportElement
-
createScriptObjectFromName
For internal use only.- Overrides:
createScriptObjectFromNamein classquadbase.reportdesigner.ReportElements.ReportTableElement
-
getColumnByID
For internal use only. -
getData
Gets a specific ReportElement in this ReportTable- Parameters:
id- reportElement id, or custom id- Returns:
- ReportElement with id
-
getSecurityLevels
Gets all security level names in this table.- Overrides:
getSecurityLevelsin classReportElement
-
getSecuredScripts
For internal use only.- Overrides:
getSecuredScriptsin classReportElement
-
setSecurityLevelProperties
For internal use only.- Overrides:
setSecurityLevelPropertiesin classReportElement
-
setReportObjectForSubReports
For internal use only. This method is used only with the API. This method performs overhead updating when the user calls getSubReport() from a SubReportObject. -
updateSubReportFileName
For internal use only. This method is used only with the API. This method performs overhead updating when the user exports a QbReport with subreports to RPT or XML. -
setHTMLParameters
changing all the chart path location for ReportChartObject.- Parameters:
dirLocation- The physical directory of this objecturl- The URL path for this objectfileName- The filename of this object
-
setChartPath
changing all the chart path location for ReportChartObject. -
setSubReportPath
changing all the image path location for ReportImage. -
setImagePath
changing all the image path location for ReportImage. -
getMinWidth
public double getMinWidth()Gets the minimum width this table must span. -
getBodyMinWidth
public double getBodyMinWidth()Gets the minimum width of the table only, excluding header and footer -
getMinHeight
public double getMinHeight()Gets the minimum height that this table must span -
resize
public void resize(double xratio, double yratio) Resizes the table by the specified ratio- Overrides:
resizein classReportElement
-
setGridLineLink
internal use only -
setWidth
public void setWidth(double width) Sets the table width.- Overrides:
setWidthin classReportElement- Parameters:
width- width of this element
-
findReportColumnIndex
public int[] findReportColumnIndex(double cx, double cy, int row) Returns the column index containing the coordinate point (cx, cy) along a given row. -
getFormattedRows
public Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey,quadbase.reportdesigner.ReportElements.FormattedRow> getFormattedRows()internal use only. Gets the formattedRows hashtable object used by this ReportTable. -
setFormattedRows
public void setFormattedRows(Hashtable<quadbase.reportdesigner.ReportElements.FormattedRowKey, quadbase.reportdesigner.ReportElements.FormattedRow> formattedRows) internal use only Sets the formattedRows hashtable object used by this ReportTable. -
getFormattedRowsCount
public int getFormattedRowsCount()internal use only Gets the length of the formattedRows hashtable object used. -
addFormattedRow
public void addFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar Report only -
setFormattedRow
public void setFormattedRow(int rowIndex, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Replaces the formattedCell at the specified rowIndex with this new formattedCell. Columnar report only -
addFormattedRow
public void addFormattedRow(int row, Vector<Integer> tree, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtable Columnar Report only -
addFormattedRow
public void addFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey rowKey, quadbase.reportdesigner.ReportElements.FormattedRow formattedRow) internal use only Allow to add new FormattedRow object to formattedRows hashtable -
setFormattedRow
public 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.- Parameters:
formattedRow- the FormattedRow Object to be added.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.
-
getFormattedRow
public quadbase.reportdesigner.ReportElements.FormattedRow getFormattedRow(int rowIndex, Vector<Integer> tree) internal use only -
getFormattedRow
public 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 -
isFormattedRow
public 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 -
isFormattedRow
public boolean isFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Give the FormattedRowKey, check whether it is a formatted row- Returns:
- true if it is a formatted row, false otherwise
-
removeFormattedRow
public void removeFormattedRow(int rowIndex) internal use only Remove this formattedRow For Columnar type of report only -
removeFormattedRow
public void removeFormattedRow(quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Remove this row -
removeAllFormattedRows
public void removeAllFormattedRows()internal use only removes all FormattedRow Objects in this table -
findRowElementIndex
public int[] findRowElementIndex(double cx, double cy, int rowIndex) internal use only Returns the index of the specified FormattedRow with rowIndex. -
getRowElement
internal use only Returns the sub-report at the specific index -
findRowElementIndex
public int[] findRowElementIndex(double cx, double cy, quadbase.reportdesigner.ReportElements.FormattedRowKey key) internal use only Returns the index of the specified SubReportObject. -
getRowElement
public 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 -
addReportCellToRow
Deprecated.internal use only Adds a ReportCell into this FormattedRow with specified key index For columnar type report only. -
addReportCellToRow
internal use only Adds a ReportCell into this FormattedRow with specified key index For All type of reports.- Parameters:
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.
-
addReportCellToRow
internal use only Adds a ReportCell into this FormattedRow with specified key index For All type of reports.- Parameters:
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.
-
setHeightOfRow
public void setHeightOfRow(int rowIndex, double height) internal use only Set the height of this FormattedRow with specified key index For Columnar type report only -
setHeightOfRow
internal use only Set the height of this FormattedRow with specified key index For All type of reports- Parameters:
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 height
-
setHeightOfRow
public 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.- Parameters:
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 height
-
setHeightOfRow
public 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.- Parameters:
key- the key to the FormattedRow Objectheight- the new height
-
getAllReportImages
Returns an array of all the ReportImage objects in this table For Internal Use Only -
getSectionReportImages
Returns an array of all the ReportImage objects in this table all sections including group header/footer. For Internal Use Only -
getAllReportChartObjects
Returns an array of all the ReportChartObject objects in this table For Internal Use Only -
getSectionReportChartObjects
Returns an array of all the ReportChartObject objects in this table's header and footer For Internal Use Only -
getReportChartObjects
Returns the ReportChartObject object array within this ReportTable. -
getImageCount
public int getImageCount()Returns the total number ReportImage objects present in this ReportTable. -
getImage
Returns the ReportImage object at the specified index, within this ReportTable. -
getImage
Returns the ReportImage object array within this ReportTable. -
addImage
Adds a ReportImage into this ReportTable. -
addImage
Adds a ReportImage into this ReportTable, at the specified index. -
removeImage
public void removeImage(int idx) Removes ReportImage at the specified index from this ReportTable. -
indexOf
Returns the first instance of a chart within this ReportTable.- Returns:
- The index of the chart. -1 if the chart is not present.
-
update
For internal use only -
removeImage
Removes the specified ReportImage from this ReportTable. -
removeColumnWrap
Removes the specified column wrapping from this report table. -
findImageIndex
public int[] findImageIndex(double cx, double cy) internal use only Returns the index of the specified ReportImage. -
getSortedImages
Returns sorted array of reportImages by their x position -
addSubReport
Adds a sub-report into this ReportTable. -
getSortedSubReports
Returns an array of sorted sub-reports by their x position. -
removeAllSubReports
public void removeAllSubReports()Remove all sub-reports in this ReportTable -
removeSubReportsReference
public void removeSubReportsReference()internal use only -
findSubReportIndex
public int[] findSubReportIndex(double cx, double cy) Returns the index of the specified SubReportObject. -
removeSubReport
Removes the specified SubReportObject from this ReportTable. -
removeSubReportWithFileName
For internal use only. Remove any sub-reports with the specific file name. -
removeSubReport
public void removeSubReport(int index) Remove a sub-report from this ReportTable at the specific index -
getSubReport
Returns the sub-report at the specific index -
getSubReportCount
public int getSubReportCount()Gets the number of sub-reports stored in this table. -
getAllSubReports
Returns an array of all the SubReport objects in this table For Internal Use Only -
getSectionSubReports
Returns an array of all the SubReport objects in this table all sections including group header/footer. For Intenal Use Only -
renameSubReportFileNames
Update filenames of all SubReportObject objects. This is likely the result of a 'Save As' operation. -
setSubReportParameterMap
For internal use only. Set sub-reports parameter map with the specific file name. -
setChartParameterMap
For internal use only. Set charts parameter map with the specific file name. -
setMasterSection
Set the master section for a side-by-side master-details report -
getMasterSection
Gets the master section -
findMasterSection
internal use only -
getColumns
Returns a vector containing ReportColumn objects in this table. -
getColumnCount
public int getColumnCount()Gets the number of columns in this table. -
isValid
public boolean isValid() -
getColumn
Returns the ReportColumn object at the specified index of this table. Index starts at 0. -
hasColumn
Returns whether this element has a column in this Table. -
getColumnIndex
Gets the column index of this element in the table -
getColumn
Returns the ReportColumn array of this table. -
addColumn
For internal use only. Adds a ReportColumn to this table. -
addColumn
For internal use only. Adds a ReportColumn to this table, at the specified index. -
removeColumn
public void removeColumn(int idx) For internal use only. Removes a ReportColumn from this table. -
getVisibleColumns
public boolean[] getVisibleColumns()Returns a boolean array which shows the status of individual column display. -
getVisibleColumnCount
public int getVisibleColumnCount()Returns the number of visible columns in this table. -
getInvisibleColumnList
Returns an array of ReportColumn Objects that are invisible in this table. -
getVisibleColumnList
Returns an array of ReportColumn Objects that are visible in this table. -
getSortedVisibleColumns
Returns an array of visible ReportColumn objects sorted by the individual x positions. -
getXSortedVisibleElements
Returns an array of visible ReportElement objects sorted by the individual x positions. This method sorts columns as well as images. -
getYSortedVisibleElements
Returns an array of visible ReportElement objects sorted by the individual y positions. This method sorts columns as well as images. -
getZSortedVisibleElements
Returns an array of visible ReportElement objects sorted by the individual z positions. This method sorts columns as well as images. -
getAllColors
internal use only- Overrides:
getAllColorsin classReportElement
-
getTableElementsNoGL
internal use only -
getTableElementsNoGLWithSecuredMode
internal use only -
getAllTableElements
Gets all elements in the table, including charts and other non-report elements. -
getTableElements
Gets all the report elements(columns and images) in the table -
getTableElements
-
getTableElements
-
getTableElements
Gets the report elements if it is a formatted row -
getTableElements
internal use only -
hasVisibleElements
public boolean hasVisibleElements()returns whether this table has any visible elements -
setDrillDownData
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. -
shift
shift after resizing one report element- Parameters:
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).
-
shiftOnMove
Shifts the element by the CHANGE amount and moves other surrounding elements if needed- Parameters:
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).
-
resizeForCrossTabFixedField
public void resizeForCrossTabFixedField(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- Parameters:
resizeItems- the element to be shiftedratioW- The ratio toshift the widthratioH- The ratio toshift the heightstartXD- The starting X dimensionstartYD- The starting Y dimension
-
shiftObjectsOnMove
internal use only -
getColumnsForHTML
internal use only -
getRowCount
public int getRowCount()Gets the number of rows in the ReportTable. -
getHeader
Returns the table header. -
setHeader
Sets the table header. -
countRowBreakHeader
public int countRowBreakHeader()For Summary-Break, CrossTab invalid input: '&' Master-Details Tables. Returns the number of levels for the table headers. -
getRowBreakHeader
For Summary-Break, CrossTab invalid input: '&' Master-Details Tables. Returns the table header at the specified level. -
getStartOfColumnBreakColumn
public int getStartOfColumnBreakColumn()For CrossTab Tables only. Returns the column index of the first column within the column break. -
getEndOfColumnBreakColumn
public int getEndOfColumnBreakColumn()For CrossTab Tables only. Returns the column index of the last column within the column break. -
getColumnBreakColumnCount
public int getColumnBreakColumnCount()For CrossTab Tables only. Returns the number of columns within the column break. -
setBorderThickness
public void setBorderThickness(int border) Sets the border thickness in pixels.- Overrides:
setBorderThicknessin classReportElement
-
setBorder
Deprecated.- Overrides:
setBorderin classReportElement
-
setBorderColor
Sets the border color.- Overrides:
setBorderColorin classReportElement- Parameters:
color- new border color of this element
-
formatTable
For internal use only.- Throws:
Exception
-
getValue
public Object getValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only. -
getValue
public Object getValue(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, Vector preAggCol, Vector resultCol) For internal use only. -
formatCell
For internal use only. -
formatCell
public ReportCell formatCell(ReportCell cell, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only. -
formatCell
public ReportCell formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only. -
formatCell
public ReportCell formatCell(ReportCell cell, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only. -
formatCell
public 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. -
formatCell
public ReportCell formatCell(ReportCell cell, int index, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r, boolean designMode, Vector preAggCol, Vector resultCol) For internal use only.- Parameters:
index- : rowindex of this cell, added for scripting on image url.
-
formatCell
For internal use only. -
formatCell
public ReportCell formatCell(ReportColumn col, int idx, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only. -
formatCell
public ReportCell formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r) For internal use only. -
formatCell
public ReportCell formatCell(ReportColumn col, int dataidx, int displayidx, quadbase.reportdesigner.report.Report r, boolean designMode) For internal use only. -
formatCell
public ReportCell formatCell(ReportColumn col, int dataidx, int page, int section, int totalPages, int totalSections, quadbase.reportdesigner.report.Report r) For internal use only. -
formatCell
public 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. -
formatCell
public 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. -
formatCell
public 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. -
write
For internal use only.- Overrides:
writein classquadbase.reportdesigner.ReportElements.ReportTableElement- Throws:
IOException
-
write
For internal use only.- Throws:
IOException
-
writeXML
For internal use only.- Overrides:
writeXMLin classquadbase.reportdesigner.ReportElements.ReportTableElement- Throws:
IOException
-
createTable
For internal use only.- Throws:
Exception
-
readXML
For internal use only.- Overrides:
readXMLin classquadbase.reportdesigner.ReportElements.ReportTableElement- Throws:
Exception
-
createTable
For internal use only.- Throws:
Exception
-
createTable
public static ReportTable createTable(DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) throws Exception For internal use only.- Throws:
Exception
-
read
For internal use only.- Overrides:
readin classquadbase.reportdesigner.ReportElements.ReportTableElement- Throws:
Exception
-
read
public void read(DataInput in, int version, boolean pack, boolean fromReportDesigner, quadbase.common.util.internal.FileInMemTable subFilesTable, String domainPath) throws Exception For internal use only.- Throws:
Exception
-
writeSTL
Exports the style information to a DataOutput object to be written to a .STL stylesheet- Throws:
Exception
-
readSTL
Inports style information from a DataOutput object made from a .STL stylesheet- Throws:
Exception
-
findElementstoRight
internal use only -
findElementstoLeft
internal use only -
findElementsAbove
internal use only -
resizeVerticallyAndShift
Resizes the ReportElement objects in this elt ReportTable by making the height Change. Shifts the table if necessary. -
createIndexArray
public void createIndexArray(int colIndex, boolean isAsc, quadbase.reportdesigner.report.Report report, int level) internal use only -
createIndexArray
public 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 -
buildIndexTree
public void buildIndexTree(int[] colIndex, int idx, boolean[] isAsc, quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.IndexNode indexNode) For internal use only. -
buildIndexArrayFromIndexTree
public void buildIndexArrayFromIndexTree(quadbase.reportdesigner.report.IndexNode indexNode) For internal use only. -
copySortingInfo
public void copySortingInfo(ReportTable _tbl, int level, boolean isMasterDetails, quadbase.reportdesigner.report.Report report) internal use only -
addRTFObject
Adds an RTF object to this ReportTable -
getSortedRTFObjects
Returns an array of sorted RTF objects by their x position. -
removeRTFObject
Removes the specified SubReportObject from this ReportTable. -
removeRTFObject
public void removeRTFObject(int index) Remove a sub-report from this ReportTable at the specific index -
getRTFObject
Returns the sub-report at the specific index -
getRTFObjectCount
public int getRTFObjectCount()Gets the number of RTF Objects in this table. -
findRTFObjectIndex
public int[] findRTFObjectIndex(double cx, double cy) Returns the index of the specified SubReportObject. -
setTableNumber
public void setTableNumber(int number) internal use only -
getTableNumber
public int getTableNumber()internal use only -
setSectionStyle
internal use only -
getSectionStyle
internal use only -
hasSectionStyle
public boolean hasSectionStyle()internal use only -
isSectionStyle
Returns whether the sectionStyle of this ReportTable matches the specified column -
recalculateFormulaColumnValue
public void recalculateFormulaColumnValue(quadbase.reportdesigner.report.Report report) internal use only -
adjustColumnXPos
public 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. -
applyGlobalFormatToColumns
internal use only -
deleteChart
internal use only -
drawChart
public boolean drawChart(int rowIndex, int chartIndex) internal use only -
setSnapToGrid
public void setSnapToGrid(boolean snapToGrid, double stepSize, double cmStepSize) internal use only- Overrides:
setSnapToGridin classReportElement
-
setSnapToGrid
public void setSnapToGrid(boolean snapToGrid, boolean metric, double stepSize) internal use only- Overrides:
setSnapToGridin classReportElement
-
getAggrValue
internal use only -
addAggrValue
internal use only -
hasSubTable
Returns whether this table has a sub-table -
getParentTableWithCell
internal use only -
getParentTable
internal use only -
getColumnIndex
internal use only -
getSubReportForHTML
For internal use only. -
renameSecurityLevel
For internal use only.- Overrides:
renameSecurityLevelin classReportElement
-
getChartsNoGuideLine
For internal use only. -
hasResizeToFitElement
public boolean hasResizeToFitElement()- Returns:
- true iff at least one cell within this table has resize to fit content turned on.
-
hasDualColorOnColumnChange
public boolean hasDualColorOnColumnChange()internal use only -
setLocale
For internal use only -
getFirstColumnValue
Returns an object containing the first value in the specified column. -
getFirstColumnScriptedValue
Returns an object containing the first value in the specified column. -
setPackedSubReportByteArray
public void setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable, Vector vec) -
getColumnWidths
public double getColumnWidths() -
loadStyle
-
applyStyle
-
applyStyle
-
contains
-
deleteSubReportColData
public void deleteSubReportColData() -
setPrintOnNewPageRowCount
public 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 -
getPrintOnNewPageRowCount
public int getPrintOnNewPageRowCount() -
isPrintOnNewPage
public boolean isPrintOnNewPage(int rowCount) -
cleanup
public void cleanup() -
finalize
-
releaseDiskBuffer
public void releaseDiskBuffer() -
equals
-
hashCode
public int hashCode()
-