Passer au contenu principal
Les constantes de l’énumération ParagraphRoleEnum servent à décrire le rôle du paragraphe dans la structure logique du 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;

Éléments

NomDescription
PR_BarcodeUn paragraphe Barcode.
PR_EndnoteUn paragraphe de note de fin.
PR_FootnoteUn paragraphe de note de bas de page.
PR_GarbageUn paragraphe contient des artéfacts.
PR_HeadingUn paragraphe de titre.
PR_HeadingNumberUn numéro de titre s’il est présenté sous la forme d’un paragraphe distinct. Par exemple, dans “Part 1 Introduction”, “Part 1” est un numéro de titre, tandis que “Introduction” est un titre. Le titre et le numéro de titre ont le même niveau de titre (voir la propriété IParagraphStyle::HeadingLevel).
PR_OtherUn autre rôle de paragraphe non mentionné dans ce tableau.
PR_PictureCaptionUn paragraphe de légende d’image.
PR_RunningTitleUn paragraphe de titre courant.
PR_TableCaptionUn paragraphe de légende de tableau.
PR_TableHeadingUn paragraphe d’en-tête de tableau.
PR_TableOfContentsUn paragraphe de table des matières.
PR_TableTextUn paragraphe de texte dans une cellule de tableau.
PR_TextUn paragraphe de texte.

Utilisé dans

IParagraphStyle::ParagraphRole