- $res = PDF::API2::Resource::XObject::Form->new $pdf
-
Returns a form-resource object. base class for all types of form-xobjects.
- $res = PDF::API2::Resource::XObject::Form->new_api $api, $name
-
Returns a form resource object. This method is different from 'new' that it needs an PDF::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 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 51:
'=item' outside of any '=over'
- Around line 158:
You forgot a '=back' before '=head1'