pdf::api2::basic::pdf::dict(3pm) [debian man page]
PDF::API2::Basic::PDF::Dict(3pm) User Contributed Perl Documentation PDF::API2::Basic::PDF::Dict(3pm)NAME
PDF::API2::Basic::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.
perl v5.14.2 2014-03-09 PDF::API2::Basic::PDF::Dict(3pm)
Check Out this Related Man Page
PDF::API2::Resource::Font::SynFont(3pm) User Contributed Perl Documentation PDF::API2::Resource::Font::SynFont(3pm)NAME
PDF::API2::Resource::Font::SynFont - Module for using synthetic Fonts.
SYNOPSIS
#
use PDF::API2;
#
$pdf = PDF::API2->new;
$sft = $pdf->synfont($cft);
#
METHODS
$font = PDF::API2::Resource::Font::SynFont->new $pdf, $fontobj, %options
Returns a synfont object.
Valid %options are:
-encode ... changes the encoding of the font from its default. See perl's Encode for the supported values.
-pdfname ... changes the reference-name of the font from its default. The reference-name is normally generated automatically and can
be retrived via $pdfname=$font->name.
-slant ... slant/expansion factor (0.1-0.9 = slant, 1.1+ = expansion).
-oblique ... italic angle (+/-)
-bold ... embolding factor (0.1+, bold=1, heavy=2, ...).
-space ... additional charspacing in em (0-1000).
-caps ... create synthetic small-caps.
$font = PDF::API2::Resource::Font::SynFont->new_api $api, $fontobj, %options
Returns a synfont object. This method is different from 'new' that it needs an PDF::API2-object rather than a
PDF::API2::PDF::File-object.
AUTHOR
alfred reibenschuh
perl v5.14.2 2011-03-10 PDF::API2::Resource::Font::SynFont(3pm)
Newbie question. I want to create a shell script that will only move/copy a file if it's determined that the eof string exists. This is to control files being uploaded via FTP. I don't want to move incomplete files, so my only thought is to check for eof, or compare file size every 15-30 seconds on... (12 Replies)
Hi,
Can somebody help me with the below situation,
Input File,
========
2007_08_07_IA-0100-014_(MONTHLY).PDF
2007_08_07_IA-0100-031_(QUARTERLY)(RERUN).PDF
2008-02-28_KR-1022-003_(MONTH)(RERUN)(REC1).CSV
Required output,
============
MONTHLY
QUARTERLY
MONTH
... (15 Replies)
Currently own an SCO OpenServer 6 system. Will like to know how to convert files printed to PDF so they can be sent to customers via e-mail. Ex. account statements. (4 Replies)
Hi,
I have got a large number of .PDF files that are archived in .RAR & ZIP files in various directories and I would like to search for strings inside the PDF files.
I would think you would need something that can recursively read directories, extract the .RAR/.ZIP file in memory, read the... (3 Replies)
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Hi ,
My requirement is to scan a directory for file names with LTR.PDF*
and send those files via ftp to another server one by one.
Now the the problem is file names are like LTR.PDF ,LTR.PDF1 ,LTR.PDF2.....LTR.PDF10..upto 99
and these needs to be sent in sorted order.
is there a way to get... (10 Replies)
I have a very strange issue. Now that we have a lot of our users using iPads to read statements, this is becoming more of an issue.
We have some financial statements that are generated into PDF format by an application that runs in HP-UX, and then we use uuencode to attach the statements to the... (4 Replies)
Hopefully this is the correct place to post this, if not please let me know.
I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Hello friends,
I need to convert ASCII text to PDF on RHEL 6 so I did the below and could generate PDF but it has lot of junk/special characters.
yum install enscript ghostscript
enscript -p output.ps input.txt
ps2pdf output.ps output.pdf
So I download latest source of Ghostscript... (4 Replies)
Hello All,
How to print PDF files on AIX 5.3 and 6.1 because i tried adobe reader with no success, any help will be highly appreciated.
Thank you (8 Replies)
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)