FormulaMacro Class

Reference to Custom Function.When the object is serialized out as xml, its qualified name is xvml:FmlaMacro.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.FormulaMacro

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

Syntax

'Declaration
Public Class FormulaMacro _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As FormulaMacro
public class FormulaMacro : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.27 FmlaMacro (Reference to Custom Function)

This element specifies the custom function associated with the object. [Example: A macro script, add-in function, and so on. end example]

This element applies to objects defined by all values of the ST_ObjectType simple type, except: LineA, Note, RectA.

The format of this string shall be application-defined, and should be ignored if not understood.

[Example:

<x:ClientData> …
<x:FmlaMacro>Button1_Click()</x:FmlaMacro>
</x:ClientData>

end example]

The possible values for this element are defined by the W3C XML Schema string datatype.

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

FormulaMacro Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace