AsposeSlidesCloud-SlidesApi

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

![](https://img.shields.io/badge/api-v3.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Perl)](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Perl/blob/master/L...

# Perl REST API to Process Presentation in Cloud
This repository contains Aspose.Slides Cloud SDK for Perl source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/perl) using Aspose.slides Cloud REST APIs in your Perl applications.

You may want to check out Aspose free [Powerpoint to PDF](https://products.aspose.app/slides/conversion), [Powerpoint to Word](https://products.aspose.app/slides/conversion/ppt-to-word), [Powerpoint to JPG](https://products.aspose.app/slides/conversi...

## Presentation Processing Features

- Fetch presentation images in any of the supported file formats.
- Copy the layout side or clone the master slide from the source presentation.
- Process slides shapes, slides notes, placeholders, colors & font theme info.
- Programmatically create a presentation from HTML & export it to various formats.
- Merge multiple presentations or split the single presentation into multiple ones.
- Extract and replace text from a specific slide or an entire presentation.

lib/AsposeSlidesCloud/Object/PdfExportOptions.pm  view on Meta::CPAN

    	format => '',
    	read_only => '',
    		},
    'show_hidden_slides' => {
    	datatype => 'boolean',
    	base_name => 'ShowHiddenSlides',
    	description => 'Specifies whether the generated document should include hidden slides or not. Default is false. ',
    	format => '',
    	read_only => '',
    		},
    'save_metafiles_as_png' => {
    	datatype => 'boolean',
    	base_name => 'SaveMetafilesAsPng',
    	description => 'True to convert all metafiles used in a presentation to the PNG images.',
    	format => '',
    	read_only => '',
    		},
    'password' => {
    	datatype => 'string',
    	base_name => 'Password',
    	description => 'Setting user password to protect the PDF document. ',

lib/AsposeSlidesCloud/Object/PdfExportOptions.pm  view on Meta::CPAN

    'font_subst_rules' => 'ARRAY[FontSubstRule]',
    'skip_java_script_links' => 'boolean',
    'format' => 'string',
    'text_compression' => 'string',
    'embed_full_fonts' => 'boolean',
    'compliance' => 'string',
    'sufficient_resolution' => 'double',
    'jpeg_quality' => 'int',
    'draw_slides_frame' => 'boolean',
    'show_hidden_slides' => 'boolean',
    'save_metafiles_as_png' => 'boolean',
    'password' => 'string',
    'embed_true_type_fonts_for_ascii' => 'boolean',
    'additional_common_font_families' => 'ARRAY[string]',
    'slides_layout_options' => 'SlidesLayoutOptions',
    'image_transparent_color' => 'string',
    'apply_image_transparent' => 'boolean',
    'access_permissions' => 'AccessPermissions',
    'hide_ink' => 'boolean',
    'interpret_mask_op_as_opacity' => 'boolean',
    'rasterize_unsupported_font_styles' => 'boolean',

lib/AsposeSlidesCloud/Object/PdfExportOptions.pm  view on Meta::CPAN

    'font_subst_rules' => 'FontSubstRules',
    'skip_java_script_links' => 'SkipJavaScriptLinks',
    'format' => 'Format',
    'text_compression' => 'TextCompression',
    'embed_full_fonts' => 'EmbedFullFonts',
    'compliance' => 'Compliance',
    'sufficient_resolution' => 'SufficientResolution',
    'jpeg_quality' => 'JpegQuality',
    'draw_slides_frame' => 'DrawSlidesFrame',
    'show_hidden_slides' => 'ShowHiddenSlides',
    'save_metafiles_as_png' => 'SaveMetafilesAsPng',
    'password' => 'Password',
    'embed_true_type_fonts_for_ascii' => 'EmbedTrueTypeFontsForASCII',
    'additional_common_font_families' => 'AdditionalCommonFontFamilies',
    'slides_layout_options' => 'SlidesLayoutOptions',
    'image_transparent_color' => 'ImageTransparentColor',
    'apply_image_transparent' => 'ApplyImageTransparent',
    'access_permissions' => 'AccessPermissions',
    'hide_ink' => 'HideInk',
    'interpret_mask_op_as_opacity' => 'InterpretMaskOpAsOpacity',
    'rasterize_unsupported_font_styles' => 'RasterizeUnsupportedFontStyles',

lib/AsposeSlidesCloud/Object/XpsExportOptions.pm  view on Meta::CPAN

    	format => '',
    	read_only => '',
    		},
    'show_hidden_slides' => {
    	datatype => 'boolean',
    	base_name => 'ShowHiddenSlides',
    	description => 'Specifies whether the generated document should include hidden slides or not. Default is false. ',
    	format => '',
    	read_only => '',
    		},
    'save_metafiles_as_png' => {
    	datatype => 'boolean',
    	base_name => 'SaveMetafilesAsPng',
    	description => 'True to convert all metafiles used in a presentation to the PNG images.',
    	format => '',
    	read_only => '',
    		},
    'draw_slides_frame' => {
    	datatype => 'boolean',
    	base_name => 'DrawSlidesFrame',
    	description => 'True to draw black frame around each slide.',

lib/AsposeSlidesCloud/Object/XpsExportOptions.pm  view on Meta::CPAN


__PACKAGE__->swagger_types( {
    'default_regular_font' => 'string',
    'delete_embedded_binary_objects' => 'boolean',
    'gradient_style' => 'string',
    'font_fallback_rules' => 'ARRAY[FontFallbackRule]',
    'font_subst_rules' => 'ARRAY[FontSubstRule]',
    'skip_java_script_links' => 'boolean',
    'format' => 'string',
    'show_hidden_slides' => 'boolean',
    'save_metafiles_as_png' => 'boolean',
    'draw_slides_frame' => 'boolean'
} );

__PACKAGE__->attribute_map( {
    'default_regular_font' => 'DefaultRegularFont',
    'delete_embedded_binary_objects' => 'DeleteEmbeddedBinaryObjects',
    'gradient_style' => 'GradientStyle',
    'font_fallback_rules' => 'FontFallbackRules',
    'font_subst_rules' => 'FontSubstRules',
    'skip_java_script_links' => 'SkipJavaScriptLinks',
    'format' => 'Format',
    'show_hidden_slides' => 'ShowHiddenSlides',
    'save_metafiles_as_png' => 'SaveMetafilesAsPng',
    'draw_slides_frame' => 'DrawSlidesFrame'
} );

__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});


1;

lib/AsposeSlidesCloud/SlidesApi.pm  view on Meta::CPAN

    return $_response_object;
}

#
# download_image
#
# Get image in specified format.
# 
# @param string $name Document name. (required)
# @param int $index Image index. (required)
# @param string $format Export format (png, jpg, gif). (required)
# @param string $password Document password. (optional)
# @param string $folder Document folder. (optional)
# @param string $storage Document storage. (optional)
# @param int $quality Image quality (0 to 100; has effect only on Jpeg format). (optional, default to 100)
{
    my $params = {
    'name' => {
        data_type => 'string',
        description => 'Document name.',
        required => '1',
    },
    'index' => {
        data_type => 'int',
        description => 'Image index.',
        required => '1',
    },
    'format' => {
        data_type => 'string',
        description => 'Export format (png, jpg, gif).',
        required => '1',
    },
    'password' => {
        data_type => 'string',
        description => 'Document password.',
        required => '0',
    },
    'folder' => {
        data_type => 'string',
        description => 'Document folder.',

lib/AsposeSlidesCloud/SlidesApi.pm  view on Meta::CPAN

    return $_response_object;
}

#
# download_image_online
#
# Get image in specified format.
# 
# @param File $document Document data. (required)
# @param int $index Image index. (required)
# @param string $format Export format (png, jpg, gif). (required)
# @param string $password Document password. (optional)
# @param int $quality Image quality (0 to 100; has effect only on Jpeg format). (optional, default to 100)
{
    my $params = {
    'document' => {
        data_type => 'File',
        description => 'Document data.',
        required => '1',
    },
    'index' => {
        data_type => 'int',
        description => 'Image index.',
        required => '1',
    },
    'format' => {
        data_type => 'string',
        description => 'Export format (png, jpg, gif).',
        required => '1',
    },
    'password' => {
        data_type => 'string',
        description => 'Document password.',
        required => '0',
    },
    'quality' => {
        data_type => 'int',
        description => 'Image quality (0 to 100; has effect only on Jpeg format).',

lib/AsposeSlidesCloud/SlidesApi.pm  view on Meta::CPAN

    my $_response_object = $self->{api_client}->deserialize('File', $response);
    return $_response_object;
}

#
# download_images
#
# Get all presentation images in specified format.
# 
# @param string $name  (required)
# @param string $format Export format (png, jpg, gif). (required)
# @param string $password Document password. (optional)
# @param string $folder Document folder. (optional)
# @param string $storage Document storage. (optional)
# @param int $quality Image quality (0 to 100; has effect only on Jpeg format). (optional, default to 100)
{
    my $params = {
    'name' => {
        data_type => 'string',
        description => '',
        required => '1',
    },
    'format' => {
        data_type => 'string',
        description => 'Export format (png, jpg, gif).',
        required => '1',
    },
    'password' => {
        data_type => 'string',
        description => 'Document password.',
        required => '0',
    },
    'folder' => {
        data_type => 'string',
        description => 'Document folder.',

lib/AsposeSlidesCloud/SlidesApi.pm  view on Meta::CPAN

    my $_response_object = $self->{api_client}->deserialize('File', $response);
    return $_response_object;
}

#
# download_images_online
#
# Get all presentation images in specified format. 
# 
# @param File $document Document data. (required)
# @param string $format Export format (png, jpg, gif). (required)
# @param string $password Document password. (optional)
# @param int $quality Image quality (0 to 100; has effect only on Jpeg format). (optional, default to 100)
{
    my $params = {
    'document' => {
        data_type => 'File',
        description => 'Document data.',
        required => '1',
    },
    'format' => {
        data_type => 'string',
        description => 'Export format (png, jpg, gif).',
        required => '1',
    },
    'password' => {
        data_type => 'string',
        description => 'Document password.',
        required => '0',
    },
    'quality' => {
        data_type => 'int',
        description => 'Image quality (0 to 100; has effect only on Jpeg format).',



( run in 0.544 second using v1.01-cache-2.11-cpan-df04353d9ac )