Markers
For a description of the markers, see the explanation of Pdfstruct Data Structure
Kind
The Base Class to define a Line.
Source code in pdfstruct/marker.py
8 9 10 11 12 13 14 15 16 17 18 19 | |
Section
Bases: Kind
The class used to label the Line as a title of a section.
Source code in pdfstruct/marker.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
index
property
⚓︎
returns a normalized version of the Section : the normalized numeration and normalized text.
This is to check if these elements also appear in the normalized table of content of a document (doc._tdm).
Returns:
| Type | Description |
|---|---|
|
(tuple(str)) : the normalized components and body of text. |
SecIndex
Bases: Section
Source code in pdfstruct/marker.py
105 106 107 108 109 110 111 112 113 | |
Other
Bases: Section
Source code in pdfstruct/marker.py
149 150 151 152 153 154 155 156 | |
OtherIndex
Bases: SecIndex
Source code in pdfstruct/marker.py
159 160 161 162 | |
Header
Bases: Kind
Source code in pdfstruct/marker.py
129 130 131 132 133 134 135 136 | |
Footer
Bases: Kind
Source code in pdfstruct/marker.py
139 140 141 142 143 144 145 146 | |
Cell
Bases: Kind
Source code in pdfstruct/marker.py
116 117 118 119 120 121 122 123 124 125 126 | |