2.5.198.58 PtgExp
The PtgExp structure specifies that the containing Rgce is part of an array formula (section 2.2.2) or shared formula and specifies the row and column of the cell in which that formula exists.
The row and col fields of this structure specify a cell on the current sheet. There MUST be a Formula record where the cell.rw field of that record is equal to row, and cell.col.col field of that record is equal to col.
That Formula record MUST be followed by either a ShrFmla record or an Array record.
If that Formula record is followed by a ShrFmla, the row field of this structure MUST be greater than or equal to the ref.rwFirst field and less than or equal to the ref.rwLast field of the ShrFmla record, and the col field of this structure MUST be greater than or equal to the ref.colFirst field and less than or equal to the ref.colLast field of the ShrFmla record.
If that Formula record is followed by an Array, the row field of this structure MUST be equal to the ref.rwFirst field of the Array record, and the col field of this structure MUST be equal to the ref.colFirst field of the Array record.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ptg |
A |
row |
col |
||||||||||||||||||||||||||||
... |
ptg (7 bits): Reserved. MUST be 0x01.
A - reserved0 (1 bit): MUST be zero, and MUST be ignored.
row (2 bytes): A Rw that specifies the row of the cell that contains the array formula or shared formula that the containing Rgce is a part of.
col (2 bytes): A Col that specifies the column of the cell that contains the array formula or shared formula that the containing Rgce is a part of.