| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final CellRangeAddress[] | _regions
sometimes the regions array is shared with other MergedCellsRecords |
| private final int | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | MergeCellsRecord(RecordInputStream
the RecordInputstream to read the record from in)Constructs a MergedCellsRecord and sets its fields appropriately |
| Modifier and Type | Method and Description |
|---|---|
| public MergeCellsRecord | copy()
Implements abstract org. Implements org.
|
| public CellRangeAddress | Returns: MergedRegion at the given index representing the area that is Merged (r1,c1 - r2,c2)the n-th MergedRegion index)
|
| protected int | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public short | |
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public void | serialize(LittleEndianOutput
the output object out)Implements abstract org. Write the data content of this BIFF record. |
| _numberOfRegions | back to summary |
|---|---|
| private final int _numberOfRegions | |
| _regions | back to summary |
|---|---|
| private final CellRangeAddress[] _regions sometimes the regions array is shared with other MergedCellsRecords | |
| _startIndex | back to summary |
|---|---|
| private final int _startIndex | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| MergeCellsRecord | back to summary |
|---|---|
| public MergeCellsRecord(MergeCellsRecord other) | |
| MergeCellsRecord | back to summary |
|---|---|
| public MergeCellsRecord(CellRangeAddress[] regions, int startIndex, int numberOfRegions) | |
| MergeCellsRecord | back to summary |
|---|---|
| public MergeCellsRecord(RecordInputStream in) Constructs a MergedCellsRecord and sets its fields appropriately
| |
| copy | back to summary |
|---|---|
| public MergeCellsRecord copy() Implements abstract org. Implements org.
| |
| getAreaAt | back to summary |
|---|---|
public CellRangeAddress getAreaAt(int index)
| |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getNumAreas | back to summary |
|---|---|
| public short getNumAreas() get the number of merged areas. If this drops down to 0 you should just go ahead and delete the record.
| |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. Doc from org. Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported by
| |