Class: LiteParse::ParsedPage
- Inherits:
-
Object
- Object
- LiteParse::ParsedPage
- Defined in:
- lib/liteparse/types.rb
Overview
A single parsed page from a document.
Instance Method Summary collapse
-
#height ⇒ Float
Page height in points.
-
#page_num ⇒ Integer
1-indexed page number.
-
#text ⇒ String
Full concatenated text of this page.
-
#text_items ⇒ Array<LiteParse::TextItem>
Individual text items with spatial information.
-
#width ⇒ Float
Page width in points.
Instance Method Details
#height ⇒ Float
Returns Page height in points.
37 |
# File 'lib/liteparse/types.rb', line 37 class ParsedPage; end |
#page_num ⇒ Integer
Returns 1-indexed page number.
37 |
# File 'lib/liteparse/types.rb', line 37 class ParsedPage; end |
#text ⇒ String
Returns Full concatenated text of this page.
37 |
# File 'lib/liteparse/types.rb', line 37 class ParsedPage; end |
#text_items ⇒ Array<LiteParse::TextItem>
Returns Individual text items with spatial information.
37 |
# File 'lib/liteparse/types.rb', line 37 class ParsedPage; end |
#width ⇒ Float
Returns Page width in points.
37 |
# File 'lib/liteparse/types.rb', line 37 class ParsedPage; end |