Export (0) Print
Expand All
Expand Minimize

2.5.87 Ducr

Office

The Ducr structure specifies undo data that is applied to an expression that was affected by an insertion / deletion of rows / columns revision or a move cells revision if the revision is rejected.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

reserved1

iptg

ptg

A

B

reserved2

duce (variable)

...

duceRadical (optional)

...

ducr_cond_1 (variable)

...

ducr_cond_2 (optional)

...

reserved1 (4 bytes): MUST be zero, and MUST be ignored.

iptg (2 bytes): An unsigned integer that specifies a zero-based index of a Ptg structure in the array specified by the Rgce structure associated with the affected expression. The referenced Ptg specifies which Ptg is affected by the revision.

ptg (1 byte): The Ptg before the revision action occurred.

A - fLbl (1 bit): A bit that specifies whether the affected expression is contained in a defined name.

B - fUseSh2 (1 bit): A bit that specifies whether the affected expression is on a different sheet. MUST be zero for RRDInsDel.

reserved2 (6 bits): MUST be zero, and MUST be ignored.

duce (variable): A Duce that specifies additional undo data that is used for a natural language formula. MUST exist if and only if ptg is equal to 0x18.

duceRadical (8 bytes): A variable type field with the type and meaning determined by the value of ptg, as specified in the following table. MUST exist if and only if ptg is not equal to 0x18.

ptg Value

Type

PtgRef

A RgceLoc8 that specifies the cell reference originally contained by the expression.

PtgRef3d

A RgceLoc8 that specifies the cell reference originally contained by the expression.

PtgArea

A RgceArea that specifies a reference to a rectangular range of cells originally contained by the expression.

PtgArea3d

A RgceArea that specifies a reference to a rectangular range of cells originally contained by the expression.

All other values

MUST be zero, and MUST be ignored.

ducr_cond_1 (variable): A DucrConditionalLbl that specifies defined name information associated with the affected expression. MUST exist if and only if fLbl equals 1.

ducr_cond_2 (6 bytes): A DucrConditionalNoLbl that specifies location information associated with the affected expression. MUST exist if and only if fLbl equals 0.

Show:
© 2014 Microsoft