- All Implemented Interfaces:
- BlockByteConsumer, BiffRec, ChartConstants, ChartObject, XLSConstants, Serializable
public class StartBlock
extends GenericChartObject
implements ChartObject
STARTBLOCK: Chart Future Record Type Start Block (852h)
Introduced in Excel 9 (2000) this BIFF record is an FRT record for Charts.
Indicates the start of an object's scope for Pre-Excel 9 objects. These
records are used to push a chart element scope onto the parent element stack.
This stack is used to determine the containing element for records that are
used by more than one type of element. The FRAME record, for instance, is used
by at least four different elements.
The STARTBLOCK/ENDBLOCK records are used for pre-Excel 9 elements with child records
(i.e., a record for the element followed by a BEGIN/END block for the child records.)
STARTBLOCK/ENDBLOCK are only written to enclose one or more child CFRT records and can
be placed outside the original BEGIN/END block. They may be omitted otherwise.
These records allow Excel 9 or later to determine the proper parent element even after
Excel 97 moves CFRTs to the end of the stream. Since these records are CFRTs,
they will stay with and keep contained any child CFRTs.
Record Data
Offset Field Name Size Contents
4 rt 2 Record type; this matches the BIFF rt in the first two bytes of the record; =0852h
6 grbitFrt 2 FRT flags; must be zero
8 iObjectKind 2 See table below
10 iObjectContext 2 See table below
12 iObjectInstance1 2 See table below
14 iObjectInstance2 2 See table below
The following table describes the meaning of each set of possible values for iObjectKind,
iObjectContext, iObjectInstance1, iObjectInstance2. In some cases, these fields are indexed,
and the indexes are described in the documentation for the parent rt. The table also lists
whether the STARTBLOCK/ENDBLOCK or STARTOBJECT/ENDOBJECT rts are used, and the parent rt.
iObjectKind iObjectContext iObjectInstance1 iObjectInstance2 Class rt Description
0 0 0 0 BLOCK AXIS PARENT Primary axis group
0 0 1 0 BLOCK AXIS PARENT Secondary axis group
2 0 0 0 BLOCK TEXT Chart title
2 1 xi yi BLOCK TEXT Data label for point in hidden series
2 2 0 0 BLOCK TEXT Default data label for other cases
2 2 1 0 BLOCK TEXT Default data label for showing values only
2 4 0 0 BLOCK TEXT Category axis title
2 4 1 0 BLOCK TEXT Value axis title
2 4 2 0 BLOCK TEXT Series axis title
2 5 xi yi BLOCK TEXT Data label for point in visible series, iobjInstance1 and iobjInstance2 is the DATAFORMAT xi and yi
2 6 0 0 OBJECT TEXT Display unit label
4 0 0 0 BLOCK AXIS Category axis
4 0 1 0 BLOCK AXIS Value axis
4 0 2 0 BLOCK AXIS Series axis
4 0 3 0 BLOCK AXIS X-axis on scatter chart
5 0 index 0 BLOCK CHART FORMAT Chart group, iobjInstance1 is the index in the file
6 0 0 0 BLOCK DAT Data table
7 0 0 0 BLOCK FRAME Frame
7 1 0 0 BLOCK FRAME Frame for an axis
7 2 0 0 BLOCK FRAME Chart area frame
8 0 0 0 BLOCK GELFRAME Frame fill
8 1 0 0 BLOCK GELFRAME Series fill
8 2 0 0 BLOCK GELFRAME Up/down bars fill
8 3 0 0 BLOCK GELFRAME Floor fill
8 3 1 0 BLOCK GELFRAME Walls fill
9 0 0 0 BLOCK LEGEND Data table
9 1 0 0 BLOCK LEGEND Legend
10 0 iss 0 BLOCK LEGENDXN Legend entry
11 0 0 0 BLOCK PICF Picture fill
11 1 0 0 BLOCK PICF Data point picture fill
12 0 index 0 BLOCK SERIES Series, iobjInstance1 is the index in the file
13 0 0 0 BLOCK CHART Chart
14 -1 0 0 BLOCK DATA FORMAT Series formatting
14 yi xi 0 BLOCK DATA FORMAT Data point formatting
15 0 0 0 BLOCK DROPBAR Up bars
15 0 1 0 BLOCK DROPBAR Down bars
15 0 2 0 BLOCK AXISLINE FORMAT Floor
15 0 3 0 BLOCK AXISLINE FORMAT Walls
16 0 0 0 OBJECT YMULT Axis multiplier
17 0 verChart 0 OBJECT FRTFONT LIST Fonts
- See Also:
- Serialized Form