2.4.225 RRDDefName

The RRDDefName record specifies a defined name revision.


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

rrd (14 bytes)

...

...

...

tabidLocal

fViewName

reserved

grbit

...

grbitOld

...

builtinIndex

unused (optional)

...

stDefName (variable)

...

pe (variable)

...

stCustomMenu (variable)

...

stDescription (variable)

...

stHelpTopic (variable)

...

stStatusText (variable)

...

peOld (variable)

...

stCustomMenuOld (variable)

...

stDescriptionOld (variable)

...

stHelpTopicOld (variable)

...

stStatusTextOld (variable)

...

rrd (14 bytes):  An RRD structure that specifies the revision record information used to track changes in a shared workbook. The revt field of the RRD structure MUST be 0x000A or 0x0022. The fDelAtEdgeOfSort field of the RRD structure MUST be 0x0000. The revid field of the RRD structure MUST be greater than or equal to 0.

tabidLocal (2 bytes): A TabId structure that specifies the sheet containing the defined name. A value of 0xFFFF specifies that the defined name is not a local name.

fViewName (1 byte): A Boolean (section 2.5.14) that specifies whether the defined name belongs to a custom view. MUST be a value from the following table:

Value

Meaning

0x00

The defined name does not belong to a custom view.

0x01

The defined name belongs to a custom view.

reserved (1 byte): MUST be zero, and MUST be ignored.

grbit (6 bytes): An RRDDefNameFlags structure that specifies data for the new defined name.

grbitOld (6 bytes): An RRDDefNameFlags structure that specifies data for the old defined name.

builtinIndex (1 byte): An unsigned integer that specifies the identifier of a built-in name. MUST be a value from the following table:

Identifier

Built-in Name

0x00

Not a built-in name

0x01

"Consolidate_Area"

0x02

"Auto_Open"

0x03

"Auto_Close"

0x04

"Extract"

0x05

"Database"

0x09

"Recorder"

0x0A

"Data_Form"

0x0B

"Auto_Activate"

0x0C

"Auto_Deactivate"

0x0D

"Sheet_Title"

unused (3 bytes): Optional, undefined, and MUST be ignored. MUST exist if and only if builtinIndex is not equal to 0.

stDefName (variable): An XLUnicodeString structure that specifies the defined name. MUST exist if and only if builtinIndex is equal to 0. MUST be less than or equal to 255 characters. MUST begin with a letter or underscore character.

pe (variable): A NameParsedFormula structure that specifies the formula (section 2.2.2) of the new defined name. The length of the formula in bytes is specified by grbit.cce.

stCustomMenu (variable): An XLUnicodeString structure that specifies the new custom menu text.

stDescription (variable): An XLUnicodeString structure that specifies the new description text.

stHelpTopic (variable): An XLUnicodeString structure that specifies the new help text.

stStatusText (variable): An XLUnicodeString structure that specifies the new status bar text.

peOld (variable): A NameParsedFormula structure that specifies the formula of the old defined name. The length of the formula in bytes is specified by grbitOld.cce.

stCustomMenuOld (variable): An XLUnicodeString structure that specifies the old custom menu text.

stDescriptionOld (variable): An XLUnicodeString structure that specifies the old description text.

stHelpTopicOld (variable): An XLUnicodeString structure that specifies the old help text.

stStatusTextOld (variable): An XLUnicodeString structure that specifies the old status bar text.