See OOO excelfileformat.pdf sec. 4.2.5 'Record Order in a BIFF8 Workbook Stream'
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | addNewSheetRecord(List<RecordBase> sheetRecords, RecordBase newRecord)
Adds the specified new record in the correct place in sheet records list |
| private static int | findDataValidationTableInsertPos(List<RecordBase>
the records for this sheet
+ WINDOW2
o SCL
o PANE
oo SELECTION
o STANDARDWIDTH
oo MERGEDCELLS
o LABELRANGES
o PHONETICPR
o Conditional Formatting Table
o Hyperlink Table
o Data Validity Table
o SHEETLAYOUT
o SHEETPROTECTION
o RANGEPROTECTION
+ EOF records)Finds the index where the sheet validations header record should be inserted |
| private static int | findInsertPosForNewCondFormatTable(List<RecordBase> records)
Find correct position to add new CFHeader record |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | getWorksheetProtectionBlockInsertPos(List<RecordBase>
the records for this sheet
records)+ BOF o INDEX o Calculation Settings Block o PRINTHEADERS o PRINTGRIDLINES o GRIDSET o GUTS o DEFAULTROWHEIGHT o SHEETPR o Page Settings Block o Worksheet Protection Block o DEFCOLWIDTH oo COLINFO o SORT + DIMENSION Finds the index where the protection block should be inserted |
| private static boolean | |
| private static boolean | |
| public static boolean | Returns: true if the specified record ID terminates a sequence of Row block records
It is assumed that at least one row or cell value record has been found prior to the current
record
|
| private static boolean | |
| private static boolean | |
| private static boolean | isProtectionSubsequentRecord(Object rb)
These records may occur between the 'Worksheet Protection Block' and DIMENSION: o DEFCOLWIDTH oo COLINFO o SORT |
| public static boolean | Returns: true if the specified record id normally appears in the row blocks section
of the sheet records
|
| RecordOrderer | back to summary |
|---|---|
| private RecordOrderer() | |
| addNewSheetRecord | back to summary |
|---|---|
| public static void addNewSheetRecord(List<RecordBase> sheetRecords, RecordBase newRecord) Adds the specified new record in the correct place in sheet records list | |
| findDataValidationTableInsertPos | back to summary |
|---|---|
| private static int findDataValidationTableInsertPos(List<RecordBase> records) Finds the index where the sheet validations header record should be inserted
| |
| findInsertPosForNewCondFormatTable | back to summary |
|---|---|
| private static int findInsertPosForNewCondFormatTable(List<RecordBase> records) Find correct position to add new CFHeader record | |
| findInsertPosForNewMergedRecordTable | back to summary |
|---|---|
| private static int findInsertPosForNewMergedRecordTable(List<RecordBase> records) | |
| findSheetInsertPos | back to summary |
|---|---|
| private static int findSheetInsertPos(List<RecordBase> records, Class<? extends RecordBase> recClass) | |
| getDimensionsIndex | back to summary |
|---|---|
| private static int getDimensionsIndex(List<RecordBase> records) DIMENSIONS record is always present | |
| getGutsRecordInsertPos | back to summary |
|---|---|
| private static int getGutsRecordInsertPos(List<RecordBase> records) | |
| getPageBreakRecordInsertPos | back to summary |
|---|---|
| private static int getPageBreakRecordInsertPos(List<RecordBase> records) | |
| getWorksheetProtectionBlockInsertPos | back to summary |
|---|---|
| private static int getWorksheetProtectionBlockInsertPos(List<RecordBase> records) Finds the index where the protection block should be inserted
| |
| isDVTPriorRecord | back to summary |
|---|---|
| private static boolean isDVTPriorRecord(RecordBase rb) | |
| isDVTSubsequentRecord | back to summary |
|---|---|
| private static boolean isDVTSubsequentRecord(short sid) | |
| isEndOfRowBlock | back to summary |
|---|---|
public static boolean isEndOfRowBlock(int sid)
| |
| isGutsPriorRecord | back to summary |
|---|---|
| private static boolean isGutsPriorRecord(RecordBase rb) | |
| isPageBreakPriorRecord | back to summary |
|---|---|
| private static boolean isPageBreakPriorRecord(Object rb) | |
| isProtectionSubsequentRecord | back to summary |
|---|---|
| private static boolean isProtectionSubsequentRecord(Object rb) These records may occur between the 'Worksheet Protection Block' and DIMENSION: o DEFCOLWIDTH oo COLINFO o SORT | |
| isRowBlockRecord | back to summary |
|---|---|
public static boolean isRowBlockRecord(int sid)
| |