1PDF::Builder::Basic::PDUFs:e:rNaCmoen(t3r)ibuted Perl DoPcDuFm:e:nBtuaitlidoenr::Basic::PDF::Name(3)
2
3
4

NAME

6       PDF::Builder::Basic::PDF::Name - Inherits from
7       PDF::Builder::Basic::PDF::String and stores PDF names (things beginning
8       with /)
9

METHODS

11       $n = PDF::Builder::Basic::PDF::Name->from_pdf($string)
12           Creates a new string object (not a full object yet) from a given
13           string.  The string is parsed according to input criteria with
14           escaping working, particular to Names.
15
16       $n->convert($string, $pdf)
17           Converts a name into a string by removing the / and converting any
18           hex munging.
19
20       $s->as_pdf($pdf)
21           Returns a name formatted as PDF. $pdf is optional but should be the
22           PDF File object for which the name is intended if supplied.
23
24       PDF::Builder::Basic::PDF::Name->string_to_name($string, $pdf)
25           Suitably encode the string $string for output in the File object
26           $pdf (the exact format may depend on the version of $pdf).
27
28       PDF::Builder::Basic::PDF::Name->name_to_string($string, $pdf)
29           Suitably decode the string $string as read from the File object
30           $pdf (the exact decoding may depend on the version of $pdf).
31           Principally, undo the hex encoding for PDF versions > 1.1.
32
33
34
35perl v5.38.0                      2023-07-21 PDF::Builder::Basic::PDF::Name(3)
Impressum