view release on metacpan or search on metacpan
lib/AsposePdfCloud/ApiClient.pm view on Meta::CPAN
if (@header == 0 || (@header == 1 && $header[0] eq '')) {
return undef;
} elsif (grep(/^application\/json$/i, @header)) {
return 'application/json';
} else {
return join(',', @header);
}
}
# return the content type based on an array of content-type provided
# @param [Array] content_type_array Array fo content-type
# @return String Content-Type (e.g. application/json)
sub select_header_content_type
{
my ($self, @header) = @_;
if (@header == 0 || (@header == 1 && $header[0] eq '')) {
return 'application/json'; # default to application/json
} elsif (grep(/^application\/json$/i, @header)) {
return 'application/json';
} else {
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# GetDocument
#
# Read common document info.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutCreateDocument
#
# Create new document.
#
# @param String $name The new document name. (required)
# @param String $templateFile The template file server path if defined. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentWithFormat
#
# Read common document info or convert to some format if the format specified.
#
# @param String $name The document name. (required)
# @param String $format The format to convert. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# PutDocumentSaveAsTiff
#
# Save document as Tiff image.
#
# @param String $name The document name. (required)
# @param String $resultFile The resulting file. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostAppendDocument
#
# Append document to existing one.
#
# @param String $name The original document name. (required)
# @param String $appendFile Append file server path. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentAttachments
#
# Read document attachments info.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'AttachmentsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentAttachmentByIndex
#
# Read document attachment info by its index.
#
# @param String $name The document name. (required)
# @param String $attachmentIndex The attachment index. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'AttachmentResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDownloadDocumentAttachmentByIndex
#
# Download document attachment content by its index.
#
# @param String $name The document name. (required)
# @param String $attachmentIndex The attachment index. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentBookmarks
#
# Read document bookmarks.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'BookmarksResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentBookmarksChildren
#
# Read document bookmark/bookmarks (including children).
#
# @param String $name The document name. (required)
# @param String $bookmarkPath The bookmark path. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'BookmarkResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentProperties
#
# Read document properties.
#
# @param String $name (required)
# @param String $storage (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertiesResponse', $response->header('content-type'));
return $_response_object;
}
#
# DeleteProperties
#
# Delete document properties.
#
# @param String $name (required)
# @param String $storage (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetDocumentProperty
#
# Read document property by name.
#
# @param String $name (required)
# @param String $propertyName (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertyResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutSetProperty
#
# Add/update document property.
#
# @param String $name (required)
# @param String $propertyName (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPropertyResponse', $response->header('content-type'));
return $_response_object;
}
#
# DeleteProperty
#
# Delete document property.
#
# @param String $name (required)
# @param String $propertyName (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostCreateField
#
# Create field.
#
# @param String $name The document name. (required)
# @param String $page Document page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetFields
#
# Get document fields.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FieldsResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutUpdateFields
#
# Update fields.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FieldsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetField
#
# Get document field by name.
#
# @param String $name The document name. (required)
# @param String $fieldName The field name/ (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FieldResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutUpdateField
#
# Update field.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'FieldResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutMergeDocuments
#
# Merge a list of documents.
#
# @param String $name Resulting documen name. (required)
# @param String $storage Resulting document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPages
#
# Read document pages info.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPagesResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutAddNewPage
#
# Add new page to end of the document.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentPagesResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetWordsPerPage
#
# Get number of words per document page.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'WordCountResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPage
#
# Read document page info.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# DeletePage
#
# Delete document page by its number.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPageWithFormat
#
# Convert document page to format specified.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# GetPageAnnotations
#
# Read documant page annotations.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'AnnotationsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPageAnnotation
#
# Read document page annotation by its number.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'AnnotationResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetFragments
#
# Read page fragments.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetFragment
#
# Read page fragment.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetSegments
#
# Read fragment segments.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetSegment
#
# Read segment.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetSegmentTextFormat
#
# Read segment text format.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextFormatResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetFragmentTextFormat
#
# Read page fragment text format.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextFormatResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetImages
#
# Read document images.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ImagesResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostReplaceImage
#
# Replace document image.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ImageResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetImage
#
# Read document image by number.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# GetImageWithFormat
#
# Extract document image in format specified.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
return $_response_object;
}
#
# GetExtractBarcodes
#
# Recognize barcodes.
#
# @param String $name Document name. (required)
# @param String $pageNumber Page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'BarcodeResponseList', $response->header('content-type'));
return $_response_object;
}
#
# GetPageLinkAnnotations
#
# Read document page link annotations.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'LinkAnnotationsResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPageLinkAnnotationByIndex
#
# Read document page link annotation by its index.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'LinkAnnotationResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostMovePage
#
# Move page to new position.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostPageReplaceText
#
# Page's replace text method.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PageTextReplaceResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostPageReplaceTextList
#
# Page's replace text method.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'PageTextReplaceResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostSignPage
#
# Sign page.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# PutPageAddStamp
#
# Add page stamp.
#
# @param String $name The document name. (required)
# @param String $pageNumber The page number. (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetPageTextItems
#
# Read page text items.
#
# @param String $name (required)
# @param String $pageNumber (required)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostDocumentReplaceText
#
# Document's replace text method.
#
# @param String $name (required)
# @param String $storage (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentTextReplaceResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostDocumentReplaceTextList
#
# Document's replace text method.
#
# @param String $name (required)
# @param String $storage (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'DocumentTextReplaceResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostSignDocument
#
# Sign document.
#
# @param String $name The document name. (required)
# @param String $storage The document storage. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SaaSposeResponse', $response->header('content-type'));
return $_response_object;
}
#
# PostSplitDocument
#
# Split document to parts.
#
# @param String $name Document name. (required)
# @param String $format Resulting documents format. (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'SplitResultResponse', $response->header('content-type'));
return $_response_object;
}
#
# GetTextItems
#
# Read document text items.
#
# @param String $name (required)
# @param String $withEmpty (optional)
lib/AsposePdfCloud/PdfApi.pm view on Meta::CPAN
$query_params, $form_params,
$header_params, $_body_data, $auth_settings);
if (!$response) {
return;
}
if($AsposePdfCloud::Configuration::debug){
print "\nResponse Content: ".$response->content;
}
my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'TextItemsResponse', $response->header('content-type'));
return $_response_object;
}
1;