| Modifier and Type | Field and Description |
|---|---|
| private final List | records
List of |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | attemptMergeColInfoRecords(int colInfoIx)
Attempts to merge the col info record at the specified index with either or both of its neighbours |
| public void | |
| private static int | |
| public ColumnInfoRecordsAggregate | |
| private static ColumnInfoRecord | |
| public void | |
| private int | |
| public ColumnInfoRecord | Returns: null if no column info found for the specified columnindex of the column (not the index of the ColumnInfoRecord) columnIndex)Finds the |
| private int | |
| private int | |
| private ColumnInfoRecord | |
| public int | |
| public int | |
| public int | |
| pack-priv int | |
| public int | |
| public void | groupColumnRange(int
group from this column (inclusive) fromColumnIx, int group to this column (inclusive) toColumnIx, boolean if indent)true the group will be indented by one
level, if false indenting will be decreased by
one level.Creates an outline group for the specified columns, by setting the level field for each col info record in the range. |
| public void | |
| private void | insertColumn(int idx, ColumnInfoRecord col)
Inserts a column into the aggregate (at the position specified by
|
| private boolean | Returns: true, if the column is collapsed, false otherwise.'Collapsed' state is stored in a single column col info record immediately after the outline group |
| private boolean | |
| private static boolean | Returns: false if the two column records could not be mergedmerges two column info records (if they are adjacent and have the same formatting, etc) |
| public void | |
| private static void | setColumnInfoFields(ColumnInfoRecord ci, Short xfStyle, Integer width, Integer level, Boolean hidden, Boolean collapsed)
Sets all non null fields into the |
| private int | Returns: the column index of the last column in the outline groupthe col info index of the start of the outline group pIdx, int level, boolean hidden)Sets all adjacent columns of the same outline level to the specified hidden status. |
| public void | visitContainedRecords(RecordAggregate.
The visitor to use for callbacks while walking this object rvImplements abstract org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file. |
| records | back to summary |
|---|---|
| private final List<ColumnInfoRecord> records List of | |
| ColumnInfoRecordsAggregate | back to summary |
|---|---|
| public ColumnInfoRecordsAggregate() Creates an empty aggregate | |
| ColumnInfoRecordsAggregate | back to summary |
|---|---|
| public ColumnInfoRecordsAggregate(ColumnInfoRecordsAggregate other) | |
| ColumnInfoRecordsAggregate | back to summary |
|---|---|
| public ColumnInfoRecordsAggregate(RecordStream rs) | |
| attemptMergeColInfoRecords | back to summary |
|---|---|
| private void attemptMergeColInfoRecords(int colInfoIx) Attempts to merge the col info record at the specified index with either or both of its neighbours | |
| collapseColumn | back to summary |
|---|---|
| public void collapseColumn(int columnIndex) | |
| compareColInfos | back to summary |
|---|---|
| private static int compareColInfos(ColumnInfoRecord a, ColumnInfoRecord b) | |
| copy | back to summary |
|---|---|
| public ColumnInfoRecordsAggregate copy() Implements org.
| |
| copyColInfo | back to summary |
|---|---|
| private static ColumnInfoRecord copyColInfo(ColumnInfoRecord ci) | |
| expandColumn | back to summary |
|---|---|
| public void expandColumn(int columnIndex) | |
| findColInfoIdx | back to summary |
|---|---|
| private int findColInfoIdx(int columnIx, int fromColInfoIdx) | |
| findColumnInfo | back to summary |
|---|---|
| public ColumnInfoRecord findColumnInfo(int columnIndex) Finds the
| |
| findEndOfColumnOutlineGroup | back to summary |
|---|---|
| private int findEndOfColumnOutlineGroup(int colInfoIndex) | |
| findStartOfColumnOutlineGroup | back to summary |
|---|---|
| private int findStartOfColumnOutlineGroup(int pIdx) | |
| getColInfo | back to summary |
|---|---|
| private ColumnInfoRecord getColInfo(int idx) | |
| getMaxColumnIndex | back to summary |
|---|---|
| public int getMaxColumnIndex() | |
| getMaxOutlineLevel | back to summary |
|---|---|
| public int getMaxOutlineLevel() | |
| getMinColumnIndex | back to summary |
|---|---|
| public int getMinColumnIndex() | |
| getNumColumns | back to summary |
|---|---|
| pack-priv int getNumColumns() | |
| getOutlineLevel | back to summary |
|---|---|
| public int getOutlineLevel(int columnIndex) | |
| groupColumnRange | back to summary |
|---|---|
| public void groupColumnRange(int fromColumnIx, int toColumnIx, boolean indent) Creates an outline group for the specified columns, by setting the level
field for each col info record in the range.
| |
| insertColumn | back to summary |
|---|---|
| public void insertColumn(ColumnInfoRecord col) Inserts a column into the aggregate (at the end of the list). | |
| insertColumn | back to summary |
|---|---|
| private void insertColumn(int idx, ColumnInfoRecord col) Inserts a column into the aggregate (at the position specified by
| |
| isColumnGroupCollapsed | back to summary |
|---|---|
| private boolean isColumnGroupCollapsed(int idx) 'Collapsed' state is stored in a single column col info record immediately after the outline group
| |
| isColumnGroupHiddenByParent | back to summary |
|---|---|
| private boolean isColumnGroupHiddenByParent(int idx) | |
| mergeColInfoRecords | back to summary |
|---|---|
| private static boolean mergeColInfoRecords(ColumnInfoRecord ciA, ColumnInfoRecord ciB) merges two column info records (if they are adjacent and have the same formatting, etc)
| |
| setColumn | back to summary |
|---|---|
| public void setColumn(int targetColumnIx, Short xfIndex, Integer width, Integer level, Boolean hidden, Boolean collapsed) | |
| setColumnInfoFields | back to summary |
|---|---|
| private static void setColumnInfoFields(ColumnInfoRecord ci, Short xfStyle, Integer width, Integer level, Boolean hidden, Boolean collapsed) Sets all non null fields into the | |
| setGroupHidden | back to summary |
|---|---|
| private int setGroupHidden(int pIdx, int level, boolean hidden) Sets all adjacent columns of the same outline level to the specified hidden status.
| |
| visitContainedRecords | back to summary |
|---|---|
| public void visitContainedRecords(RecordAggregate. Implements abstract org. Doc from org. Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
| |