Skip to main content
ParagraphRoleEnum enumeration constants are used to describe the role of the paragraph in the logic structure of the document.
typedef enum {
 PR_Text,
 PR_TableText,
 PR_Heading,
 PR_HeadingNumber,
 PR_TableHeading,
 PR_PictureCaption,
 PR_TableCaption,
 PR_TableOfContents,
 PR_Footnote,
 PR_Endnote,
 PR_RunningTitle,
 PR_Garbage,
 PR_Other,
 PR_Barcode
} ParagraphRoleEnum;

Elements

NameDescription
PR\_BarcodeA barcode paragraph.
PR\_EndnoteAn endnote paragraph.
PR\_FootnoteA footnote paragraph.
PR\_GarbageA paragraph contains some garbage.
PR\_HeadingA heading paragraph.
PR\_HeadingNumberA heading number if it presents as a separate paragraph. For example, “Part 1 Introduction” “Part 1” is a heading number, while “Introduction” is a heading. The heading and the heading number have the same heading level (see the IParagraphStyle::HeadingLevel property).
PR\_OtherSome other paragraph role not mentioned in this table.
PR\_PictureCaptionA picture caption paragraph.
PR\_RunningTitleA running title paragraph.
PR\_TableCaptionA table caption paragraph.
PR\_TableHeadingA table heading paragraph.
PR\_TableOfContentsA paragraph of a table of contents.
PR\_TableTextA paragraph of a table cell text.
PR\_TextA paragraph of a text.

Used in

IParagraphStyle::ParagraphRole