Class: HexaPDF::Content::SmartTextExtractor::TextRunProcessor
- Inherits:
-
Processor
- Object
- Processor
- HexaPDF::Content::SmartTextExtractor::TextRunProcessor
- Includes:
- TextRunCollector
- Defined in:
- lib/hexapdf/content/smart_text_extractor.rb
Overview
This processor class is used when layouting the text through HexaPDF::Type::Page#extract_text.
Constant Summary
Constants inherited from Processor
Processor::OPERATOR_MESSAGE_NAME_MAP
Instance Attribute Summary
Attributes included from TextRunCollector
Attributes inherited from Processor
#graphics_object, #graphics_state, #operators, #resources
Instance Method Summary collapse
- #show_text(str) ⇒ Object (also: #show_text_with_positioning)
Methods included from TextRunCollector
Methods inherited from Processor
Instance Method Details
#show_text(str) ⇒ Object Also known as: show_text_with_positioning
127 128 129 |
# File 'lib/hexapdf/content/smart_text_extractor.rb', line 127 def show_text(str) collect_text_runs(decode_text_with_positioning(str)) end |