Class StiMatrix
java.lang.Object
com.stimulsoft.report.export.tools.StiMatrix
Matrix objec.
Copyright Stimulsoft
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAccessory object DataFieldstatic enumTable line info Copyright Stimulsoft -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final doublestatic final doubleint[][][] -
Constructor Summary
ConstructorsConstructorDescriptionStiMatrix(StiPagesCollection pages, boolean checkForExcel, StiExportService service) StiMatrix(StiPagesCollection pages, boolean checkForExcel, StiExportService service, ArrayList<StiCellStyle> styles) StiMatrix(StiPagesCollection pages, StiExportService service) StiMatrix(StiPagesCollection pages, StiExportService service, ArrayList<StiCellStyle> styles) -
Method Summary
Modifier and TypeMethodDescriptionvoidCheck style namesvoidclear()Clear matrixString[][]StiBorderSide[][]StiBorderSide[][]StiCell[][]getCells()StiCellStyle[][]String[]getRange(StiRectangle rect) Get range byStiRectanglegetRealImageData(StiCell cell, BufferedImage baseImage) Get realBufferedImagestatic String[]getStringsFromTag(String tag, int startPosition) Get string from taggetStyleFromComponent(StiComponent component, int x, int y) GetStiCellStylefromStiComponentdoubledoublebooleanisComponentHasInteraction(StiComponent component) voidprepareDocument(StiExportService service, StiDataExportMode mode) Prepare documentvoidPrepare tablevoidscanComponentsPlacement(boolean optimize) Scan component placementvoidscanComponentsPlacement(boolean optimize, boolean exportObjectFormatting) Scan component placementvoidvoidvoidsetStyles(ArrayList<StiCellStyle> styles) voidsetTotalHeight(double totalHeight) voidsetTotalWidth(double totalWidth) static String[]Split tag
-
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
-
StiMatrix
-
StiMatrix
-
StiMatrix
public StiMatrix(StiPagesCollection pages, StiExportService service, ArrayList<StiCellStyle> styles) -
StiMatrix
public StiMatrix(StiPagesCollection pages, boolean checkForExcel, StiExportService service, ArrayList<StiCellStyle> styles)
-
-
Method Details
-
prepareTable
public void prepareTable()Prepare table -
getRange
Get range byStiRectangle- Parameters:
rect-- Returns:
- Range
-
getStyleFromComponent
GetStiCellStylefromStiComponent- Parameters:
component-StiComponentx-y-- Returns:
StiCellStyle
-
isComponentHasInteraction
-
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
Split tag- Parameters:
inputString-- Returns:
- Stplitted strings
-
getStringsFromTag
Get string from tag- Parameters:
tag-startPosition-- Returns:
- Strings
-
prepareDocument
Prepare document- Parameters:
service-StiExportServicemode-StiDataExportMode
-
checkStylesNames
public void checkStylesNames()Check style names -
getRealImageData
Get realBufferedImage- Parameters:
cell-StiCellbaseImage-BufferedImage- Returns:
- Result
BufferedImage
-
clear
public void clear()Clear matrix -
getImagesBaseRect
- Returns:
- the imagesBaseRect
-
getStyles
- Returns:
- the styles
-
setStyles
- 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
- Returns:
- the coordX
-
setCoordX
- Parameters:
coordX- the coordX to set
-
getCoordY
- Returns:
- the coordY
-
setCoordY
- Parameters:
coordY- the coordY to set
-
getCells
- Returns:
- the cells
-
getCellStyles
- Returns:
- the cellStyles
-
getBookmarks
- Returns:
- the bookmarks
-
getBordersX
- Returns:
- the bordersX
-
getBordersY
- Returns:
- the bordersY
-
getHorizontalPageBreaks
- Returns:
- the horizontalPageBreaks
-
getLinePlacement
- Returns:
- the linePlacement
-
getParentBandName
- Returns:
- the parentBandName
-
getFields
- Returns:
- the fields
-
getBorderSides
- Returns:
- the borderSides
-