Scroll to navigation

PDF::Builder::Basic::PDF::String(3pm) User Contributed Perl Documentation PDF::Builder::Basic::PDF::String(3pm)

NAME

PDF::Builder::Basic::PDF::String - PDF String type objects and superclass for simple objects that are basically stringlike (Number, Name, etc.)

METHODS

PDF::Builder::Basic::PDF::String->from_pdf($string)

Creates a new string object (not a full object yet) from a given string. The string is parsed according to input criteria with escaping working.

PDF::Builder::Basic::PDF::String->new($string)

Creates a new string object (not a full object yet) from a given string. The string is parsed according to input criteria with escaping working.

$s->convert($str)

Returns $str converted as per criteria for input from PDF file

$s->val()

Returns the value of this string (the string itself).

$s->as_pdf()

Returns the string formatted for output as PDF for PDF File object $pdf.

$s->outobjdeep($fh, $pdf)

Outputs the string in PDF format, complete with necessary conversions.

2021-03-28 perl v5.32.1