aspose_slides_cloud 23.1.0 → 23.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88aefb794bb45689427bc94bad2b71e04b7782c233cc7ca3603cf4981632a63b
4
- data.tar.gz: 1f64270f680c341dc4feb2a8601e805a98c98ce03e3b320c89b603802431c7a0
3
+ metadata.gz: af99578c047fe1d61df3c1364fdacb79e3bb00c5ce5d751771cc7476d9eb489b
4
+ data.tar.gz: ef1d7d593d133437604bc6206a94ec4126607143b56a29973060211607c283d4
5
5
  SHA512:
6
- metadata.gz: c6515a09b27e503bd140fe62cb9699f2b8c2c51443003b11d70a26fcc606b09c88527c19ae824ad0bdf413df97f14436e2cd925cba3e5478d39c11f507fdcf1f
7
- data.tar.gz: 5dda87bc716166e759da340cd843dfb6cb43c9b7a1d49931a69fc1c0d1c7be319a4c7f371dc7f355cc81aea3c8bf4128e5f0d3c04e3e39e4d08c1e653e7a0a30
6
+ metadata.gz: d0baf9db47606ed52b933a9f17568a02513f7db8d96c0f421c160b9403499b530277c9ea3d00fd8680daa69751aec82e76b57ce145baf7244d4554ddf871002f
7
+ data.tar.gz: c570904932d24c652dc52708cbecd7827280d51790d0d54c492f8a97f6320017288c6acb2fe898669885142678c702ec7485c195ce8b12a8af93a74d0b90d69b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (23.1.0)
4
+ aspose_slides_cloud (23.2.0)
5
5
  faraday (~> 0.17, >= 0.17.3)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
 
@@ -33,7 +33,7 @@ GEM
33
33
  rspec-core (~> 3.12.0)
34
34
  rspec-expectations (~> 3.12.0)
35
35
  rspec-mocks (~> 3.12.0)
36
- rspec-core (3.12.0)
36
+ rspec-core (3.12.1)
37
37
  rspec-support (~> 3.12.0)
38
38
  rspec-expectations (3.12.2)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
data/README.md CHANGED
@@ -27,6 +27,15 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
+ ## Enhancements in Version 23.2
31
+
32
+ * New **DownloadShapeFromDto** method allows to convert charts and other shapes from DTO to SVG and other formats without creating and storing presentation files.
33
+ * Added **SoundBase64** property to **Hyperlink** class to support getting and setting hyperlink sounds.
34
+ * Added **BulletFillFormat** property to **Paragraph** class.
35
+ * Added **StopPreviousSound** property to animation **Effect** class.
36
+ * Added a number of properties to **TextFrameFormat** that enable formatting shape text: **MarginLeft**, **MarginRight**, **MarginTop**, **MarginBottom**, **WrapText**, **AnchoringType**, **CenterText**, **TextVerticalType**, **AutofitType**, **ColumnCount**, **ColumnSpacing**, **KeepTextFlat**, **RotationAngle**, **DefaultParagraphFormat**.
37
+ * Added **Pdf16**, **Pdf17**, **PdfA2b**, **PdfA2a**, **PdfA2u**, **PdfA3a**, **PdfA3b** to the list of allowed values for **PdfExportOptions.Compliance** property.
38
+
30
39
  ## Enhancements in Version 23.1
31
40
 
32
41
  * New **CompressEmbeddedFonts** and **CompressEmbeddedFontsOnline** methods allow to reduce the size taken by embedded fonts by excluding unused characters.
@@ -7658,6 +7658,64 @@ module AsposeSlidesCloud
7658
7658
  :return_type => 'File')
7659
7659
  return data, status_code, headers
7660
7660
  end
7661
+ # Creates the shape from the DTO and returns the result in the specified format.
7662
+ # @param format Export format
7663
+ # @param dto Shape DTO.
7664
+ def download_shape_from_dto(format, dto)
7665
+ data, _status_code, _headers = download_shape_from_dto_with_http_info(format, dto)
7666
+ data
7667
+ end
7668
+
7669
+ # Creates the shape from the DTO and returns the result in the specified format.
7670
+ # @param format Export format
7671
+ # @param dto Shape DTO.
7672
+ def download_shape_from_dto_with_http_info(format, dto)
7673
+ if @api_client.config.debugging
7674
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_shape_from_dto ...'
7675
+ end
7676
+
7677
+ # verify the required parameter 'format' is set
7678
+ if @api_client.config.client_side_validation && format.nil?
7679
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_from_dto"
7680
+ end
7681
+ # verify enum value
7682
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
7683
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
7684
+ end
7685
+ # verify the required parameter 'dto' is set
7686
+ if @api_client.config.client_side_validation && dto.nil?
7687
+ fail ArgumentError, "Missing the required parameter 'dto' when calling SlidesApi.download_shape_from_dto"
7688
+ end
7689
+ # resource path
7690
+ local_var_path = '/slides/shape/{format}'
7691
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
7692
+
7693
+ # query parameters
7694
+ query_params = {}
7695
+
7696
+ # header parameters
7697
+ header_params = {}
7698
+ # HTTP header 'Accept' (if needed)
7699
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
7700
+ # HTTP header 'Content-Type'
7701
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7702
+
7703
+ # http body (model)
7704
+ post_body = @api_client.object_to_http_body(dto)
7705
+
7706
+ # form parameters
7707
+ post_files = []
7708
+
7709
+ auth_names = ['JWT']
7710
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7711
+ :header_params => header_params,
7712
+ :query_params => query_params,
7713
+ :body => post_body,
7714
+ :files => post_files,
7715
+ :auth_names => auth_names,
7716
+ :return_type => 'File')
7717
+ return data, status_code, headers
7718
+ end
7661
7719
  # Render shape to specified picture format.
7662
7720
  # @param document Document data.
7663
7721
  # @param slide_index Slide index.
@@ -76,6 +76,9 @@ module AsposeSlidesCloud
76
76
  # Specifies if the effect will repeat until the next click.
77
77
  attr_accessor :repeat_until_next_click
78
78
 
79
+ # This attribute specifies if the animation effect stops the previous sound.
80
+ attr_accessor :stop_previous_sound
81
+
79
82
  class EnumAttributeValidator
80
83
  attr_reader :datatype
81
84
  attr_reader :allowable_values
@@ -118,6 +121,7 @@ module AsposeSlidesCloud
118
121
  :'trigger_delay_time' => :'TriggerDelayTime',
119
122
  :'repeat_until_end_slide' => :'RepeatUntilEndSlide',
120
123
  :'repeat_until_next_click' => :'RepeatUntilNextClick',
124
+ :'stop_previous_sound' => :'StopPreviousSound',
121
125
  }
122
126
  end
123
127
 
@@ -141,6 +145,7 @@ module AsposeSlidesCloud
141
145
  :'trigger_delay_time' => :'Float',
142
146
  :'repeat_until_end_slide' => :'BOOLEAN',
143
147
  :'repeat_until_next_click' => :'BOOLEAN',
148
+ :'stop_previous_sound' => :'BOOLEAN',
144
149
  }
145
150
  end
146
151
 
@@ -219,6 +224,10 @@ module AsposeSlidesCloud
219
224
  if attributes.has_key?(:'RepeatUntilNextClick')
220
225
  self.repeat_until_next_click = attributes[:'RepeatUntilNextClick']
221
226
  end
227
+
228
+ if attributes.has_key?(:'StopPreviousSound')
229
+ self.stop_previous_sound = attributes[:'StopPreviousSound']
230
+ end
222
231
  end
223
232
 
224
233
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -320,7 +329,8 @@ module AsposeSlidesCloud
320
329
  speed == o.speed &&
321
330
  trigger_delay_time == o.trigger_delay_time &&
322
331
  repeat_until_end_slide == o.repeat_until_end_slide &&
323
- repeat_until_next_click == o.repeat_until_next_click
332
+ repeat_until_next_click == o.repeat_until_next_click &&
333
+ stop_previous_sound == o.stop_previous_sound
324
334
  end
325
335
 
326
336
  # @see the `==` method
@@ -332,7 +342,7 @@ module AsposeSlidesCloud
332
342
  # Calculates hash code according to all attributes.
333
343
  # @return [Fixnum] Hash code
334
344
  def hash
335
- [type, subtype, preset_class_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time, repeat_until_end_slide, repeat_until_next_click].hash
345
+ [type, subtype, preset_class_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time, repeat_until_end_slide, repeat_until_next_click, stop_previous_sound].hash
336
346
  end
337
347
 
338
348
  # Builds the object from hash
@@ -55,6 +55,9 @@ module AsposeSlidesCloud
55
55
  # Represents the source of hyperlink color
56
56
  attr_accessor :color_source
57
57
 
58
+ # Audio data encoded in base64. Represents the playing sound of the hyperlink.
59
+ attr_accessor :sound_base64
60
+
58
61
  class EnumAttributeValidator
59
62
  attr_reader :datatype
60
63
  attr_reader :allowable_values
@@ -90,6 +93,7 @@ module AsposeSlidesCloud
90
93
  :'highlight_click' => :'HighlightClick',
91
94
  :'stop_sound_on_click' => :'StopSoundOnClick',
92
95
  :'color_source' => :'ColorSource',
96
+ :'sound_base64' => :'SoundBase64',
93
97
  }
94
98
  end
95
99
 
@@ -106,6 +110,7 @@ module AsposeSlidesCloud
106
110
  :'highlight_click' => :'BOOLEAN',
107
111
  :'stop_sound_on_click' => :'BOOLEAN',
108
112
  :'color_source' => :'String',
113
+ :'sound_base64' => :'String',
109
114
  }
110
115
  end
111
116
 
@@ -156,6 +161,10 @@ module AsposeSlidesCloud
156
161
  if attributes.has_key?(:'ColorSource')
157
162
  self.color_source = attributes[:'ColorSource']
158
163
  end
164
+
165
+ if attributes.has_key?(:'SoundBase64')
166
+ self.sound_base64 = attributes[:'SoundBase64']
167
+ end
159
168
  end
160
169
 
161
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -214,7 +223,8 @@ module AsposeSlidesCloud
214
223
  history == o.history &&
215
224
  highlight_click == o.highlight_click &&
216
225
  stop_sound_on_click == o.stop_sound_on_click &&
217
- color_source == o.color_source
226
+ color_source == o.color_source &&
227
+ sound_base64 == o.sound_base64
218
228
  end
219
229
 
220
230
  # @see the `==` method
@@ -226,7 +236,7 @@ module AsposeSlidesCloud
226
236
  # Calculates hash code according to all attributes.
227
237
  # @return [Fixnum] Hash code
228
238
  def hash
229
- [is_disabled, action_type, external_url, target_slide_index, target_frame, tooltip, history, highlight_click, stop_sound_on_click, color_source].hash
239
+ [is_disabled, action_type, external_url, target_slide_index, target_frame, tooltip, history, highlight_click, stop_sound_on_click, color_source, sound_base64].hash
230
240
  end
231
241
 
232
242
  # Builds the object from hash
@@ -55,21 +55,6 @@ module AsposeSlidesCloud
55
55
  # Depth.
56
56
  attr_accessor :depth
57
57
 
58
- # Bullet char.
59
- attr_accessor :bullet_char
60
-
61
- # Bullet height.
62
- attr_accessor :bullet_height
63
-
64
- # Bullet type.
65
- attr_accessor :bullet_type
66
-
67
- # Starting number for a numbered bullet.
68
- attr_accessor :numbered_bullet_start_with
69
-
70
- # Numbered bullet style.
71
- attr_accessor :numbered_bullet_style
72
-
73
58
  # True if hanging punctuation is used with the paragraph.
74
59
  attr_accessor :hanging_punctuation
75
60
 
@@ -88,6 +73,24 @@ module AsposeSlidesCloud
88
73
  # Default portion format.
89
74
  attr_accessor :default_portion_format
90
75
 
76
+ # Bullet char.
77
+ attr_accessor :bullet_char
78
+
79
+ # Bullet height.
80
+ attr_accessor :bullet_height
81
+
82
+ # Bullet type.
83
+ attr_accessor :bullet_type
84
+
85
+ # Starting number for a numbered bullet.
86
+ attr_accessor :numbered_bullet_start_with
87
+
88
+ # Numbered bullet style.
89
+ attr_accessor :numbered_bullet_style
90
+
91
+ # Bullet fill format.
92
+ attr_accessor :bullet_fill_format
93
+
91
94
  class EnumAttributeValidator
92
95
  attr_reader :datatype
93
96
  attr_reader :allowable_values
@@ -123,17 +126,18 @@ module AsposeSlidesCloud
123
126
  :'font_alignment' => :'FontAlignment',
124
127
  :'default_tab_size' => :'DefaultTabSize',
125
128
  :'depth' => :'Depth',
126
- :'bullet_char' => :'BulletChar',
127
- :'bullet_height' => :'BulletHeight',
128
- :'bullet_type' => :'BulletType',
129
- :'numbered_bullet_start_with' => :'NumberedBulletStartWith',
130
- :'numbered_bullet_style' => :'NumberedBulletStyle',
131
129
  :'hanging_punctuation' => :'HangingPunctuation',
132
130
  :'east_asian_line_break' => :'EastAsianLineBreak',
133
131
  :'latin_line_break' => :'LatinLineBreak',
134
132
  :'right_to_left' => :'RightToLeft',
135
133
  :'portion_list' => :'PortionList',
136
134
  :'default_portion_format' => :'DefaultPortionFormat',
135
+ :'bullet_char' => :'BulletChar',
136
+ :'bullet_height' => :'BulletHeight',
137
+ :'bullet_type' => :'BulletType',
138
+ :'numbered_bullet_start_with' => :'NumberedBulletStartWith',
139
+ :'numbered_bullet_style' => :'NumberedBulletStyle',
140
+ :'bullet_fill_format' => :'BulletFillFormat',
137
141
  })
138
142
  end
139
143
 
@@ -150,17 +154,18 @@ module AsposeSlidesCloud
150
154
  :'font_alignment' => :'String',
151
155
  :'default_tab_size' => :'Float',
152
156
  :'depth' => :'Integer',
153
- :'bullet_char' => :'String',
154
- :'bullet_height' => :'Float',
155
- :'bullet_type' => :'String',
156
- :'numbered_bullet_start_with' => :'Integer',
157
- :'numbered_bullet_style' => :'String',
158
157
  :'hanging_punctuation' => :'String',
159
158
  :'east_asian_line_break' => :'String',
160
159
  :'latin_line_break' => :'String',
161
160
  :'right_to_left' => :'String',
162
161
  :'portion_list' => :'Array<Portion>',
163
162
  :'default_portion_format' => :'PortionFormat',
163
+ :'bullet_char' => :'String',
164
+ :'bullet_height' => :'Float',
165
+ :'bullet_type' => :'String',
166
+ :'numbered_bullet_start_with' => :'Integer',
167
+ :'numbered_bullet_style' => :'String',
168
+ :'bullet_fill_format' => :'FillFormat',
164
169
  })
165
170
  end
166
171
 
@@ -209,26 +214,6 @@ module AsposeSlidesCloud
209
214
  self.depth = attributes[:'Depth']
210
215
  end
211
216
 
212
- if attributes.has_key?(:'BulletChar')
213
- self.bullet_char = attributes[:'BulletChar']
214
- end
215
-
216
- if attributes.has_key?(:'BulletHeight')
217
- self.bullet_height = attributes[:'BulletHeight']
218
- end
219
-
220
- if attributes.has_key?(:'BulletType')
221
- self.bullet_type = attributes[:'BulletType']
222
- end
223
-
224
- if attributes.has_key?(:'NumberedBulletStartWith')
225
- self.numbered_bullet_start_with = attributes[:'NumberedBulletStartWith']
226
- end
227
-
228
- if attributes.has_key?(:'NumberedBulletStyle')
229
- self.numbered_bullet_style = attributes[:'NumberedBulletStyle']
230
- end
231
-
232
217
  if attributes.has_key?(:'HangingPunctuation')
233
218
  self.hanging_punctuation = attributes[:'HangingPunctuation']
234
219
  end
@@ -254,6 +239,30 @@ module AsposeSlidesCloud
254
239
  if attributes.has_key?(:'DefaultPortionFormat')
255
240
  self.default_portion_format = attributes[:'DefaultPortionFormat']
256
241
  end
242
+
243
+ if attributes.has_key?(:'BulletChar')
244
+ self.bullet_char = attributes[:'BulletChar']
245
+ end
246
+
247
+ if attributes.has_key?(:'BulletHeight')
248
+ self.bullet_height = attributes[:'BulletHeight']
249
+ end
250
+
251
+ if attributes.has_key?(:'BulletType')
252
+ self.bullet_type = attributes[:'BulletType']
253
+ end
254
+
255
+ if attributes.has_key?(:'NumberedBulletStartWith')
256
+ self.numbered_bullet_start_with = attributes[:'NumberedBulletStartWith']
257
+ end
258
+
259
+ if attributes.has_key?(:'NumberedBulletStyle')
260
+ self.numbered_bullet_style = attributes[:'NumberedBulletStyle']
261
+ end
262
+
263
+ if attributes.has_key?(:'BulletFillFormat')
264
+ self.bullet_fill_format = attributes[:'BulletFillFormat']
265
+ end
257
266
  end
258
267
 
259
268
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -271,10 +280,6 @@ module AsposeSlidesCloud
271
280
  return false unless alignment_validator.valid?(@alignment)
272
281
  font_alignment_validator = EnumAttributeValidator.new('String', ['Automatic', 'Top', 'Center', 'Bottom', 'Baseline', 'Default'])
273
282
  return false unless font_alignment_validator.valid?(@font_alignment)
274
- bullet_type_validator = EnumAttributeValidator.new('String', ['None', 'Symbol', 'Numbered', 'Picture', 'NotDefined'])
275
- return false unless bullet_type_validator.valid?(@bullet_type)
276
- numbered_bullet_style_validator = EnumAttributeValidator.new('String', ['BulletAlphaLCPeriod', 'BulletAlphaUCPeriod', 'BulletArabicParenRight', 'BulletArabicPeriod', 'BulletRomanLCParenBoth', 'BulletRomanLCParenRight', 'BulletRomanLCPeriod', 'BulletRomanUCPeriod', 'BulletAlphaLCParenBoth', 'BulletAlphaLCParenRight', 'BulletAlphaUCParenBoth', 'BulletAlphaUCParenRight', 'BulletArabicParenBoth', 'BulletArabicPlain', 'BulletRomanUCParenBoth', 'BulletRomanUCParenRight', 'BulletSimpChinPlain', 'BulletSimpChinPeriod', 'BulletCircleNumDBPlain', 'BulletCircleNumWDWhitePlain', 'BulletCircleNumWDBlackPlain', 'BulletTradChinPlain', 'BulletTradChinPeriod', 'BulletArabicAlphaDash', 'BulletArabicAbjadDash', 'BulletHebrewAlphaDash', 'BulletKanjiKoreanPlain', 'BulletKanjiKoreanPeriod', 'BulletArabicDBPlain', 'BulletArabicDBPeriod', 'BulletThaiAlphaPeriod', 'BulletThaiAlphaParenRight', 'BulletThaiAlphaParenBoth', 'BulletThaiNumPeriod', 'BulletThaiNumParenRight', 'BulletThaiNumParenBoth', 'BulletHindiAlphaPeriod', 'BulletHindiNumPeriod', 'BulletKanjiSimpChinDBPeriod', 'BulletHindiNumParenRight', 'BulletHindiAlpha1Period', 'NotDefined'])
277
- return false unless numbered_bullet_style_validator.valid?(@numbered_bullet_style)
278
283
  hanging_punctuation_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined'])
279
284
  return false unless hanging_punctuation_validator.valid?(@hanging_punctuation)
280
285
  east_asian_line_break_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined'])
@@ -283,6 +288,10 @@ module AsposeSlidesCloud
283
288
  return false unless latin_line_break_validator.valid?(@latin_line_break)
284
289
  right_to_left_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined'])
285
290
  return false unless right_to_left_validator.valid?(@right_to_left)
291
+ bullet_type_validator = EnumAttributeValidator.new('String', ['None', 'Symbol', 'Numbered', 'Picture', 'NotDefined'])
292
+ return false unless bullet_type_validator.valid?(@bullet_type)
293
+ numbered_bullet_style_validator = EnumAttributeValidator.new('String', ['BulletAlphaLCPeriod', 'BulletAlphaUCPeriod', 'BulletArabicParenRight', 'BulletArabicPeriod', 'BulletRomanLCParenBoth', 'BulletRomanLCParenRight', 'BulletRomanLCPeriod', 'BulletRomanUCPeriod', 'BulletAlphaLCParenBoth', 'BulletAlphaLCParenRight', 'BulletAlphaUCParenBoth', 'BulletAlphaUCParenRight', 'BulletArabicParenBoth', 'BulletArabicPlain', 'BulletRomanUCParenBoth', 'BulletRomanUCParenRight', 'BulletSimpChinPlain', 'BulletSimpChinPeriod', 'BulletCircleNumDBPlain', 'BulletCircleNumWDWhitePlain', 'BulletCircleNumWDBlackPlain', 'BulletTradChinPlain', 'BulletTradChinPeriod', 'BulletArabicAlphaDash', 'BulletArabicAbjadDash', 'BulletHebrewAlphaDash', 'BulletKanjiKoreanPlain', 'BulletKanjiKoreanPeriod', 'BulletArabicDBPlain', 'BulletArabicDBPeriod', 'BulletThaiAlphaPeriod', 'BulletThaiAlphaParenRight', 'BulletThaiAlphaParenBoth', 'BulletThaiNumPeriod', 'BulletThaiNumParenRight', 'BulletThaiNumParenBoth', 'BulletHindiAlphaPeriod', 'BulletHindiNumPeriod', 'BulletKanjiSimpChinDBPeriod', 'BulletHindiNumParenRight', 'BulletHindiAlpha1Period', 'NotDefined'])
294
+ return false unless numbered_bullet_style_validator.valid?(@numbered_bullet_style)
286
295
  true
287
296
  end
288
297
 
@@ -306,26 +315,6 @@ module AsposeSlidesCloud
306
315
  @font_alignment = font_alignment
307
316
  end
308
317
 
309
- # Custom attribute writer method checking allowed values (enum).
310
- # @param [Object] bullet_type Object to be assigned
311
- def bullet_type=(bullet_type)
312
- validator = EnumAttributeValidator.new('String', ['None', 'Symbol', 'Numbered', 'Picture', 'NotDefined'])
313
- unless validator.valid?(bullet_type)
314
- fail ArgumentError, 'invalid value for "bullet_type", must be one of #{validator.allowable_values}.'
315
- end
316
- @bullet_type = bullet_type
317
- end
318
-
319
- # Custom attribute writer method checking allowed values (enum).
320
- # @param [Object] numbered_bullet_style Object to be assigned
321
- def numbered_bullet_style=(numbered_bullet_style)
322
- validator = EnumAttributeValidator.new('String', ['BulletAlphaLCPeriod', 'BulletAlphaUCPeriod', 'BulletArabicParenRight', 'BulletArabicPeriod', 'BulletRomanLCParenBoth', 'BulletRomanLCParenRight', 'BulletRomanLCPeriod', 'BulletRomanUCPeriod', 'BulletAlphaLCParenBoth', 'BulletAlphaLCParenRight', 'BulletAlphaUCParenBoth', 'BulletAlphaUCParenRight', 'BulletArabicParenBoth', 'BulletArabicPlain', 'BulletRomanUCParenBoth', 'BulletRomanUCParenRight', 'BulletSimpChinPlain', 'BulletSimpChinPeriod', 'BulletCircleNumDBPlain', 'BulletCircleNumWDWhitePlain', 'BulletCircleNumWDBlackPlain', 'BulletTradChinPlain', 'BulletTradChinPeriod', 'BulletArabicAlphaDash', 'BulletArabicAbjadDash', 'BulletHebrewAlphaDash', 'BulletKanjiKoreanPlain', 'BulletKanjiKoreanPeriod', 'BulletArabicDBPlain', 'BulletArabicDBPeriod', 'BulletThaiAlphaPeriod', 'BulletThaiAlphaParenRight', 'BulletThaiAlphaParenBoth', 'BulletThaiNumPeriod', 'BulletThaiNumParenRight', 'BulletThaiNumParenBoth', 'BulletHindiAlphaPeriod', 'BulletHindiNumPeriod', 'BulletKanjiSimpChinDBPeriod', 'BulletHindiNumParenRight', 'BulletHindiAlpha1Period', 'NotDefined'])
323
- unless validator.valid?(numbered_bullet_style)
324
- fail ArgumentError, 'invalid value for "numbered_bullet_style", must be one of #{validator.allowable_values}.'
325
- end
326
- @numbered_bullet_style = numbered_bullet_style
327
- end
328
-
329
318
  # Custom attribute writer method checking allowed values (enum).
330
319
  # @param [Object] hanging_punctuation Object to be assigned
331
320
  def hanging_punctuation=(hanging_punctuation)
@@ -366,6 +355,26 @@ module AsposeSlidesCloud
366
355
  @right_to_left = right_to_left
367
356
  end
368
357
 
358
+ # Custom attribute writer method checking allowed values (enum).
359
+ # @param [Object] bullet_type Object to be assigned
360
+ def bullet_type=(bullet_type)
361
+ validator = EnumAttributeValidator.new('String', ['None', 'Symbol', 'Numbered', 'Picture', 'NotDefined'])
362
+ unless validator.valid?(bullet_type)
363
+ fail ArgumentError, 'invalid value for "bullet_type", must be one of #{validator.allowable_values}.'
364
+ end
365
+ @bullet_type = bullet_type
366
+ end
367
+
368
+ # Custom attribute writer method checking allowed values (enum).
369
+ # @param [Object] numbered_bullet_style Object to be assigned
370
+ def numbered_bullet_style=(numbered_bullet_style)
371
+ validator = EnumAttributeValidator.new('String', ['BulletAlphaLCPeriod', 'BulletAlphaUCPeriod', 'BulletArabicParenRight', 'BulletArabicPeriod', 'BulletRomanLCParenBoth', 'BulletRomanLCParenRight', 'BulletRomanLCPeriod', 'BulletRomanUCPeriod', 'BulletAlphaLCParenBoth', 'BulletAlphaLCParenRight', 'BulletAlphaUCParenBoth', 'BulletAlphaUCParenRight', 'BulletArabicParenBoth', 'BulletArabicPlain', 'BulletRomanUCParenBoth', 'BulletRomanUCParenRight', 'BulletSimpChinPlain', 'BulletSimpChinPeriod', 'BulletCircleNumDBPlain', 'BulletCircleNumWDWhitePlain', 'BulletCircleNumWDBlackPlain', 'BulletTradChinPlain', 'BulletTradChinPeriod', 'BulletArabicAlphaDash', 'BulletArabicAbjadDash', 'BulletHebrewAlphaDash', 'BulletKanjiKoreanPlain', 'BulletKanjiKoreanPeriod', 'BulletArabicDBPlain', 'BulletArabicDBPeriod', 'BulletThaiAlphaPeriod', 'BulletThaiAlphaParenRight', 'BulletThaiAlphaParenBoth', 'BulletThaiNumPeriod', 'BulletThaiNumParenRight', 'BulletThaiNumParenBoth', 'BulletHindiAlphaPeriod', 'BulletHindiNumPeriod', 'BulletKanjiSimpChinDBPeriod', 'BulletHindiNumParenRight', 'BulletHindiAlpha1Period', 'NotDefined'])
372
+ unless validator.valid?(numbered_bullet_style)
373
+ fail ArgumentError, 'invalid value for "numbered_bullet_style", must be one of #{validator.allowable_values}.'
374
+ end
375
+ @numbered_bullet_style = numbered_bullet_style
376
+ end
377
+
369
378
  # Checks equality by comparing each attribute.
370
379
  # @param [Object] Object to be compared
371
380
  def ==(o)
@@ -383,17 +392,18 @@ module AsposeSlidesCloud
383
392
  font_alignment == o.font_alignment &&
384
393
  default_tab_size == o.default_tab_size &&
385
394
  depth == o.depth &&
386
- bullet_char == o.bullet_char &&
387
- bullet_height == o.bullet_height &&
388
- bullet_type == o.bullet_type &&
389
- numbered_bullet_start_with == o.numbered_bullet_start_with &&
390
- numbered_bullet_style == o.numbered_bullet_style &&
391
395
  hanging_punctuation == o.hanging_punctuation &&
392
396
  east_asian_line_break == o.east_asian_line_break &&
393
397
  latin_line_break == o.latin_line_break &&
394
398
  right_to_left == o.right_to_left &&
395
399
  portion_list == o.portion_list &&
396
- default_portion_format == o.default_portion_format
400
+ default_portion_format == o.default_portion_format &&
401
+ bullet_char == o.bullet_char &&
402
+ bullet_height == o.bullet_height &&
403
+ bullet_type == o.bullet_type &&
404
+ numbered_bullet_start_with == o.numbered_bullet_start_with &&
405
+ numbered_bullet_style == o.numbered_bullet_style &&
406
+ bullet_fill_format == o.bullet_fill_format
397
407
  end
398
408
 
399
409
  # @see the `==` method
@@ -405,7 +415,7 @@ module AsposeSlidesCloud
405
415
  # Calculates hash code according to all attributes.
406
416
  # @return [Fixnum] Hash code
407
417
  def hash
408
- [self_uri, alternate_links, margin_left, margin_right, space_before, space_after, space_within, indent, alignment, font_alignment, default_tab_size, depth, bullet_char, bullet_height, bullet_type, numbered_bullet_start_with, numbered_bullet_style, hanging_punctuation, east_asian_line_break, latin_line_break, right_to_left, portion_list, default_portion_format].hash
418
+ [self_uri, alternate_links, margin_left, margin_right, space_before, space_after, space_within, indent, alignment, font_alignment, default_tab_size, depth, hanging_punctuation, east_asian_line_break, latin_line_break, right_to_left, portion_list, default_portion_format, bullet_char, bullet_height, bullet_type, numbered_bullet_start_with, numbered_bullet_style, bullet_fill_format].hash
409
419
  end
410
420
 
411
421
  # Builds the object from hash