Class: Xberg::PdfConfig
- Inherits:
-
Object
- Object
- Xberg::PdfConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#allow_single_column_tables ⇒ Boolean
readonly
Returns the value of attribute allow_single_column_tables.
-
#backend ⇒ enum_PdfBackend
readonly
Returns the value of attribute backend.
-
#bottom_margin_fraction ⇒ Float?
readonly
Returns the value of attribute bottom_margin_fraction.
-
#extract_annotations ⇒ Boolean
readonly
Returns the value of attribute extract_annotations.
-
#extract_form_fields ⇒ Boolean
readonly
Returns the value of attribute extract_form_fields.
-
#extract_images ⇒ Boolean
readonly
Returns the value of attribute extract_images.
-
#extract_metadata ⇒ Boolean
readonly
Returns the value of attribute extract_metadata.
-
#extract_tables ⇒ Boolean
readonly
Returns the value of attribute extract_tables.
-
#hierarchy ⇒ HierarchyConfig?
readonly
Returns the value of attribute hierarchy.
-
#ocr_inline_images ⇒ Boolean
readonly
Returns the value of attribute ocr_inline_images.
-
#passwords ⇒ Array[String]?
readonly
Returns the value of attribute passwords.
-
#reading_order ⇒ Boolean
readonly
Returns the value of attribute reading_order.
-
#top_margin_fraction ⇒ Float?
readonly
Returns the value of attribute top_margin_fraction.
Instance Method Summary collapse
-
#initialize ⇒ PdfConfig
constructor
A new instance of PdfConfig.
- #validate ⇒ void
Constructor Details
#initialize ⇒ PdfConfig
Returns a new instance of PdfConfig.
2027 |
# File 'sig/types.rbs', line 2027
def initialize: (?extract_images: bool, ?extract_tables: bool, ?passwords: Array[String], ?extract_metadata: bool, ?hierarchy: HierarchyConfig, ?extract_annotations: bool, ?top_margin_fraction: Float, ?bottom_margin_fraction: Float, ?allow_single_column_tables: bool, ?ocr_inline_images: bool, ?extract_form_fields: bool, ?reading_order: bool, ?backend: enum_PdfBackend) -> void
|
Instance Attribute Details
#allow_single_column_tables ⇒ Boolean (readonly)
Returns the value of attribute allow_single_column_tables.
2021 2022 2023 |
# File 'sig/types.rbs', line 2021 def allow_single_column_tables @allow_single_column_tables end |
#backend ⇒ enum_PdfBackend (readonly)
Returns the value of attribute backend.
2025 2026 2027 |
# File 'sig/types.rbs', line 2025 def backend @backend end |
#bottom_margin_fraction ⇒ Float? (readonly)
Returns the value of attribute bottom_margin_fraction.
2020 2021 2022 |
# File 'sig/types.rbs', line 2020 def bottom_margin_fraction @bottom_margin_fraction end |
#extract_annotations ⇒ Boolean (readonly)
Returns the value of attribute extract_annotations.
2018 2019 2020 |
# File 'sig/types.rbs', line 2018 def extract_annotations @extract_annotations end |
#extract_form_fields ⇒ Boolean (readonly)
Returns the value of attribute extract_form_fields.
2023 2024 2025 |
# File 'sig/types.rbs', line 2023 def extract_form_fields @extract_form_fields end |
#extract_images ⇒ Boolean (readonly)
Returns the value of attribute extract_images.
2013 2014 2015 |
# File 'sig/types.rbs', line 2013 def extract_images @extract_images end |
#extract_metadata ⇒ Boolean (readonly)
Returns the value of attribute extract_metadata.
2016 2017 2018 |
# File 'sig/types.rbs', line 2016 def @extract_metadata end |
#extract_tables ⇒ Boolean (readonly)
Returns the value of attribute extract_tables.
2014 2015 2016 |
# File 'sig/types.rbs', line 2014 def extract_tables @extract_tables end |
#hierarchy ⇒ HierarchyConfig? (readonly)
Returns the value of attribute hierarchy.
2017 2018 2019 |
# File 'sig/types.rbs', line 2017 def hierarchy @hierarchy end |
#ocr_inline_images ⇒ Boolean (readonly)
Returns the value of attribute ocr_inline_images.
2022 2023 2024 |
# File 'sig/types.rbs', line 2022 def ocr_inline_images @ocr_inline_images end |
#passwords ⇒ Array[String]? (readonly)
Returns the value of attribute passwords.
2015 2016 2017 |
# File 'sig/types.rbs', line 2015 def passwords @passwords end |
#reading_order ⇒ Boolean (readonly)
Returns the value of attribute reading_order.
2024 2025 2026 |
# File 'sig/types.rbs', line 2024 def reading_order @reading_order end |
#top_margin_fraction ⇒ Float? (readonly)
Returns the value of attribute top_margin_fraction.
2019 2020 2021 |
# File 'sig/types.rbs', line 2019 def top_margin_fraction @top_margin_fraction end |
Instance Method Details
#validate ⇒ void
This method returns an undefined value.
2028 |
# File 'sig/types.rbs', line 2028
def validate: () -> void
|