line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AsposeSlidesCloud::Object::PdfExportOptions; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
require 5.6.0; |
4
|
1
|
|
|
1
|
|
371
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
5
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
16
|
|
6
|
1
|
|
|
1
|
|
3
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
7
|
1
|
|
|
1
|
|
19
|
use JSON qw(decode_json); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
8
|
1
|
|
|
1
|
|
74
|
use Data::Dumper; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
9
|
1
|
|
|
1
|
|
3
|
use Module::Runtime qw(use_module); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
10
|
1
|
|
|
1
|
|
41
|
use Log::Any qw($log); |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
4
|
|
11
|
1
|
|
|
1
|
|
100
|
use Date::Parse; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
63
|
|
12
|
1
|
|
|
1
|
|
3
|
use DateTime; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
13
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
3
|
use base "AsposeSlidesCloud::Object::BaseObject"; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
228
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# |
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
#NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. |
20
|
|
|
|
|
|
|
# |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my $swagger_types = { |
23
|
|
|
|
|
|
|
'TextCompression' => 'PdfTextCompression', |
24
|
|
|
|
|
|
|
'EmbedFullFonts' => 'boolean', |
25
|
|
|
|
|
|
|
'Compliance' => 'PdfCompliance', |
26
|
|
|
|
|
|
|
'JpegQuality' => 'string', |
27
|
|
|
|
|
|
|
'SaveMetafilesAsPng' => 'boolean', |
28
|
|
|
|
|
|
|
'Password' => 'string', |
29
|
|
|
|
|
|
|
'EmbedTrueTypeFontsForASCII' => 'boolean', |
30
|
|
|
|
|
|
|
'ExportFormat' => 'ExportFormats' |
31
|
|
|
|
|
|
|
}; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
my $attribute_map = { |
34
|
|
|
|
|
|
|
'TextCompression' => 'TextCompression', |
35
|
|
|
|
|
|
|
'EmbedFullFonts' => 'EmbedFullFonts', |
36
|
|
|
|
|
|
|
'Compliance' => 'Compliance', |
37
|
|
|
|
|
|
|
'JpegQuality' => 'JpegQuality', |
38
|
|
|
|
|
|
|
'SaveMetafilesAsPng' => 'SaveMetafilesAsPng', |
39
|
|
|
|
|
|
|
'Password' => 'Password', |
40
|
|
|
|
|
|
|
'EmbedTrueTypeFontsForASCII' => 'EmbedTrueTypeFontsForASCII', |
41
|
|
|
|
|
|
|
'ExportFormat' => 'ExportFormat' |
42
|
|
|
|
|
|
|
}; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
# new object |
45
|
|
|
|
|
|
|
sub new { |
46
|
0
|
|
|
0
|
0
|
|
my ($class, %args) = @_; |
47
|
|
|
|
|
|
|
my $self = { |
48
|
|
|
|
|
|
|
# |
49
|
|
|
|
|
|
|
'TextCompression' => $args{'TextCompression'}, |
50
|
|
|
|
|
|
|
# |
51
|
|
|
|
|
|
|
'EmbedFullFonts' => $args{'EmbedFullFonts'}, |
52
|
|
|
|
|
|
|
# |
53
|
|
|
|
|
|
|
'Compliance' => $args{'Compliance'}, |
54
|
|
|
|
|
|
|
# |
55
|
|
|
|
|
|
|
'JpegQuality' => $args{'JpegQuality'}, |
56
|
|
|
|
|
|
|
# |
57
|
|
|
|
|
|
|
'SaveMetafilesAsPng' => $args{'SaveMetafilesAsPng'}, |
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
'Password' => $args{'Password'}, |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
'EmbedTrueTypeFontsForASCII' => $args{'EmbedTrueTypeFontsForASCII'}, |
62
|
|
|
|
|
|
|
# |
63
|
0
|
|
|
|
|
|
'ExportFormat' => $args{'ExportFormat'} |
64
|
|
|
|
|
|
|
}; |
65
|
|
|
|
|
|
|
|
66
|
0
|
|
|
|
|
|
return bless $self, $class; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
# get swagger type of the attribute |
70
|
|
|
|
|
|
|
sub get_swagger_types { |
71
|
0
|
|
|
0
|
0
|
|
return $swagger_types; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
# get attribute mappping |
75
|
|
|
|
|
|
|
sub get_attribute_map { |
76
|
0
|
|
|
0
|
0
|
|
return $attribute_map; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
1; |