Interface PDFInfoOrBuilder (0.3.0)

public interface PDFInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcroform()

public abstract long getAcroform()

Number of /AcroForm tags found in the PDF.

int64 acroform = 7;

Returns
Type Description
long

The acroform.

getAutoaction()

public abstract long getAutoaction()

Number of /AA tags found in the PDF.

int64 autoaction = 8;

Returns
Type Description
long

The autoaction.

getEmbeddedFile()

public abstract long getEmbeddedFile()

Number of /EmbeddedFile tags found in the PDF.

int64 embedded_file = 9;

Returns
Type Description
long

The embeddedFile.

getEncrypted()

public abstract long getEncrypted()

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

int64 encrypted = 10;

Returns
Type Description
long

The encrypted.

getEndobjCount()

public abstract long getEndobjCount()

Number of object definitions (endobj keyword).

int64 endobj_count = 5;

Returns
Type Description
long

The endobjCount.

getEndstreamCount()

public abstract long getEndstreamCount()

Number of defined stream objects (stream keyword).

int64 endstream_count = 14;

Returns
Type Description
long

The endstreamCount.

getFlash()

public abstract long getFlash()

Number of /RichMedia tags found in the PDF.

int64 flash = 11;

Returns
Type Description
long

The flash.

getHeader()

public abstract String getHeader()

PDF version.

string header = 6;

Returns
Type Description
String

The header.

getHeaderBytes()

public abstract ByteString getHeaderBytes()

PDF version.

string header = 6;

Returns
Type Description
ByteString

The bytes for header.

getJavascript()

public abstract long getJavascript()

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

int64 javascript = 2;

Returns
Type Description
long

The javascript.

getJbig2Compression()

public abstract long getJbig2Compression()

Number of /JBIG2Decode tags found in the PDF.

int64 jbig2_compression = 12;

Returns
Type Description
long

The jbig2Compression.

getJs()

public abstract long getJs()

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

int64 js = 1;

Returns
Type Description
long

The js.

getLaunchActionCount()

public abstract long getLaunchActionCount()

Number of /Launch tags found in the PDF file.

int64 launch_action_count = 3;

Returns
Type Description
long

The launchActionCount.

getObjCount()

public abstract long getObjCount()

Number of objects definitions (obj keyword).

int64 obj_count = 13;

Returns
Type Description
long

The objCount.

getObjectStreamCount()

public abstract long getObjectStreamCount()

Number of object streams.

int64 object_stream_count = 4;

Returns
Type Description
long

The objectStreamCount.

getOpenaction()

public abstract long getOpenaction()

Number of /OpenAction tags found in the PDF.

int64 openaction = 17;

Returns
Type Description
long

The openaction.

getPageCount()

public abstract long getPageCount()

Number of pages in the PDF.

int64 page_count = 15;

Returns
Type Description
long

The pageCount.

getStartxref()

public abstract long getStartxref()

Number of startxref keywords in the PDF.

int64 startxref = 18;

Returns
Type Description
long

The startxref.

getStreamCount()

public abstract long getStreamCount()

Number of defined stream objects (stream keyword).

int64 stream_count = 16;

Returns
Type Description
long

The streamCount.

getSuspiciousColors()

public abstract long getSuspiciousColors()

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

int64 suspicious_colors = 19;

Returns
Type Description
long

The suspiciousColors.

getTrailer()

public abstract long getTrailer()

Number of trailer keywords in the PDF.

int64 trailer = 20;

Returns
Type Description
long

The trailer.

getXfa()

public abstract long getXfa()

Number of \XFA tags found in the PDF.

int64 xfa = 21;

Returns
Type Description
long

The xfa.

getXref()

public abstract long getXref()

Number of xref keywords in the PDF.

int64 xref = 22;

Returns
Type Description
long

The xref.