Class StiMatrix

java.lang.Object
com.stimulsoft.report.export.tools.StiMatrix

public class StiMatrix extends Object
Matrix objec. Copyright Stimulsoft
  • Field Details

    • htmlScaleX

      public static final double htmlScaleX
      See Also:
    • htmlScaleY

      public static final double htmlScaleY
      See Also:
    • DataArrayLength

      public int DataArrayLength
    • interactions

      public int[][][] interactions
  • Constructor Details

  • Method Details

    • prepareTable

      public void prepareTable()
      Prepare table
    • getRange

      public StiRectangle getRange(StiRectangle rect)
      Get range by StiRectangle
      Parameters:
      rect -
      Returns:
      Range
    • getStyleFromComponent

      public StiCellStyle getStyleFromComponent(StiComponent component, int x, int y)
      Parameters:
      component - StiComponent
      x -
      y -
      Returns:
      StiCellStyle
    • isComponentHasInteraction

      public boolean isComponentHasInteraction(StiComponent component)
    • scanComponentsPlacement

      public void scanComponentsPlacement(boolean optimize)
      Scan component placement
      Parameters:
      optimize -
    • scanComponentsPlacement

      public void scanComponentsPlacement(boolean optimize, boolean exportObjectFormatting)
      Scan component placement
      Parameters:
      optimize -
      exportObjectFormatting -
    • splitTag

      public static String[] splitTag(String inputString)
      Split tag
      Parameters:
      inputString -
      Returns:
      Stplitted strings
    • getStringsFromTag

      public static String[] getStringsFromTag(String tag, int startPosition)
      Get string from tag
      Parameters:
      tag -
      startPosition -
      Returns:
      Strings
    • prepareDocument

      public void prepareDocument(StiExportService service, StiDataExportMode mode)
      Prepare document
      Parameters:
      service - StiExportService
      mode - StiDataExportMode
    • checkStylesNames

      public void checkStylesNames()
      Check style names
    • getRealImageData

      public BufferedImage getRealImageData(StiCell cell, BufferedImage baseImage)
      Get real BufferedImage
      Parameters:
      cell - StiCell
      baseImage - BufferedImage
      Returns:
      Result BufferedImage
    • clear

      public void clear()
      Clear matrix
    • getImagesBaseRect

      public Hashtable<StiComponent,StiRectangle> getImagesBaseRect()
      Returns:
      the imagesBaseRect
    • getStyles

      public ArrayList<StiCellStyle> getStyles()
      Returns:
      the styles
    • setStyles

      public void setStyles(ArrayList<StiCellStyle> styles)
      Parameters:
      styles - the styles to set
    • getTotalHeight

      public double getTotalHeight()
      Returns:
      the totalHeight
    • setTotalHeight

      public void setTotalHeight(double totalHeight)
      Parameters:
      totalHeight - the totalHeight to set
    • getTotalWidth

      public double getTotalWidth()
      Returns:
      the totalWidth
    • setTotalWidth

      public void setTotalWidth(double totalWidth)
      Parameters:
      totalWidth - the totalWidth to set
    • getCoordX

      public SortedMap<Double,Double> getCoordX()
      Returns:
      the coordX
    • setCoordX

      public void setCoordX(SortedMap<Double,Double> coordX)
      Parameters:
      coordX - the coordX to set
    • getCoordY

      public SortedMap<Double,Double> getCoordY()
      Returns:
      the coordY
    • setCoordY

      public void setCoordY(SortedMap<Double,Double> coordY)
      Parameters:
      coordY - the coordY to set
    • getCells

      public StiCell[][] getCells()
      Returns:
      the cells
    • getCellStyles

      public StiCellStyle[][] getCellStyles()
      Returns:
      the cellStyles
    • getBookmarks

      public String[][] getBookmarks()
      Returns:
      the bookmarks
    • getBordersX

      public StiBorderSide[][] getBordersX()
      Returns:
      the bordersX
    • getBordersY

      public StiBorderSide[][] getBordersY()
      Returns:
      the bordersY
    • getHorizontalPageBreaks

      public ArrayList<Integer> getHorizontalPageBreaks()
      Returns:
      the horizontalPageBreaks
    • getLinePlacement

      public StiMatrix.StiTableLineInfo[] getLinePlacement()
      Returns:
      the linePlacement
    • getParentBandName

      public String[] getParentBandName()
      Returns:
      the parentBandName
    • getFields

      public StiMatrix.DataField[] getFields()
      Returns:
      the fields
    • getBorderSides

      public List<StiBorderSide> getBorderSides()
      Returns:
      the borderSides