15 #ifndef FS_LAYOUTRECOGNITION_H_ 16 #define FS_LAYOUTRECOGNITION_H_ 35 namespace layoutrecognition {
47 typedef enum _ElementType {
443 typedef enum _AttributeType {
954 typedef enum _AttributeValueEnum {
1448 typedef enum _AttributeValueType {
1952 #endif // FS_LAYOUTRECOGNITION_H_ Definition: fs_pdfgraphicsobject.h:241
Structure element type: DocumentFragment (PDF 2.0), which represents a part of an original complete d...
Definition: fs_layoutrecognition.h:51
Enum value: LineThrough, which means a line through the middle of the text.
Definition: fs_layoutrecognition.h:1242
Value type: element.
Definition: fs_layoutrecognition.h:1462
Structure element type: TD, which means "Table data cell" and represents a table cell containing data...
Definition: fs_layoutrecognition.h:177
Matrix GetMatrix() const
Get matrix.
Enum value: Inset, which means the border makes the entire box look as though it were embedded in the...
Definition: fs_layoutrecognition.h:1153
Attribute type: Color, which represents the color to be used for drawing text and the default value f...
Definition: fs_layoutrecognition.h:600
AttributeValueEnum
Enumeration for element general layout attribute enum values.
Definition: fs_layoutrecognition.h:954
Structure element type: Hn (PDF 2.0), which represents heading with level 7 or more.
Definition: fs_layoutrecognition.h:139
bool IsEmpty() const
Check whether current object is empty or not.
Structure element type: AnnotContent, which means annotation content element.
Definition: fs_layoutrecognition.h:322
common::Range GetGraphicsObjectRange()
Get the range of current content element in current graphics object.
pdf::objects::PDFDictionary * GetDict() const
Get PDF dictionary of related graphics object.
LRElement()
Constructor.
Definition: fs_layoutrecognition.h:327
Enum value: Row, which means row of a table.
Definition: fs_layoutrecognition.h:1359
Enum value: TbRl, which means inline progression from top to bottom; block progression from right to ...
Definition: fs_layoutrecognition.h:1079
LRGraphicsObjectElement()
Constructor.
Definition: fs_layoutrecognition.h:1720
Attribute type: ColumnWidths, which represents the desired width of the columns, measured in the inli...
Definition: fs_layoutrecognition.h:819
Enum value: rb, which means radio button.
Definition: fs_layoutrecognition.h:1317
Structure element type: ContainerObject, which means container object element.
Definition: fs_layoutrecognition.h:306
Definition: fs_common.h:991
Attribute type: TextDecorationThickness, which represents the thickness of each line drawn as part of...
Definition: fs_layoutrecognition.h:735
Attribute type: BBox, which represents the element's bounding box (the rectangle that completely encl...
Definition: fs_layoutrecognition.h:499
Structure element type: PathContent, which means path content element.
Definition: fs_layoutrecognition.h:314
Enum value: Bottom, which means bottom edge of the page.
Definition: fs_layoutrecognition.h:1389
Structure element type: Figure, which represents an item of graphical content.
Definition: fs_layoutrecognition.h:282
Enum value: Decimal, which means decimal arabic numerals (1-9, 10-99, ...).
Definition: fs_layoutrecognition.h:1273
AttributeType
Enumeration for element general layout attribute types.
Definition: fs_layoutrecognition.h:443
int GetAttributeValueCount(AttributeType type)
Get value count of a specified attribute type.
Attribute type only for Table: Scope, which indicates whether the header cell applies to the rest of ...
Definition: fs_layoutrecognition.h:906
static String StringifyElementType(ElementType type)
Convert enum value of a specified element type to a short and memorable string (text) representation.
Structure element type: Caption, which represents a brief portion of text describing a table or figur...
Definition: fs_layoutrecognition.h:79
Enum value: Pagination, which means pagination artifacts. Ancillary page features such as running hea...
Definition: fs_layoutrecognition.h:1402
Enum value: neutral, which means the state is neutral.
Definition: fs_layoutrecognition.h:1353
bool operator==(const LRContext &other) const
Equal operator.
Structure element type: NonStruct, which means "Nonstructural element" and represents a grouping elem...
Definition: fs_layoutrecognition.h:112
Enum value: Other (PDF 2.0).
Definition: fs_layoutrecognition.h:1440
bool operator !=(const LRElement &other) const
Not equal operator.
Structure element type: Em (PDF 2.0), which means "Emphasis" and represents content for the purpose o...
Definition: fs_layoutrecognition.h:270
Attribute type only for PrintField: Role, which represents the type of form field represented by this...
Definition: fs_layoutrecognition.h:853
Structure element type: TOC, which means "Table of contents" and represetns a list made up of table o...
Definition: fs_layoutrecognition.h:85
Structure element type: Form, which represents a widget annotation representing an interactive form f...
Definition: fs_layoutrecognition.h:289
Structure element type: ShadingObject, which means shading graphics object element.
Definition: fs_layoutrecognition.h:302
Attribute type: InlineAlign, which represents the alignment, in the inline-progression direction,...
Definition: fs_layoutrecognition.h:675
Enum value: Block, which means to be stacked in the block-progression direction within an enclosing r...
Definition: fs_layoutrecognition.h:963
Attribute type: Subtype, which means the subtype of annotation or artifact.
Definition: fs_layoutrecognition.h:586
Definition: fs_layoutrecognition.h:513
Header file for PDF document related definitions and classes.
int GetSupportedAttributeCount()
Get suported attribute count.
Attribute type: Attached, which specifies the edges of the page, if any, to which the artifact is log...
Definition: fs_layoutrecognition.h:569
Attribute type only for Table: Summary, which represents a summary of the table's purpose and structu...
Definition: fs_layoutrecognition.h:913
Enum value: Disc, which means solid circular bullet.
Definition: fs_layoutrecognition.h:1255
Structure element type: Art, which means "Article" and represents a relatively self-contained body of...
Definition: fs_layoutrecognition.h:58
Enum value: Justify, which means the alignment for attributes TextAlign/BlockAlign/RubyAlign.
Definition: fs_layoutrecognition.h:1218
Enum value: on, which means the state is on.
Definition: fs_layoutrecognition.h:1341
Structure element type: P, which means "Paragraph" and represents a low-level division of text.
Definition: fs_layoutrecognition.h:119
int32 GetAttributeValueInt32(AttributeType type, int index)
Get an integer value (specified by index) for specified attribute type.
Structure element type: ComplexContent, which means complex content element.
Definition: fs_layoutrecognition.h:320
(Currently, unsupported) Attribute type only for Table: Headers, which represents an array of element...
Definition: fs_layoutrecognition.h:893
Definition: fs_layoutrecognition.h:506
bool IsStructureElement() const
Check whether current object is structure element or not.
Enum value: float.
Definition: fs_layoutrecognition.h:1311
AttributeValueEnum GetAttributeValueEnum(AttributeType type, int index)
Get an enum value (specified by index) for specified attribute type.
Structure element type: Title (PDF 2.0), which represents content that is usually referred to as the ...
Definition: fs_layoutrecognition.h:103
Enum value: tv, which means text-value field.
Definition: fs_layoutrecognition.h:1335
Structure element type: AnnotObject, which means annotation object element.
Definition: fs_layoutrecognition.h:308
~LRContentElement()
Destructor.
Definition: fs_layoutrecognition.h:1815
Attribute type: invalid.
Definition: fs_layoutrecognition.h:445
Enum value: None, which means no such attribute.
Definition: fs_layoutrecognition.h:1095
RectF GetBBox() const
Get bounding box.
WIDE STRING CLASS.
Definition: fx_string.h:1452
Enum value: Auto.
Definition: fs_layoutrecognition.h:1185
Attribute type: ColumnGap, which represents the desired space between adjacent columns,...
Definition: fs_layoutrecognition.h:806
Structure element type: WT, which means "Warichu text" and represents the smaller-size text of a wari...
Definition: fs_layoutrecognition.h:260
static String StringifyAttributeType(AttributeType type)
Convert the enum value of a specified attribute type to a short and memorable string (text) represent...
Value type: ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24).
Definition: fs_layoutrecognition.h:1458
Structure element type: Code, which represents a fragment of computer program text.
Definition: fs_layoutrecognition.h:221
Structure element type: Aside (PDF 2.0), which represents content that is distinct from other content...
Definition: fs_layoutrecognition.h:101
Structure element type: Annot, which means "Annotation" and represents an association between a porti...
Definition: fs_layoutrecognition.h:232
ElementType GetElementType()
Get element type.
Value type: an array of wide strings.
Definition: fs_layoutrecognition.h:1472
Definition: fs_layoutrecognition.h:1717
Enum value: Overline, which means a line above the text.
Definition: fs_layoutrecognition.h:1236
Enum value: Middle, which means children are centered within the table cell.
Definition: fs_layoutrecognition.h:1224
Enum value: LtTb, which means inline progression from left to right; block progression from top to bo...
Definition: fs_layoutrecognition.h:1065
Attribute type: EndIndent, which represents the distance from the end edge of the BLSE to that of the...
Definition: fs_layoutrecognition.h:628
Attribute type: WritingMode, which means the directions of layout progression for packing of ILSEs (i...
Definition: fs_layoutrecognition.h:485
Structure element type: H5, which represents heading with level 5.
Definition: fs_layoutrecognition.h:135
LRGraphicsObjectElement GetGraphicsObjectElement() const
Get the related graphics object element.
Structure element type: Lbl, which means "Label" and represents a name or number that distinguishes a...
Definition: fs_layoutrecognition.h:151
Attribute type: SpaceBefore, which represents the amount of extra space preceding the before edge of ...
Definition: fs_layoutrecognition.h:607
Enum value: Page, which means page artifacts. Production aids extraneous to the document itself,...
Definition: fs_layoutrecognition.h:1416
Structure element type: Strong (PDF 2.0), which represents content for the purpose of strong importan...
Definition: fs_layoutrecognition.h:275
Structure element type: BibEntry, which means "Bibliography entry" and represents a reference identif...
Definition: fs_layoutrecognition.h:219
Structure element type: L, which means "List" and represents a sequence of items of like meaning and ...
Definition: fs_layoutrecognition.h:144
Attribute type: role, which means strings of structure element meaning and standard type it maps to.
Definition: fs_layoutrecognition.h:452
Attribute type: Destination (PDF 2.0), which provides a means to access content.
Definition: fs_layoutrecognition.h:491
LRElement & operator=(const LRElement &other)
Assign operator.
Attribute type: TextDecorationColor, which represents the color to be used for drawing text decoratio...
Definition: fs_layoutrecognition.h:728
Enum value: RlTb, which means inline progression from right to left; block progression from top to bo...
Definition: fs_layoutrecognition.h:1072
static String StringifyEnumVariant(AttributeValueEnum type)
Convert the enum value of a specified attribute value enum to a short and memorable string (text) rep...
Value type: an array of float values.
Definition: fs_layoutrecognition.h:1468
Attribute type: BorderColor, which represents the color of the border drawn on the edges of a table c...
Definition: fs_layoutrecognition.h:527
Attribute type only for Table: RowSpan, which represents the number of rows in the enclosing table th...
Definition: fs_layoutrecognition.h:880
Enum value: Left, which means left edge of the page.
Definition: fs_layoutrecognition.h:1377
Attribute type: BlockAlign, which represents the alignment, in the block-progression direction,...
Definition: fs_layoutrecognition.h:663
Attribute type: RubyPosition, which represents the placement of the RT structure element relative to ...
Definition: fs_layoutrecognition.h:776
Structure element type: LBody, which means "List body" and reprsents the descriptive content of a lis...
Definition: fs_layoutrecognition.h:156
Attribute type: TBorderStyle, which represents the style of the border drawn on each edge of a table ...
Definition: fs_layoutrecognition.h:695
Attribute type: BorderThickness, which represents the thickness of the border drawn on the edges of a...
Definition: fs_layoutrecognition.h:555
Enum value: Warichu, which means the RT and associated RP elements are to be formatted as a warichu,...
Definition: fs_layoutrecognition.h:984
Enum value: Unordered (PDF 2.0), which means unordered list with unspecified bullets.
Definition: fs_layoutrecognition.h:1303
Enum value: PageNum (PDF2.0).
Definition: fs_layoutrecognition.h:1432
WString GetAttributeValueString(AttributeType type, int index)
Get a string value (specified by index) for specified attribute type.
static bool IsArrayAttributeValueType(AttributeValueType type)
Check whether input attribute value type represents an array.
Structure element type: H4, which represents heading with level 4.
Definition: fs_layoutrecognition.h:133
Enum value: LowerAlpha, which means lowercase letters (a, b, c, ...).
Definition: fs_layoutrecognition.h:1297
Attribute type: Rotation.
Definition: fs_layoutrecognition.h:472
Enum value: Start, which means the place for attribute Placement, or the alignment for attributes Tex...
Definition: fs_layoutrecognition.h:1037
Structure element type: ImageContent, which means image content element.
Definition: fs_layoutrecognition.h:316
Enum value: Header.
Definition: fs_layoutrecognition.h:1426
uint32 ARGB
ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_basictypes.h:210
Enum value: Right, which means right edge of the page.
Definition: fs_layoutrecognition.h:1395
bool IsEmpty() const
Check whether current object is empty or not.
Attribute type: RubyAlign, which represents the justification of the lines within a ruby assembly.
Definition: fs_layoutrecognition.h:763
LRStructureElement GetParentElement() const
Get the parent element.
LRStructureElement GetRootElement()
Get the root element of structure tree.
Structure element type: Link, which represents an association between a portion of the ILSE's content...
Definition: fs_layoutrecognition.h:226
Structure element type: H3, which represents heading with level 3.
Definition: fs_layoutrecognition.h:131
Enum value: Double, which means the border is two solid lines.
Definition: fs_layoutrecognition.h:1131
LRElement GetChild(int index)
Get a child element by index.
Structure element type: H2, which represents heading with level 2.
Definition: fs_layoutrecognition.h:129
Structure element type: FENote (PDF 2.0), which is used to markup footnotes and endnotes.
Definition: fs_layoutrecognition.h:106
Enum value: Before, which means the placement for attributes Placement/RubyPosition or alignment for ...
Definition: fs_layoutrecognition.h:1002
LRContentElement()
Constructor.
Definition: fs_layoutrecognition.h:1795
Structure element type: TextContent, which means text content element.
Definition: fs_layoutrecognition.h:312
Value type: an array of enum values.
Definition: fs_layoutrecognition.h:1464
Definition: fx_basic.h:3752
Enum value: Ordered (PDF 2.0), which means ordered lists with unspecified numbering.
Definition: fs_layoutrecognition.h:1309
AttributeValueType GetAttributeValueType(AttributeType type)
Get attribute value type for a specified attribute type.
Structure element type: Formula, which represents a mathematical formula.
Definition: fs_layoutrecognition.h:284
Enum value: Top, which means top edge of the page.
Definition: fs_layoutrecognition.h:1383
Enum value: Dotten, which means the border is a series of dots.
Definition: fs_layoutrecognition.h:1110
~LRGraphicsObjectElement()
Destructor.
Definition: fs_layoutrecognition.h:1740
Attribute type only for List: ListNumbering, which represents the numbering system to be used to gene...
Definition: fs_layoutrecognition.h:840
Structure element type: Sub (PDF 2.0), which means "Sub-division of a block level element" and repres...
Definition: fs_layoutrecognition.h:280
LRStructureElement()
Constructor.
Definition: fs_layoutrecognition.h:1479
Enum value: Row, which means both row and column of a table.
Definition: fs_layoutrecognition.h:1371
Invalid enum value.
Definition: fs_layoutrecognition.h:956
Attribute type: SpaceAfter, which represents the amount of extra space following the after edge of th...
Definition: fs_layoutrecognition.h:614
Attribute type only for PrintField: checked, which represents the state of a radio button or check bo...
Definition: fs_layoutrecognition.h:865
Structure element type: TextObject, which means text graphics object element.
Definition: fs_layoutrecognition.h:296
Structure element type: BlockQuote, which means "Block quotation" and represents a portion of text co...
Definition: fs_layoutrecognition.h:74
Structure element type: Private, which means "Private element" and represents a grouping element cont...
Definition: fs_layoutrecognition.h:117
Structure element type: Sect, which means "Section" and represents a container for grouping related c...
Definition: fs_layoutrecognition.h:63
Definition: fs_common.h:281
Matrix GetMatrix() const
Get matrix.
Enum value: Square, which means solid square bullet.
Definition: fs_layoutrecognition.h:1267
Attribute type: Placement, which means the positioning of the element with respect to the enclosing r...
Definition: fs_layoutrecognition.h:466
Structure element type: RB, which means "Ruby base text" and represents the full-size text to which t...
Definition: fs_layoutrecognition.h:239
Value type: enum.
Definition: fs_layoutrecognition.h:1452
Attribute type: TPadding, which specifies an offset to account for the separation between the table c...
Definition: fs_layoutrecognition.h:704
Definition: fs_pdfpage.h:367
Attribute type: ColumnCount, which represents the number of columns in the content of the grouping el...
Definition: fs_layoutrecognition.h:791
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
Attribute type: TextIndent, which represents the additional distance from the start edge of the BLSE,...
Definition: fs_layoutrecognition.h:637
Structure element type: Artifact, which includes other Pagination, Layout, Page and Background artifa...
Definition: fs_layoutrecognition.h:294
Structure element type: Span, which represents a generic inline portion of text having no particular ...
Definition: fs_layoutrecognition.h:197
float GetAttributeValueFloat(AttributeType type, int index)
Get a float value (specified by index) for specified attribute type.
Empty value type.
Definition: fs_layoutrecognition.h:1450
int GetChildCount()
Get the count of children elements.
~LRStructureElement()
Destructor.
Definition: fs_layoutrecognition.h:1499
Structure element type: TBody, which means "Table body row group" and represents a group of rows that...
Definition: fs_layoutrecognition.h:187
common::Progressive StartParse(common::PauseCallback *pause=0)
Start to parse layout recognition for related PDF page.
AttributeValueType
Enumeration for value type of element general layout attribute.
Definition: fs_layoutrecognition.h:1448
Enum value: TbLr (PDF 2.0), which means inline progression from top to bottom; block progression from...
Definition: fs_layoutrecognition.h:1086
Structure element type: TH, which means "Table header cell" and represents a table cell containing he...
Definition: fs_layoutrecognition.h:172
Structure element type: RT, which means "Ruby annotation text" and represents the smaller-size text t...
Definition: fs_layoutrecognition.h:244
Value type: wide string.
Definition: fs_layoutrecognition.h:1460
Enum value: Circle, which means open circular bullet.
Definition: fs_layoutrecognition.h:1261
RectF GetBBox() const
Get bounding box.
Enum value: Watermark.
Definition: fs_layoutrecognition.h:1430
Attribute type only for PrintField: Desc, which represents the alternate name of the field,...
Definition: fs_layoutrecognition.h:873
Structure element type: TOCI, which means "Table of contents item" and represents an individual membe...
Definition: fs_layoutrecognition.h:90
Structure element type: TFoot, which means "Table footer row group" and represents a group of rows th...
Definition: fs_layoutrecognition.h:192
FX_INT32 int32
32-bit signed integer.
Definition: fs_basictypes.h:194
Definition: fs_basictypes.h:397
Structure element type: Table, which represents a two-dimensional layout of rectangular data cells,...
Definition: fs_layoutrecognition.h:161
(Reserved) Attribute type: Version, which represents schema version of layout recognition engine.
Definition: fs_layoutrecognition.h:945
Structure element type: PageObject, which means page object element.
Definition: fs_layoutrecognition.h:310
static AttributeType ParseAttributeType(String type_string)
Parse a string representation for attribute type and retrieve the enum value for this attribute type.
Enum value: Inline, which means the placement for attributes Placement/RubyPosition.
Definition: fs_layoutrecognition.h:977
Structure element type: Div, which means "Division" and represents a generic block-level element or g...
Definition: fs_layoutrecognition.h:68
Enum value: Background, which means background artifacts. Background artifacts typically serve as a b...
Definition: fs_layoutrecognition.h:1424
LRContext & operator=(const LRContext &other)
Assign operator.
Header file for PDF page related definitions and classes.
Enum value: After, which means the alignment for attribute BlockAlign or the placement for attribute ...
Definition: fs_layoutrecognition.h:1016
Enum value: Dashed, which means the border is a series of short line segments.
Definition: fs_layoutrecognition.h:1117
Enum value: Layout, which means layout artifacts. Purely cosmetic typographical or design elements su...
Definition: fs_layoutrecognition.h:1409
Structure element type: Warichu, which represents the wrapper around the entire warichu assembly.
Definition: fs_layoutrecognition.h:254
Definition: fs_layoutrecognition.h:1792
Definition: fs_pdfobject.h:785
Structure element type: THead, which means "Table header row group" and represents a group of rows th...
Definition: fs_layoutrecognition.h:182
Structure element type: ShadingContent, which means shading content element.
Definition: fs_layoutrecognition.h:318
Enum value: Groove, which means the border looks as though it were carved into the canvas.
Definition: fs_layoutrecognition.h:1138
(Reserved) Attribute type: Direction.
Definition: fs_layoutrecognition.h:933
RectF GetBBox() const
Get bounding box.
bool operator==(const LRElement &other) const
Equal operator.
Foxit namespace.
Definition: fs_compare.h:27
Enum value: UpperAlpha, which means uppercase letters (A, B, C, ...).
Definition: fs_layoutrecognition.h:1291
Enum value: Ridge, which means the border looks as though it were coming out of the canvas (the oppos...
Definition: fs_layoutrecognition.h:1145
int GetGraphicsObjectIndex() const
Get index of related graphics object.
BYTE STRING CLASS.
Definition: fx_string.h:317
Structure element type: H6, which represents heading with level 6.
Definition: fs_layoutrecognition.h:137
Structure element type: TR, which means "Table row" and represents a row of headings or data in a tab...
Definition: fs_layoutrecognition.h:166
Enum value: Footer.
Definition: fs_layoutrecognition.h:1428
Attribute type: TextAlign, which represents the alignment of text and other content within lines of t...
Definition: fs_layoutrecognition.h:650
Enum value: Hidden, which is same as None except in terms of border conflict resolution for table ele...
Definition: fs_layoutrecognition.h:1103
Enum value: Underline, which means a line below the text.
Definition: fs_layoutrecognition.h:1230
Structure element type: H, which means "Heading" and represnets a label for a subdivision of a docume...
Definition: fs_layoutrecognition.h:125
Structure element type: PathObject, which means path graphics object element.
Definition: fs_layoutrecognition.h:298
Enum value: Center, which means the alignment for attributes TextAlign/InlineAlign/RubyAlign.
Definition: fs_layoutrecognition.h:1200
Attribute type: Padding, which specifies an offset to account for the separation between the element'...
Definition: fs_layoutrecognition.h:593
Enum value: off, which means the state is off.
Definition: fs_layoutrecognition.h:1347
ARGB GetAttributeValueARGB(AttributeType type, int index)
Get an ARGB value (specified by index) for specified attribute type.
bool IsGraphicsObjectElement() const
Check whether current object is graphics object element or not.
Value type: float.
Definition: fs_layoutrecognition.h:1456
AttributeType GetSupportedAttribute(int index)
Get a supported attribute type by index.
LRStructureElement GetParentElement() const
Get the parent element.
bool IsContentElement() const
Check whether current object is content element or not.
Structure element type: Ruby, which represents the wrapper around the entire ruby assembly.
Definition: fs_layoutrecognition.h:234
Structure element type: H1, which represents heading with level 1.
Definition: fs_layoutrecognition.h:127
Definition: fs_layoutrecognition.h:1860
Value type: 32-bit signed integer.
Definition: fs_layoutrecognition.h:1454
#define NULL
The null-pointer value.
Definition: fx_system.h:767
Enum value: Outset, which means the border makes the entire box look as though it were coming out of ...
Definition: fs_layoutrecognition.h:1161
Attribute type: GlyphOrientationVertical, which specifies the orientation of glyphs when the inline-p...
Definition: fs_layoutrecognition.h:784
Definition: fx_coordinates.h:1076
LRGraphicsObjectElement GetParentGraphicsObjectElement() const
Get the parent graphics object element.
Structure element type: FormObject, which means form XObject graphics object element.
Definition: fs_layoutrecognition.h:304
Structure element type: ImageObject, which means image graphics object element.
Definition: fs_layoutrecognition.h:300
Definition: fs_layoutrecognition.h:435
Enum value: End, which means the place for attribute Placement, or the alignment for attributes TextA...
Definition: fs_layoutrecognition.h:1058
Structure element type: WP, which means "Warichu punctuation" and represents the punctuation that sur...
Definition: fs_layoutrecognition.h:265
Structure element type: Note, which represents an item of explanatory text, such as a footnote or an ...
Definition: fs_layoutrecognition.h:209
Structure element type: Document, which represents a complete document.
Definition: fs_layoutrecognition.h:49
(Reserved) Attribute type: ABox.
Definition: fs_layoutrecognition.h:939
LRStructureElement GetAttributeValueElement(AttributeType type, int index)
Get an structure element object (specified by index) for specified attribute type.
Enum value: Solid, which means the border is a single line segment.
Definition: fs_layoutrecognition.h:1124
Attribute type: TextDecorationType, which represents the text decoration, if any, to be applied to th...
Definition: fs_layoutrecognition.h:749
Enum value: Row, which means column of a table.
Definition: fs_layoutrecognition.h:1365
Structure element type: Quote, which means "Quotation" and represents an inline portion of text attri...
Definition: fs_layoutrecognition.h:203
Attribute type only for Table: ColSpan, which represents the number of columns in the enclosing table...
Definition: fs_layoutrecognition.h:887
Structure element type: RP, which means "Ruby punctuation" and represents punctuation surrounding the...
Definition: fs_layoutrecognition.h:249
ElementType
Enumeration for standard structure types.
Definition: fs_layoutrecognition.h:47
Enum value: pb, which means push button.
Definition: fs_layoutrecognition.h:1329
Structure element type: Reference, which represents a citation to content elsewhere in the document.
Definition: fs_layoutrecognition.h:214
Attribute type: StartIndent, which represents the distance from the start edge of the reference area ...
Definition: fs_layoutrecognition.h:621
Structure element type: Index, which represents a sequence of entries containing identifying text acc...
Definition: fs_layoutrecognition.h:96
LRContext(const pdf::PDFPage &page)
Constructor, from a PDF Page object.
Value type: an array of ARGB values.
Definition: fs_layoutrecognition.h:1470
Definition: fs_layoutrecognition.h:1168
Value type: an array of integer values.
Definition: fs_layoutrecognition.h:1466
Definition: fs_layoutrecognition.h:39
Structure element type: Part, which represents a large-scale division of a document.
Definition: fs_layoutrecognition.h:53
Attribute type: BorderStyle, which represents the style of an element's border.
Definition: fs_layoutrecognition.h:546
Value type: an array of elements.
Definition: fs_layoutrecognition.h:1474
Enum value: UpperRoman, which means uppercase roman numerals (I, II, III, IV, ...).
Definition: fs_layoutrecognition.h:1279
Attribute type: LineHeight, which means the element's preferred height, in the block-progression dire...
Definition: fs_layoutrecognition.h:721
Enum value: Distribute, which means the content is to be expanded to fill the available width in the ...
Definition: fs_layoutrecognition.h:1249
Attribute type: BackgroundColor, which represents the color to be used to fill the background of a ta...
Definition: fs_layoutrecognition.h:520
String StringifyType() const
Convert type (enum value) of current element to a short and memorable string (text) representation.
Enum value: LowerRoman, which means lowercase roman numerals (i, ii, iii, iv, ...).
Definition: fs_layoutrecognition.h:1285
Definition: fx_coordinates.h:771
Attribute type: Short (PDF 2.0), which contains a short form of the content of a TH structure element...
Definition: fs_layoutrecognition.h:920
Attribute type: BaselineShift, which means the distance by which the element's baseline is shifted re...
Definition: fs_layoutrecognition.h:711
Enum value: Bates (PDF2.0).
Definition: fs_layoutrecognition.h:1434
pdf::graphics::GraphicsObject * GetGraphicsObject() const
Get related graphics object.
Structure element type: LI, which means "List item" and represents an individual member of a list.
Definition: fs_layoutrecognition.h:146
bool operator!=(const LRContext &other) const
Not equal operator.
Enum value: cb, which means check box.
Definition: fs_layoutrecognition.h:1323