view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/PdfExportOptions.pm view on Meta::CPAN
},
'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. ',
format => '',
read_only => '',
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
},
'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.',
format => '',
read_only => '',
lib/AsposeSlidesCloud/Object/XpsExportOptions.pm view on Meta::CPAN
__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
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling convert");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling convert");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/convert/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling convert_and_save");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling convert_and_save");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling convert_and_save");
}
# parse inputs
my $_resource_path = '/slides/convert/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'index'} && defined $args{'index'}) {
croak("Missing the required parameter 'index' when calling download_image");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_image");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/images/{index}/{format}';
my $_method = 'GET';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'index'} && defined $args{'index'}) {
croak("Missing the required parameter 'index' when calling download_image_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_image_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/images/{index}/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling download_images");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_images");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/images/download/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling download_images_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_images_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/images/download/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling download_notes_slide");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_notes_slide");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/slides/{slideIndex}/notesSlide/{format}';
my $_method = 'GET';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling download_notes_slide_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_notes_slide_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/slides/{slideIndex}/notesSlide/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling download_presentation");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_presentation");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling download_shape");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_shape");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
croak("Invalid value for 'bounds': " . $args{'bounds'});
}
# parse inputs
my $_resource_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
#
sub download_shape_from_dto {
my ($self, %args) = @_;
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_shape_from_dto");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'dto' is set
unless (exists $args{'dto'} && defined $args{'dto'} && $args{'dto'}) {
croak("Missing the required parameter 'dto' when calling download_shape_from_dto");
}
# parse inputs
my $_resource_path = '/slides/shape/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling download_shape_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_shape_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
croak("Invalid value for 'bounds': " . $args{'bounds'});
}
# parse inputs
my $_resource_path = '/slides/slides/{slideIndex}/shapes/{shapeIndex}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling download_slide");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_slide");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/slides/{slideIndex}/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling download_slide_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_slide_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/slides/{slideIndex}/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling download_special_slide_shape");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling download_special_slide_shape");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
croak("Invalid value for 'bounds': " . $args{'bounds'});
}
# parse inputs
my $_resource_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/{shapeIndex}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling save_presentation");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_presentation");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_presentation");
}
# parse inputs
my $_resource_path = '/slides/{name}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling save_shape");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_shape");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_shape");
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling save_shape_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_shape_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_shape_online");
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling save_slide");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_slide");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_slide");
}
# parse inputs
my $_resource_path = '/slides/{name}/slides/{slideIndex}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'slide_index'} && defined $args{'slide_index'}) {
croak("Missing the required parameter 'slide_index' when calling save_slide_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_slide_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_slide_online");
}
# parse inputs
my $_resource_path = '/slides/slides/{slideIndex}/{format}';
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'shape_index'} && defined $args{'shape_index'}) {
croak("Missing the required parameter 'shape_index' when calling save_special_slide_shape");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling save_special_slide_shape");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling save_special_slide_shape");
}
# verify enum value
if (exists $args{'bounds'} && $args{'bounds'} && !grep(/^$args{'bounds'}$/i, ( 'Slide', 'Shape', 'Appearance' ))) {
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
#
sub split {
my ($self, %args) = @_;
# verify the required parameter 'name' is set
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling split");
}
# verify enum value
if (exists $args{'format'} && $args{'format'} && !grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'H...
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/{name}/split';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling split_and_save_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling split_and_save_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/split/{format}';
my $_method = 'PUT';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling split_online");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling split_online");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/split/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling start_convert");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_convert");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/async/convert/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling start_convert_and_save");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_convert_and_save");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling start_convert_and_save");
}
# parse inputs
my $_resource_path = '/slides/async/convert/{format}';
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling start_download_presentation");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_download_presentation");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/async/{name}/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling start_save_presentation");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_save_presentation");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf' )))...
croak("Invalid value for 'format': " . $args{'format'});
}
# verify the required parameter 'out_path' is set
unless (exists $args{'out_path'} && defined $args{'out_path'} && $args{'out_path'}) {
croak("Missing the required parameter 'out_path' when calling start_save_presentation");
}
# parse inputs
my $_resource_path = '/slides/async/{name}/{format}';
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'name'} && defined $args{'name'} && $args{'name'}) {
croak("Missing the required parameter 'name' when calling start_split");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_split");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/async/{name}/split/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};
lib/AsposeSlidesCloud/SlidesAsyncApi.pm view on Meta::CPAN
unless (exists $args{'document'} && defined $args{'document'} && $args{'document'}) {
croak("Missing the required parameter 'document' when calling start_upload_and_split");
}
# verify the required parameter 'format' is set
unless (exists $args{'format'} && defined $args{'format'} && $args{'format'}) {
croak("Missing the required parameter 'format' when calling start_upload_and_split");
}
# verify enum value
if (!grep(/^$args{'format'}$/i, ( 'Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf' ))) {
croak("Invalid value for 'format': " . $args{'format'});
}
# parse inputs
my $_resource_path = '/slides/async/split/{format}';
my $_method = 'POST';
my $query_params = {};
my $header_params = {};
my $form_params = {};