Class representing a PDF string object.
More...
|
static | create ($value) |
| Helper method to create an instance.
|
|
static | ensure ($string) |
| Ensures that the passed value is a PdfString instance.
|
|
static | parse (StreamReader $streamReader) |
| Parses a string object from the stream reader.
|
|
static | unescape ($s) |
| Unescapes escaped sequences in a PDF string according to the PDF specification.
|
|
Class representing a PDF string object.
◆ create()
static PdfString::create |
( |
| $value | ) |
|
|
static |
Helper method to create an instance.
- Parameters
-
string | $value | The string needs to be escaped accordingly. |
- Return values
-
◆ ensure()
static PdfString::ensure |
( |
| $string | ) |
|
|
static |
Ensures that the passed value is a PdfString instance.
- Parameters
-
- Return values
-
- Exceptions
-
◆ parse()
Parses a string object from the stream reader.
- Parameters
-
- Return values
-
◆ unescape()
static PdfString::unescape |
( |
| $s | ) |
|
|
static |
Unescapes escaped sequences in a PDF string according to the PDF specification.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- mod/assign/feedback/editpdf/fpdi/PdfParser/Type/PdfString.php