Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxOpenXmlDocumentExporterOptions.AllowAlternateStyleNames Property

Specifies if alternate names (i.e., aliases) for built-in styles are allowed in an exported document file.

#Declaration

Delphi
property AllowAlternateStyleNames: Boolean read; write; default DefaultAllowAlternateStyleNames;

#Property Value

Type Default
Boolean DefaultAllowAlternateStyleNames

#Remarks

Since it is impossible to rename built-in styles in OpenXML document files, you can create aliases for built-in style names. By default, the Rich Edit control includes the alternate style names to exported OpenXML documents. In order to export only built-in style names, set the AllowAlternateStyleNames property to False.

The default value of the AllowAlternateStyleNames property is DefaultAllowAlternateStyleNames.

See Also