setasign\Fpdi\PdfParser\Type
PdfHexString Class representing a hexadecimal encoded PDF string object
File: /FPDI v2/PdfParser/Type/PdfHexString.php
Class hierarchy
Summary
Properties
Static Methods
ensure()
Ensures that the passed value is a PdfHexString instance.
Parameters
- $hexString : mixed
Exceptions
Throws PdfTypeException
ensureType()
Ensure that a value is an instance of a specific PDF type.
Parameters
- $type : string
- $value : PdfType
- $errorMessage : string
Exceptions
Throws PdfTypeException
flatten()
public static PdfType::flatten (
PdfType $value, \setasign\Fpdi\PdfParser\PdfParser $parser
): PdfTypeFlatten indirect object references to direct objects.
Parameters
- $value : PdfType
- $parser : \setasign\Fpdi\PdfParser\PdfParser
Exceptions
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException
parse()
public static PdfHexString::parse (
\setasign\Fpdi\PdfParser\StreamReader $streamReader
): false|PdfHexStringParses a hexadecimal string object from the stream reader.
Parameters
- $streamReader : \setasign\Fpdi\PdfParser\StreamReader
resolve()
Resolves a PdfType value to its value.
This method is used to evaluate indirect and direct object references until a final value is reached.
Parameters
- $value : PdfType
- $parser : \setasign\Fpdi\PdfParser\PdfParser
- $stopAtIndirectObject : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException