Table of Contents

Class PdfStructureTypes

Namespace
PDiffy
Assembly
PDiffy.dll

The standard structure element types, for use with Elements(string). Custom types that a PDF role-maps to one of these are matched too. PDF 1.7 and PDF 2.0 share most of them; the ones only PDF 2.0 has are in its namespace (Pdf2), and Art, BlockQuote, TOC, TOCI, Index, Private, Quote, Note, Reference, BibEntry and Code are only PDF 1.7's.

public static class PdfStructureTypes
Inheritance
PdfStructureTypes
Inherited Members

Fields

Annotation

An annotation other than a link or form field, placed in the reading order (Annot).

public const string Annotation = "Annot"

Field Value

string

Article

A body of text that stands on its own, such as one article in a magazine (Art).

public const string Article = "Art"

Field Value

string

Artifact

Content that isn't part of the document's meaning, such as a page number, tagged as a structure element (Artifact).

public const string Artifact = "Artifact"

Field Value

string

Aside

Content set apart from the main text, such as a sidebar (Aside).

public const string Aside = "Aside"

Field Value

string

BibliographyEntry

A bibliography entry (BibEntry).

public const string BibliographyEntry = "BibEntry"

Field Value

string

BlockQuote

A quoted passage of one or more paragraphs (BlockQuote).

public const string BlockQuote = "BlockQuote"

Field Value

string

Caption

A caption for a figure, table or other element (Caption).

public const string Caption = "Caption"

Field Value

string

Code

Computer code, such as a program listing or a command (Code).

public const string Code = "Code"

Field Value

string

Division

A block that groups other elements and has no meaning of its own (Div).

public const string Division = "Div"

Field Value

string

Document

The root of the document's structure (Document).

public const string Document = "Document"

Field Value

string

DocumentFragment

Content brought in from another document, keeping that document's own structure (DocumentFragment).

public const string DocumentFragment = "DocumentFragment"

Field Value

string

Emphasis

Emphasized text (Em).

public const string Emphasis = "Em"

Field Value

string

Figure

An image or drawing (Figure).

public const string Figure = "Figure"

Field Value

string

FootnoteOrEndnote

A footnote or endnote, PDF 2.0's form of Note (FENote).

public const string FootnoteOrEndnote = "FENote"

Field Value

string

Form

A form field, holding its widget annotation (Form).

public const string Form = "Form"

Field Value

string

Formula

A mathematical formula (Formula).

public const string Formula = "Formula"

Field Value

string

Heading

A heading with no level in its name, so its level comes from how deeply it's nested (H).

public const string Heading = "H"

Field Value

string

Heading1

A level 1 heading (H1).

public const string Heading1 = "H1"

Field Value

string

Heading2

A level 2 heading (H2).

public const string Heading2 = "H2"

Field Value

string

Heading3

A level 3 heading (H3).

public const string Heading3 = "H3"

Field Value

string

Heading4

A level 4 heading (H4).

public const string Heading4 = "H4"

Field Value

string

Heading5

A level 5 heading (H5).

public const string Heading5 = "H5"

Field Value

string

Heading6

A level 6 heading (H6).

public const string Heading6 = "H6"

Field Value

string

Index

An index of terms, with references to where each appears (Index).

public const string Index = "Index"

Field Value

string

Label

A list item's bullet or number, or the label of a note or bibliography entry (Lbl).

public const string Label = "Lbl"

Field Value

string

A link, holding its link annotation and the text or image it covers (Link).

public const string Link = "Link"

Field Value

string

List

A list (L).

public const string List = "L"

Field Value

string

ListBody

A list item's content, after its label (LBody).

public const string ListBody = "LBody"

Field Value

string

ListItem

One item of a list, holding its label and body (LI).

public const string ListItem = "LI"

Field Value

string

NonStructural

A grouping with no meaning, whose children count as if they were in its parent (NonStruct).

public const string NonStructural = "NonStruct"

Field Value

string

Note

A footnote or endnote (Note).

public const string Note = "Note"

Field Value

string

Paragraph

A paragraph (P).

public const string Paragraph = "P"

Field Value

string

Part

A large division of the document, such as a group of chapters (Part).

public const string Part = "Part"

Field Value

string

Private

Content the app that wrote the PDF keeps for itself, with no meaning to other readers (Private).

public const string Private = "Private"

Field Value

string

Quote

A quotation within a line of text (Quote).

public const string Quote = "Quote"

Field Value

string

Reference

A reference to content elsewhere in the document, such as a page number in an index (Reference).

public const string Reference = "Reference"

Field Value

string

Ruby

Base text with small text set beside it, such as a pronunciation guide (Ruby).

public const string Ruby = "Ruby"

Field Value

string

RubyBaseText

The base text of a ruby (RB).

public const string RubyBaseText = "RB"

Field Value

string

RubyPunctuation

Punctuation around ruby text, such as parentheses, for viewers that can't show ruby (RP).

public const string RubyPunctuation = "RP"

Field Value

string

RubyText

The small text set beside a ruby's base text (RT).

public const string RubyText = "RT"

Field Value

string

Section

A section of a part or an article (Sect).

public const string Section = "Sect"

Field Value

string

Span

A run of inline content, often marked to give it a property such as its language (Span).

public const string Span = "Span"

Field Value

string

Strong

Text marked as more important than the text around it (Strong).

public const string Strong = "Strong"

Field Value

string

Subdivision

A part of a paragraph or heading set off as a line of its own, such as a line of an address (Sub).

public const string Subdivision = "Sub"

Field Value

string

Table

A table (Table).

public const string Table = "Table"

Field Value

string

TableBody

The group of rows that make up the body of a table (TBody).

public const string TableBody = "TBody"

Field Value

string

TableDataCell

A table data cell (TD).

public const string TableDataCell = "TD"

Field Value

string

TableFoot

The group of footer rows at the bottom of a table (TFoot).

public const string TableFoot = "TFoot"

Field Value

string

TableHead

The group of header rows at the top of a table (THead).

public const string TableHead = "THead"

Field Value

string

TableHeaderCell

A table header cell (TH).

public const string TableHeaderCell = "TH"

Field Value

string

TableOfContents

A table of contents (TOC).

public const string TableOfContents = "TOC"

Field Value

string

TableOfContentsItem

A table of contents item (TOCI).

public const string TableOfContentsItem = "TOCI"

Field Value

string

TableRow

A table row (TR).

public const string TableRow = "TR"

Field Value

string

Title

The title of the document or of a part of it, which isn't a heading (Title).

public const string Title = "Title"

Field Value

string

Warichu

A comment set in two smaller lines within one line of text (Warichu).

public const string Warichu = "Warichu"

Field Value

string

WarichuPunctuation

Punctuation around a warichu, such as parentheses (WP).

public const string WarichuPunctuation = "WP"

Field Value

string

WarichuText

The text of a warichu (WT).

public const string WarichuText = "WT"

Field Value

string