Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::PDFInfo.
Information about the PDF file structure. See https://developers.virustotal.com/reference/pdf_info
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#acroform
def acroform() -> ::Integer
Returns
- (::Integer) — Number of /AcroForm tags found in the PDF.
#acroform=
def acroform=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /AcroForm tags found in the PDF.
Returns
- (::Integer) — Number of /AcroForm tags found in the PDF.
#autoaction
def autoaction() -> ::Integer
Returns
- (::Integer) — Number of /AA tags found in the PDF.
#autoaction=
def autoaction=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /AA tags found in the PDF.
Returns
- (::Integer) — Number of /AA tags found in the PDF.
#embedded_file
def embedded_file() -> ::Integer
Returns
- (::Integer) — Number of /EmbeddedFile tags found in the PDF.
#embedded_file=
def embedded_file=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /EmbeddedFile tags found in the PDF.
Returns
- (::Integer) — Number of /EmbeddedFile tags found in the PDF.
#encrypted
def encrypted() -> ::Integer
Returns
- (::Integer) — Whether the document is encrypted or not. This is defined by the /Encrypt tag.
#encrypted=
def encrypted=(value) -> ::Integer
Parameter
- value (::Integer) — Whether the document is encrypted or not. This is defined by the /Encrypt tag.
Returns
- (::Integer) — Whether the document is encrypted or not. This is defined by the /Encrypt tag.
#endobj_count
def endobj_count() -> ::Integer
Returns
- (::Integer) — Number of object definitions (endobj keyword).
#endobj_count=
def endobj_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of object definitions (endobj keyword).
Returns
- (::Integer) — Number of object definitions (endobj keyword).
#endstream_count
def endstream_count() -> ::Integer
Returns
- (::Integer) — Number of defined stream objects (stream keyword).
#endstream_count=
def endstream_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of defined stream objects (stream keyword).
Returns
- (::Integer) — Number of defined stream objects (stream keyword).
#flash
def flash() -> ::Integer
Returns
- (::Integer) — Number of /RichMedia tags found in the PDF.
#flash=
def flash=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /RichMedia tags found in the PDF.
Returns
- (::Integer) — Number of /RichMedia tags found in the PDF.
#header
def header() -> ::String
Returns
- (::String) — PDF version.
#header=
def header=(value) -> ::String
Parameter
- value (::String) — PDF version.
Returns
- (::String) — PDF version.
#javascript
def javascript() -> ::Integer
Returns
- (::Integer) — Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.
#javascript=
def javascript=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.
Returns
- (::Integer) — Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.
#jbig2_compression
def jbig2_compression() -> ::Integer
Returns
- (::Integer) — Number of /JBIG2Decode tags found in the PDF.
#jbig2_compression=
def jbig2_compression=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /JBIG2Decode tags found in the PDF.
Returns
- (::Integer) — Number of /JBIG2Decode tags found in the PDF.
#js
def js() -> ::Integer
Returns
- (::Integer) — Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.
#js=
def js=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.
Returns
- (::Integer) — Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.
#launch_action_count
def launch_action_count() -> ::Integer
Returns
- (::Integer) — Number of /Launch tags found in the PDF file.
#launch_action_count=
def launch_action_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /Launch tags found in the PDF file.
Returns
- (::Integer) — Number of /Launch tags found in the PDF file.
#obj_count
def obj_count() -> ::Integer
Returns
- (::Integer) — Number of objects definitions (obj keyword).
#obj_count=
def obj_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of objects definitions (obj keyword).
Returns
- (::Integer) — Number of objects definitions (obj keyword).
#object_stream_count
def object_stream_count() -> ::Integer
Returns
- (::Integer) — Number of object streams.
#object_stream_count=
def object_stream_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of object streams.
Returns
- (::Integer) — Number of object streams.
#openaction
def openaction() -> ::Integer
Returns
- (::Integer) — Number of /OpenAction tags found in the PDF.
#openaction=
def openaction=(value) -> ::Integer
Parameter
- value (::Integer) — Number of /OpenAction tags found in the PDF.
Returns
- (::Integer) — Number of /OpenAction tags found in the PDF.
#page_count
def page_count() -> ::Integer
Returns
- (::Integer) — Number of pages in the PDF.
#page_count=
def page_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of pages in the PDF.
Returns
- (::Integer) — Number of pages in the PDF.
#startxref
def startxref() -> ::Integer
Returns
- (::Integer) — Number of startxref keywords in the PDF.
#startxref=
def startxref=(value) -> ::Integer
Parameter
- value (::Integer) — Number of startxref keywords in the PDF.
Returns
- (::Integer) — Number of startxref keywords in the PDF.
#stream_count
def stream_count() -> ::Integer
Returns
- (::Integer) — Number of defined stream objects (stream keyword).
#stream_count=
def stream_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of defined stream objects (stream keyword).
Returns
- (::Integer) — Number of defined stream objects (stream keyword).
#suspicious_colors
def suspicious_colors() -> ::Integer
Returns
- (::Integer) — Number of colors expressed with more than 3 bytes (CVE-2009-3459).
#suspicious_colors=
def suspicious_colors=(value) -> ::Integer
Parameter
- value (::Integer) — Number of colors expressed with more than 3 bytes (CVE-2009-3459).
Returns
- (::Integer) — Number of colors expressed with more than 3 bytes (CVE-2009-3459).
#trailer
def trailer() -> ::Integer
Returns
- (::Integer) — Number of trailer keywords in the PDF.
#trailer=
def trailer=(value) -> ::Integer
Parameter
- value (::Integer) — Number of trailer keywords in the PDF.
Returns
- (::Integer) — Number of trailer keywords in the PDF.
#xfa
def xfa() -> ::Integer
Returns
- (::Integer) — Number of \XFA tags found in the PDF.
#xfa=
def xfa=(value) -> ::Integer
Parameter
- value (::Integer) — Number of \XFA tags found in the PDF.
Returns
- (::Integer) — Number of \XFA tags found in the PDF.
#xref
def xref() -> ::Integer
Returns
- (::Integer) — Number of xref keywords in the PDF.
#xref=
def xref=(value) -> ::Integer
Parameter
- value (::Integer) — Number of xref keywords in the PDF.
Returns
- (::Integer) — Number of xref keywords in the PDF.