CFRecordsAggregate
, ChartSubstreamRecordAggregate
, ColumnInfoRecordsAggregate
, ConditionalFormattingTable
, CustomViewSettingsRecordAggregate
, DataValidityTable
, FormulaRecordAggregate
, MergedCellsTable
, PageSettingsBlock
, RowRecordsAggregate
, WorksheetProtectionBlock
public abstract class RecordAggregate extends RecordBase
Modifier and Type | Class | Description |
---|---|---|
static class |
RecordAggregate.PositionTrackingVisitor |
A wrapper for
RecordAggregate.RecordVisitor which accumulates the sizes of all
records visited. |
static interface |
RecordAggregate.RecordVisitor |
Constructor | Description |
---|---|
RecordAggregate() |
Modifier and Type | Method | Description |
---|---|---|
int |
getRecordSize() |
gives the current serialized size of the record.
|
int |
serialize(int offset,
byte[] data) |
called by the class that is responsible for writing this sucker.
|
abstract void |
visitContainedRecords(RecordAggregate.RecordVisitor rv) |
Visit each of the atomic BIFF records contained in this
RecordAggregate in the order
that they should be written to file. |
public abstract void visitContainedRecords(RecordAggregate.RecordVisitor rv)
RecordAggregate
in the order
that they should be written to file. Implementors may or may not return the actual
Record
s being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Record
s after cloningpublic final int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.