public class ReportSection
extends quadbase.reportdesigner.ReportElements.ReportTableElement
Modifier and Type | Field and Description |
---|---|
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 |
---|
ReportSection()
internal use only
Constructs a ReportSection with no border, background color, or data.
|
ReportSection(ReportCell[] areportcell)
internal use only
Constructs a ReportSection from a ReportCell object.
|
ReportSection(quadbase.reportdesigner.ReportElements.ReportTableElement reporttableelement)
internal use only
Constructs a ReportSection from a ReportTableElement object.
|
ReportSection(java.lang.String sectionID)
internal use only
|
ReportSection(java.lang.String sectionID,
java.lang.String text)
internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
addData(ReportCell reportcell)
Adds an object--text, formula, chart, or static image--to this ReportSection.
|
void |
addFormattedCell(ReportCell newCell,
ReportCell oldCell,
java.util.Vector<java.lang.Integer> key)
internal use only
|
ReportSection |
addSection()
Add a new section in the beginning of the section list.
|
void |
addSectionCell(ReportCell reportcell,
int[] tree)
adds a cell to a specific section or sub section
|
void |
addSectionCell(ReportCell reportcell,
java.util.Vector<java.lang.Integer> key)
internal use only
|
void |
addToHeightTable(double height,
java.util.Vector<java.lang.Integer> key)
internal use only
|
void |
adjustFooterFormulas(int count,
java.util.Vector columns,
quadbase.reportdesigner.report.Report report,
ReportCell[] formats,
boolean addExtra)
internal use only
|
void |
adjustHeaderFormulas(int count,
java.util.Vector columns,
quadbase.reportdesigner.report.Report report,
ReportCell globalFormatTemplate,
boolean addExtra)
For internal use only.
|
void |
applyStyle(ReportSection section) |
void |
applyStyle(java.util.Vector setting,
ReportSection section) |
void |
applyStyleForDHTMLViewer(ReportSection section) |
void |
applyStyleForFixedFieldSection(ReportSection _section) |
void |
applyTemplate(ReportSection reportSection)
Deprecated.
This method is not used. Use copyTemplate instead for applying another section.
|
void |
calcRBColumnHeaderWidth(quadbase.reportdesigner.ReportElements.RBColumnHeader colHeader,
java.util.Vector newColumns,
int[] fieldsCount,
boolean isCrossTabSubTotalColumnPositionLeft,
boolean isAddCrossTabSubTotalColumn,
int rbIdx) |
ReportCell[] |
cellsNoGL()
internal use only
|
ReportCell[] |
cellsNoGLWithSecuredMode()
internal use only
|
boolean |
containsSection(ReportSection sec)
whether this section contains the specified section.
|
boolean |
containsSubReport(SubReportObject robj) |
boolean |
containsZIndex()
internal use only
|
void |
copy(ReportSection reportSection)
internal use only
This method is only used by copyTemplate and in LoadReport when opening a report.
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp)
internal use only
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp,
boolean copyEmptySection)
internal use only
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp,
boolean copyEmptySection,
boolean copyGuideLine)
internal use only
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp,
boolean copyEmptySection,
boolean copyGuideLine,
boolean applyScript)
internal use only
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp,
boolean copyEmptySection,
boolean copyGuideLine,
boolean applyScript,
boolean keepElt)
internal use only
|
void |
copy(ReportSection reportSection,
int columnOffset,
int separatingIndex,
java.util.Vector columns,
ReportCell[] globalFormatTemplates,
boolean isApplyTemplateOp,
boolean copyEmptySection,
boolean copyGuideLine,
boolean applyScript,
boolean keepElt,
int[] fieldsCount,
boolean isCrossTabSubTotalColumnPositionLeft,
boolean isAddCrossTabSubTotalColumn,
ReportSection parentHeader,
java.util.Vector newColumns)
internal use only
|
void |
copyAllGuideLineElts(quadbase.reportdesigner.report.Report report,
quadbase.reportdesigner.report.Report _report,
ReportSection section)
internal use only
|
void |
copyExtraCells(ReportSection reportSection) |
void |
copyImage(ReportSection rs)
for internal use only
|
void |
copyTemplate(ReportSection reportSection)
For internal use only.
|
void |
copyTemplate(ReportSection reportSection,
boolean copyEmptySection) |
void |
copyTemplate(ReportSection reportSection,
boolean copyEmptySection,
boolean applyScript)
internal use only
|
void |
copyTemplate(ReportSection reportSection,
boolean copyEmptySection,
boolean applyScript,
java.util.Vector columns,
int[] fieldsCount,
boolean isCrossTabSummaryColToL,
boolean isAddCrossTabSubTotalColumn)
internal use only
|
void |
createFormulaObject(quadbase.reportdesigner.report.Report report)
internal use only
|
void |
createFormulaObjectFromName(quadbase.reportdesigner.report.Report report)
internal use only
|
void |
createReportTitle(java.lang.String text) |
void |
createScriptObject(java.util.Vector<Script> scripts)
internal use only
|
void |
createScriptObjectFromName(java.util.Vector<Script> scripts)
For internal use only.
|
static ReportSection |
createSection(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 ReportSection |
createSection(org.w3c.dom.Node node,
int version)
For internal use only.
|
boolean |
customIDExists(java.lang.String id) |
void |
deepCopy(ReportSection reportSection)
internal use only
Create an exact duplicate of a section.
|
void |
deleteSectionCell(ReportCell reportCell,
int[] tree)
deletes a cell to a specific section or sub section
|
void |
deleteSectionCell(ReportCell reportCell,
java.util.Vector<java.lang.Integer> key)
internal use only
|
void |
deleteSubReportColData() |
static ReportElement[] |
findElementsAbove(ReportElement t,
ReportSection relt)
internal use only
|
static ReportElement[] |
findElementstoLeft(ReportElement t,
ReportSection relt)
For internal use only.
|
static ReportElement[] |
findElementstoRight(ReportElement t,
ReportSection relt)
for internal use
|
int[] |
findImageIndex(double cx,
double cy,
java.util.Vector key)
internal use only
|
int[] |
findReportCellIndex(double cx,
double cy,
java.util.Vector key)
internal use only Returns the index of the cell that contains the coordinate point (cx, cy).
|
int[] |
findSectionCellIndex(double cx,
double cy,
java.util.Vector<java.lang.Integer> key)
internal use only
|
quadbase.reportdesigner.ReportElements.TableOfContents |
findTOC(double cx,
double cy)
internal use only
|
void |
formatSection()
For internal use only.
|
boolean |
formulaReferenced(Formula formula)
Whether the specified formula is referenced (used) in this section.
|
java.util.Vector<java.awt.Color> |
getAllColors(java.util.Vector<java.awt.Color> colors)
internal use only
|
int |
getCellCount()
Returns the number of cells within this Report Section.
|
java.util.Vector |
getCellForHTML()
For internal use only.
|
ReportCell[] |
getCells()
Gets all ReportCell objects contained in this ReportSection.
|
ReportCell[] |
getData()
Returns the cells within this Report Section.
|
ReportCell[] |
getData(boolean includeSubSections) |
ReportCell |
getData(int i)
Returns the cell at the specified index of this Report Section.
|
ReportCell |
getData(java.lang.String cellId)
Returns the cell with the given ID or customID of this Report Section.
|
ReportCell[] |
getDataIgnoreRepeatCells() |
ReportCell[] |
getDataIgnoreReportImages() |
ReportCell[] |
getDataNoGuideLine()
internal use only
|
ReportCell |
getFirstCBAggrColFooter(int level,
int colBkValIdx) |
ReportCell |
getFirstCBAggrColHeader(int level,
int colBkValIdx) |
ReportCell |
getFirstCBColumnFooter(int colBkValIdx) |
quadbase.reportdesigner.ReportElements.CBColumnHeader |
getFirstCBColumnHeader(int colBkValIdx) |
ReportCell |
getFirstRBColumnHeader(int level) |
static java.util.Vector<ReportElement> |
getFirstRowOfColumns(java.util.Vector<ReportElement> columns) |
static java.util.Vector<ReportElement> |
getFirstRowOfUnsortedColumns(java.util.Vector<ReportElement> columns) |
ReportCell |
getFormattedCell(ReportCell old,
int[] tree)
Gets a formatted cell
|
ReportCell |
getFormattedCell(ReportCell old,
java.util.Vector<java.lang.Integer> key)
internal use only
|
java.util.Hashtable |
getFormattedCells(int[] tree)
Gets a formatted cell
|
java.util.Hashtable<java.lang.Integer,ReportCell> |
getFormattedCells(java.util.Vector<java.lang.Integer> key)
internal use only
|
int |
getFormattedCellsCount()
internal use only
|
java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.util.Hashtable<java.lang.Integer,ReportCell>> |
getFormattedCellsTable()
Returns the preview editing table.
|
double |
getHeight()
Returns the height of this ReportSection.
|
double |
getHeight(java.util.Vector<java.lang.Integer> key)
internal use only
|
double |
getHeightOfSection(int[] tree)
Gets the height of the section specified by a tree.
|
java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.lang.Double> |
getHeightTable()
internal use only
|
int |
getHeightTableCount()
internal use only
|
double |
getMinHeight()
internal use only
|
double |
getMinWidth()
internal use only
|
ReportSection |
getParentSection()
gets this section's parent section.
|
ReportChartObject[] |
getReportChartObjects()
Return an array of ReportChartObjects in this section including it's subsections
|
ReportChartObject[] |
getReportChartObjects(boolean includeSubSections)
Return an array of ReportChartObjects in this section
|
ReportImage[] |
getReportImages()
Return an array of ReportImages in this section including it's subsections
|
ReportImage[] |
getReportImages(boolean includeSubSections)
Return an array of ReportImages in this section
|
ReportSection |
getSection(int index)
Gets the section based on the specified index.
|
ReportCell |
getSectionCell(int i,
java.util.Vector<java.lang.Integer> key)
internal use only
|
java.util.Vector<ReportCell> |
getSectionCells(int[] tree)
internal use only
|
java.util.Vector<ReportCell> |
getSectionCells(java.util.Vector<java.lang.Integer> key)
internal use only
|
int |
getSectionCellsCount()
internal use only
|
java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.util.Vector<ReportCell>> |
getSectionCellsTable()
internal use only
|
int |
getSectionCount()
How many sub sections exist
|
int |
getSectionIndex(ReportSection section)
Gets the index for the specified section.
|
ReportCell |
getSectionStyle()
internal use only
|
java.lang.String[] |
getSecuredScripts()
For internal use only.
|
java.lang.String[] |
getSecurityLevels()
Get all security level names in this section.
|
java.util.Vector |
getSubReportForHTML()
For internal use only.
|
SubReportObject[] |
getSubReports()
For internal use only.
|
SubReportObject[] |
getSubReports(boolean includeSubSections)
internal use only
|
java.util.Vector |
getTextCellForHTML()
For internal use only.
|
java.util.Vector |
getTextCellForHTML(boolean reverseOrder) |
ReportCell[] |
getTextCells()
Gets ReportCell objects that are text cells (not an ReportImage)
|
quadbase.reportdesigner.ReportElements.TableOfContents |
getTOC()
internal use only
|
double |
getWidth()
Returns the width of this ReportSection.
|
boolean |
hasCell(ReportCell cell)
Whether the specified cell is contained in this ReportSection
|
boolean |
hasExtendVertLineOrGrid()
internal use only
|
boolean |
hasFormattedCell(int[] tree)
whether a formatted cell exists at the specified tree index
|
boolean |
hasFormattedCell(ReportCell old,
int[] tree)
internal use only
|
boolean |
hasFormattedCell(ReportCell old,
java.util.Vector<java.lang.Integer> key)
internal use only
|
boolean |
hasFormattedCell(java.util.Vector<java.lang.Integer> key)
internal use only
|
boolean |
hasNoDrawableData()
internal use only
|
boolean |
hasNoDrawableData(java.util.Vector key)
internal use only
|
boolean |
hasSectionCell(ReportCell cell,
int[] tree)
internal use only
|
boolean |
hasSectionCell(ReportCell cell,
java.util.Vector<java.lang.Integer> key)
internal use only
|
boolean |
hasSectionCells(int[] tree)
internal use only
|
boolean |
hasSectionCells(java.util.Vector<java.lang.Integer> key)
internal use only
|
boolean |
hasSectionStyle()
internal use only
|
boolean |
hasThisFormattedCell(ReportCell cell,
java.util.Vector<java.lang.Integer> key)
internal use only
|
int |
indexOf(ReportCell reportcell)
Returns the index of the ReportCell object within this ReportSection.
|
ReportSection |
insertSection(int index)
Insert a new section after the specific section.
|
boolean |
isCrossTabFixedFieldHeader() |
boolean |
isNewExcelSheet()
Whether to create a new excel sheet
|
boolean |
isRepeatOnEveryPage()
Show status if section header is repeated, when the section is cut off and continued on the
next page.
|
boolean |
isResetPageNumber()
Show the status if the page number is reset
|
boolean |
isSectionStyle(ReportCell cell) |
void |
loadStyle(quadbase.reportdesigner.report.Report report,
ReportSection _section)
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)
internal use only
|
void |
readSTL(java.io.DataInput in,
int version) |
void |
readXML(org.w3c.dom.Node node,
int version)
For internal use only.
|
void |
removeData(int i)
Removes the ReportCell object at the specified index within this ReportSection.
|
void |
removeData(ReportCell reportcell)
Removes the specified ReportCell object within this ReportSection.
|
void |
removeScriptReferenced(Script script)
internal use only.
|
boolean |
removeScriptReferenced(Script script,
boolean checkThisSectionOnly) |
void |
removeSection(int index)
removes a section at the specified index.
|
void |
removeSection(ReportSection section)
removes the specified section.
|
void |
removeSubReportWithFileName(java.lang.String filename)
For internal use only.
|
void |
renameSecurityLevel(java.lang.String oldName,
java.lang.String newName)
internal use only
|
void |
renameSubReportFileNames(java.lang.String[] oldFileNames,
java.lang.String[] newFileNames)
Update filenames of all SubReportObject objects.
|
void |
replaceCell(ReportCell newCell,
ReportCell oldCell,
int[] tree)
replaces a formatted cell (preview editing) to the section.
|
static void |
repositionCells(ReportSection orgSec,
ReportSection sec,
java.util.Vector cols,
int[] fieldsCount,
boolean repositionNestLevelOnly,
boolean isCTSummaryColumnToL,
boolean isAddCrossTabSubTotalColumn) |
static void |
repositionCells(ReportSection orgSec,
ReportSection sec,
java.util.Vector columns,
int[] fieldsCount,
boolean repositionNestLevelOnly,
boolean isCTSummaryColumnToL,
boolean isAddCrossTabSubTotalColumn,
java.util.Vector orgCellRows,
java.util.Vector cellRows,
int orgCellRowsID,
int cellRowsID) |
void |
resize(double xratio,
double yratio)
resizes the section according to the specified x and y ratios
|
void |
resizeForCrossTabFixedField(java.util.Vector resizeItems,
double ratioW,
double ratioH,
double startXD,
double startYD)
internal use only
|
static void |
resizeHorizontallyAndShift(ReportElement t,
ReportSection relt,
double heightChange)
internal use only
|
static void |
resizeVerticallyAndShift(ReportElement t,
ReportSection relt,
double heightChange)
internal use only
|
boolean |
sameSection(ReportElement _sec,
boolean includeSubSections) |
boolean |
scriptReferenced(Script script)
Whether the specified script is referenced (used) in this section.
|
boolean |
scriptReferenced(Script script,
boolean checkThisSectionOnly)
Whether the specified script is referenced (used) in this section.
|
boolean |
securityScriptReferenced(Script script)
Whether the specified script is referenced (used) in this section.
|
boolean |
securityScriptReferenced(Script script,
boolean checkThisSectionOnly)
Whether the specified script is referenced (used) in this section.
|
void |
setBorder(int border)
Deprecated.
|
void |
setBorderColor(java.awt.Color color)
Sets the color of the border.
|
void |
setBorderThickness(int border)
Sets the thickness of the border 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 |
setData(ReportCell[] areportcell)
Re-sets the data object used by this ReportSection.
|
void |
setData(ReportCell reportcell,
int i)
Re-sets the ReportCell object at the specified index within this ReportSection.
|
void |
setDataForDeepCopy(ReportCell[] reportCell)
internal use only
|
void |
setFitGroupOnPage(quadbase.reportdesigner.report.Report report,
boolean b)
FitGroupOnPage is a property of each group.
|
void |
setFormattedCellsTable(java.util.Hashtable cellArray)
Sets the preview editing table.
|
void |
setGridLineLink(IReport report)
internal use only
|
void |
setHeight(double h)
Specifies the height of this ReportSection.
|
void |
setHeightOfSection(double height,
int[] tree)
internal use only
|
void |
setHeightTable(java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.lang.Double> table)
internal use only
|
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)
Set the id of this element
|
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 |
setNewExcelSheet(boolean state)
Specify if the a new excel sheet will be created based on the value change
|
void |
setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable,
java.util.Vector subReports) |
void |
setRepeatOnEveryPage(boolean state)
Specify if section header is repeated, when the section is cut off and continued on the next
page.
|
void |
setReportObjectForSubReports(java.lang.String filename,
ISubReport rptobject)
For internal use only.
|
void |
setResetPageNumber(boolean state)
Specify if the page number is ought to be reset from this Group header If is set to reset
page number, set print on new page to be true
|
void |
setSectionStyle(ReportCell cell)
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 |
setWidth(double w)
Specifies the width of this ReportSection.
|
void |
shift(ReportElement elt,
boolean isHorizontal,
double change)
internal use only shift after resizing one ReportElement
|
void |
shiftObjectsOnMove(ReportElement elt,
boolean isHorizontal,
double change)
internal use only
|
void |
shiftOnMove(ReportElement elt,
boolean isHorizontal,
double change)
internal use only
|
ReportCell[] |
sortCell(int order,
boolean isAsc)
Sorts the cells,
|
ReportCell[] |
sortCell(int order,
boolean isAsc,
java.util.Vector<java.lang.Integer> key)
internal use only
|
int |
update(ReportCell reportcell)
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)
internal use only
|
void |
writeSTL(java.io.DataOutput out) |
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, 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, 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, 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
public static final java.lang.String XMLTAG
public ReportSection()
public ReportSection(java.lang.String sectionID)
public ReportSection(java.lang.String sectionID, java.lang.String text)
public ReportSection(quadbase.reportdesigner.ReportElements.ReportTableElement reporttableelement)
public ReportSection(ReportCell[] areportcell)
public ReportCell[] getCells()
public boolean hasCell(ReportCell cell)
public ReportImage[] getReportImages()
public ReportImage[] getReportImages(boolean includeSubSections)
whether
- to include the subsectionspublic ReportChartObject[] getReportChartObjects()
public ReportChartObject[] getReportChartObjects(boolean includeSubSections)
whether
- to include it's subsectionspublic ReportCell[] getTextCells()
public void addData(ReportCell reportcell)
public void addSectionCell(ReportCell reportcell, int[] tree)
reportcell
- the cell to addtree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public void addSectionCell(ReportCell reportcell, java.util.Vector<java.lang.Integer> key)
public void deleteSectionCell(ReportCell reportCell, int[] tree)
reportcell
- the cell to addtree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public void deleteSectionCell(ReportCell reportCell, java.util.Vector<java.lang.Integer> key)
public boolean hasSectionCells(int[] tree)
public boolean hasSectionCells(java.util.Vector<java.lang.Integer> key)
public boolean hasSectionCell(ReportCell cell, int[] tree)
public boolean hasSectionCell(ReportCell cell, java.util.Vector<java.lang.Integer> key)
public java.util.Vector<ReportCell> getSectionCells(int[] tree)
public java.util.Vector<ReportCell> getSectionCells(java.util.Vector<java.lang.Integer> key)
public java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.util.Vector<ReportCell>> getSectionCellsTable()
public int getSectionCellsCount()
public void setHeightOfSection(double height, int[] tree)
public void addToHeightTable(double height, java.util.Vector<java.lang.Integer> key)
public double getHeightOfSection(int[] tree)
tree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public double getHeight(java.util.Vector<java.lang.Integer> key)
public java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.lang.Double> getHeightTable()
public void setHeightTable(java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.lang.Double> table)
public int getHeightTableCount()
public void addFormattedCell(ReportCell newCell, ReportCell oldCell, java.util.Vector<java.lang.Integer> key)
public boolean hasFormattedCell(java.util.Vector<java.lang.Integer> key)
public boolean hasFormattedCell(ReportCell old, java.util.Vector<java.lang.Integer> key)
public boolean hasThisFormattedCell(ReportCell cell, java.util.Vector<java.lang.Integer> key)
public ReportCell getFormattedCell(ReportCell old, java.util.Vector<java.lang.Integer> key)
public java.util.Hashtable<java.lang.Integer,ReportCell> getFormattedCells(java.util.Vector<java.lang.Integer> key)
public void replaceCell(ReportCell newCell, ReportCell oldCell, int[] tree)
newCell
- the cell to addoldCell
- , the old cell to replacekey
- the tree structure in Vector form, the tree structure is as follows: int[] tree,
it is the index that specifies the section or sub section to add the tree. For
example, tree = {1, 2} would specify the second table of the first row break, and
third table of the second row break. While tree = {2, 3, 1} would specify the
third table of the first row break, and fourth table of the second row break, and
the second table of the third row break.public boolean hasFormattedCell(int[] tree)
tree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public boolean hasFormattedCell(ReportCell old, int[] tree)
public ReportCell getFormattedCell(ReportCell old, int[] tree)
old
- the cell to gettree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public java.util.Hashtable getFormattedCells(int[] tree)
tree
- the index that specifies the section or sub section to add the tree. For example,
tree = {1, 2} would specify the second table of the first row break, and third
table of the second row break. While tree = {2, 3, 1} would specify the third
table of the first row break, and fourth table of the second row break, and the
second table of the third row break.public java.util.Hashtable<java.util.Vector<java.lang.Integer>,java.util.Hashtable<java.lang.Integer,ReportCell>> getFormattedCellsTable()
public void setFormattedCellsTable(java.util.Hashtable cellArray)
public int getFormattedCellsCount()
public void copy(ReportSection reportSection)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript, boolean keepElt)
public static java.util.Vector<ReportElement> getFirstRowOfColumns(java.util.Vector<ReportElement> columns)
public static java.util.Vector<ReportElement> getFirstRowOfUnsortedColumns(java.util.Vector<ReportElement> columns)
public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, java.util.Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript, boolean keepElt, int[] fieldsCount, boolean isCrossTabSubTotalColumnPositionLeft, boolean isAddCrossTabSubTotalColumn, ReportSection parentHeader, java.util.Vector newColumns)
public void copyExtraCells(ReportSection reportSection)
public void applyStyleForFixedFieldSection(ReportSection _section)
public void calcRBColumnHeaderWidth(quadbase.reportdesigner.ReportElements.RBColumnHeader colHeader, java.util.Vector newColumns, int[] fieldsCount, boolean isCrossTabSubTotalColumnPositionLeft, boolean isAddCrossTabSubTotalColumn, int rbIdx)
public void deepCopy(ReportSection reportSection)
public void copyTemplate(ReportSection reportSection)
public void copyTemplate(ReportSection reportSection, boolean copyEmptySection)
public void copyTemplate(ReportSection reportSection, boolean copyEmptySection, boolean applyScript)
public void copyTemplate(ReportSection reportSection, boolean copyEmptySection, boolean applyScript, java.util.Vector columns, int[] fieldsCount, boolean isCrossTabSummaryColToL, boolean isAddCrossTabSubTotalColumn)
@Deprecated public void applyTemplate(ReportSection reportSection)
public java.util.Vector getCellForHTML()
public java.util.Vector getTextCellForHTML()
public java.util.Vector getTextCellForHTML(boolean reverseOrder)
public java.util.Vector getSubReportForHTML()
public int getCellCount()
public boolean hasNoDrawableData()
public boolean hasNoDrawableData(java.util.Vector key)
public ReportCell[] getData()
public ReportCell[] getData(boolean includeSubSections)
public boolean sameSection(ReportElement _sec, boolean includeSubSections)
public ReportCell[] getDataNoGuideLine()
public ReportCell getData(int i)
public ReportCell[] getDataIgnoreRepeatCells()
public ReportCell[] getDataIgnoreReportImages()
public quadbase.reportdesigner.ReportElements.CBColumnHeader getFirstCBColumnHeader(int colBkValIdx)
public ReportCell getFirstCBColumnFooter(int colBkValIdx)
public ReportCell getFirstCBAggrColHeader(int level, int colBkValIdx)
public ReportCell getFirstRBColumnHeader(int level)
public ReportCell getFirstCBAggrColFooter(int level, int colBkValIdx)
public ReportCell getData(java.lang.String cellId)
public ReportCell getSectionCell(int i, java.util.Vector<java.lang.Integer> key)
public java.util.Vector<java.awt.Color> getAllColors(java.util.Vector<java.awt.Color> colors)
getAllColors
in class ReportElement
public 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)
public void setChartPath(java.lang.String path)
public void setImagePath(java.lang.String path)
public void setSubReportPath(java.lang.String path)
public int[] findSectionCellIndex(double cx, double cy, java.util.Vector<java.lang.Integer> key)
public quadbase.reportdesigner.ReportElements.TableOfContents findTOC(double cx, double cy)
public quadbase.reportdesigner.ReportElements.TableOfContents getTOC()
public int[] findImageIndex(double cx, double cy, java.util.Vector key)
public int[] findReportCellIndex(double cx, double cy, java.util.Vector key)
public int indexOf(ReportCell reportcell)
public int update(ReportCell reportcell)
public void removeData(int i)
public void removeData(ReportCell reportcell)
public void setData(ReportCell reportcell, int i)
public void setData(ReportCell[] areportcell)
public void setDataForDeepCopy(ReportCell[] reportCell)
public void setID(java.lang.String newID)
ReportElement
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 checkThisSectionOnly)
public boolean securityScriptReferenced(Script script)
securityScriptReferenced
in class ReportElement
public boolean securityScriptReferenced(Script script, boolean checkThisSectionOnly)
public void removeScriptReferenced(Script script)
ReportElement
removeScriptReferenced
in class ReportElement
public boolean removeScriptReferenced(Script script, boolean checkThisSectionOnly)
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 void setGridLineLink(IReport report)
public ReportCell[] sortCell(int order, boolean isAsc)
order
- use ReportElement.SORT_X, or ReportElement.SORT_Y.isAsc
- specifies if sorting in the ascending order.public ReportCell[] sortCell(int order, boolean isAsc, java.util.Vector<java.lang.Integer> key)
public double getMinHeight()
public double getMinWidth()
public void resize(double xratio, double yratio)
resize
in class ReportElement
public void formatSection()
public boolean isRepeatOnEveryPage()
public void setRepeatOnEveryPage(boolean state)
public boolean isResetPageNumber()
public void setResetPageNumber(boolean state)
public boolean isNewExcelSheet()
public void setNewExcelSheet(boolean state)
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 double getHeight()
getHeight
in class ReportElement
public double getWidth()
getWidth
in class ReportElement
public void setHeight(double h)
setHeight
in class ReportElement
h
- height of this elementpublic void setWidth(double w)
setWidth
in class ReportElement
w
- width of this elementpublic void setSectionStyle(ReportCell cell)
public ReportCell getSectionStyle()
public boolean hasSectionStyle()
public boolean isSectionStyle(ReportCell cell)
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 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 writeXML(java.io.Writer out, boolean writeElementTag) throws java.io.IOException
writeXML
in class quadbase.reportdesigner.ReportElements.ReportTableElement
java.io.IOException
public static ReportSection createSection(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 ReportSection createSection(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 ReportCell[] cellsNoGL()
public ReportCell[] cellsNoGLWithSecuredMode()
public void shift(ReportElement elt, boolean isHorizontal, double change)
public void shiftOnMove(ReportElement elt, boolean isHorizontal, double change)
public void resizeForCrossTabFixedField(java.util.Vector resizeItems, double ratioW, double ratioH, double startXD, double startYD)
public void shiftObjectsOnMove(ReportElement elt, boolean isHorizontal, double change)
public static ReportElement[] findElementstoRight(ReportElement t, ReportSection relt)
public static ReportElement[] findElementstoLeft(ReportElement t, ReportSection relt)
public static ReportElement[] findElementsAbove(ReportElement t, ReportSection relt)
public static void resizeHorizontallyAndShift(ReportElement t, ReportSection relt, double heightChange)
public static void resizeVerticallyAndShift(ReportElement t, ReportSection relt, double heightChange)
public void copyImage(ReportSection rs)
public void removeSubReportWithFileName(java.lang.String filename)
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 SubReportObject[] getSubReports()
public boolean containsSubReport(SubReportObject robj)
public SubReportObject[] getSubReports(boolean includeSubSections)
public int getSectionCount()
public ReportSection addSection()
public ReportSection insertSection(int index) throws java.lang.Exception
java.lang.Exception
public int getSectionIndex(ReportSection section)
public ReportSection getSection(int index) throws java.lang.Exception
java.lang.Exception
public void removeSection(int index) throws java.lang.Exception
java.lang.Exception
public void removeSection(ReportSection section)
public ReportSection getParentSection()
public void adjustHeaderFormulas(int count, java.util.Vector columns, quadbase.reportdesigner.report.Report report, ReportCell globalFormatTemplate, boolean addExtra)
public void adjustFooterFormulas(int count, java.util.Vector columns, quadbase.reportdesigner.report.Report report, ReportCell[] formats, boolean addExtra)
public static void repositionCells(ReportSection orgSec, ReportSection sec, java.util.Vector cols, int[] fieldsCount, boolean repositionNestLevelOnly, boolean isCTSummaryColumnToL, boolean isAddCrossTabSubTotalColumn)
public static void repositionCells(ReportSection orgSec, ReportSection sec, java.util.Vector columns, int[] fieldsCount, boolean repositionNestLevelOnly, boolean isCTSummaryColumnToL, boolean isAddCrossTabSubTotalColumn, java.util.Vector orgCellRows, java.util.Vector cellRows, int orgCellRowsID, int cellRowsID)
public boolean isCrossTabFixedFieldHeader()
public void setSnapToGrid(boolean snapToGrid, boolean metric, double stepSize)
setSnapToGrid
in class ReportElement
public void setSnapToGrid(boolean snapToGrid, double stepSize, double cmStepSize)
setSnapToGrid
in class ReportElement
public void copyAllGuideLineElts(quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.Report _report, ReportSection section)
public boolean containsSection(ReportSection sec)
public void setFitGroupOnPage(quadbase.reportdesigner.report.Report report, boolean b)
report
- : the main report objectb
- : fitGroupOnPage: true or falsepublic void renameSecurityLevel(java.lang.String oldName, java.lang.String newName)
renameSecurityLevel
in class ReportElement
public void setLocale(java.util.Locale l)
public void setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable, java.util.Vector subReports)
public void loadStyle(quadbase.reportdesigner.report.Report report, ReportSection _section)
public void applyStyle(java.util.Vector setting, ReportSection section)
public void applyStyleForDHTMLViewer(ReportSection section)
public void applyStyle(ReportSection section)
public void createReportTitle(java.lang.String text)
public boolean hasExtendVertLineOrGrid()
public void deleteSubReportColData()