AsposeCellsCloud-CellsApi

 view release on metacpan or  search on metacpan

lib/AsposeCellsCloud/Object/ComboBox.pm  view on Meta::CPAN

sub _deserialize {
    my ($self, $type, $data) = @_;
    $log->debugf("deserializing %s with %s",Dumper($data), $type);

    if ($type eq 'DateTime') {
        return DateTime->from_epoch(epoch => str2time($data));
    } elsif ( grep( /^$type$/, ('int', 'double', 'string', 'boolean'))) {
        return $data;
    } else { # hash(model)
        my $_instance = eval "AsposeCellsCloud::Object::$type->new()";
        return $_instance->from_hash($data);
    }
}


__PACKAGE__->class_documentation({description => 'Represents the control form ComboBox.',
                                  class => 'ComboBox',
                                  required => [], # TODO
}                                 );


__PACKAGE__->method_documentation({
     'drop_down_lines' => {
     	datatype => 'int',
     	base_name => 'DropDownLines',
     	description => 'Gets or sets the number of list lines displayed in the drop-down portion of a combo box.',
     	format => '',
     	read_only => '',
     		},
     'input_range' => {
     	datatype => 'string',
     	base_name => 'InputRange',
     	description => 'Property Summary: Contains a public string property named "InputRange" with both get and set accessors.',
     	format => '',
     	read_only => '',
     		},
     'selected_cell' => {
     	datatype => 'LinkElement',
     	base_name => 'SelectedCell',
     	description => 'Gets the selected cell in the input range of the combo box.',
     	format => '',
     	read_only => '',
     		},
     'selected_index' => {
     	datatype => 'int',
     	base_name => 'SelectedIndex',
     	description => 'Gets or sets the index number of the currently selected item in a list box or combo box.                        Zero-based.',
     	format => '',
     	read_only => '',
     		},
     'selected_value' => {
     	datatype => 'string',
     	base_name => 'SelectedValue',
     	description => 'Gets the selected value of the combox box.',
     	format => '',
     	read_only => '',
     		},
     'shadow' => {
     	datatype => 'boolean',
     	base_name => 'Shadow',
     	description => 'Indicates whether the combobox has 3-D shading.',
     	format => '',
     	read_only => '',
     		},
     'name' => {
     	datatype => 'string',
     	base_name => 'Name',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'mso_drawing_type' => {
     	datatype => 'string',
     	base_name => 'MsoDrawingType',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'auto_shape_type' => {
     	datatype => 'string',
     	base_name => 'AutoShapeType',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'placement' => {
     	datatype => 'string',
     	base_name => 'Placement',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'upper_left_row' => {
     	datatype => 'int',
     	base_name => 'UpperLeftRow',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'top' => {
     	datatype => 'int',
     	base_name => 'Top',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'upper_left_column' => {
     	datatype => 'int',
     	base_name => 'UpperLeftColumn',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'left' => {
     	datatype => 'int',
     	base_name => 'Left',
     	description => '',
     	format => '',
     	read_only => '',
     		},
     'lower_right_row' => {



( run in 0.614 second using v1.01-cache-2.11-cpan-39bf76dae61 )