Class: LiteParse::ParsedPage

Inherits:
Object
  • Object
show all
Defined in:
lib/liteparse/types.rb

Overview

A single parsed page from a document.

Instance Method Summary collapse

Instance Method Details

#heightFloat

Returns Page height in points.

Returns:

  • (Float)

    Page height in points



37
# File 'lib/liteparse/types.rb', line 37

class ParsedPage; end

#page_numInteger

Returns 1-indexed page number.

Returns:

  • (Integer)

    1-indexed page number



37
# File 'lib/liteparse/types.rb', line 37

class ParsedPage; end

#textString

Returns Full concatenated text of this page.

Returns:

  • (String)

    Full concatenated text of this page



37
# File 'lib/liteparse/types.rb', line 37

class ParsedPage; end

#text_itemsArray<LiteParse::TextItem>

Returns Individual text items with spatial information.

Returns:



37
# File 'lib/liteparse/types.rb', line 37

class ParsedPage; end

#widthFloat

Returns Page width in points.

Returns:

  • (Float)

    Page width in points



37
# File 'lib/liteparse/types.rb', line 37

class ParsedPage; end