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

NAME

6       PDF::Builder::Basic::PDF::Dict - PDF Dictionaries and Streams. Inherits
7       from PDF::Builder::Basic::PDF::Objind
8

INSTANCE VARIABLES

10       There are various special instance variables which are used to look
11       after, particularly, streams. Each begins with a space:
12
13       ' stream'
14           Holds the stream contents for output
15
16       ' streamfile'
17           Holds the stream contents in an external file rather than in
18           memory. This is not the same as a PDF file stream. The data is
19           stored in its unfiltered form.
20
21       ' streamloc'
22           If both ' stream' and ' streamfile' are empty, this indicates where
23           in the source PDF the stream starts.
24

METHODS

26       $type = $d->type($type)
27           Get/Set the standard Type key. It can be passed, and will return, a
28           text value rather than a Name object.
29
30       @filters = $d->filter(@filters)
31           Get/Set one or more filters being used by the optional stream
32           attached to the dictionary.
33
34       $d->outobjdeep($fh, $pdf)
35           Outputs the contents of the dictionary to a PDF file. This is a
36           recursive call.
37
38           It also outputs a stream if the dictionary has a stream element. If
39           this occurs then this method will calculate the length of the
40           stream and insert it into the stream's dictionary.
41
42       $d->read_stream($force_memory)
43           Reads in a stream from a PDF file. If the stream is greater than
44           "PDF::Dict::mincache" (defaults to 32768) bytes to be stored, then
45           the default action is to create a file for it somewhere and to use
46           that file as a data cache. If $force_memory is set, this caching
47           will not occur and the data will all be stored in the $self->{'
48           stream'} variable.
49
50       $d->val()
51           Returns the dictionary, which is itself.
52
53
54
55perl v5.38.0                      2023-07-21 PDF::Builder::Basic::PDF::Dict(3)
Impressum