TdxOpenXmlDocumentExporterOptions.LimitStyleNameTo253Chars Property
Specifies if the maximum length of style names can exceed 253 characters in exported OpenXML documents.
Declaration
property LimitStyleNameTo253Chars: Boolean read; write; default DefaultLimitStyleNameTo253Chars;
Property Value
Type | Default |
---|---|
Boolean | DefaultLimitStyleNameTo253Chars |
Remarks
This property ensures compatibility with Microsoft Word®, since it does not allow style names that are longer than 253 characters. By default, the Rich Edit control imposes the same limitation on style names exported to the OpenXML file format. If necessary, the control truncates a style name and appends one or more digits in order to keep it unique.
You can disable this style name length limitation by setting the LimitStyleNameTo253Chars property to False.
The default value of the LimitStyleNameTo253Chars property is DefaultLimitStyleNameTo253Chars.
See Also