AsposeCellsCloud-CellsApi
view release on metacpan or search on metacpan
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
if (!$response) {
return;
}
my $_response_object = $self->{api_client}->deserialize('CellsCloudResponse', $response);
return $_response_object;
}
#
# PutWorksheetDynamicFilterRequest
#
# Add a dynamic filter in the worksheet.
#
# @name string (required) The workbook name.
# @sheetName string (required) The worksheet name.
# @range string (required) Represents the range to which the specified AutoFilter applies.
# @fieldIndex int (required) The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
# @dynamicFilterType string (required) Dynamic filter type.
# @matchBlanks boolean Match all blank cell in the list.
# @refresh boolean Refresh auto filters to hide or unhide the rows.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PutWorksheetDynamicFilterRequest',
description => 'PutWorksheetDynamicFilter Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_dynamic_filter' } = {
summary => 'Add a dynamic filter in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_dynamic_filter{
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;
}
#
# PutWorksheetFilterTop10Request
#
# Filter the top 10 items in the list in the worksheet.
#
# @name string (required) The workbook name.
# @sheetName string (required) The worksheet name.
# @range string (required) Represents the range to which the specified AutoFilter applies.
# @fieldIndex int (required) The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
# @isTop boolean (required) Indicates whether filter from top or bottom
# @isPercent boolean (required) Indicates whether the items is percent or count
# @itemCount int (required) The item count
# @matchBlanks boolean Match all blank cell in the list.
# @refresh boolean Refresh auto filters to hide or unhide the rows.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PutWorksheetFilterTop10Request',
description => 'PutWorksheetFilterTop10 Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_filter_top10' } = {
summary => 'Filter the top 10 items in the list in the worksheet.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub put_worksheet_filter_top10{
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;
}
#
# PutWorksheetColorFilterRequest
#
# Add a color filter in the worksheet.
#
# @name string (required) The workbook name.
# @sheetName string (required) The worksheet name.
# @range string (required) Represents the range to which the specified AutoFilter applies.
# @fieldIndex int (required) The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
# @colorFilter ColorFilterRequest (required) color filter request.
# @matchBlanks boolean Match all blank cell in the list.
# @refresh boolean Refresh auto filters to hide or unhide the rows.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PutWorksheetColorFilterRequest',
description => 'PutWorksheetColorFilter Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'put_worksheet_color_filter' } = {
summary => 'Add a color filter in the worksheet.',
params => $params,
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
summary => 'Retrieve descriptions of ranges in the worksheets.',
params => $params,
returns => 'RangesResponse',
};
}
#
# @return RangesResponse
#
sub get_named_ranges{
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('RangesResponse', $response);
return $_response_object;
}
#
# GetNamedRangeValueRequest
#
# Retrieve values in range.
#
# @name string (required) The file name.
# @namerange string (required) Range 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 => 'GetNamedRangeValueRequest',
description => 'GetNamedRangeValue Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_named_range_value' } = {
summary => 'Retrieve values in range.',
params => $params,
returns => 'RangeValueResponse',
};
}
#
# @return RangeValueResponse
#
sub get_named_range_value{
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('RangeValueResponse', $response);
return $_response_object;
}
#
# PostUpdateWorksheetZoomRequest
#
# Update the scaling percentage in the worksheet. It should be between 10 and 400.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @value int (required) Represents the scaling factor in percentage. It should be between 10 and 400.
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
'request' =>{
data_type => 'PostUpdateWorksheetZoomRequest',
description => 'PostUpdateWorksheetZoom Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'post_update_worksheet_zoom' } = {
summary => 'Update the scaling percentage in the worksheet. It should be between 10 and 400.',
params => $params,
returns => 'CellsCloudResponse',
};
}
#
# @return CellsCloudResponse
#
sub post_update_worksheet_zoom{
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;
}
#
# GetWorksheetPageCountRequest
#
# Get page count 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 => 'GetWorksheetPageCountRequest',
description => 'GetWorksheetPageCount Request.',
required => '0',
}
};
__PACKAGE__->method_documentation->{ 'get_worksheet_page_count' } = {
summary => 'Get page count in the worksheet.',
params => $params,
returns => 'int',
};
}
#
# @return int
#
sub get_worksheet_page_count{
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('int', $response);
return $_response_object;
}
#
# GetWorksheetValidationsRequest
#
# Retrieve descriptions of validations in the worksheet.
( run in 2.122 seconds using v1.01-cache-2.11-cpan-5511b514fd6 )