Uses of Class
org.apache.poi.ss.util.CellRangeAddress
-
Packages that use CellRangeAddress Package Description io.keikai.importer org.apache.poi.hssf.model Provides low level API structures for reading, writing, modifying XLS files.org.apache.poi.hssf.record Record package contains class representations for XLS binary strutures.org.apache.poi.hssf.record.aggregates The record aggregates are not real "records" but collections of records that act as a single record.org.apache.poi.hssf.record.common org.apache.poi.hssf.usermodel The usermodel package maps HSSF low level structures to familiar workbook/sheet modelorg.apache.poi.ss.formula This package contains common internal POI code for manipulating formulas.org.apache.poi.ss.usermodel org.apache.poi.ss.usermodel.helpers org.apache.poi.ss.util org.apache.poi.ss.util.cellwalk -
-
Uses of CellRangeAddress in io.keikai.importer
Methods in io.keikai.importer that return CellRangeAddress Modifier and Type Method Description protected static CellRangeAddressXlsxImporter. getRepeatingRowsOrColumns(String refs, boolean rows) -
Uses of CellRangeAddress in org.apache.poi.hssf.model
Methods in org.apache.poi.hssf.model that return CellRangeAddress Modifier and Type Method Description CellRangeAddressInternalSheet. getMergedRegionAt(int index) -
Uses of CellRangeAddress in org.apache.poi.hssf.record
Methods in org.apache.poi.hssf.record that return CellRangeAddress Modifier and Type Method Description CellRangeAddressMergeCellsRecord. getAreaAt(int index)CellRangeAddressCFHeader12Record. getAssociatedRange()CellRangeAddressCFRule12Record. getAssociatedRange()CellRangeAddress[]CFHeaderBase. getCellRanges()CellRangeAddress[]FeatRecord. getCellRefs()CellRangeAddressCFHeaderBase. getEnclosingCellRange()Methods in org.apache.poi.hssf.record with parameters of type CellRangeAddress Modifier and Type Method Description voidCFHeaderBase. setCellRanges(CellRangeAddress[] cellRanges)Set cell ranges list to a single cell range and modify the enclosing cell range accordingly.voidFeatRecord. setCellRefs(CellRangeAddress[] cellRefs)voidCFHeaderBase. setEnclosingCellRange(CellRangeAddress cr)Constructors in org.apache.poi.hssf.record with parameters of type CellRangeAddress Constructor Description CFHeader12Record(CellRangeAddress[] regions, int nRules)CFHeaderBase(CellRangeAddress[] regions, int nRules)CFHeaderRecord(CellRangeAddress[] regions, int nRules)MergeCellsRecord(CellRangeAddress[] regions, int startIndex, int numberOfRegions) -
Uses of CellRangeAddress in org.apache.poi.hssf.record.aggregates
Methods in org.apache.poi.hssf.record.aggregates that return CellRangeAddress Modifier and Type Method Description CellRangeAddressMergedCellsTable. get(int index)CellRangeAddressFormulaRecordAggregate. getArrayFormulaRange()CellRangeAddressFormulaRecordAggregate. removeArrayFormula(int rowIndex, int columnIndex)Removes an array formulaMethods in org.apache.poi.hssf.record.aggregates with parameters of type CellRangeAddress Modifier and Type Method Description voidFormulaRecordAggregate. setArrayFormula(CellRangeAddress r, Ptg[] ptgs)Constructors in org.apache.poi.hssf.record.aggregates with parameters of type CellRangeAddress Constructor Description CFRecordsAggregate(CellRangeAddress[] regions, CFRuleBase[] rules) -
Uses of CellRangeAddress in org.apache.poi.hssf.record.common
Methods in org.apache.poi.hssf.record.common that return CellRangeAddress Modifier and Type Method Description CellRangeAddressFtrHeader. getAssociatedRange()CellRangeAddressFutureRecord. getAssociatedRange()Methods in org.apache.poi.hssf.record.common with parameters of type CellRangeAddress Modifier and Type Method Description voidFtrHeader. setAssociatedRange(CellRangeAddress associatedRange) -
Uses of CellRangeAddress in org.apache.poi.hssf.usermodel
Methods in org.apache.poi.hssf.usermodel that return CellRangeAddress Modifier and Type Method Description CellRangeAddressHSSFCell. getArrayFormulaRange()CellRangeAddress[]HSSFConditionalFormatting. getFormattingRanges()CellRangeAddressHSSFSheet. getMergedRegion(int index)CellRangeAddressHSSFSheet. getRepeatingColumns()CellRangeAddressHSSFSheet. getRepeatingRows()Methods in org.apache.poi.hssf.usermodel that return types with arguments of type CellRangeAddress Modifier and Type Method Description List<CellRangeAddress>HSSFSheet. getMergedRegions()Methods in org.apache.poi.hssf.usermodel with parameters of type CellRangeAddress Modifier and Type Method Description intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, HSSFConditionalFormattingRule rule1)intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, HSSFConditionalFormattingRule[] cfRules)Allows to add a new Conditional Formatting set to the sheet.intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, HSSFConditionalFormattingRule rule1, HSSFConditionalFormattingRule rule2)intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule rule1)intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule[] cfRules)intHSSFSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule rule1, ConditionalFormattingRule rule2)intHSSFSheet. addMergedRegion(CellRangeAddress region)Adds a merged region of cells on a sheet.intHSSFSheet. addMergedRegionUnsafe(CellRangeAddress region)Adds a merged region of cells (hence those cells form one).CellRange<HSSFCell>HSSFSheet. setArrayFormula(String formula, CellRangeAddress range)HSSFAutoFilterHSSFSheet. setAutoFilter(CellRangeAddress range)voidHSSFConditionalFormatting. setFormattingRanges(CellRangeAddress[] ranges)voidHSSFSheet. setRepeatingColumns(CellRangeAddress columnRangeRef)voidHSSFSheet. setRepeatingRows(CellRangeAddress rowRangeRef) -
Uses of CellRangeAddress in org.apache.poi.ss.formula
Methods in org.apache.poi.ss.formula that return CellRangeAddress Modifier and Type Method Description CellRangeAddressEvaluationCell. getArrayFormulaRange()CellRangeAddress[]EvaluationConditionalFormatRule. getRegions()Constructors in org.apache.poi.ss.formula with parameters of type CellRangeAddress Constructor Description EvaluationConditionalFormatRule(WorkbookEvaluator workbookEvaluator, Sheet sheet, ConditionalFormatting formatting, int formattingIndex, ConditionalFormattingRule rule, int ruleIndex, CellRangeAddress[] regions) -
Uses of CellRangeAddress in org.apache.poi.ss.usermodel
Methods in org.apache.poi.ss.usermodel that return CellRangeAddress Modifier and Type Method Description CellRangeAddressCell. getArrayFormulaRange()Only valid for array formula cellsCellRangeAddress[]ConditionalFormatting. getFormattingRanges()CellRangeAddressSheet. getMergedRegion(int index)Returns the merged region at the specified indexCellRangeAddressSheet. getRepeatingColumns()Gets the repeating columns used when printing the sheet, as found in File->PageSetup->Sheet.CellRangeAddressSheet. getRepeatingRows()Gets the repeating rows used when printing the sheet, as found in File->PageSetup->Sheet.Methods in org.apache.poi.ss.usermodel that return types with arguments of type CellRangeAddress Modifier and Type Method Description List<CellRangeAddress>Sheet. getMergedRegions()Returns the list of merged regions.Methods in org.apache.poi.ss.usermodel with parameters of type CellRangeAddress Modifier and Type Method Description intSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule rule)Add a new Conditional Formatting to the sheet.intSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule[] cfRules)Add a new Conditional Formatting set to the sheet.intSheetConditionalFormatting. addConditionalFormatting(CellRangeAddress[] regions, ConditionalFormattingRule rule1, ConditionalFormattingRule rule2)Add a new Conditional Formatting consisting of two rules.intSheet. addMergedRegion(CellRangeAddress region)Adds a merged region of cells (hence those cells form one)intSheet. addMergedRegionUnsafe(CellRangeAddress region)Adds a merged region of cells (hence those cells form one).voidRangeCopier. copyRange(CellRangeAddress tilePatternRange, CellRangeAddress tileDestRange)Uses input pattern to tile destination region, overwriting existing content.voidRangeCopier. copyRange(CellRangeAddress tilePatternRange, CellRangeAddress tileDestRange, boolean copyStyles, boolean copyMergedRanges)Uses input pattern to tile destination region, overwriting existing content.CellRange<? extends Cell>Sheet. setArrayFormula(String formula, CellRangeAddress range)Sets array formula to specified region for result.AutoFilterSheet. setAutoFilter(CellRangeAddress range)Enable filtering for a range of cellsvoidConditionalFormatting. setFormattingRanges(CellRangeAddress[] ranges)Sets the cell ranges the rule conditional formatting must be applied to.voidSheet. setRepeatingColumns(CellRangeAddress columnRangeRef)Sets the repeating columns used when printing the sheet, as found in File->PageSetup->Sheet.voidSheet. setRepeatingRows(CellRangeAddress rowRangeRef)Sets the repeating rows used when printing the sheet, as found in File->PageSetup->Sheet. -
Uses of CellRangeAddress in org.apache.poi.ss.usermodel.helpers
Methods in org.apache.poi.ss.usermodel.helpers that return CellRangeAddress Modifier and Type Method Description static CellRangeAddressBaseRowColShifter. shiftRange(FormulaShifter formulaShifter, CellRangeAddress cra, int currentExternSheetIx)Methods in org.apache.poi.ss.usermodel.helpers that return types with arguments of type CellRangeAddress Modifier and Type Method Description abstract List<CellRangeAddress>BaseRowColShifter. shiftMergedRegions(int start, int end, int n)Shifts, grows, or shrinks the merged regions due to a row shift (RowShifter) or column shift (ColumnShifter).List<CellRangeAddress>ColumnShifter. shiftMergedRegions(int startColumn, int endColumn, int n)Shifts, grows, or shrinks the merged regions due to a column shift.List<CellRangeAddress>RowShifter. shiftMergedRegions(int startRow, int endRow, int n)Shifts, grows, or shrinks the merged regions due to a row shift.Methods in org.apache.poi.ss.usermodel.helpers with parameters of type CellRangeAddress Modifier and Type Method Description static CellRangeAddressBaseRowColShifter. shiftRange(FormulaShifter formulaShifter, CellRangeAddress cra, int currentExternSheetIx) -
Uses of CellRangeAddress in org.apache.poi.ss.util
Fields in org.apache.poi.ss.util with type parameters of type CellRangeAddress Modifier and Type Field Description protected List<CellRangeAddress>CellRangeAddressList. _listList ofCellRangeAddresses.Methods in org.apache.poi.ss.util that return CellRangeAddress Modifier and Type Method Description CellRangeAddressCellRangeAddress. copy()static CellRangeAddressCellRangeUtil. createEnclosingCellRange(CellRangeAddress crA, CellRangeAddress crB)Create an enclosing CellRange for the two cell ranges.CellRangeAddressCellRangeAddressList. getCellRangeAddress(int index)CellRangeAddress[]CellRangeAddressList. getCellRangeAddresses()static CellRangeAddress[]CellRangeUtil. mergeCellRanges(CellRangeAddress[] cellRanges)Do all possible cell merges between cells of the list so that:
if a cell range is completely inside of another cell range, it gets removed from the list if two cells have a shared border, merge them into one bigger cell rangeCellRangeAddressCellRangeAddressList. remove(int rangeIndex)static CellRangeAddressCellRangeAddress. valueOf(String ref)Creates a CellRangeAddress from a cell range reference string.Methods in org.apache.poi.ss.util that return types with arguments of type CellRangeAddress Modifier and Type Method Description List<CellRangeAddress>CellRangeAddressList. getGenericChildren()Methods in org.apache.poi.ss.util with parameters of type CellRangeAddress Modifier and Type Method Description voidCellRangeAddressList. addCellRangeAddress(CellRangeAddress cra)static booleanCellRangeUtil. contains(CellRangeAddress crA, CellRangeAddress crB)Check if cell range A contains cell range B (B <= A) TODO: move this intoCellRangeAddressBasestatic CellRangeAddressCellRangeUtil. createEnclosingCellRange(CellRangeAddress crA, CellRangeAddress crB)Create an enclosing CellRange for the two cell ranges.voidPropertyTemplate. drawBorderColors(CellRangeAddress range, short color, BorderExtent extent)Sets the color for a group of cell borders for a cell range.voidPropertyTemplate. drawBorders(CellRangeAddress range, BorderStyle borderType, short color, BorderExtent extent)Draws a group of cell borders for a cell range.voidPropertyTemplate. drawBorders(CellRangeAddress range, BorderStyle borderType, BorderExtent extent)Draws a group of cell borders for a cell range.static booleanCellRangeUtil. hasExactSharedBorder(CellRangeAddress crA, CellRangeAddress crB)Check if the two cell ranges have a shared border.static intCellRangeUtil. intersect(CellRangeAddress crA, CellRangeAddress crB)Get the type of intersection between two cell rangesstatic CellRangeAddress[]CellRangeUtil. mergeCellRanges(CellRangeAddress[] cellRanges)Do all possible cell merges between cells of the list so that:
if a cell range is completely inside of another cell range, it gets removed from the list if two cells have a shared border, merge them into one bigger cell rangestatic voidRegionUtil. setBorderBottom(BorderStyle border, CellRangeAddress region, Sheet sheet)Sets the bottom border style for a region of cells by manipulating the cell style of the individual cells on the bottomstatic voidRegionUtil. setBorderLeft(BorderStyle border, CellRangeAddress region, Sheet sheet)Sets the left border style for a region of cells by manipulating the cell style of the individual cells on the leftstatic voidRegionUtil. setBorderRight(BorderStyle border, CellRangeAddress region, Sheet sheet)Sets the right border style for a region of cells by manipulating the cell style of the individual cells on the rightstatic voidRegionUtil. setBorderTop(BorderStyle border, CellRangeAddress region, Sheet sheet)Sets the top border style for a region of cells by manipulating the cell style of the individual cells on the topstatic voidRegionUtil. setBottomBorderColor(int color, CellRangeAddress region, Sheet sheet)Sets the bottom border color for a region of cells by manipulating the cell style of the individual cells on the bottomstatic voidRegionUtil. setLeftBorderColor(int color, CellRangeAddress region, Sheet sheet)Sets the left border color for a region of cells by manipulating the cell style of the individual cells on the leftstatic voidRegionUtil. setRightBorderColor(int color, CellRangeAddress region, Sheet sheet)Sets the right border color for a region of cells by manipulating the cell style of the individual cells on the rightstatic voidRegionUtil. setTopBorderColor(int color, CellRangeAddress region, Sheet sheet)Sets the top border color for a region of cells by manipulating the cell style of the individual cells on the topMethod parameters in org.apache.poi.ss.util with type arguments of type CellRangeAddress Modifier and Type Method Description static doubleSheetUtil. getCellWidth(Cell cell, float defaultCharWidth, DataFormatter formatter, boolean useMergedCells, List<CellRangeAddress> mergedRegions)Compute width of a single cell This method receives the list of merged regions as querying it from the cell/sheet is time-consuming and thus caching the list across cells speeds up certain operations considerably.static doubleSheetUtil. getCellWidth(Cell cell, int defaultCharWidth, DataFormatter formatter, boolean useMergedCells, List<CellRangeAddress> mergedRegions)Deprecated.since POI 5.2.5, it is better to pass defaultCharWidth as a float -
Uses of CellRangeAddress in org.apache.poi.ss.util.cellwalk
Constructors in org.apache.poi.ss.util.cellwalk with parameters of type CellRangeAddress Constructor Description CellWalk(Sheet sheet, CellRangeAddress range)
-