IdxRichEditParagraphStyle.Primary Property
In This Article
Specifies whether the paragraph style is primary for a parent document.
#Declaration
Delphi
property Primary: Boolean read; write;
#Property Value
Type |
---|
Boolean |
#Remarks
A primary paragraph style is considered public, and is available for use via an application’s UI elements, such as the Rich Edit control’s automatically generated Styles Gallery.
Set the Primary property to True or False to publish or hide the paragraph style in an opened document. Only the RTF, DOCX, and DOC file import and export routines take this property value into account. Different supported document formats persist a paragraph style status in different ways:
Format | Format Availability | Paragraph Style Status |
---|---|---|
RTF (rich text) | Available out-of-the-box. | The \sqformat attribute. |
TXT (plain text) | Available out-of-the-box. | Not supported |
HTML (web) | Add the dx |
Not supported |
DOC (binary) | Add the dx |
A boolean flag |
DOCX (Office Open |
Add the dx |
The <q |
The default Primary property value is False.
See Also