Class: Xberg::PdfMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePdfMetadata

Returns a new instance of PdfMetadata.

Parameters:

  • pdf_version: (String)
  • producer: (String)
  • is_encrypted: (Boolean)
  • width: (Integer)
  • height: (Integer)
  • page_count: (Integer)
  • scanned_confidence: (Float)
  • scanned_pages: (Array[Integer])
  • fabricated_text_pages: (Array[Integer])
  • implausible_text_pages: (Array[Integer])
  • layout_gated_pages: (Array[Integer])
  • layout_gate_reasons: (Array[String])


2060
# File 'sig/types.rbs', line 2060

def initialize: (?pdf_version: String, ?producer: String, ?is_encrypted: bool, ?width: Integer, ?height: Integer, ?page_count: Integer, ?scanned_confidence: Float, ?scanned_pages: Array[Integer], ?fabricated_text_pages: Array[Integer], ?implausible_text_pages: Array[Integer], ?layout_gated_pages: Array[Integer], ?layout_gate_reasons: Array[String]) -> void

Instance Attribute Details

#fabricated_text_pagesArray[Integer]? (readonly)

Returns the value of attribute fabricated_text_pages.

Returns:

  • (Array[Integer], nil)


2055
2056
2057
# File 'sig/types.rbs', line 2055

def fabricated_text_pages
  @fabricated_text_pages
end

#heightInteger? (readonly)

Returns the value of attribute height.

Returns:

  • (Integer, nil)


2051
2052
2053
# File 'sig/types.rbs', line 2051

def height
  @height
end

#implausible_text_pagesArray[Integer]? (readonly)

Returns the value of attribute implausible_text_pages.

Returns:

  • (Array[Integer], nil)


2056
2057
2058
# File 'sig/types.rbs', line 2056

def implausible_text_pages
  @implausible_text_pages
end

#is_encryptedBoolean? (readonly)

Returns the value of attribute is_encrypted.

Returns:

  • (Boolean, nil)


2049
2050
2051
# File 'sig/types.rbs', line 2049

def is_encrypted
  @is_encrypted
end

#layout_gate_reasonsArray[String]? (readonly)

Returns the value of attribute layout_gate_reasons.

Returns:

  • (Array[String], nil)


2058
2059
2060
# File 'sig/types.rbs', line 2058

def layout_gate_reasons
  @layout_gate_reasons
end

#layout_gated_pagesArray[Integer]? (readonly)

Returns the value of attribute layout_gated_pages.

Returns:

  • (Array[Integer], nil)


2057
2058
2059
# File 'sig/types.rbs', line 2057

def layout_gated_pages
  @layout_gated_pages
end

#page_countInteger? (readonly)

Returns the value of attribute page_count.

Returns:

  • (Integer, nil)


2052
2053
2054
# File 'sig/types.rbs', line 2052

def page_count
  @page_count
end

#pdf_versionString? (readonly)

Returns the value of attribute pdf_version.

Returns:

  • (String, nil)


2047
2048
2049
# File 'sig/types.rbs', line 2047

def pdf_version
  @pdf_version
end

#producerString? (readonly)

Returns the value of attribute producer.

Returns:

  • (String, nil)


2048
2049
2050
# File 'sig/types.rbs', line 2048

def producer
  @producer
end

#scanned_confidenceFloat? (readonly)

Returns the value of attribute scanned_confidence.

Returns:

  • (Float, nil)


2053
2054
2055
# File 'sig/types.rbs', line 2053

def scanned_confidence
  @scanned_confidence
end

#scanned_pagesArray[Integer]? (readonly)

Returns the value of attribute scanned_pages.

Returns:

  • (Array[Integer], nil)


2054
2055
2056
# File 'sig/types.rbs', line 2054

def scanned_pages
  @scanned_pages
end

#widthInteger? (readonly)

Returns the value of attribute width.

Returns:

  • (Integer, nil)


2050
2051
2052
# File 'sig/types.rbs', line 2050

def width
  @width
end