AsposeSlidesCloud-SlidesApi
view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/PortionFormat.pm view on Meta::CPAN
use Date::Parse;
use DateTime;
use AsposeSlidesCloud::Object::EffectFormat;
use AsposeSlidesCloud::Object::FillFormat;
use AsposeSlidesCloud::Object::Hyperlink;
use AsposeSlidesCloud::Object::LineFormat;
use base ("Class::Accessor", "Class::Data::Inheritable");
#
#Represents portion format.
#
# NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
# REF: https://github.com/swagger-api/swagger-codegen
#
#
# NOTE: This class is auto generated by the swagger code generator program.
# Do not edit the class manually.
# Ref: https://github.com/swagger-api/swagger-codegen
#
__PACKAGE__->mk_classdata('attribute_map' => {});
__PACKAGE__->mk_classdata('swagger_types' => {});
__PACKAGE__->mk_classdata('method_documentation' => {});
__PACKAGE__->mk_classdata('class_documentation' => {});
# new object
sub new {
my ($class, %args) = @_;
my $self = bless {}, $class;
foreach my $attribute (keys %{$class->attribute_map}) {
my $args_key = $class->attribute_map->{$attribute};
$self->$attribute( $args{ $args_key } );
}
return $self;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $_data = {};
foreach my $_key (keys %{$self->attribute_map}) {
if (defined $self->{$_key}) {
$_data->{$self->attribute_map->{$_key}} = $self->{$_key};
}
}
return $_data;
}
__PACKAGE__->class_documentation({description => 'Represents portion format.',
class => 'PortionFormat',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'font_bold' => {
datatype => 'string',
base_name => 'FontBold',
description => 'True for bold font.',
format => '',
read_only => '',
},
'font_italic' => {
datatype => 'string',
base_name => 'FontItalic',
description => 'True for italic font.',
format => '',
read_only => '',
},
'font_underline' => {
datatype => 'string',
base_name => 'FontUnderline',
description => 'Text underline type.',
format => '',
read_only => '',
},
'strikethrough_type' => {
datatype => 'string',
base_name => 'StrikethroughType',
description => 'Text strikethrough type.',
format => '',
read_only => '',
},
'text_cap_type' => {
datatype => 'string',
base_name => 'TextCapType',
description => 'Text capitalization type.',
format => '',
read_only => '',
},
'escapement' => {
datatype => 'double',
base_name => 'Escapement',
description => 'Superscript or subscript of the text.',
format => '',
read_only => '',
},
'spacing' => {
datatype => 'double',
base_name => 'Spacing',
description => 'Intercharacter spacing increment.',
format => '',
read_only => '',
},
'font_color' => {
datatype => 'string',
base_name => 'FontColor',
description => 'Font color.',
format => '',
read_only => '',
},
'highlight_color' => {
datatype => 'string',
base_name => 'HighlightColor',
description => 'Highlight color.',
format => '',
read_only => '',
},
'font_height' => {
lib/AsposeSlidesCloud/Object/PortionFormat.pm view on Meta::CPAN
},
'underline_fill_format' => {
datatype => 'FillFormat',
base_name => 'UnderlineFillFormat',
description => 'Underline fill format.',
format => '',
read_only => '',
},
'underline_line_format' => {
datatype => 'LineFormat',
base_name => 'UnderlineLineFormat',
description => 'Underline line format.',
format => '',
read_only => '',
},
'hyperlink_click' => {
datatype => 'Hyperlink',
base_name => 'HyperlinkClick',
description => 'Hyperlink defined for mouse click.',
format => '',
read_only => '',
},
'hyperlink_mouse_over' => {
datatype => 'Hyperlink',
base_name => 'HyperlinkMouseOver',
description => 'Hyperlink defined for mouse over.',
format => '',
read_only => '',
},
'latin_font' => {
datatype => 'string',
base_name => 'LatinFont',
description => 'Returns or sets the Latin font info.',
format => '',
read_only => '',
},
'east_asian_font' => {
datatype => 'string',
base_name => 'EastAsianFont',
description => 'Returns or sets the East Asian font info.',
format => '',
read_only => '',
},
'complex_script_font' => {
datatype => 'string',
base_name => 'ComplexScriptFont',
description => 'Returns or sets the complex script font info.',
format => '',
read_only => '',
},
'spell_check' => {
datatype => 'boolean',
base_name => 'SpellCheck',
description => 'true to enable spell checking for the portion.',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'font_bold' => 'string',
'font_italic' => 'string',
'font_underline' => 'string',
'strikethrough_type' => 'string',
'text_cap_type' => 'string',
'escapement' => 'double',
'spacing' => 'double',
'font_color' => 'string',
'highlight_color' => 'string',
'font_height' => 'double',
'normalise_height' => 'string',
'proof_disabled' => 'string',
'smart_tag_clean' => 'boolean',
'kerning_minimal_size' => 'double',
'kumimoji' => 'string',
'language_id' => 'string',
'alternative_language_id' => 'string',
'is_hard_underline_fill' => 'string',
'is_hard_underline_line' => 'string',
'fill_format' => 'FillFormat',
'effect_format' => 'EffectFormat',
'line_format' => 'LineFormat',
'underline_fill_format' => 'FillFormat',
'underline_line_format' => 'LineFormat',
'hyperlink_click' => 'Hyperlink',
'hyperlink_mouse_over' => 'Hyperlink',
'latin_font' => 'string',
'east_asian_font' => 'string',
'complex_script_font' => 'string',
'spell_check' => 'boolean'
} );
__PACKAGE__->attribute_map( {
'font_bold' => 'FontBold',
'font_italic' => 'FontItalic',
'font_underline' => 'FontUnderline',
'strikethrough_type' => 'StrikethroughType',
'text_cap_type' => 'TextCapType',
'escapement' => 'Escapement',
'spacing' => 'Spacing',
'font_color' => 'FontColor',
'highlight_color' => 'HighlightColor',
'font_height' => 'FontHeight',
'normalise_height' => 'NormaliseHeight',
'proof_disabled' => 'ProofDisabled',
'smart_tag_clean' => 'SmartTagClean',
'kerning_minimal_size' => 'KerningMinimalSize',
'kumimoji' => 'Kumimoji',
'language_id' => 'LanguageId',
'alternative_language_id' => 'AlternativeLanguageId',
'is_hard_underline_fill' => 'IsHardUnderlineFill',
'is_hard_underline_line' => 'IsHardUnderlineLine',
'fill_format' => 'FillFormat',
'effect_format' => 'EffectFormat',
'line_format' => 'LineFormat',
'underline_fill_format' => 'UnderlineFillFormat',
'underline_line_format' => 'UnderlineLineFormat',
'hyperlink_click' => 'HyperlinkClick',
'hyperlink_mouse_over' => 'HyperlinkMouseOver',
'latin_font' => 'LatinFont',
'east_asian_font' => 'EastAsianFont',
'complex_script_font' => 'ComplexScriptFont',
'spell_check' => 'SpellCheck'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
( run in 0.819 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )