AsposeCellsCloud-CellsApi
view release on metacpan or search on metacpan
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
return;
}
my $_response_object = $self->{api_client}->deserialize('string', $response);
return $_response_object;
}
#
# DownloadFileRequest
#
#
#
# @path string (required)
# @storageName string
# @versionId string
#
{
my $params = {
'request' =>{
data_type => 'DownloadFileRequest',
description => 'DownloadFile Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'download_file' } = {
summary => '',
params => $params,
returns => 'string',
};
}
#
# @return string
#
sub download_file{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('string', $response);
return $_response_object;
}
#
# UploadFileRequest
#
#
#
# @UploadFiles string (required) Upload files to cloud storage.
# @path string (required)
# @storageName string
#
{
my $params = {
'request' =>{
data_type => 'UploadFileRequest',
description => 'UploadFile Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'upload_file' } = {
summary => '',
params => $params,
returns => 'FilesUploadResult',
};
}
#
# @return FilesUploadResult
#
sub upload_file{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesUploadResult', $response);
return $_response_object;
}
#
# CopyFileRequest
#
#
#
# @srcPath string (required)
# @destPath string (required)
# @srcStorageName string
# @destStorageName string
# @versionId string
#
{
my $params = {
'request' =>{
data_type => 'CopyFileRequest',
description => 'CopyFile Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'copy_file' } = {
summary => '',
params => $params,
returns => '',
};
}
#
# @return
#
sub copy_file{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('', $response);
return $_response_object;
}
#
# MoveFileRequest
#
#
#
# @srcPath string (required)
# @destPath string (required)
# @srcStorageName string
# @destStorageName string
# @versionId string
#
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# GetWorkbookRequest
#
# Retrieve workbooks in various formats.
#
# @name string (required) The file name.
# @format string The conversion format(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers).
# @password string The password needed to open an Excel file.
# @isAutoFit boolean Specifies whether set workbook rows to be autofit.
# @onlySaveTable boolean Specifies whether only save table data.Only use pdf to excel.
# @folder string The folder where the file is situated.
# @outPath string Path to save the result. If it`s a single file, the `outPath` should encompass both the filename and extension. In the case of multiple files, the `outPath` should only include the folder.
# @storageName string The storage name where the file is situated.
# @outStorageName string The storage name where the output file is situated.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @pageWideFitOnPerSheet boolean The page wide fit on worksheet.
# @pageTallFitOnPerSheet boolean The page tall fit on worksheet.
# @onePagePerSheet boolean When converting to PDF format, one page per sheet.
# @onlyAutofitTable boolean
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'GetWorkbookRequest',
description => 'GetWorkbook Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_workbook' } = {
summary => 'Retrieve workbooks in various formats.',
params => $params,
returns => 'string',
};
}
#
# @return string
#
sub get_workbook{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('string', $response);
return $_response_object;
}
#
# PutConvertWorkbookRequest
#
# Convert the workbook from the requested content into files in different formats.
#
# @File string (required) File to upload
# @format string (required) The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers).
# @password string The password needed to open an Excel file.
# @outPath string Path to save the result. If it`s a single file, the `outPath` should encompass both the filename and extension. In the case of multiple files, the `outPath` should only include the folder.
# @storageName string The storage name where the file is situated.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @streamFormat string The format of the input file stream.
# @region string The regional settings for workbook.
# @pageWideFitOnPerSheet boolean The page wide fit on worksheet.
# @pageTallFitOnPerSheet boolean The page tall fit on worksheet.
# @sheetName string Convert the specified worksheet.
# @pageIndex int Convert the specified page of worksheet, sheetName is required.
# @onePagePerSheet boolean When converting to PDF format, one page per sheet.
# @AutoRowsFit boolean Auto-fits all rows in this workbook.
# @AutoColumnsFit boolean Auto-fits the columns width in this workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PutConvertWorkbookRequest',
description => 'PutConvertWorkbook Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_convert_workbook' } = {
summary => 'Convert the workbook from the requested content into files in different formats.',
params => $params,
returns => 'string',
};
}
#
# @return string
#
sub put_convert_workbook{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('string', $response);
return $_response_object;
}
#
# PostWorkbookSaveAsRequest
#
# Save an Excel file in various formats.
#
# @name string (required) The workbook name.
# @newfilename string (required) newfilename to save the result.The `newfilename` should encompass both the filename and extension.
# @saveOptions SaveOptions
# @isAutoFitRows boolean Indicates if Autofit rows in workbook.
# @isAutoFitColumns boolean Indicates if Autofit columns in workbook.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
# @outStorageName string The storage name where the output file is situated.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @pageWideFitOnPerSheet boolean The page wide fit on worksheet.
# @pageTallFitOnPerSheet boolean The page tall fit on worksheet.
# @onePagePerSheet boolean
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostWorkbookSaveAsRequest',
description => 'PostWorkbookSaveAs Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_workbook_save_as' } = {
summary => 'Save an Excel file in various formats.',
params => $params,
returns => 'SaveResponse',
};
}
#
# @return SaveResponse
#
sub post_workbook_save_as{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('SaveResponse', $response);
return $_response_object;
}
#
# PostConvertWorkbookToPDFRequest
#
# Convert Excel file to PDF files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToPDFRequest',
description => 'PostConvertWorkbookToPDF Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_pdf' } = {
summary => 'Convert Excel file to PDF files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_pdf{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToPNGRequest
#
# Convert Excel file to PNG files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToPNGRequest',
description => 'PostConvertWorkbookToPNG Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_png' } = {
summary => 'Convert Excel file to PNG files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_png{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToDocxRequest
#
# Convert Excel file to Docx files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToDocxRequest',
description => 'PostConvertWorkbookToDocx Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_docx' } = {
summary => 'Convert Excel file to Docx files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_docx{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToPptxRequest
#
# Convert Excel file to Pptx files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToPptxRequest',
description => 'PostConvertWorkbookToPptx Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_pptx' } = {
summary => 'Convert Excel file to Pptx files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_pptx{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToHtmlRequest
#
# Convert Excel file to HTML files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToHtmlRequest',
description => 'PostConvertWorkbookToHtml Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_html' } = {
summary => 'Convert Excel file to HTML files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_html{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToMarkdownRequest
#
# Convert Excel file to Markdown files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToMarkdownRequest',
description => 'PostConvertWorkbookToMarkdown Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_markdown' } = {
summary => 'Convert Excel file to Markdown files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_markdown{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToJsonRequest
#
# Convert Excel file to Json files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToJsonRequest',
description => 'PostConvertWorkbookToJson Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_json' } = {
summary => 'Convert Excel file to Json files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_json{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToSQLRequest
#
# Convert Excel file to SQL Script files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToSQLRequest',
description => 'PostConvertWorkbookToSQL Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_sql' } = {
summary => 'Convert Excel file to SQL Script files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_sql{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorkbookToCSVRequest
#
# Convert Excel file to Csv files.
#
# @File string (required) File to upload
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorkbookToCSVRequest',
description => 'PostConvertWorkbookToCSV Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_workbook_to_csv' } = {
summary => 'Convert Excel file to Csv files.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_workbook_to_csv{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostConvertWorksheetToImageRequest
#
#
#
# @convertWorksheetOptions ConvertWorksheetOptions (required)
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostConvertWorksheetToImageRequest',
description => 'PostConvertWorksheetToImage Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_convert_worksheet_to_image' } = {
summary => '',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_convert_worksheet_to_image{
my ($self, %args) = @_;
my $request = $args{'request'};
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
__PACKAGE__->method_documentation->{ 'check_wrokbook_external_reference' } = {
summary => 'Export Excel internal elements or the workbook itself to various format files.',
params => $params,
returns => 'CheckedExternalReferenceResponse',
};
}
#
# @return CheckedExternalReferenceResponse
#
sub check_wrokbook_external_reference{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CheckedExternalReferenceResponse', $response);
return $_response_object;
}
#
# CheckWorkbookFormulaErrorsRequest
#
#
#
# @formulaErrorOptions CheckFormulaErrorOptions (required)
#
{
my $params = {
'request' =>{
data_type => 'CheckWorkbookFormulaErrorsRequest',
description => 'CheckWorkbookFormulaErrors Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'check_workbook_formula_errors' } = {
summary => '',
params => $params,
returns => 'CheckedFormulaErrorsResponse',
};
}
#
# @return CheckedFormulaErrorsResponse
#
sub check_workbook_formula_errors{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CheckedFormulaErrorsResponse', $response);
return $_response_object;
}
#
# PostExportRequest
#
# Export Excel internal elements or the workbook itself to various format files.
#
# @File string (required) File to upload
# @objectType string Exported object type:workbook/worksheet/chart/comment/picture/shape/listobject/oleobject.
# @format string The conversion format(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers).
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
# @FontsLocation string Use Custom fonts.
#
{
my $params = {
'request' =>{
data_type => 'PostExportRequest',
description => 'PostExport Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_export' } = {
summary => 'Export Excel internal elements or the workbook itself to various format files.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_export{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostWorkbookExportXMLRequest
#
# Export XML data from an Excel file.When there are XML Maps in an Excel file, export XML data. When there is no XML map in the Excel file, convert the Excel file to an XML file.
#
# @name string (required) The file name.
# @password string The password needed to open an Excel file.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
# @outPath string Path to save the result. If it`s a single file, the `outPath` should encompass both the filename and extension. In the case of multiple files, the `outPath` should only include the folder.
# @outStorageName string The storage name where the output file is situated.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostWorkbookExportXMLRequest',
description => 'PostWorkbookExportXML Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_workbook_export_xml' } = {
summary => 'Export XML data from an Excel file.When there are XML Maps in an Excel file, export XML data. When there is no XML map in the Excel file, convert the Excel file to an XML file.',
params => $params,
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_hyperlink{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# DeleteWorksheetHyperlinksRequest
#
# Delete all hyperlinks in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'DeleteWorksheetHyperlinksRequest',
description => 'DeleteWorksheetHyperlinks Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_worksheet_hyperlinks' } = {
summary => 'Delete all hyperlinks in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_worksheet_hyperlinks{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PostAssembleRequest
#
# Assemble data files with template files to generate files in various formats.
#
# @File string (required) File to upload
# @datasource string (required)
# @outFormat string The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostAssembleRequest',
description => 'PostAssemble Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_assemble' } = {
summary => 'Assemble data files with template files to generate files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_assemble{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostCompressRequest
#
# Compress files and generate target files in various formats, supported file formats are include Xls, Xlsx, Xlsm, Xlsb, Ods and more.
#
# @File string (required) File to upload
# @CompressLevel int Compress level. The compression ratio 1-100.
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
#
{
my $params = {
'request' =>{
data_type => 'PostCompressRequest',
description => 'PostCompress Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_compress' } = {
summary => 'Compress files and generate target files in various formats, supported file formats are include Xls, Xlsx, Xlsm, Xlsb, Ods and more.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_compress{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostMergeRequest
#
# Merge cells in the worksheet.
#
# @File string (required) File to upload
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @mergeToOneSheet boolean Merge all workbooks into a sheet.
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostMergeRequest',
description => 'PostMerge Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_merge' } = {
summary => 'Merge cells in the worksheet.',
params => $params,
returns => 'FileInfo',
};
}
#
# @return FileInfo
#
sub post_merge{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FileInfo', $response);
return $_response_object;
}
#
# PostSplitRequest
#
# Split Excel spreadsheet files based on worksheets and create output files in various formats.
#
# @File string (required) File to upload
# @outFormat string (required) The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @from int sheet index
# @to int sheet index
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostSplitRequest',
description => 'PostSplit Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_split' } = {
summary => 'Split Excel spreadsheet files based on worksheets and create output files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_split{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostSearchRequest
#
# Search for specified text within Excel files.
#
# @File string (required) File to upload
# @text string (required) Find content
# @password string The password needed to open an Excel file.
# @sheetname string The worksheet name. Locate the specified text content in the worksheet.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
#
{
my $params = {
'request' =>{
data_type => 'PostSearchRequest',
description => 'PostSearch Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_search' } = {
summary => 'Search for specified text within Excel files.',
params => $params,
returns => 'ARRAY[TextItem]',
};
}
#
# @return ARRAY[TextItem]
#
sub post_search{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('ARRAY[TextItem]', $response);
return $_response_object;
}
#
# PostReplaceRequest
#
# Replace specified text with new text in Excel files.
#
# @File string (required) File to upload
# @text string (required) Find content
# @newtext string (required) Replace content
# @password string The password needed to open an Excel file.
# @sheetname string The worksheet name. Locate the specified text content in the worksheet.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
#
{
my $params = {
'request' =>{
data_type => 'PostReplaceRequest',
description => 'PostReplace Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_replace' } = {
summary => 'Replace specified text with new text in Excel files.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_replace{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostImportRequest
#
# Import data into an Excel file and generate output files in various formats.
#
# @File string (required) File to upload
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostImportRequest',
description => 'PostImport Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_import' } = {
summary => 'Import data into an Excel file and generate output files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_import{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostWatermarkRequest
#
# Add Text Watermark to Excel files and generate output files in various formats.
#
# @File string (required) File to upload
# @text string (required) background text.
# @color string (required) e.g. #1032ff
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostWatermarkRequest',
description => 'PostWatermark Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_watermark' } = {
summary => 'Add Text Watermark to Excel files and generate output files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_watermark{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostClearObjectsRequest
#
# Clear internal elements in Excel files and generate output files in various formats.
#
# @File string (required) File to upload
# @objecttype string (required) chart/comment/picture/shape/listobject/hyperlink/oleobject/pivottable/validation/Background
# @sheetname string The worksheet name, specify the scope of the deletion.
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostClearObjectsRequest',
description => 'PostClearObjects Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_clear_objects' } = {
summary => 'Clear internal elements in Excel files and generate output files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_clear_objects{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostReverseRequest
#
# Reverse rows or columns in Excel files and create output files in various formats.
#
# @File string (required) File to upload
# @rotateType string (required) rows/cols/both
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostReverseRequest',
description => 'PostReverse Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_reverse' } = {
summary => 'Reverse rows or columns in Excel files and create output files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_reverse{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostRepairRequest
#
# Repair abnormal files and generate files in various formats.
#
# @File string (required) File to upload
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
#
{
my $params = {
'request' =>{
data_type => 'PostRepairRequest',
description => 'PostRepair Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_repair' } = {
summary => 'Repair abnormal files and generate files in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_repair{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostRotateRequest
#
# Rotate rows, columns, or other objects in Excel files and save them in various formats.
#
# @File string (required) File to upload
# @rotateType string (required) 270/90/row/col/row2col
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostRotateRequest',
description => 'PostRotate Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_rotate' } = {
summary => 'Rotate rows, columns, or other objects in Excel files and save them in various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_rotate{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostMetadataRequest
#
# Update document properties in Excel file, and save them is various formats.
#
# @File string (required) File to upload
# @cellsDocuments ARRAY[CellsDocumentProperty] (required) document properties
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @region string The regional settings for workbook.
#
{
my $params = {
'request' =>{
data_type => 'PostMetadataRequest',
description => 'PostMetadata Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_metadata' } = {
summary => 'Update document properties in Excel file, and save them is various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_metadata{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# GetMetadataRequest
#
# Get cells document properties.
#
# @File string (required) File to upload
# @type string Cells document property name.
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
#
{
my $params = {
'request' =>{
data_type => 'GetMetadataRequest',
description => 'GetMetadata Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_metadata' } = {
summary => 'Get cells document properties.',
params => $params,
returns => 'ARRAY[CellsDocumentProperty]',
};
}
#
# @return ARRAY[CellsDocumentProperty]
#
sub get_metadata{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('ARRAY[CellsDocumentProperty]', $response);
return $_response_object;
}
#
# DeleteMetadataRequest
#
# Delete cells document properties in Excel file, and save them is various formats.
#
# @File string (required) File to upload
# @type string Cells document property name.
# @outFormat string The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)
# @password string The password needed to open an Excel file.
# @checkExcelRestriction boolean Whether check restriction of excel file when user modify cells related objects.
#
{
my $params = {
'request' =>{
data_type => 'DeleteMetadataRequest',
description => 'DeleteMetadata Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_metadata' } = {
summary => 'Delete cells document properties in Excel file, and save them is various formats.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub delete_metadata{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# GetWorksheetListObjectsRequest
#
# Retrieve descriptions of ListObjects in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'GetWorksheetListObjectsRequest',
description => 'GetWorksheetListObjects Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_worksheet_list_objects' } = {
summary => 'Retrieve descriptions of ListObjects in the worksheet.',
params => $params,
returns => 'ListObjectsResponse',
};
}
#
# @return ListObjectsResponse
#
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_document_protect_from_changes{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# DeleteDocumentUnProtectFromChangesRequest
#
# Excel file cancel write protection.
#
# @name string (required) The file name.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'DeleteDocumentUnProtectFromChangesRequest',
description => 'DeleteDocumentUnProtectFromChanges Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_document_un_protect_from_changes' } = {
summary => 'Excel file cancel write protection.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_document_un_protect_from_changes{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PostUnlockRequest
#
# Unlock Excel files.
#
# @File string (required) File to upload
# @password string (required) The password needed to open an Excel file.
#
{
my $params = {
'request' =>{
data_type => 'PostUnlockRequest',
description => 'PostUnlock Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_unlock' } = {
summary => 'Unlock Excel files.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_unlock{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostLockRequest
#
# Lock Excel files.
#
# @File string (required) File to upload
# @password string (required) The password needed to open an Excel file.
#
{
my $params = {
'request' =>{
data_type => 'PostLockRequest',
description => 'PostLock Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_lock' } = {
summary => 'Lock Excel files.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_lock{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostProtectRequest
#
# Excel files encryption.
#
# @File string (required) File to upload
# @protectWorkbookRequest ProtectWorkbookRequest (required)
# @password string The password needed to open an Excel file.
#
{
my $params = {
'request' =>{
data_type => 'PostProtectRequest',
description => 'PostProtect Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_protect' } = {
summary => 'Excel files encryption.',
params => $params,
returns => 'FilesResult',
};
}
#
# @return FilesResult
#
sub post_protect{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('FilesResult', $response);
return $_response_object;
}
#
# PostWorksheetCellsRangesCopyRequest
#
# Copy content from the source range to the destination range in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @rangeOperate RangeCopyRequest (required) RangeCopyRequestcopydata,copystyle,copyto,copyvalue
# @folder string Original workbook folder.
# @storageName string Storage name.
#
{
my $params = {
'request' =>{
data_type => 'PostWorksheetCellsRangesCopyRequest',
description => 'PostWorksheetCellsRangesCopy Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_worksheet_cells_ranges_copy' } = {
summary => 'Copy content from the source range to the destination range in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_worksheet_cells_ranges_copy{
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
#
sub get_workbook_settings{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('WorkbookSettingsResponse', $response);
return $_response_object;
}
#
# PostWorkbookSettingsRequest
#
# Update setting in the workbook.
#
# @name string (required) The file name.
# @settings WorkbookSettings (required) Workbook Setting description.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PostWorkbookSettingsRequest',
description => 'PostWorkbookSettings Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_workbook_settings' } = {
summary => 'Update setting in the workbook.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_workbook_settings{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PutWorkbookBackgroundRequest
#
# Set background in the workbook.
#
# @name string (required) The file name.
# @picPath string The picture full path.
# @imageAdaptOption string
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
# @File string File to upload
#
{
my $params = {
'request' =>{
data_type => 'PutWorkbookBackgroundRequest',
description => 'PutWorkbookBackground Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_workbook_background' } = {
summary => 'Set background in the workbook.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_workbook_background{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# DeleteWorkbookBackgroundRequest
#
# Delete background in the workbook.
#
# @name string (required) The file name.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'DeleteWorkbookBackgroundRequest',
description => 'DeleteWorkbookBackground Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_workbook_background' } = {
summary => 'Delete background in the workbook.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_workbook_background{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PostAutofitWorksheetColumnsRequest
#
# Autofit columns in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @startColumn int The start column index.
# @endColumn int The end column index.
# @onlyAuto boolean
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PostAutofitWorksheetColumnsRequest',
description => 'PostAutofitWorksheetColumns Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_autofit_worksheet_columns' } = {
summary => 'Autofit columns in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_autofit_worksheet_columns{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PutWorksheetBackgroundRequest
#
# Set background image in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @picPath string picture full filename.
# @imageAdaptOption string
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
# @File string File to upload
#
{
my $params = {
'request' =>{
data_type => 'PutWorksheetBackgroundRequest',
description => 'PutWorksheetBackground Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_background' } = {
summary => 'Set background image in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_background{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# DeleteWorksheetBackgroundRequest
#
# Delete background image in the worksheet.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'DeleteWorksheetBackgroundRequest',
description => 'DeleteWorksheetBackground Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'delete_worksheet_background' } = {
summary => 'Delete background image in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub delete_worksheet_background{
my ($self, %args) = @_;
my $request = $args{'request'};
my $response = $request->run_http_request('client' => $self->{api_client} );
( run in 0.881 second using v1.01-cache-2.11-cpan-b16cb0d3907 )