aspose_words_cloud 23.8.0 → 23.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +28 -4
  3. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +39 -1
  4. data/lib/aspose_words_cloud/models/bookmark_insert.rb +14 -14
  5. data/lib/aspose_words_cloud/models/bookmark_response.rb +1 -0
  6. data/lib/aspose_words_cloud/models/bookmarks_response.rb +1 -0
  7. data/lib/aspose_words_cloud/models/border.rb +5 -0
  8. data/lib/aspose_words_cloud/models/border_response.rb +1 -0
  9. data/lib/aspose_words_cloud/models/borders_response.rb +1 -0
  10. data/lib/aspose_words_cloud/models/classification_response.rb +1 -0
  11. data/lib/aspose_words_cloud/models/comment.rb +3 -0
  12. data/lib/aspose_words_cloud/models/comment_insert.rb +15 -11
  13. data/lib/aspose_words_cloud/models/comment_response.rb +1 -0
  14. data/lib/aspose_words_cloud/models/comment_update.rb +15 -11
  15. data/lib/aspose_words_cloud/models/comments_response.rb +1 -0
  16. data/lib/aspose_words_cloud/models/csv_data_load_options.rb +5 -0
  17. data/lib/aspose_words_cloud/models/custom_xml_part.rb +2 -0
  18. data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +2 -0
  19. data/lib/aspose_words_cloud/models/custom_xml_part_response.rb +1 -0
  20. data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +2 -0
  21. data/lib/aspose_words_cloud/models/custom_xml_parts_response.rb +1 -0
  22. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +11 -0
  23. data/lib/aspose_words_cloud/models/docm_save_options_data.rb +11 -0
  24. data/lib/aspose_words_cloud/models/document_properties_response.rb +1 -0
  25. data/lib/aspose_words_cloud/models/document_property_response.rb +1 -0
  26. data/lib/aspose_words_cloud/models/docx_save_options_data.rb +11 -0
  27. data/lib/aspose_words_cloud/models/dot_save_options_data.rb +11 -0
  28. data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +11 -0
  29. data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +11 -0
  30. data/lib/aspose_words_cloud/models/downsample_options_data.rb +3 -0
  31. data/lib/aspose_words_cloud/models/drawing_object_insert.rb +21 -21
  32. data/lib/aspose_words_cloud/models/drawing_object_update.rb +18 -18
  33. data/lib/aspose_words_cloud/models/drawing_objects_response.rb +1 -0
  34. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +39 -1
  35. data/lib/aspose_words_cloud/models/eps_save_options_data.rb +719 -0
  36. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +16 -0
  37. data/lib/aspose_words_cloud/models/error.rb +4 -4
  38. data/lib/aspose_words_cloud/models/error_details.rb +2 -2
  39. data/lib/aspose_words_cloud/models/field_insert.rb +14 -14
  40. data/lib/aspose_words_cloud/models/field_names_response.rb +1 -0
  41. data/lib/aspose_words_cloud/models/field_options.rb +16 -16
  42. data/lib/aspose_words_cloud/models/field_response.rb +1 -0
  43. data/lib/aspose_words_cloud/models/field_update.rb +14 -14
  44. data/lib/aspose_words_cloud/models/fields_response.rb +1 -0
  45. data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +11 -0
  46. data/lib/aspose_words_cloud/models/flat_opc_save_options_data.rb +11 -0
  47. data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +11 -0
  48. data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +11 -0
  49. data/lib/aspose_words_cloud/models/font.rb +4 -0
  50. data/lib/aspose_words_cloud/models/font_response.rb +1 -0
  51. data/lib/aspose_words_cloud/models/footnote.rb +2 -0
  52. data/lib/aspose_words_cloud/models/footnote_insert.rb +13 -11
  53. data/lib/aspose_words_cloud/models/footnote_response.rb +1 -0
  54. data/lib/aspose_words_cloud/models/footnote_update.rb +13 -11
  55. data/lib/aspose_words_cloud/models/footnotes_response.rb +1 -0
  56. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +8 -0
  57. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +9 -0
  58. data/lib/aspose_words_cloud/models/form_field_response.rb +1 -0
  59. data/lib/aspose_words_cloud/models/form_field_text_input.rb +10 -0
  60. data/lib/aspose_words_cloud/models/form_fields_response.rb +1 -0
  61. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +39 -1
  62. data/lib/aspose_words_cloud/models/header_footer_response.rb +1 -0
  63. data/lib/aspose_words_cloud/models/header_footers_response.rb +1 -0
  64. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +18 -0
  65. data/lib/aspose_words_cloud/models/html_save_options_data.rb +16 -0
  66. data/lib/aspose_words_cloud/models/hyperlink_response.rb +1 -0
  67. data/lib/aspose_words_cloud/models/hyperlinks_response.rb +1 -0
  68. data/lib/aspose_words_cloud/models/image_entry_list.rb +1 -0
  69. data/lib/aspose_words_cloud/models/info_response.rb +3 -3
  70. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +39 -1
  71. data/lib/aspose_words_cloud/models/json_data_load_options.rb +15 -0
  72. data/lib/aspose_words_cloud/models/list_format.rb +2 -0
  73. data/lib/aspose_words_cloud/models/list_format_update.rb +17 -14
  74. data/lib/aspose_words_cloud/models/list_info.rb +7 -0
  75. data/lib/aspose_words_cloud/models/list_insert.rb +1 -0
  76. data/lib/aspose_words_cloud/models/list_level.rb +11 -0
  77. data/lib/aspose_words_cloud/models/list_level_update.rb +72 -62
  78. data/lib/aspose_words_cloud/models/list_levels.rb +1 -0
  79. data/lib/aspose_words_cloud/models/list_response.rb +1 -0
  80. data/lib/aspose_words_cloud/models/list_update.rb +1 -0
  81. data/lib/aspose_words_cloud/models/lists_response.rb +1 -0
  82. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +11 -0
  83. data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +13 -12
  84. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +17 -0
  85. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -0
  86. data/lib/aspose_words_cloud/models/office_math_object.rb +2 -0
  87. data/lib/aspose_words_cloud/models/office_math_object_response.rb +1 -0
  88. data/lib/aspose_words_cloud/models/office_math_objects_response.rb +1 -0
  89. data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +13 -0
  90. data/lib/aspose_words_cloud/models/ott_save_options_data.rb +12 -0
  91. data/lib/aspose_words_cloud/models/outline_options_data.rb +17 -16
  92. data/lib/aspose_words_cloud/models/page_setup.rb +7 -0
  93. data/lib/aspose_words_cloud/models/paragraph_format.rb +7 -0
  94. data/lib/aspose_words_cloud/models/paragraph_format_response.rb +1 -0
  95. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +7 -0
  96. data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +1 -0
  97. data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +1 -0
  98. data/lib/aspose_words_cloud/models/paragraph_response.rb +1 -0
  99. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +15 -0
  100. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +29 -0
  101. data/lib/aspose_words_cloud/models/png_save_options_data.rb +39 -1
  102. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +13 -0
  103. data/lib/aspose_words_cloud/models/range_text_response.rb +1 -0
  104. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +1 -11
  105. data/lib/aspose_words_cloud/models/responses/accept_all_revisions_online_response.rb +1 -1
  106. data/lib/aspose_words_cloud/models/responses/append_document_online_response.rb +1 -1
  107. data/lib/aspose_words_cloud/models/responses/apply_style_to_document_element_online_response.rb +1 -1
  108. data/lib/aspose_words_cloud/models/responses/compare_document_online_response.rb +1 -1
  109. data/lib/aspose_words_cloud/models/responses/compress_document_online_response.rb +1 -1
  110. data/lib/aspose_words_cloud/models/responses/copy_style_online_response.rb +2 -1
  111. data/lib/aspose_words_cloud/models/responses/create_or_update_document_property_online_response.rb +2 -1
  112. data/lib/aspose_words_cloud/models/responses/delete_all_paragraph_tab_stops_online_response.rb +2 -1
  113. data/lib/aspose_words_cloud/models/responses/delete_border_online_response.rb +2 -1
  114. data/lib/aspose_words_cloud/models/responses/delete_borders_online_response.rb +2 -1
  115. data/lib/aspose_words_cloud/models/responses/delete_paragraph_list_format_online_response.rb +2 -1
  116. data/lib/aspose_words_cloud/models/responses/delete_paragraph_tab_stop_online_response.rb +2 -1
  117. data/lib/aspose_words_cloud/models/responses/delete_watermark_online_response.rb +1 -1
  118. data/lib/aspose_words_cloud/models/responses/insert_bookmark_online_response.rb +2 -1
  119. data/lib/aspose_words_cloud/models/responses/insert_comment_online_response.rb +2 -1
  120. data/lib/aspose_words_cloud/models/responses/insert_custom_xml_part_online_response.rb +2 -1
  121. data/lib/aspose_words_cloud/models/responses/insert_drawing_object_online_response.rb +1 -1
  122. data/lib/aspose_words_cloud/models/responses/insert_field_online_response.rb +2 -1
  123. data/lib/aspose_words_cloud/models/responses/insert_footnote_online_response.rb +2 -1
  124. data/lib/aspose_words_cloud/models/responses/insert_form_field_online_response.rb +2 -1
  125. data/lib/aspose_words_cloud/models/responses/insert_header_footer_online_response.rb +2 -1
  126. data/lib/aspose_words_cloud/models/responses/insert_list_online_response.rb +2 -1
  127. data/lib/aspose_words_cloud/models/responses/insert_or_update_paragraph_tab_stop_online_response.rb +2 -1
  128. data/lib/aspose_words_cloud/models/responses/insert_page_numbers_online_response.rb +1 -1
  129. data/lib/aspose_words_cloud/models/responses/insert_paragraph_online_response.rb +2 -1
  130. data/lib/aspose_words_cloud/models/responses/insert_run_online_response.rb +2 -1
  131. data/lib/aspose_words_cloud/models/responses/insert_structured_document_tag_online_response.rb +1 -1
  132. data/lib/aspose_words_cloud/models/responses/insert_style_online_response.rb +2 -1
  133. data/lib/aspose_words_cloud/models/responses/insert_table_cell_online_response.rb +2 -1
  134. data/lib/aspose_words_cloud/models/responses/insert_table_online_response.rb +2 -1
  135. data/lib/aspose_words_cloud/models/responses/insert_table_row_online_response.rb +2 -1
  136. data/lib/aspose_words_cloud/models/responses/insert_watermark_image_online_response.rb +1 -1
  137. data/lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb +1 -1
  138. data/lib/aspose_words_cloud/models/responses/protect_document_online_response.rb +1 -1
  139. data/lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb +1 -1
  140. data/lib/aspose_words_cloud/models/responses/remove_range_online_response.rb +1 -1
  141. data/lib/aspose_words_cloud/models/responses/replace_text_online_response.rb +1 -1
  142. data/lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb +1 -1
  143. data/lib/aspose_words_cloud/models/responses/save_as_online_response.rb +1 -1
  144. data/lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb +1 -1
  145. data/lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb +1 -1
  146. data/lib/aspose_words_cloud/models/responses/split_document_online_response.rb +2 -1
  147. data/lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb +1 -1
  148. data/lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb +2 -1
  149. data/lib/aspose_words_cloud/models/responses/update_border_online_response.rb +2 -1
  150. data/lib/aspose_words_cloud/models/responses/update_comment_online_response.rb +2 -1
  151. data/lib/aspose_words_cloud/models/responses/update_custom_xml_part_online_response.rb +2 -1
  152. data/lib/aspose_words_cloud/models/responses/update_drawing_object_online_response.rb +1 -1
  153. data/lib/aspose_words_cloud/models/responses/update_field_online_response.rb +2 -1
  154. data/lib/aspose_words_cloud/models/responses/update_fields_online_response.rb +1 -1
  155. data/lib/aspose_words_cloud/models/responses/update_footnote_online_response.rb +2 -1
  156. data/lib/aspose_words_cloud/models/responses/update_form_field_online_response.rb +2 -1
  157. data/lib/aspose_words_cloud/models/responses/update_list_level_online_response.rb +2 -1
  158. data/lib/aspose_words_cloud/models/responses/update_list_online_response.rb +2 -1
  159. data/lib/aspose_words_cloud/models/responses/update_paragraph_format_online_response.rb +2 -1
  160. data/lib/aspose_words_cloud/models/responses/update_paragraph_list_format_online_response.rb +2 -1
  161. data/lib/aspose_words_cloud/models/responses/update_run_font_online_response.rb +2 -1
  162. data/lib/aspose_words_cloud/models/responses/update_run_online_response.rb +2 -1
  163. data/lib/aspose_words_cloud/models/responses/update_section_page_setup_online_response.rb +2 -1
  164. data/lib/aspose_words_cloud/models/responses/update_structured_document_tag_online_response.rb +1 -1
  165. data/lib/aspose_words_cloud/models/responses/update_style_online_response.rb +2 -1
  166. data/lib/aspose_words_cloud/models/responses/update_table_cell_format_online_response.rb +2 -1
  167. data/lib/aspose_words_cloud/models/responses/update_table_properties_online_response.rb +2 -1
  168. data/lib/aspose_words_cloud/models/responses/update_table_row_format_online_response.rb +2 -1
  169. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +11 -0
  170. data/lib/aspose_words_cloud/models/run_response.rb +1 -0
  171. data/lib/aspose_words_cloud/models/runs_response.rb +1 -0
  172. data/lib/aspose_words_cloud/models/search_response.rb +1 -0
  173. data/lib/aspose_words_cloud/models/section_link_collection_response.rb +1 -0
  174. data/lib/aspose_words_cloud/models/section_page_setup_response.rb +1 -0
  175. data/lib/aspose_words_cloud/models/section_response.rb +1 -0
  176. data/lib/aspose_words_cloud/models/split_document_response.rb +1 -0
  177. data/lib/aspose_words_cloud/models/structured_document_tag.rb +30 -4
  178. data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +30 -4
  179. data/lib/aspose_words_cloud/models/structured_document_tag_list_item.rb +2 -0
  180. data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +30 -4
  181. data/lib/aspose_words_cloud/models/structured_document_tags_response.rb +1 -0
  182. data/lib/aspose_words_cloud/models/style.rb +6 -0
  183. data/lib/aspose_words_cloud/models/style_response.rb +1 -0
  184. data/lib/aspose_words_cloud/models/style_update.rb +17 -14
  185. data/lib/aspose_words_cloud/models/styles_response.rb +1 -0
  186. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -0
  187. data/lib/aspose_words_cloud/models/tab_stops_response.rb +1 -0
  188. data/lib/aspose_words_cloud/models/table_cell_format.rb +3 -0
  189. data/lib/aspose_words_cloud/models/table_cell_format_response.rb +1 -0
  190. data/lib/aspose_words_cloud/models/table_cell_response.rb +1 -0
  191. data/lib/aspose_words_cloud/models/table_link_collection_response.rb +1 -0
  192. data/lib/aspose_words_cloud/models/table_properties.rb +3 -0
  193. data/lib/aspose_words_cloud/models/table_properties_response.rb +1 -0
  194. data/lib/aspose_words_cloud/models/table_response.rb +1 -0
  195. data/lib/aspose_words_cloud/models/table_row_format_response.rb +1 -0
  196. data/lib/aspose_words_cloud/models/table_row_response.rb +1 -0
  197. data/lib/aspose_words_cloud/models/text_save_options_data.rb +11 -0
  198. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +39 -1
  199. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +11 -0
  200. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +15 -0
  201. data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +11 -0
  202. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -0
  203. data/lib/aspose_words_cloud/models/xml_color.rb +20 -4
  204. data/lib/aspose_words_cloud/models/xml_data_load_options.rb +2 -0
  205. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +13 -0
  206. data/lib/aspose_words_cloud/version.rb +1 -1
  207. data/lib/aspose_words_cloud.rb +1 -9
  208. metadata +3 -11
  209. data/lib/aspose_words_cloud/models/font_dto.rb +0 -199
  210. data/lib/aspose_words_cloud/models/range_document_dto.rb +0 -208
  211. data/lib/aspose_words_cloud/models/replace_range_dto.rb +0 -259
  212. data/lib/aspose_words_cloud/models/table_cell_format_dto.rb +0 -199
  213. data/lib/aspose_words_cloud/models/table_cell_insert_dto.rb +0 -208
  214. data/lib/aspose_words_cloud/models/table_insert_dto.rb +0 -228
  215. data/lib/aspose_words_cloud/models/table_properties_dto.rb +0 -199
  216. data/lib/aspose_words_cloud/models/table_row_format_dto.rb +0 -199
  217. data/lib/aspose_words_cloud/models/table_row_insert_dto.rb +0 -218
@@ -32,13 +32,13 @@ module AsposeWordsCloud
32
32
  # Gets or sets the request Id.
33
33
  attr_accessor :request_id
34
34
 
35
- # Gets or sets additional info.
35
+ # Gets or sets AdditionalInfo.
36
36
  attr_accessor :additional_info
37
37
 
38
- # Gets or sets application name.
38
+ # Gets or sets Name.
39
39
  attr_accessor :name
40
40
 
41
- # Gets or sets version.
41
+ # Gets or sets Version.
42
42
  attr_accessor :version
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
@@ -30,25 +30,34 @@ module AsposeWordsCloud
30
30
  # Container class for jpeg save options.
31
31
  class JpegSaveOptionsData
32
32
  # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ # Note, Word does not embed PostScript fonts, but can open documents with embedded fonts of this type.
34
+ # This option only works when Aspose.Words.Fonts.FontInfoCollection.EmbedTrueTypeFonts of the Aspose.Words.DocumentBase.FontInfos property is set to true.
35
+ # The default value is false.
33
36
  attr_accessor :allow_embedding_post_script_fonts
34
37
 
35
38
  # Gets or sets CustomTimeZoneInfo.
36
39
  attr_accessor :custom_time_zone_info_data
37
40
 
38
41
  # Gets or sets the value determining how 3D effects are rendered.
42
+ # The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
39
43
  attr_accessor :dml3_d_effects_rendering_mode
40
44
 
41
45
  # Gets or sets the value determining how DrawingML effects are rendered.
42
46
  # { Simplified | None | Fine }.
47
+ # The default value is Simplified.
48
+ # This property is used when the document is exported to fixed page formats.
43
49
  attr_accessor :dml_effects_rendering_mode
44
50
 
45
51
  # Gets or sets the option that controls how DrawingML shapes are rendered.
52
+ # { Fallback | DrawingML }. The default value is Fallback.
53
+ # This property is used when the document is exported to fixed page formats.
46
54
  attr_accessor :dml_rendering_mode
47
55
 
48
56
  # Gets or sets the name of destination file.
49
57
  attr_accessor :file_name
50
58
 
51
59
  # Gets or sets the value determining how ink (InkML) objects are rendered.
60
+ # The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
52
61
  attr_accessor :iml_rendering_mode
53
62
 
54
63
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
@@ -62,14 +71,18 @@ module AsposeWordsCloud
62
71
  attr_accessor :update_last_printed_property
63
72
 
64
73
  # Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
74
+ # The default value is false.
65
75
  attr_accessor :update_last_saved_time_property
66
76
 
67
77
  # Gets or sets a value indicating whether to zip output or not.
68
78
  # The default value is false.
79
+ # When set to true, output files will be zipped.
69
80
  attr_accessor :zip_output
70
81
 
71
82
  # Gets or sets the value determining how colors are rendered.
72
83
  # { Normal | Grayscale}.
84
+ # The default value is Normal.
85
+ # This property is used when the document is exported to fixed page formats.
73
86
  attr_accessor :color_mode
74
87
 
75
88
  # Gets or sets the quality of the JPEG images inside PDF document.
@@ -131,7 +144,18 @@ module AsposeWordsCloud
131
144
  # The default value is 96.
132
145
  attr_accessor :vertical_resolution
133
146
 
147
+ # Gets or sets the height of a generated image in pixels.
148
+ # This property has effect only when saving to raster image formats
149
+ # and used in pair with ImageWidth.
150
+ attr_accessor :image_height
151
+
152
+ # Gets or sets the width of a generated image in pixels.
153
+ # This property has effect only when saving to raster image formats
154
+ # and used in pair with ImageHeight.
155
+ attr_accessor :image_width
156
+
134
157
  # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
158
+ # If set to true - GDI+ metafile renderer is used. I.e. content is written to GDI+ graphics object and saved to metafile.If set to false - Aspose.Words metafile renderer is used. I.e. content is written directly to the metafile format with Aspose.Words.The default value is true.Has effect only when saving to EMF.
135
159
  attr_accessor :use_gdi_emf_renderer
136
160
 
137
161
  # Gets the format of save.
@@ -192,6 +216,8 @@ module AsposeWordsCloud
192
216
  :'use_anti_aliasing' => :'UseAntiAliasing',
193
217
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
194
218
  :'vertical_resolution' => :'VerticalResolution',
219
+ :'image_height' => :'ImageHeight',
220
+ :'image_width' => :'ImageWidth',
195
221
  :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
196
222
  :'save_format' => :'SaveFormat'
197
223
  }
@@ -230,6 +256,8 @@ module AsposeWordsCloud
230
256
  :'use_anti_aliasing' => :'BOOLEAN',
231
257
  :'use_high_quality_rendering' => :'BOOLEAN',
232
258
  :'vertical_resolution' => :'Float',
259
+ :'image_height' => :'Integer',
260
+ :'image_width' => :'Integer',
233
261
  :'use_gdi_emf_renderer' => :'BOOLEAN',
234
262
  :'save_format' => :'String'
235
263
  }
@@ -365,6 +393,14 @@ module AsposeWordsCloud
365
393
  self.vertical_resolution = attributes[:'VerticalResolution']
366
394
  end
367
395
 
396
+ if attributes.key?(:'ImageHeight')
397
+ self.image_height = attributes[:'ImageHeight']
398
+ end
399
+
400
+ if attributes.key?(:'ImageWidth')
401
+ self.image_width = attributes[:'ImageWidth']
402
+ end
403
+
368
404
  if attributes.key?(:'UseGdiEmfRenderer')
369
405
  self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
370
406
  end
@@ -548,6 +584,8 @@ module AsposeWordsCloud
548
584
  use_anti_aliasing == other.use_anti_aliasing &&
549
585
  use_high_quality_rendering == other.use_high_quality_rendering &&
550
586
  vertical_resolution == other.vertical_resolution &&
587
+ image_height == other.image_height &&
588
+ image_width == other.image_width &&
551
589
  use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
552
590
  save_format == other.save_format
553
591
  end
@@ -561,7 +599,7 @@ module AsposeWordsCloud
561
599
  # Calculates hash code according to all attributes.
562
600
  # @return [Fixnum] Hash code
563
601
  def hash
564
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
602
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, image_height, image_width, use_gdi_emf_renderer, save_format].hash
565
603
  end
566
604
 
567
605
  # Builds the object from hash
@@ -28,14 +28,29 @@ require 'date'
28
28
  module AsposeWordsCloud
29
29
 
30
30
  # Represents options for parsing JSON data.
31
+ # An instance of this class can be passed into constructors of Aspose.Words.Reporting.JsonDataSource.
31
32
  class JsonDataLoadOptions
32
33
  # Gets or sets a value indicating whether a generated data source will always contain
33
34
  # an object for a JSON root element. If a JSON root element contains a single complex
34
35
  # property, such an object is not created by default.
36
+ # The default value is false.
35
37
  attr_accessor :always_generate_root_object
36
38
 
37
39
  # Gets or sets exact formats for parsing JSON date-time values while loading JSON.
38
40
  # The default is null.
41
+ # Strings encoded using Microsoft® JSON date-time format (for example, "/Date(1224043200000)/")
42
+ # are always recognized as date-time values regardless of a value of this property.
43
+ # The property defines additional formats to be used while parsing date-time values
44
+ # from strings in the following way:
45
+ # • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats is
46
+ # null, the ISO-8601 format and all date-time formats supported for the current,
47
+ # English USA, and English New Zealand cultures are used additionally in the mentioned
48
+ # order.
49
+ # • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats contains
50
+ # strings, they are used as additional date-time formats utilizing the current
51
+ # culture.
52
+ # • When Aspose.Words.Reporting.JsonDataLoadOptions.ExactDateTimeParseFormats is
53
+ # empty, no additional date-time formats are used.
39
54
  attr_accessor :exact_date_time_parse_formats
40
55
 
41
56
  # Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer,
@@ -33,9 +33,11 @@ module AsposeWordsCloud
33
33
  attr_accessor :link
34
34
 
35
35
  # Gets or sets the list level number (0 to 8) for the paragraph.
36
+ # In Word documents, lists may consist of 1 or 9 levels, numbered 0 to 8. Has effect only when the Aspose.Words.ListFormat.List property is set to reference a valid list. Aspose.Words.ListFormat.List.
36
37
  attr_accessor :list_level_number
37
38
 
38
39
  # Gets or sets the list id of this paragraph.
40
+ # The list that is being assigned to this property must belong to the current document.The list that is being assigned to this property must not be a list style definition.
39
41
  attr_accessor :list_id
40
42
 
41
43
  # Gets or sets a value indicating whether the paragraph has bulleted or numbered formatting applied to it.
@@ -29,24 +29,27 @@ module AsposeWordsCloud
29
29
 
30
30
  # Paragraph list format element for update.
31
31
  class ListFormatUpdate
32
- # Gets or sets the list id of this paragraph.
33
- attr_accessor :list_id
34
-
35
32
  # Gets or sets the list level number (0 to 8) for the paragraph.
33
+ # In Word documents, lists may consist of 1 or 9 levels, numbered 0 to 8. Has effect only when the Aspose.Words.ListFormat.List property is set to reference a valid list. Aspose.Words.ListFormat.List.
36
34
  attr_accessor :list_level_number
35
+
36
+ # Gets or sets the list id of this paragraph.
37
+ # The list that is being assigned to this property must belong to the current document.
38
+ # The list that is being assigned to this property must not be a list style definition.
39
+ attr_accessor :list_id
37
40
  # Attribute mapping from ruby-style variable name to JSON key.
38
41
  def self.attribute_map
39
42
  {
40
- :'list_id' => :'ListId',
41
- :'list_level_number' => :'ListLevelNumber'
43
+ :'list_level_number' => :'ListLevelNumber',
44
+ :'list_id' => :'ListId'
42
45
  }
43
46
  end
44
47
 
45
48
  # Attribute type mapping.
46
49
  def self.swagger_types
47
50
  {
48
- :'list_id' => :'Integer',
49
- :'list_level_number' => :'Integer'
51
+ :'list_level_number' => :'Integer',
52
+ :'list_id' => :'Integer'
50
53
  }
51
54
  end
52
55
 
@@ -58,13 +61,13 @@ module AsposeWordsCloud
58
61
  # convert string to symbol for hash key
59
62
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
63
 
61
- if attributes.key?(:'ListId')
62
- self.list_id = attributes[:'ListId']
63
- end
64
-
65
64
  if attributes.key?(:'ListLevelNumber')
66
65
  self.list_level_number = attributes[:'ListLevelNumber']
67
66
  end
67
+
68
+ if attributes.key?(:'ListId')
69
+ self.list_id = attributes[:'ListId']
70
+ end
68
71
  end
69
72
 
70
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,8 +88,8 @@ module AsposeWordsCloud
85
88
  def ==(other)
86
89
  return true if self.equal?(other)
87
90
  self.class == other.class &&
88
- list_id == other.list_id &&
89
- list_level_number == other.list_level_number
91
+ list_level_number == other.list_level_number &&
92
+ list_id == other.list_id
90
93
  end
91
94
 
92
95
  # @see the `==` method
@@ -98,7 +101,7 @@ module AsposeWordsCloud
98
101
  # Calculates hash code according to all attributes.
99
102
  # @return [Fixnum] Hash code
100
103
  def hash
101
- [list_id, list_level_number].hash
104
+ [list_level_number, list_id].hash
102
105
  end
103
106
 
104
107
  # Builds the object from hash
@@ -33,24 +33,31 @@ module AsposeWordsCloud
33
33
  attr_accessor :link
34
34
 
35
35
  # Gets or sets the unique identifier of the list.
36
+ # You do not normally need to use this property. But if you use it, you normally do so in conjunction with the Aspose.Words.Lists.ListCollection.GetListByListId(System.Int32) method to find a list by its identifier.
36
37
  attr_accessor :list_id
37
38
 
38
39
  # Gets or sets a value indicating whether the list contains 9 levels; false when 1 level.
40
+ # The lists that you create with Aspose.Words are always multi-level lists and contain 9 levels. Microsoft Word 2003 and later always create multi-level lists with 9 levels. But in some documents, created with earlier versions of Microsoft Word you might encounter lists that have 1 level only.
39
41
  attr_accessor :is_multi_level
40
42
 
41
43
  # Gets or sets a value indicating whether list should be restarted at each section. The default value is false.
44
+ # This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006.
42
45
  attr_accessor :is_restart_at_each_section
43
46
 
44
47
  # Gets or sets a value indicating whether this list is a definition of a list style.
48
+ # When this property is true, the Aspose.Words.Lists.List.Style property returns the list style that this list defines. By modifying properties of a list that defines a list style, you modify The properties of the list style. A list that is a definition of a list style cannot be applied directly to paragraphs to make them numbered. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleReference.
45
49
  attr_accessor :is_list_style_definition
46
50
 
47
51
  # Gets or sets a value indicating whether this list is a reference to a list style.
52
+ # Note, modifying properties of a list that is a reference to list style has no effect. The list formatting specified in the list style itself always takes precedence. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleDefinition.
48
53
  attr_accessor :is_list_style_reference
49
54
 
50
55
  # Gets or sets the list style that this list references or defines.
56
+ # If this list is not associated with a list style, the property will return null. A list could be a reference to a list style, in this case Aspose.Words.Lists.List.IsListStyleReference will be true. A list could be a definition of a list style, in this case Aspose.Words.Lists.List.IsListStyleDefinition will be true. Such a list cannot be applied to paragraphs in the document directly.
51
57
  attr_accessor :style
52
58
 
53
59
  # Gets or sets the collection of list levels for this list.
60
+ # Use this property to access and modify formatting individual to each level of the list.
54
61
  attr_accessor :list_levels
55
62
  # Attribute mapping from ruby-style variable name to JSON key.
56
63
  def self.attribute_map
@@ -30,6 +30,7 @@ module AsposeWordsCloud
30
30
  # Insert document to document list.
31
31
  class ListInsert
32
32
  # Gets or sets the option that controls how list should be restarted at each section.
33
+ # This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006.
33
34
  attr_accessor :template
34
35
 
35
36
  class EnumAttributeValidator
@@ -33,21 +33,25 @@ module AsposeWordsCloud
33
33
  attr_accessor :link
34
34
 
35
35
  # Gets or sets the starting number for this list level.
36
+ # Default value is 1.
36
37
  attr_accessor :start_at
37
38
 
38
39
  # Gets or sets the number style for this list level.
39
40
  attr_accessor :number_style
40
41
 
41
42
  # Gets or sets the number format for the list level.
43
+ # Among normal text characters, the string can contain placeholder characters \\x0000 to \\x0008 representing the numbers from the corresponding list levels. For example, the string "\\x0000.\\x0001)" will generate a list label that looks something like "1.5)". The number "1" is the current number from the 1st list level, the number "5" is the current number from the 2nd list level. Null is not allowed, but an empty string meaning no number is valid.
42
44
  attr_accessor :number_format
43
45
 
44
46
  # Gets or sets the justification of the actual number of the list item.
47
+ # The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition property.
45
48
  attr_accessor :alignment
46
49
 
47
50
  # Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style.
48
51
  attr_accessor :is_legal
49
52
 
50
53
  # Gets or sets the list level, that must appear before the specified list level restarts numbering.
54
+ # The value of -1 means the numbering will continue.
51
55
  attr_accessor :restart_after_level
52
56
 
53
57
  # Gets or sets the character inserted after the number for the list level.
@@ -57,15 +61,22 @@ module AsposeWordsCloud
57
61
  attr_accessor :font
58
62
 
59
63
  # Gets or sets the tab position (in points) for the list level.
64
+ # Has effect only when Aspose.Words.Lists.ListLevel.TrailingCharacter is a tab.
65
+ # Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TextPosition.
60
66
  attr_accessor :tab_position
61
67
 
62
68
  # Gets or sets the position (in points) of the number or bullet for the list level.
69
+ # Aspose.Words.Lists.ListLevel.NumberPosition corresponds to LeftIndent plus FirstLineIndent of the paragraph. Aspose.Words.Lists.ListLevel.TextPosition Aspose.Words.Lists.ListLevel.TabPosition.
63
70
  attr_accessor :number_position
64
71
 
65
72
  # Gets or sets the position (in points) for the second line of wrapping text for the list level.
73
+ # Aspose.Words.Lists.ListLevel.TextPosition corresponds to LeftIndent of the paragraph.
74
+ # Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TabPosition.
66
75
  attr_accessor :text_position
67
76
 
68
77
  # Gets or sets the paragraph style that is linked to this list level.
78
+ # This property is null when the list level is not linked to a paragraph style.
79
+ # This property can be set to null.
69
80
  attr_accessor :linked_style
70
81
 
71
82
  class EnumAttributeValidator
@@ -29,36 +29,46 @@ module AsposeWordsCloud
29
29
 
30
30
  # Represents a document list levels.
31
31
  class ListLevelUpdate
32
- # Gets or sets the justification of the actual number of the list item.
33
- attr_accessor :alignment
32
+ # Gets or sets the starting number for this list level.
33
+ # Default value is 1.
34
+ attr_accessor :start_at
34
35
 
35
- # Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style.
36
- attr_accessor :is_legal
36
+ # Gets or sets the number style for this list level.
37
+ attr_accessor :number_style
37
38
 
38
39
  # Gets or sets the number format for the list level.
40
+ # Among normal text characters, the string can contain placeholder characters \\x0000 to \\x0008 representing the numbers from the corresponding list levels. For example, the string "\\x0000.\\x0001)" will generate a list label that looks something like "1.5)". The number "1" is the current number from the 1st list level, the number "5" is the current number from the 2nd list level. Null is not allowed, but an empty string meaning no number is valid.
39
41
  attr_accessor :number_format
40
42
 
41
- # Gets or sets the position (in points) of the number or bullet for the list level.
42
- attr_accessor :number_position
43
+ # Gets or sets the justification of the actual number of the list item.
44
+ # The list label is justified relative to the Aspose.Words.Lists.ListLevel.NumberPosition
45
+ # property.
46
+ attr_accessor :alignment
43
47
 
44
- # Gets or sets the number style for this list level.
45
- attr_accessor :number_style
48
+ # Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style.
49
+ attr_accessor :is_legal
46
50
 
47
51
  # Gets or sets the list level that must appear before the specified list level restarts numbering.
52
+ # The value of -1 means the numbering will continue.
48
53
  attr_accessor :restart_after_level
49
54
 
50
- # Gets or sets the starting number for this list level.
51
- attr_accessor :start_at
55
+ # Gets or sets the character to be inserted after the number for the list level.
56
+ attr_accessor :trailing_character
52
57
 
53
58
  # Gets or sets the tab position (in points) for the list level.
59
+ # Has effect only when Aspose.Words.Lists.ListLevel.TrailingCharacter is a tab.
60
+ # Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TextPosition.
54
61
  attr_accessor :tab_position
55
62
 
63
+ # Gets or sets the position (in points) of the number or bullet for the list level.
64
+ # Aspose.Words.Lists.ListLevel.NumberPosition corresponds to LeftIndent plus FirstLineIndent of the paragraph. Aspose.Words.Lists.ListLevel.TextPosition Aspose.Words.Lists.ListLevel.TabPosition.
65
+ attr_accessor :number_position
66
+
56
67
  # Gets or sets the position (in points) for the second line of wrapping text for the list level.
68
+ # Aspose.Words.Lists.ListLevel.TextPosition corresponds to LeftIndent of the paragraph.
69
+ # Aspose.Words.Lists.ListLevel.NumberPosition Aspose.Words.Lists.ListLevel.TabPosition.
57
70
  attr_accessor :text_position
58
71
 
59
- # Gets or sets the character to be inserted after the number for the list level.
60
- attr_accessor :trailing_character
61
-
62
72
  class EnumAttributeValidator
63
73
  attr_reader :datatype
64
74
  attr_reader :allowable_values
@@ -84,32 +94,32 @@ module AsposeWordsCloud
84
94
  # Attribute mapping from ruby-style variable name to JSON key.
85
95
  def self.attribute_map
86
96
  {
97
+ :'start_at' => :'StartAt',
98
+ :'number_style' => :'NumberStyle',
99
+ :'number_format' => :'NumberFormat',
87
100
  :'alignment' => :'Alignment',
88
101
  :'is_legal' => :'IsLegal',
89
- :'number_format' => :'NumberFormat',
90
- :'number_position' => :'NumberPosition',
91
- :'number_style' => :'NumberStyle',
92
102
  :'restart_after_level' => :'RestartAfterLevel',
93
- :'start_at' => :'StartAt',
103
+ :'trailing_character' => :'TrailingCharacter',
94
104
  :'tab_position' => :'TabPosition',
95
- :'text_position' => :'TextPosition',
96
- :'trailing_character' => :'TrailingCharacter'
105
+ :'number_position' => :'NumberPosition',
106
+ :'text_position' => :'TextPosition'
97
107
  }
98
108
  end
99
109
 
100
110
  # Attribute type mapping.
101
111
  def self.swagger_types
102
112
  {
113
+ :'start_at' => :'Integer',
114
+ :'number_style' => :'String',
115
+ :'number_format' => :'String',
103
116
  :'alignment' => :'String',
104
117
  :'is_legal' => :'BOOLEAN',
105
- :'number_format' => :'String',
106
- :'number_position' => :'Float',
107
- :'number_style' => :'String',
108
118
  :'restart_after_level' => :'Integer',
109
- :'start_at' => :'Integer',
119
+ :'trailing_character' => :'String',
110
120
  :'tab_position' => :'Float',
111
- :'text_position' => :'Float',
112
- :'trailing_character' => :'String'
121
+ :'number_position' => :'Float',
122
+ :'text_position' => :'Float'
113
123
  }
114
124
  end
115
125
 
@@ -121,44 +131,44 @@ module AsposeWordsCloud
121
131
  # convert string to symbol for hash key
122
132
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
123
133
 
124
- if attributes.key?(:'Alignment')
125
- self.alignment = attributes[:'Alignment']
134
+ if attributes.key?(:'StartAt')
135
+ self.start_at = attributes[:'StartAt']
126
136
  end
127
137
 
128
- if attributes.key?(:'IsLegal')
129
- self.is_legal = attributes[:'IsLegal']
138
+ if attributes.key?(:'NumberStyle')
139
+ self.number_style = attributes[:'NumberStyle']
130
140
  end
131
141
 
132
142
  if attributes.key?(:'NumberFormat')
133
143
  self.number_format = attributes[:'NumberFormat']
134
144
  end
135
145
 
136
- if attributes.key?(:'NumberPosition')
137
- self.number_position = attributes[:'NumberPosition']
146
+ if attributes.key?(:'Alignment')
147
+ self.alignment = attributes[:'Alignment']
138
148
  end
139
149
 
140
- if attributes.key?(:'NumberStyle')
141
- self.number_style = attributes[:'NumberStyle']
150
+ if attributes.key?(:'IsLegal')
151
+ self.is_legal = attributes[:'IsLegal']
142
152
  end
143
153
 
144
154
  if attributes.key?(:'RestartAfterLevel')
145
155
  self.restart_after_level = attributes[:'RestartAfterLevel']
146
156
  end
147
157
 
148
- if attributes.key?(:'StartAt')
149
- self.start_at = attributes[:'StartAt']
158
+ if attributes.key?(:'TrailingCharacter')
159
+ self.trailing_character = attributes[:'TrailingCharacter']
150
160
  end
151
161
 
152
162
  if attributes.key?(:'TabPosition')
153
163
  self.tab_position = attributes[:'TabPosition']
154
164
  end
155
165
 
156
- if attributes.key?(:'TextPosition')
157
- self.text_position = attributes[:'TextPosition']
166
+ if attributes.key?(:'NumberPosition')
167
+ self.number_position = attributes[:'NumberPosition']
158
168
  end
159
169
 
160
- if attributes.key?(:'TrailingCharacter')
161
- self.trailing_character = attributes[:'TrailingCharacter']
170
+ if attributes.key?(:'TextPosition')
171
+ self.text_position = attributes[:'TextPosition']
162
172
  end
163
173
  end
164
174
 
@@ -172,30 +182,16 @@ module AsposeWordsCloud
172
182
  # Check to see if the all the properties in the model are valid
173
183
  # @return true if the model is valid
174
184
  def valid?
175
- alignment_validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
176
- return false unless alignment_validator.valid?(@alignment)
177
185
  number_style_validator = EnumAttributeValidator.new('String', ["Arabic", "UppercaseRoman", "LowercaseRoman", "UppercaseLetter", "LowercaseLetter", "Ordinal", "Number", "OrdinalText", "Hex", "ChicagoManual", "Kanji", "KanjiDigit", "AiueoHalfWidth", "IrohaHalfWidth", "ArabicFullWidth", "ArabicHalfWidth", "KanjiTraditional", "KanjiTraditional2", "NumberInCircle", "DecimalFullWidth", "Aiueo", "Iroha", "LeadingZero", "Bullet", "Ganada", "Chosung", "GB1", "GB2", "GB3", "GB4", "Zodiac1", "Zodiac2", "Zodiac3", "TradChinNum1", "TradChinNum2", "TradChinNum3", "TradChinNum4", "SimpChinNum1", "SimpChinNum2", "SimpChinNum3", "SimpChinNum4", "HanjaRead", "HanjaReadDigit", "Hangul", "Hanja", "Hebrew1", "Arabic1", "Hebrew2", "Arabic2", "HindiLetter1", "HindiLetter2", "HindiArabic", "HindiCardinalText", "ThaiLetter", "ThaiArabic", "ThaiCardinalText", "VietCardinalText", "NumberInDash", "LowercaseRussian", "UppercaseRussian", "None", "Custom"])
178
186
  return false unless number_style_validator.valid?(@number_style)
187
+ alignment_validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
188
+ return false unless alignment_validator.valid?(@alignment)
179
189
  trailing_character_validator = EnumAttributeValidator.new('String', ["Tab", "Space", "Nothing"])
180
190
  return false unless trailing_character_validator.valid?(@trailing_character)
181
191
 
182
192
  return true
183
193
  end
184
194
 
185
- # Custom attribute writer method checking allowed values (enum).
186
- # @param [Object] alignment Object to be assigned
187
- def alignment=(alignment)
188
- validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
189
- if alignment.to_i == 0
190
- unless validator.valid?(alignment)
191
- raise ArgumentError, "invalid value for 'alignment', must be one of #{validator.allowable_values}."
192
- end
193
- @alignment = alignment
194
- else
195
- @alignment = validator.allowable_values[alignment.to_i]
196
- end
197
- end
198
-
199
195
  # Custom attribute writer method checking allowed values (enum).
200
196
  # @param [Object] number_style Object to be assigned
201
197
  def number_style=(number_style)
@@ -210,6 +206,20 @@ module AsposeWordsCloud
210
206
  end
211
207
  end
212
208
 
209
+ # Custom attribute writer method checking allowed values (enum).
210
+ # @param [Object] alignment Object to be assigned
211
+ def alignment=(alignment)
212
+ validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
213
+ if alignment.to_i == 0
214
+ unless validator.valid?(alignment)
215
+ raise ArgumentError, "invalid value for 'alignment', must be one of #{validator.allowable_values}."
216
+ end
217
+ @alignment = alignment
218
+ else
219
+ @alignment = validator.allowable_values[alignment.to_i]
220
+ end
221
+ end
222
+
213
223
  # Custom attribute writer method checking allowed values (enum).
214
224
  # @param [Object] trailing_character Object to be assigned
215
225
  def trailing_character=(trailing_character)
@@ -230,16 +240,16 @@ module AsposeWordsCloud
230
240
  def ==(other)
231
241
  return true if self.equal?(other)
232
242
  self.class == other.class &&
243
+ start_at == other.start_at &&
244
+ number_style == other.number_style &&
245
+ number_format == other.number_format &&
233
246
  alignment == other.alignment &&
234
247
  is_legal == other.is_legal &&
235
- number_format == other.number_format &&
236
- number_position == other.number_position &&
237
- number_style == other.number_style &&
238
248
  restart_after_level == other.restart_after_level &&
239
- start_at == other.start_at &&
249
+ trailing_character == other.trailing_character &&
240
250
  tab_position == other.tab_position &&
241
- text_position == other.text_position &&
242
- trailing_character == other.trailing_character
251
+ number_position == other.number_position &&
252
+ text_position == other.text_position
243
253
  end
244
254
 
245
255
  # @see the `==` method
@@ -251,7 +261,7 @@ module AsposeWordsCloud
251
261
  # Calculates hash code according to all attributes.
252
262
  # @return [Fixnum] Hash code
253
263
  def hash
254
- [alignment, is_legal, number_format, number_position, number_style, restart_after_level, start_at, tab_position, text_position, trailing_character].hash
264
+ [start_at, number_style, number_format, alignment, is_legal, restart_after_level, trailing_character, tab_position, number_position, text_position].hash
255
265
  end
256
266
 
257
267
  # Builds the object from hash
@@ -33,6 +33,7 @@ module AsposeWordsCloud
33
33
  attr_accessor :link
34
34
 
35
35
  # Gets or sets the collection of list levels for this list.
36
+ # Use this property to access and modify formatting individual to each level of the list.
36
37
  attr_accessor :list_level
37
38
  # Attribute mapping from ruby-style variable name to JSON key.
38
39
  def self.attribute_map
@@ -28,6 +28,7 @@ require 'date'
28
28
  module AsposeWordsCloud
29
29
 
30
30
  # The REST response with a list information.
31
+ # This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists/{n}" REST API requests.
31
32
  class ListResponse
32
33
  # Gets or sets the request Id.
33
34
  attr_accessor :request_id
@@ -30,6 +30,7 @@ module AsposeWordsCloud
30
30
  # Update document properties if document list.
31
31
  class ListUpdate
32
32
  # Gets or sets a value indicating whether list should be restarted at each section. The default value is false.
33
+ # This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher than Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006.
33
34
  attr_accessor :is_restart_at_each_section
34
35
  # Attribute mapping from ruby-style variable name to JSON key.
35
36
  def self.attribute_map
@@ -28,6 +28,7 @@ require 'date'
28
28
  module AsposeWordsCloud
29
29
 
30
30
  # The REST response with a collection of lists, contained in the document.
31
+ # This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/lists" REST API requests.
31
32
  class ListsResponse
32
33
  # Gets or sets the request Id.
33
34
  attr_accessor :request_id