Class ReportSection

java.lang.Object
quadbase.reportdesigner.ReportElements.ReportElement
quadbase.reportdesigner.ReportElements.ReportTableElement
quadbase.reportdesigner.ReportElements.ReportSection
All Implemented Interfaces:
Serializable

public class ReportSection extends quadbase.reportdesigner.ReportElements.ReportTableElement
This class can be used to modify the look invalid input: '&' feel, as well as the contents of the header, and footer.
See Also:
  • Field Details

  • Constructor Details

    • ReportSection

      public ReportSection()
      internal use only Constructs a ReportSection with no border, background color, or data.
    • ReportSection

      public ReportSection(String sectionID)
      internal use only
    • ReportSection

      public ReportSection(String sectionID, String text)
      internal use only
    • ReportSection

      public ReportSection(quadbase.reportdesigner.ReportElements.ReportTableElement reporttableelement)
      internal use only Constructs a ReportSection from a ReportTableElement object.
    • ReportSection

      public ReportSection(ReportCell[] areportcell)
      internal use only Constructs a ReportSection from a ReportCell object.
  • Method Details

    • getCells

      public ReportCell[] getCells()
      Gets all ReportCell objects contained in this ReportSection.
    • hasCell

      public boolean hasCell(ReportCell cell)
      Whether the specified cell is contained in this ReportSection
    • getReportImages

      public ReportImage[] getReportImages()
      Return an array of ReportImages in this section including it's subsections
    • getReportImages

      public ReportImage[] getReportImages(boolean includeSubSections)
      Return an array of ReportImages in this section to include the subsections
    • getReportChartObjects

      public ReportChartObject[] getReportChartObjects()
      Return an array of ReportChartObjects in this section including it's subsections
    • getReportChartObjects

      public ReportChartObject[] getReportChartObjects(boolean includeSubSections)
      Return an array of ReportChartObjects in this section to include it's subsections
    • getTextCells

      public ReportCell[] getTextCells()
      Gets ReportCell objects that are text cells (not an ReportImage)
    • addData

      public void addData(ReportCell reportcell)
      Adds an object--text, formula, chart, or static image--to this ReportSection.
    • addSectionCell

      public void addSectionCell(ReportCell reportcell, int[] tree)
      adds a cell to a specific section or sub section
      Parameters:
      reportcell - the cell to add
      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.
    • addSectionCell

      public void addSectionCell(ReportCell reportcell, Vector<Integer> key)
      internal use only
    • deleteSectionCell

      public void deleteSectionCell(ReportCell reportCell, int[] tree)
      deletes a cell to a specific section or sub section
      Parameters:
      reportCell - the cell to add
      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.
    • deleteSectionCell

      public void deleteSectionCell(ReportCell reportCell, Vector<Integer> key)
      internal use only
    • hasSectionCells

      public boolean hasSectionCells(int[] tree)
      internal use only
    • hasSectionCells

      public boolean hasSectionCells(Vector<Integer> key)
      internal use only
    • hasSectionCell

      public boolean hasSectionCell(ReportCell cell, int[] tree)
      internal use only
    • hasSectionCell

      public boolean hasSectionCell(ReportCell cell, Vector<Integer> key)
      internal use only
    • getSectionCells

      public Vector<ReportCell> getSectionCells(int[] tree)
      internal use only
    • getSectionCells

      public Vector<ReportCell> getSectionCells(Vector<Integer> key)
      internal use only
    • getSectionCellsTable

      public Hashtable<Vector<Integer>,Vector<ReportCell>> getSectionCellsTable()
      internal use only
    • getSectionCellsCount

      public int getSectionCellsCount()
      internal use only
    • setHeightOfSection

      public void setHeightOfSection(double height, int[] tree)
      internal use only
    • addToHeightTable

      public void addToHeightTable(double height, Vector<Integer> key)
      internal use only
    • getHeightOfSection

      public double getHeightOfSection(int[] tree)
      Gets the height of the section specified by a tree.
      Parameters:
      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.
    • getHeight

      public double getHeight(Vector<Integer> key)
      internal use only
    • getHeightTable

      public Hashtable<Vector<Integer>,Double> getHeightTable()
      internal use only
    • setHeightTable

      public void setHeightTable(Hashtable<Vector<Integer>,Double> table)
      internal use only
    • getHeightTableCount

      public int getHeightTableCount()
      internal use only
    • addFormattedCell

      public void addFormattedCell(ReportCell newCell, ReportCell oldCell, Vector<Integer> key)
      internal use only
    • hasFormattedCell

      public boolean hasFormattedCell(Vector<Integer> key)
      internal use only
    • hasFormattedCell

      public boolean hasFormattedCell(ReportCell old, Vector<Integer> key)
      internal use only
    • hasThisFormattedCell

      public boolean hasThisFormattedCell(ReportCell cell, Vector<Integer> key)
      internal use only
    • getFormattedCell

      public ReportCell getFormattedCell(ReportCell old, Vector<Integer> key)
      internal use only
    • getFormattedCells

      public Hashtable<Integer,ReportCell> getFormattedCells(Vector<Integer> key)
      internal use only
    • replaceCell

      public void replaceCell(ReportCell newCell, ReportCell oldCell, int[] tree)
      replaces a formatted cell (preview editing) to the section.
      Parameters:
      newCell - the cell to add
      oldCell - , the old cell to replace 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.
    • hasFormattedCell

      public boolean hasFormattedCell(int[] tree)
      whether a formatted cell exists at the specified tree index
      Parameters:
      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.
    • hasFormattedCell

      public boolean hasFormattedCell(ReportCell old, int[] tree)
      internal use only
    • getFormattedCell

      public ReportCell getFormattedCell(ReportCell old, int[] tree)
      Gets a formatted cell
      Parameters:
      old - the cell to get
      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.
    • getFormattedCells

      public Hashtable getFormattedCells(int[] tree)
      Gets a formatted cell
      Parameters:
      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.
    • getFormattedCellsTable

      public Hashtable<Vector<Integer>,Hashtable<Integer,ReportCell>> getFormattedCellsTable()
      Returns the preview editing table.
    • setFormattedCellsTable

      public void setFormattedCellsTable(Hashtable cellArray)
      Sets the preview editing table. Pass in null to disable all preview editing for this ReportSection.
    • getFormattedCellsCount

      public int getFormattedCellsCount()
      internal use only
    • superCopy

      public void superCopy(ReportSection reportSection)
    • copy

      public void copy(ReportSection reportSection)
      internal use only This method is only used by copyTemplate and in LoadReport when opening a report. To create an exact duplicate, use deepCopy instead.
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp)
      internal use only
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection)
      internal use only
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine)
      internal use only
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript)
      internal use only
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript, boolean keepElt)
      internal use only
    • getFirstRowOfColumns

      public static Vector<ReportElement> getFirstRowOfColumns(Vector<ReportElement> columns)
    • getFirstRowOfUnsortedColumns

      public static Vector<ReportElement> getFirstRowOfUnsortedColumns(Vector<ReportElement> columns)
    • copy

      public void copy(ReportSection reportSection, int columnOffset, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, boolean isApplyTemplateOp, boolean copyEmptySection, boolean copyGuideLine, boolean applyScript, boolean keepElt, int[] fieldsCount, ReportSection parentHeader, Vector newColumns)
      internal use only
    • deepCopy

      public void deepCopy(ReportSection reportSection)
      internal use only Create an exact duplicate of a section. Used in creating backup for an 'Undo' operation. Use this method instead of 'Copy'.
    • copyTemplate

      public void copyTemplate(ReportSection reportSection)
      For internal use only. Use for the 'Apply Template' operation. Copies cells from a section to this section. However, sub-reports are not copied.
    • copyTemplate

      public void copyTemplate(ReportSection reportSection, boolean copyEmptySection)
    • copyTemplate

      public void copyTemplate(ReportSection reportSection, boolean copyEmptySection, boolean applyScript)
      internal use only
    • copyTemplate

      public void copyTemplate(ReportSection reportSection, boolean copyEmptySection, boolean applyScript, Vector columns, int[] fieldsCount)
      internal use only
    • getOldSubReports

      protected Vector<ReportCell> getOldSubReports()
    • copyTemplates

      protected void copyTemplates(Vector<ReportCell> oldsubreports, Vector<ReportSection> oldSectionList)
    • applyTemplate

      @Deprecated public void applyTemplate(ReportSection reportSection)
      Deprecated.
      This method is not used. Use copyTemplate instead for applying another section.
      internal use only
    • getCellForHTML

      public Vector getCellForHTML()
      For internal use only.
    • getTextCellForHTML

      public Vector getTextCellForHTML()
      For internal use only.
    • getTextCellForHTML

      public Vector getTextCellForHTML(boolean reverseOrder)
    • getSubReportForHTML

      public Vector getSubReportForHTML()
      For internal use only.
    • getCellCount

      public int getCellCount()
      Returns the number of cells within this Report Section.
    • hasNoDrawableData

      public boolean hasNoDrawableData()
      internal use only
    • hasNoDrawableData

      public boolean hasNoDrawableData(Vector key)
      internal use only
    • getData

      public ReportCell[] getData()
      Returns the cells within this Report Section.
    • getData

      public ReportCell[] getData(boolean includeSubSections)
    • sameSection

      public boolean sameSection(ReportElement _sec, boolean includeSubSections)
    • getDataNoGuideLine

      public ReportCell[] getDataNoGuideLine()
      internal use only
    • getData

      public ReportCell getData(int i)
      Returns the cell at the specified index of this Report Section.
    • getDataIgnoreRepeatCells

      public ReportCell[] getDataIgnoreRepeatCells()
    • getDataIgnoreReportImages

      public ReportCell[] getDataIgnoreReportImages()
    • getFirstCBColumnHeader

      public quadbase.reportdesigner.ReportElements.CBColumnHeader getFirstCBColumnHeader(int colBkValIdx)
    • getFirstCBColumnFooter

      public ReportCell getFirstCBColumnFooter(int colBkValIdx)
    • getFirstCBAggrColHeader

      public ReportCell getFirstCBAggrColHeader(int level, int colBkValIdx)
    • getFirstRBColumnHeader

      public ReportCell getFirstRBColumnHeader(int level)
    • getFirstCBAggrColFooter

      public ReportCell getFirstCBAggrColFooter(int level, int colBkValIdx)
    • getData

      public ReportCell getData(String cellId)
      Returns the cell with the given ID or customID of this Report Section.
    • getSectionCell

      public ReportCell getSectionCell(int i, Vector<Integer> key)
      internal use only
    • getAllColors

      public Vector<Color> getAllColors(Vector<Color> colors)
      internal use only
      Overrides:
      getAllColors in class ReportElement
    • getSecurityLevels

      public String[] getSecurityLevels()
      Get all security level names in this section.
      Overrides:
      getSecurityLevels in class ReportElement
    • getSecuredScripts

      public String[] getSecuredScripts()
      For internal use only.
      Overrides:
      getSecuredScripts in class ReportElement
    • setSecurityLevelProperties

      public void setSecurityLevelProperties(String levelName, ReportElement level)
      For internal use only.
      Overrides:
      setSecurityLevelProperties in class ReportElement
    • setReportObjectForSubReports

      public void setReportObjectForSubReports(String filename, ISubReport rptobject)
      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

      public void updateSubReportFileName(String oldfilename, String newfilename)
      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

      public void setHTMLParameters(String dirLocation, String url, String fileName)
      changing all the chart path location for ReportChartObject.
    • setChartPath

      public void setChartPath(String path)
      changing all the chart path location for ReportChartObject.
    • setImagePath

      public void setImagePath(String path)
      changing all the image path location for ReportImage.
    • setSubReportPath

      public void setSubReportPath(String path)
      changing all the image path location for ReportImage.
    • findSectionCellIndex

      public int[] findSectionCellIndex(double cx, double cy, Vector<Integer> key)
      internal use only
    • findTOC

      public quadbase.reportdesigner.ReportElements.TableOfContents findTOC(double cx, double cy)
      internal use only
    • getTOC

      public quadbase.reportdesigner.ReportElements.TableOfContents getTOC()
      internal use only
    • findImageIndex

      public int[] findImageIndex(double cx, double cy, Vector key)
      internal use only
    • findReportCellIndex

      public int[] findReportCellIndex(double cx, double cy, Vector key)
      internal use only Returns the index of the cell that contains the coordinate point (cx, cy).
    • indexOf

      public int indexOf(ReportCell reportcell)
      Returns the index of the ReportCell object within this ReportSection.
    • update

      public int update(ReportCell reportcell)
      internal use only
    • removeData

      public void removeData(int i)
      Removes the ReportCell object at the specified index within this ReportSection.
    • removeData

      public void removeData(ReportCell reportcell)
      Removes the specified ReportCell object within this ReportSection.
    • setData

      public void setData(ReportCell reportcell, int i)
      Re-sets the ReportCell object at the specified index within this ReportSection.
    • setData

      public void setData(ReportCell[] areportcell)
      Re-sets the data object used by this ReportSection.
    • setDataForDeepCopy

      public void setDataForDeepCopy(ReportCell[] reportCell)
      internal use only
    • setID

      public void setID(String newID)
      Description copied from class: ReportElement
      Set the id of this element
      Overrides:
      setID in class ReportElement
      Parameters:
      newID - the value of new id
    • customIDExists

      public boolean customIDExists(String id)
    • containsZIndex

      public boolean containsZIndex()
      internal use only
    • formulaReferenced

      public boolean formulaReferenced(Formula formula)
      Whether the specified formula is referenced (used) in this section.
    • scriptReferenced

      public boolean scriptReferenced(Script script)
      Whether the specified script is referenced (used) in this section.
      Overrides:
      scriptReferenced in class ReportElement
    • scriptReferenced

      public boolean scriptReferenced(Script script, boolean checkThisSectionOnly)
      Whether the specified script is referenced (used) in this section.
    • securityScriptReferenced

      public boolean securityScriptReferenced(Script script)
      Whether the specified script is referenced (used) in this section.
      Overrides:
      securityScriptReferenced in class ReportElement
    • securityScriptReferenced

      public boolean securityScriptReferenced(Script script, boolean checkThisSectionOnly)
      Whether the specified script is referenced (used) in this section.
    • removeScriptReferenced

      public void removeScriptReferenced(Script script)
      Description copied from class: ReportElement
      internal use only. *
      Overrides:
      removeScriptReferenced in class ReportElement
    • removeScriptReferenced

      public boolean removeScriptReferenced(Script script, boolean checkThisSectionOnly)
    • 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

      public void createScriptObject(Vector<Script> scripts)
      internal use only
      Overrides:
      createScriptObject in class ReportElement
    • createScriptObjectFromName

      public void createScriptObjectFromName(Vector<Script> scripts)
      For internal use only.
      Overrides:
      createScriptObjectFromName in class quadbase.reportdesigner.ReportElements.ReportTableElement
    • setGridLineLink

      public void setGridLineLink(IReport report)
      internal use only
    • sortCell

      public ReportCell[] sortCell(int order, boolean isAsc)
      Sorts the cells,
      Parameters:
      order - use ReportElement.SORT_X, or ReportElement.SORT_Y.
      isAsc - specifies if sorting in the ascending order.
    • sortSection

      public void sortSection(int order, boolean isAsc)
    • sortCell

      public ReportCell[] sortCell(int order, boolean isAsc, Vector<Integer> key)
      internal use only
    • getMinHeight

      public double getMinHeight()
      internal use only
    • getMinWidth

      public double getMinWidth()
      internal use only
    • resize

      public void resize(double xratio, double yratio)
      resizes the section according to the specified x and y ratios
      Overrides:
      resize in class ReportElement
    • formatSection

      public void formatSection()
      For internal use only.
    • isRepeatOnEveryPage

      public boolean isRepeatOnEveryPage()
      Show status if section header is repeated, when the section is cut off and continued on the next page.
    • setRepeatOnEveryPage

      public void setRepeatOnEveryPage(boolean state)
      Specify if section header is repeated, when the section is cut off and continued on the next page.
    • isResetPageNumber

      public boolean isResetPageNumber()
      Show the status if the page number is reset
    • setResetPageNumber

      public 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
    • isNewExcelSheet

      public boolean isNewExcelSheet()
      Whether to create a new excel sheet
    • setNewExcelSheet

      public void setNewExcelSheet(boolean state)
      Specify if the a new excel sheet will be created based on the value change
    • setBorderThickness

      public void setBorderThickness(int border)
      Sets the thickness of the border in pixels.
      Overrides:
      setBorderThickness in class ReportElement
    • setBorder

      @Deprecated public void setBorder(int border)
      Deprecated.
      Overrides:
      setBorder in class ReportElement
    • setBorderColor

      public void setBorderColor(Color color)
      Sets the color of the border.
      Overrides:
      setBorderColor in class ReportElement
      Parameters:
      color - new border color of this element
    • getHeight

      public double getHeight()
      Returns the height of this ReportSection.
      Overrides:
      getHeight in class ReportElement
      Returns:
      height value of this element
    • getWidth

      public double getWidth()
      Returns the width of this ReportSection.
      Overrides:
      getWidth in class ReportElement
      Returns:
      width value of this element
    • setHeight

      public void setHeight(double h)
      Specifies the height of this ReportSection.
      Overrides:
      setHeight in class ReportElement
      Parameters:
      h - height of this element
    • setWidth

      public void setWidth(double w)
      Specifies the width of this ReportSection.
      Overrides:
      setWidth in class ReportElement
      Parameters:
      w - width of this element
    • setSectionStyle

      public void setSectionStyle(ReportCell cell)
      internal use only
    • getSectionStyle

      public ReportCell getSectionStyle()
      internal use only
    • hasSectionStyle

      public boolean hasSectionStyle()
      internal use only
    • isSectionStyle

      public boolean isSectionStyle(ReportCell cell)
    • write

      public void write(DataOutput out) throws IOException
      For internal use only.
      Overrides:
      write in class quadbase.reportdesigner.ReportElements.ReportTableElement
      Throws:
      IOException
    • write

      public void write(DataOutput out, boolean pack) throws IOException
      internal use only
      Throws:
      IOException
    • read

      public void read(DataInput in, int version) throws Exception
      For internal use only.
      Overrides:
      read in class quadbase.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
      internal use only
      Throws:
      Exception
    • writeXML

      public void writeXML(Writer out, boolean writeElementTag) throws IOException
      For internal use only.
      Overrides:
      writeXML in class quadbase.reportdesigner.ReportElements.ReportTableElement
      Throws:
      IOException
    • createSection

      public static ReportSection createSection(Node node, int version) throws Exception
      For internal use only.
      Throws:
      Exception
    • readXML

      public void readXML(Node node, int version) throws Exception
      For internal use only.
      Overrides:
      readXML in class quadbase.reportdesigner.ReportElements.ReportTableElement
      Throws:
      Exception
    • createSection

      public static ReportSection createSection(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

      public void writeSTL(DataOutput out) throws Exception
      Throws:
      Exception
    • readSTL

      public void readSTL(DataInput in, int version) throws Exception
      Throws:
      Exception
    • cellsNoGL

      public ReportCell[] cellsNoGL()
      internal use only
    • cellsNoGLWithSecuredMode

      public ReportCell[] cellsNoGLWithSecuredMode()
      internal use only
    • shift

      public void shift(ReportElement elt, boolean isHorizontal, double change)
      internal use only shift after resizing one ReportElement
    • shiftOnMove

      public void shiftOnMove(ReportElement elt, boolean isHorizontal, double change)
      internal use only
    • resizeForCrossTabFixedField

      public void resizeForCrossTabFixedField(Vector resizeItems, double ratioW, double ratioH, double startXD, double startYD)
      internal use only
    • shiftObjectsOnMove

      public void shiftObjectsOnMove(ReportElement elt, boolean isHorizontal, double change)
      internal use only
    • findElementstoRight

      public static ReportElement[] findElementstoRight(ReportElement t, ReportSection relt)
      for internal use
    • findElementstoLeft

      public static ReportElement[] findElementstoLeft(ReportElement t, ReportSection relt)
      For internal use only.
    • findElementsAbove

      public static ReportElement[] findElementsAbove(ReportElement t, ReportSection relt)
      internal use only
    • resizeHorizontallyAndShift

      public static void resizeHorizontallyAndShift(ReportElement t, ReportSection relt, double heightChange)
      internal use only
    • resizeVerticallyAndShift

      public static void resizeVerticallyAndShift(ReportElement t, ReportSection relt, double heightChange)
      internal use only
    • copyImage

      public void copyImage(ReportSection rs)
      for internal use only
    • removeSubReportWithFileName

      public void removeSubReportWithFileName(String filename)
      For internal use only. Remove any SubReportObject object with the same file name.
    • renameSubReportFileNames

      public void renameSubReportFileNames(String[] oldFileNames, String[] newFileNames)
      Update filenames of all SubReportObject objects. This is likely the result of a 'Save As' operation.
    • setSubReportParameterMap

      public void setSubReportParameterMap(String filename, String[] paramMap)
      For internal use only. Set SubReport parameter map with the same file name.
    • setChartParameterMap

      public void setChartParameterMap(String filename, String[] paramMap)
      For internal use only. Set chart parameter map with the same file name.
    • getSubReports

      public SubReportObject[] getSubReports()
      For internal use only.
    • containsSubReport

      public boolean containsSubReport(SubReportObject robj)
    • getSubReports

      public SubReportObject[] getSubReports(boolean includeSubSections)
      internal use only
    • getSectionCount

      public int getSectionCount()
      How many sub sections exist
    • addSection

      public ReportSection addSection()
      Add a new section in the beginning of the section list. The new section will be in position 0.
    • insertSection

      public ReportSection insertSection(int index) throws Exception
      Insert a new section after the specific section. Return the newly created section.
      Throws:
      Exception
    • getSectionIndex

      public int getSectionIndex(ReportSection section)
      Gets the index for the specified section.
    • getSection

      public ReportSection getSection(int index) throws Exception
      Gets the section based on the specified index.
      Throws:
      Exception
    • removeSection

      public void removeSection(int index) throws Exception
      removes a section at the specified index.
      Throws:
      Exception
    • removeSection

      public void removeSection(ReportSection section)
      removes the specified section.
    • getParentSection

      public ReportSection getParentSection()
      gets this section's parent section.
    • adjustHeaderFormulas

      public void adjustHeaderFormulas(int count, Vector columns, quadbase.reportdesigner.report.Report report, ReportCell globalFormatTemplate, boolean addExtra)
      For internal use only. Remove any extra headers if this report contains less columns than it originally has.
    • adjustFooterFormulas

      public void adjustFooterFormulas(int count, Vector columns, quadbase.reportdesigner.report.Report report, ReportCell[] formats, boolean addExtra)
      internal use only
    • adjustColumnIndex

      protected void adjustColumnIndex(int columnOffSet, int separatingIndex, Vector columns, ReportCell[] globalFormatTemplates, int newColSize)
      For internal use only. This method is only for CrossTab reports and only when there is a column count differnece during open or refresh. This method will modify any formulas containing the function 'COL(N)' to reflect column changes. The column index for those formula will change to N + columnOffSet and the X position will change accordingly to the columns.
    • isCrossTabFixedFieldHeader

      public boolean isCrossTabFixedFieldHeader()
    • setSnapToGrid

      public void setSnapToGrid(boolean snapToGrid, boolean metric, double stepSize)
      internal use only
      Overrides:
      setSnapToGrid in class ReportElement
    • setSnapToGrid

      public void setSnapToGrid(boolean snapToGrid, double stepSize, double cmStepSize)
      internal use only
      Overrides:
      setSnapToGrid in class ReportElement
    • copyAllGuideLineElts

      public void copyAllGuideLineElts(quadbase.reportdesigner.report.Report report, quadbase.reportdesigner.report.Report _report, ReportSection section)
      internal use only
    • containsSection

      public boolean containsSection(ReportSection sec)
      whether this section contains the specified section.
    • setFitGroupOnPage

      public void setFitGroupOnPage(quadbase.reportdesigner.report.Report report, boolean b)
      FitGroupOnPage is a property of each group. When set to true, the whole group will be printed on the same page. If there is not enough space to print the whole group on the current page, start on the next page. In other words, the group won't break up.
      Parameters:
      report - : the main report object
      b - : fitGroupOnPage: true or false
    • renameSecurityLevel

      public void renameSecurityLevel(String oldName, String newName)
      internal use only
      Overrides:
      renameSecurityLevel in class ReportElement
    • setLocale

      public void setLocale(Locale l)
      For internal use only
    • setPackedSubReportByteArray

      public void setPackedSubReportByteArray(quadbase.common.util.internal.FileInMemTable subFilesTable, Vector subReports)
    • loadStyle

      public void loadStyle(quadbase.reportdesigner.report.Report report, ReportSection _section)
      for internal use only
    • applyStyle

      public void applyStyle(Vector setting, ReportSection section)
    • applyStyleForDHTMLViewer

      public void applyStyleForDHTMLViewer(ReportSection section)
    • applyStyle

      public void applyStyle(ReportSection section)
    • createReportTitle

      public void createReportTitle(String text)
    • hasExtendVertLineOrGrid

      public boolean hasExtendVertLineOrGrid()
      internal use only
    • deleteSubReportColData

      public void deleteSubReportColData()