$res = PDF::API3::Compat::API2::Resource::XObject::Form->new $pdf

Returns a form-resource object. base class for all types of form-xobjects.

$res = PDF::API3::Compat::API2::Resource::XObject::Form->new_api $api, $name

Returns a form resource object. This method is different from 'new' that it needs an PDF::API3::Compat::API2-object rather than a Text::PDF::File-object.

($llx, $lly, $urx, $ury) = $res->bbox $llx, $lly, $urx, $ury
$res->resource $type, $key, $obj

Adds a resource to the form.

Example:

$res->resource('Font',$fontkey,$fontobj);
$res->resource('XObject',$imagekey,$imageobj);
$res->resource('Shading',$shadekey,$shadeobj);
$res->resource('ColorSpace',$spacekey,$speceobj);

Note: You only have to add the required resources, if they are NOT handled by the *font*, *image*, *shade* or *space* methods.

AUTHOR

alfred reibenschuh

HISTORY

$Log: Form.pm,v $
Revision 2.0  2005/11/16 02:18:23  areibens
revision workaround for SF cvs import not to screw up CPAN

Revision 1.2  2005/11/16 01:27:50  areibens
genesis2

Revision 1.1  2005/11/16 01:19:27  areibens
genesis

Revision 1.10  2005/06/17 19:44:03  fredo
fixed CPAN modulefile versioning (again)

Revision 1.9  2005/06/17 18:53:34  fredo
fixed CPAN modulefile versioning (dislikes cvs)

Revision 1.8  2005/03/14 22:01:30  fredo
upd 2005

Revision 1.7  2004/12/16 00:30:54  fredo
added no warn for recursion

Revision 1.6  2004/06/15 09:14:54  fredo
removed cr+lf

Revision 1.5  2004/06/07 19:44:44  fredo
cleaned out cr+lf for lf

Revision 1.4  2003/12/08 13:06:08  Administrator
corrected to proper licencing statement

Revision 1.3  2003/11/30 17:33:27  Administrator
merged into default

Revision 1.2.2.1  2003/11/30 16:57:09  Administrator
merged into default

Revision 1.2  2003/11/30 11:47:14  Administrator
added CVS id/log

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 52:

'=item' outside of any '=over'

Around line 159:

You forgot a '=back' before '=head1'