Skip to main content

TdxOpenXmlDocumentExporterOptions.LimitBookmarkNameTo40Chars Property

Specifies if the maximum length of bookmark names can exceed 40 characters in exported OpenXML documents.

Declaration

property LimitBookmarkNameTo40Chars: Boolean read; write; default DefaultLimitBookmarkNameTo40Chars;

Property Value

Type Default
Boolean DefaultLimitBookmarkNameTo40Chars

Remarks

This property ensures compatibility with Microsoft Word®, since it cannot handle bookmarks whose names are longer than 40 characters. By default, the Rich Edit control imposes the same limitation on bookmark names in documents exported to the OpenXML file format. If necessary, the control truncates a bookmark name and appends one or more digits in order to keep it unique.

You can disable this bookmark name length limitation by setting the LimitBookmarkNameTo40Chars property to False.

The default value of the LimitBookmarkNameTo40Chars property is DefaultLimitBookmarkNameTo40Chars.

See Also