Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

text::pdf::filter(3pm) [debian man page]

Text::PDF::Filter(3pm)					User Contributed Perl Documentation				    Text::PDF::Filter(3pm)

NAME
PDF::Filter - Abstract superclass for PDF stream filters SYNOPSIS
$f = Text::PDF::Filter->new; $str = $f->outfilt($str, 1); print OUTFILE $str; while (read(INFILE, $dat, 4096)) { $store .= $f->infilt($dat, 0); } $store .= $f->infilt("", 1); DESCRIPTION
A Filter object contains state information for the process of outputting and inputting data through the filter. The precise state informa- tion stored is up to the particular filter and may range from nothing to whole objects created and destroyed. Each filter stores different state information for input and output and thus may handle one input filtering process and one output filter- ing process at the same time. METHODS
Text::PDF::Filter->new Creates a new filter object with empty state information ready for processing data both input and output. $dat = $f->infilt($str, $isend) Filters from output to input the data. Notice that $isend == 0 implies that there is more data to come and so following it $f may contain state information (usually due to the break-off point of $str not being tidy). Subsequent calls will incorporate this stored state informa- tion. $isend == 1 implies that there is no more data to follow. The final state of $f will be that the state information is empty. Error messages are most likely to occur here since if there is required state information to be stored following this data, then that would imply an error in the data. $str = $f->outfilt($dat, $isend) Filter stored data ready for output. Parallels "infilt". NAME
Text::PDF::ASCII85Decode - Ascii85 filter for PDF streams. Inherits from Text::PDF::Filter NAME
Text::PDF::RunLengthDecode - Run Length encoding filter for PDF streams. Inherits from Text::PDF::Filter NAME
Text::PDF::ASCIIHexDecode - Ascii Hex encoding (very inefficient) for PDF streams. Inherits from Text::PDF::Filter perl v5.8.8 2006-09-09 Text::PDF::Filter(3pm)

Check Out this Related Man Page

Text::PDF::Dict(3pm)					User Contributed Perl Documentation				      Text::PDF::Dict(3pm)

NAME
Text::PDF::Dict - PDF Dictionaries and Streams. Inherits from PDF::Objind INSTANCE VARIABLES
There are various special instance variables which are used to look after, particularly, streams. Each begins with a space: stream Holds the stream contents for output streamfile Holds the stream contents in an external file rather than in memory. This is not the same as a PDF file stream. The data is stored in its unfiltered form. streamloc If both ' stream' and ' streamfile' are empty, this indicates where in the source PDF the stream starts. METHODS
$d->outobjdeep($fh) Outputs the contents of the dictionary to a PDF file. This is a recursive call. It also outputs a stream if the dictionary has a stream element. If this occurs then this method will calculate the length of the stream and insert it into the stream's dictionary. $d->read_stream($force_memory) Reads in a stream from a PDF file. If the stream is greater than "PDF::Dict::mincache" (defaults to 32768) bytes to be stored, then the default action is to create a file for it somewhere and to use that file as a data cache. If $force_memory is set, this caching will not occur and the data will all be stored in the $self->{' stream'} variable. $d->val Returns the dictionary, which is itself. $d->copy($inpdf, $res, $unique, $outpdf, %opts) Copies an object. See Text::PDF::Objind::Copy() for details perl v5.8.8 2006-09-09 Text::PDF::Dict(3pm)
Man Page