Topic Class

Topic.When the object is serialized out as xml, its qualified name is x:tp.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Topic : OpenXmlCompositeElement

The following table lists the possible child types:

  • Xstring <x:v>

  • Subtopic <x:stp>

  • TopicReferences <x:tr>

[ISO/IEC 29500-1 1st Edition]

18.15.3 tp (Topic)

Represents dependency information for all topics within a volatile dependency type that share the same first string or argument.

For the RTD function, this collection will contain the remaining parameters of the function, and indicate the last known value and data type of that value.

Parent Elements

main (§18.15.1)

Child Elements


stp (Strings in Subtopic)


tr (References)


v (Cell Value)




t (Type)

Specifies the type of the cell value. This value corresponds to the type of data returned by the RTD or CUBE function.

[Example: In the following RTD example, the value "aaa: 4447" has a string data type.

<tp t="s">
<v>aaa: 4447</v>

end example]

For Cube functions, this attribute can be ignored when stp value is "1".

The possible values for this attribute are defined by the ST_VolValueType simple type (§18.18.91).

[Note: The W3C XML Schema definition of this element’s content model (CT_VolTopic) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft