Google Cloud Chronicle Client - Class PDFInfo (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class PDFInfo.

Information about the PDF file structure. See https://developers.virustotal.com/reference/pdf_info

Generated from protobuf message google.backstory.PDFInfo

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ js int|string

Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.

↳ javascript int|string

Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.

↳ launch_action_count int|string

Number of /Launch tags found in the PDF file.

↳ object_stream_count int|string

Number of object streams.

↳ endobj_count int|string

Number of object definitions (endobj keyword).

↳ header string

PDF version.

↳ acroform int|string

Number of /AcroForm tags found in the PDF.

↳ autoaction int|string

Number of /AA tags found in the PDF.

↳ embedded_file int|string

Number of /EmbeddedFile tags found in the PDF.

↳ encrypted int|string

Whether the document is encrypted or not. This is defined by the /Encrypt tag.

↳ flash int|string

Number of /RichMedia tags found in the PDF.

↳ jbig2_compression int|string

Number of /JBIG2Decode tags found in the PDF.

↳ obj_count int|string

Number of objects definitions (obj keyword).

↳ endstream_count int|string

Number of defined stream objects (stream keyword).

↳ page_count int|string

Number of pages in the PDF.

↳ stream_count int|string

Number of defined stream objects (stream keyword).

↳ openaction int|string

Number of /OpenAction tags found in the PDF.

↳ startxref int|string

Number of startxref keywords in the PDF.

↳ suspicious_colors int|string

Number of colors expressed with more than 3 bytes (CVE-2009-3459).

↳ trailer int|string

Number of trailer keywords in the PDF.

↳ xfa int|string

Number of \XFA tags found in the PDF.

↳ xref int|string

Number of xref keywords in the PDF.

getJs

Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.

Returns
Type Description
int|string

setJs

Number of /JS tags found in the PDF file. Should be the same as javascript field in normal scenarios.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getJavascript

Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.

Returns
Type Description
int|string

setJavascript

Number of /JavaScript tags found in the PDF file. Should be the same as the js field in normal scenarios.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLaunchActionCount

Number of /Launch tags found in the PDF file.

Returns
Type Description
int|string

setLaunchActionCount

Number of /Launch tags found in the PDF file.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getObjectStreamCount

Number of object streams.

Returns
Type Description
int|string

setObjectStreamCount

Number of object streams.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEndobjCount

Number of object definitions (endobj keyword).

Returns
Type Description
int|string

setEndobjCount

Number of object definitions (endobj keyword).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getHeader

PDF version.

Returns
Type Description
string

setHeader

PDF version.

Parameter
Name Description
var string
Returns
Type Description
$this

getAcroform

Number of /AcroForm tags found in the PDF.

Returns
Type Description
int|string

setAcroform

Number of /AcroForm tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAutoaction

Number of /AA tags found in the PDF.

Returns
Type Description
int|string

setAutoaction

Number of /AA tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEmbeddedFile

Number of /EmbeddedFile tags found in the PDF.

Returns
Type Description
int|string

setEmbeddedFile

Number of /EmbeddedFile tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEncrypted

Whether the document is encrypted or not. This is defined by the /Encrypt tag.

Returns
Type Description
int|string

setEncrypted

Whether the document is encrypted or not. This is defined by the /Encrypt tag.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getFlash

Number of /RichMedia tags found in the PDF.

Returns
Type Description
int|string

setFlash

Number of /RichMedia tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getJbig2Compression

Number of /JBIG2Decode tags found in the PDF.

Returns
Type Description
int|string

setJbig2Compression

Number of /JBIG2Decode tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getObjCount

Number of objects definitions (obj keyword).

Returns
Type Description
int|string

setObjCount

Number of objects definitions (obj keyword).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEndstreamCount

Number of defined stream objects (stream keyword).

Returns
Type Description
int|string

setEndstreamCount

Number of defined stream objects (stream keyword).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPageCount

Number of pages in the PDF.

Returns
Type Description
int|string

setPageCount

Number of pages in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStreamCount

Number of defined stream objects (stream keyword).

Returns
Type Description
int|string

setStreamCount

Number of defined stream objects (stream keyword).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getOpenaction

Number of /OpenAction tags found in the PDF.

Returns
Type Description
int|string

setOpenaction

Number of /OpenAction tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStartxref

Number of startxref keywords in the PDF.

Returns
Type Description
int|string

setStartxref

Number of startxref keywords in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getSuspiciousColors

Number of colors expressed with more than 3 bytes (CVE-2009-3459).

Returns
Type Description
int|string

setSuspiciousColors

Number of colors expressed with more than 3 bytes (CVE-2009-3459).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTrailer

Number of trailer keywords in the PDF.

Returns
Type Description
int|string

setTrailer

Number of trailer keywords in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getXfa

Number of \XFA tags found in the PDF.

Returns
Type Description
int|string

setXfa

Number of \XFA tags found in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getXref

Number of xref keywords in the PDF.

Returns
Type Description
int|string

setXref

Number of xref keywords in the PDF.

Parameter
Name Description
var int|string
Returns
Type Description
$this