Class: RustPdf::PdfOverview

Inherits:
Struct
  • Object
show all
Defined in:
lib/rustpdf.rb

Overview

A non-mutating summary of a PDF (from #inspect_pdf). pdfa_level is nil when the document is not PDF/A; encryption is the cipher name ("None" when the document is not encrypted).

Instance Attribute Summary collapse

Instance Attribute Details

#encryptedObject

Returns the value of attribute encrypted

Returns:

  • (Object)

    the current value of encrypted



224
225
226
# File 'lib/rustpdf.rb', line 224

def encrypted
  @encrypted
end

#encryptionObject

Returns the value of attribute encryption

Returns:

  • (Object)

    the current value of encryption



224
225
226
# File 'lib/rustpdf.rb', line 224

def encryption
  @encryption
end

#page_countObject

Returns the value of attribute page_count

Returns:

  • (Object)

    the current value of page_count



224
225
226
# File 'lib/rustpdf.rb', line 224

def page_count
  @page_count
end

#pdfa_levelObject

Returns the value of attribute pdfa_level

Returns:

  • (Object)

    the current value of pdfa_level



224
225
226
# File 'lib/rustpdf.rb', line 224

def pdfa_level
  @pdfa_level
end

#requires_passwordObject

Returns the value of attribute requires_password

Returns:

  • (Object)

    the current value of requires_password



224
225
226
# File 'lib/rustpdf.rb', line 224

def requires_password
  @requires_password
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



224
225
226
# File 'lib/rustpdf.rb', line 224

def version
  @version
end