aspose_pdf_cloud 18.11.0 → 19.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +66 -6
  4. data/aspose_pdf_cloud.gemspec +1 -1
  5. data/docs/Annotation.md +3 -2
  6. data/docs/AnnotationFlags.md +14 -14
  7. data/docs/AnnotationInfo.md +3 -2
  8. data/docs/AnnotationState.md +11 -11
  9. data/docs/AnnotationType.md +31 -31
  10. data/docs/AnnotationsInfo.md +3 -3
  11. data/docs/AnnotationsInfoResponse.md +3 -3
  12. data/docs/AntialiasingProcessingType.md +5 -5
  13. data/docs/AppendDocument.md +1 -1
  14. data/docs/AsposeResponse.md +1 -1
  15. data/docs/Attachment.md +1 -1
  16. data/docs/AttachmentResponse.md +3 -3
  17. data/docs/Attachments.md +3 -3
  18. data/docs/AttachmentsResponse.md +3 -3
  19. data/docs/CapStyle.md +5 -5
  20. data/docs/CaptionPosition.md +6 -6
  21. data/docs/CaretAnnotation.md +4 -4
  22. data/docs/CaretAnnotationResponse.md +3 -3
  23. data/docs/CaretAnnotations.md +3 -3
  24. data/docs/CaretAnnotationsResponse.md +3 -3
  25. data/docs/CaretSymbol.md +5 -5
  26. data/docs/CircleAnnotation.md +4 -4
  27. data/docs/CircleAnnotationResponse.md +3 -3
  28. data/docs/CircleAnnotations.md +3 -3
  29. data/docs/CircleAnnotationsResponse.md +3 -3
  30. data/docs/Color.md +5 -5
  31. data/docs/ColorDepth.md +7 -7
  32. data/docs/CommonFigureAnnotation.md +4 -3
  33. data/docs/CompressionType.md +8 -8
  34. data/docs/DiscUsage.md +10 -0
  35. data/docs/DiscUsageResponse.md +11 -0
  36. data/docs/DocFormat.md +5 -5
  37. data/docs/DocRecognitionMode.md +5 -5
  38. data/docs/Document.md +1 -1
  39. data/docs/DocumentPageResponse.md +3 -3
  40. data/docs/DocumentPagesResponse.md +3 -3
  41. data/docs/DocumentPrivilege.md +1 -1
  42. data/docs/DocumentProperties.md +3 -3
  43. data/docs/DocumentPropertiesResponse.md +3 -3
  44. data/docs/DocumentProperty.md +4 -4
  45. data/docs/DocumentPropertyResponse.md +3 -3
  46. data/docs/DocumentResponse.md +4 -4
  47. data/docs/EpubRecognitionMode.md +6 -6
  48. data/docs/Field.md +2 -2
  49. data/docs/FieldResponse.md +3 -3
  50. data/docs/FieldType.md +7 -7
  51. data/docs/Fields.md +3 -3
  52. data/docs/FieldsResponse.md +3 -3
  53. data/docs/File.md +1 -1
  54. data/docs/FileAttachmentAnnotation.md +29 -0
  55. data/docs/FileAttachmentAnnotationResponse.md +11 -0
  56. data/docs/FileAttachmentAnnotations.md +10 -0
  57. data/docs/FileAttachmentAnnotationsResponse.md +11 -0
  58. data/docs/FileExist.md +10 -0
  59. data/docs/FileExistResponse.md +11 -0
  60. data/docs/FileIcon.md +13 -0
  61. data/docs/FileVersion.md +15 -0
  62. data/docs/FileVersionsResponse.md +11 -0
  63. data/docs/FilesResponse.md +1 -1
  64. data/docs/FontEncodingRules.md +5 -5
  65. data/docs/FontSavingModes.md +7 -7
  66. data/docs/FontStyles.md +7 -7
  67. data/docs/FreeTextAnnotation.md +3 -2
  68. data/docs/FreeTextAnnotationResponse.md +3 -3
  69. data/docs/FreeTextAnnotations.md +3 -3
  70. data/docs/FreeTextAnnotationsResponse.md +3 -3
  71. data/docs/FreeTextIntent.md +6 -6
  72. data/docs/HighlightAnnotation.md +3 -3
  73. data/docs/HighlightAnnotationResponse.md +3 -3
  74. data/docs/HighlightAnnotations.md +3 -3
  75. data/docs/HighlightAnnotationsResponse.md +3 -3
  76. data/docs/HorizontalAlignment.md +8 -8
  77. data/docs/HtmlDocumentType.md +5 -5
  78. data/docs/HtmlMarkupGenerationModes.md +5 -5
  79. data/docs/Image.md +2 -2
  80. data/docs/ImageResponse.md +3 -3
  81. data/docs/ImageSrcType.md +5 -5
  82. data/docs/ImageTemplate.md +1 -1
  83. data/docs/ImageTemplatesRequest.md +1 -1
  84. data/docs/Images.md +3 -3
  85. data/docs/ImagesResponse.md +3 -3
  86. data/docs/InkAnnotation.md +3 -3
  87. data/docs/InkAnnotationResponse.md +3 -3
  88. data/docs/InkAnnotations.md +3 -3
  89. data/docs/InkAnnotationsResponse.md +3 -3
  90. data/docs/Justification.md +7 -7
  91. data/docs/LettersPositioningMethods.md +5 -5
  92. data/docs/LineAnnotation.md +3 -3
  93. data/docs/LineAnnotationResponse.md +3 -3
  94. data/docs/LineAnnotations.md +3 -3
  95. data/docs/LineAnnotationsResponse.md +3 -3
  96. data/docs/LineEnding.md +13 -13
  97. data/docs/LineIntent.md +6 -6
  98. data/docs/LineSpacing.md +6 -6
  99. data/docs/Link.md +1 -1
  100. data/docs/LinkActionType.md +9 -9
  101. data/docs/LinkAnnotation.md +2 -2
  102. data/docs/LinkAnnotationResponse.md +3 -3
  103. data/docs/LinkAnnotations.md +3 -3
  104. data/docs/LinkAnnotationsResponse.md +3 -3
  105. data/docs/LinkElement.md +1 -1
  106. data/docs/LinkHighlightingMode.md +9 -9
  107. data/docs/MarginInfo.md +1 -1
  108. data/docs/MarkupAnnotation.md +3 -2
  109. data/docs/MergeDocuments.md +1 -1
  110. data/docs/MovieAnnotation.md +23 -0
  111. data/docs/MovieAnnotationResponse.md +11 -0
  112. data/docs/MovieAnnotations.md +10 -0
  113. data/docs/MovieAnnotationsResponse.md +11 -0
  114. data/docs/OptimizeOptions.md +1 -1
  115. data/docs/Page.md +3 -3
  116. data/docs/PageWordCount.md +1 -1
  117. data/docs/Pages.md +3 -3
  118. data/docs/Paragraph.md +14 -14
  119. data/docs/PartsEmbeddingModes.md +6 -6
  120. data/docs/PdfAType.md +5 -5
  121. data/docs/PdfApi.md +909 -28
  122. data/docs/Point.md +1 -1
  123. data/docs/PolyAnnotation.md +4 -3
  124. data/docs/PolyIntent.md +7 -7
  125. data/docs/PolyLineAnnotation.md +4 -4
  126. data/docs/PolyLineAnnotationResponse.md +3 -3
  127. data/docs/PolyLineAnnotations.md +3 -3
  128. data/docs/PolyLineAnnotationsResponse.md +3 -3
  129. data/docs/PolygonAnnotation.md +4 -4
  130. data/docs/PolygonAnnotationResponse.md +3 -3
  131. data/docs/PolygonAnnotations.md +3 -3
  132. data/docs/PolygonAnnotationsResponse.md +3 -3
  133. data/docs/PopupAnnotation.md +3 -3
  134. data/docs/PopupAnnotationResponse.md +3 -3
  135. data/docs/PopupAnnotationWithParent.md +3 -3
  136. data/docs/PopupAnnotations.md +3 -3
  137. data/docs/PopupAnnotationsResponse.md +3 -3
  138. data/docs/RasterImagesSavingModes.md +6 -6
  139. data/docs/Rectangle.md +12 -0
  140. data/docs/RedactionAnnotation.md +26 -0
  141. data/docs/RedactionAnnotationResponse.md +11 -0
  142. data/docs/RedactionAnnotations.md +10 -0
  143. data/docs/RedactionAnnotationsResponse.md +11 -0
  144. data/docs/Rotation.md +7 -7
  145. data/docs/Segment.md +4 -4
  146. data/docs/ShapeType.md +6 -6
  147. data/docs/Signature.md +3 -3
  148. data/docs/SignatureType.md +7 -7
  149. data/docs/SignatureVerifyResponse.md +3 -3
  150. data/docs/SoundAnnotation.md +30 -0
  151. data/docs/SoundAnnotationResponse.md +11 -0
  152. data/docs/SoundAnnotations.md +10 -0
  153. data/docs/SoundAnnotationsResponse.md +11 -0
  154. data/docs/SoundEncoding.md +13 -0
  155. data/docs/SoundIcon.md +11 -0
  156. data/docs/SplitResult.md +1 -1
  157. data/docs/SplitResultDocument.md +1 -1
  158. data/docs/SplitResultResponse.md +3 -3
  159. data/docs/SquareAnnotation.md +4 -4
  160. data/docs/SquareAnnotationResponse.md +3 -3
  161. data/docs/SquareAnnotations.md +3 -3
  162. data/docs/SquareAnnotationsResponse.md +3 -3
  163. data/docs/SquigglyAnnotation.md +3 -3
  164. data/docs/SquigglyAnnotationResponse.md +3 -3
  165. data/docs/SquigglyAnnotations.md +3 -3
  166. data/docs/SquigglyAnnotationsResponse.md +3 -3
  167. data/docs/Stamp.md +1 -1
  168. data/docs/StampType.md +7 -7
  169. data/docs/StorageExistResponse.md +11 -0
  170. data/docs/StrikeOutAnnotation.md +3 -3
  171. data/docs/StrikeOutAnnotationResponse.md +3 -3
  172. data/docs/StrikeOutAnnotations.md +3 -3
  173. data/docs/StrikeOutAnnotationsResponse.md +3 -3
  174. data/docs/TextAnnotation.md +3 -3
  175. data/docs/TextAnnotationResponse.md +3 -3
  176. data/docs/TextAnnotations.md +3 -3
  177. data/docs/TextAnnotationsResponse.md +3 -3
  178. data/docs/TextHorizontalAlignment.md +10 -10
  179. data/docs/TextIcon.md +14 -14
  180. data/docs/TextLine.md +2 -2
  181. data/docs/TextRect.md +5 -5
  182. data/docs/TextRects.md +3 -3
  183. data/docs/TextRectsResponse.md +3 -3
  184. data/docs/TextReplace.md +2 -2
  185. data/docs/TextReplaceListRequest.md +3 -3
  186. data/docs/TextReplaceResponse.md +3 -3
  187. data/docs/TextState.md +1 -1
  188. data/docs/TextStyle.md +1 -1
  189. data/docs/UnderlineAnnotation.md +3 -3
  190. data/docs/UnderlineAnnotationResponse.md +3 -3
  191. data/docs/UnderlineAnnotations.md +3 -3
  192. data/docs/UnderlineAnnotationsResponse.md +3 -3
  193. data/docs/VerticalAlignment.md +7 -7
  194. data/docs/WordCount.md +1 -1
  195. data/docs/WordCountResponse.md +1 -1
  196. data/docs/WrapMode.md +7 -7
  197. data/lib/aspose_pdf_cloud.rb +28 -2
  198. data/lib/aspose_pdf_cloud/api/pdf_api.rb +4613 -1980
  199. data/lib/aspose_pdf_cloud/api_client.rb +1 -1
  200. data/lib/aspose_pdf_cloud/api_error.rb +1 -1
  201. data/lib/aspose_pdf_cloud/configuration.rb +1 -1
  202. data/lib/aspose_pdf_cloud/models/annotation.rb +13 -3
  203. data/lib/aspose_pdf_cloud/models/annotation_flags.rb +1 -1
  204. data/lib/aspose_pdf_cloud/models/annotation_info.rb +13 -3
  205. data/lib/aspose_pdf_cloud/models/annotation_state.rb +1 -1
  206. data/lib/aspose_pdf_cloud/models/annotation_type.rb +1 -1
  207. data/lib/aspose_pdf_cloud/models/annotations_info.rb +3 -2
  208. data/lib/aspose_pdf_cloud/models/annotations_info_response.rb +3 -2
  209. data/lib/aspose_pdf_cloud/models/antialiasing_processing_type.rb +1 -1
  210. data/lib/aspose_pdf_cloud/models/append_document.rb +1 -1
  211. data/lib/aspose_pdf_cloud/models/aspose_response.rb +1 -1
  212. data/lib/aspose_pdf_cloud/models/attachment.rb +1 -1
  213. data/lib/aspose_pdf_cloud/models/attachment_response.rb +3 -2
  214. data/lib/aspose_pdf_cloud/models/attachments.rb +3 -2
  215. data/lib/aspose_pdf_cloud/models/attachments_response.rb +3 -2
  216. data/lib/aspose_pdf_cloud/models/cap_style.rb +1 -1
  217. data/lib/aspose_pdf_cloud/models/caption_position.rb +1 -1
  218. data/lib/aspose_pdf_cloud/models/caret_annotation.rb +14 -14
  219. data/lib/aspose_pdf_cloud/models/caret_annotation_response.rb +3 -2
  220. data/lib/aspose_pdf_cloud/models/caret_annotations.rb +3 -2
  221. data/lib/aspose_pdf_cloud/models/caret_annotations_response.rb +3 -2
  222. data/lib/aspose_pdf_cloud/models/caret_symbol.rb +1 -1
  223. data/lib/aspose_pdf_cloud/models/circle_annotation.rb +16 -16
  224. data/lib/aspose_pdf_cloud/models/circle_annotation_response.rb +3 -2
  225. data/lib/aspose_pdf_cloud/models/circle_annotations.rb +3 -2
  226. data/lib/aspose_pdf_cloud/models/circle_annotations_response.rb +3 -2
  227. data/lib/aspose_pdf_cloud/models/color.rb +5 -1
  228. data/lib/aspose_pdf_cloud/models/color_depth.rb +1 -1
  229. data/lib/aspose_pdf_cloud/models/common_figure_annotation.rb +14 -4
  230. data/lib/aspose_pdf_cloud/models/compression_type.rb +1 -1
  231. data/lib/aspose_pdf_cloud/models/disc_usage.rb +219 -0
  232. data/lib/aspose_pdf_cloud/models/disc_usage_response.rb +225 -0
  233. data/lib/aspose_pdf_cloud/models/doc_format.rb +1 -1
  234. data/lib/aspose_pdf_cloud/models/doc_recognition_mode.rb +1 -1
  235. data/lib/aspose_pdf_cloud/models/document.rb +1 -1
  236. data/lib/aspose_pdf_cloud/models/document_page_response.rb +3 -2
  237. data/lib/aspose_pdf_cloud/models/document_pages_response.rb +3 -2
  238. data/lib/aspose_pdf_cloud/models/document_privilege.rb +1 -1
  239. data/lib/aspose_pdf_cloud/models/document_properties.rb +3 -2
  240. data/lib/aspose_pdf_cloud/models/document_properties_response.rb +3 -2
  241. data/lib/aspose_pdf_cloud/models/document_property.rb +4 -1
  242. data/lib/aspose_pdf_cloud/models/document_property_response.rb +3 -2
  243. data/lib/aspose_pdf_cloud/models/document_response.rb +4 -2
  244. data/lib/aspose_pdf_cloud/models/epub_recognition_mode.rb +1 -1
  245. data/lib/aspose_pdf_cloud/models/field.rb +2 -2
  246. data/lib/aspose_pdf_cloud/models/field_response.rb +3 -2
  247. data/lib/aspose_pdf_cloud/models/field_type.rb +1 -1
  248. data/lib/aspose_pdf_cloud/models/fields.rb +3 -2
  249. data/lib/aspose_pdf_cloud/models/fields_response.rb +3 -2
  250. data/lib/aspose_pdf_cloud/models/file.rb +1 -1
  251. data/lib/aspose_pdf_cloud/models/file_attachment_annotation.rb +405 -0
  252. data/lib/aspose_pdf_cloud/models/file_attachment_annotation_response.rb +226 -0
  253. data/lib/aspose_pdf_cloud/models/file_attachment_annotations.rb +215 -0
  254. data/lib/aspose_pdf_cloud/models/file_attachment_annotations_response.rb +226 -0
  255. data/lib/aspose_pdf_cloud/models/file_exist.rb +219 -0
  256. data/lib/aspose_pdf_cloud/models/file_exist_response.rb +225 -0
  257. data/lib/aspose_pdf_cloud/models/file_icon.rb +46 -0
  258. data/lib/aspose_pdf_cloud/models/file_version.rb +264 -0
  259. data/lib/aspose_pdf_cloud/models/file_versions_response.rb +227 -0
  260. data/lib/aspose_pdf_cloud/models/files_response.rb +1 -1
  261. data/lib/aspose_pdf_cloud/models/font_encoding_rules.rb +1 -1
  262. data/lib/aspose_pdf_cloud/models/font_saving_modes.rb +1 -1
  263. data/lib/aspose_pdf_cloud/models/font_styles.rb +1 -1
  264. data/lib/aspose_pdf_cloud/models/free_text_annotation.rb +13 -3
  265. data/lib/aspose_pdf_cloud/models/free_text_annotation_response.rb +3 -2
  266. data/lib/aspose_pdf_cloud/models/free_text_annotations.rb +3 -2
  267. data/lib/aspose_pdf_cloud/models/free_text_annotations_response.rb +3 -2
  268. data/lib/aspose_pdf_cloud/models/free_text_intent.rb +1 -1
  269. data/lib/aspose_pdf_cloud/models/highlight_annotation.rb +13 -13
  270. data/lib/aspose_pdf_cloud/models/highlight_annotation_response.rb +3 -2
  271. data/lib/aspose_pdf_cloud/models/highlight_annotations.rb +3 -2
  272. data/lib/aspose_pdf_cloud/models/highlight_annotations_response.rb +3 -2
  273. data/lib/aspose_pdf_cloud/models/horizontal_alignment.rb +1 -1
  274. data/lib/aspose_pdf_cloud/models/html_document_type.rb +1 -1
  275. data/lib/aspose_pdf_cloud/models/html_markup_generation_modes.rb +1 -1
  276. data/lib/aspose_pdf_cloud/models/image.rb +2 -2
  277. data/lib/aspose_pdf_cloud/models/image_response.rb +3 -2
  278. data/lib/aspose_pdf_cloud/models/image_src_type.rb +1 -1
  279. data/lib/aspose_pdf_cloud/models/image_template.rb +1 -1
  280. data/lib/aspose_pdf_cloud/models/image_templates_request.rb +1 -1
  281. data/lib/aspose_pdf_cloud/models/images.rb +3 -2
  282. data/lib/aspose_pdf_cloud/models/images_response.rb +3 -2
  283. data/lib/aspose_pdf_cloud/models/ink_annotation.rb +13 -13
  284. data/lib/aspose_pdf_cloud/models/ink_annotation_response.rb +3 -2
  285. data/lib/aspose_pdf_cloud/models/ink_annotations.rb +3 -2
  286. data/lib/aspose_pdf_cloud/models/ink_annotations_response.rb +3 -2
  287. data/lib/aspose_pdf_cloud/models/justification.rb +1 -1
  288. data/lib/aspose_pdf_cloud/models/letters_positioning_methods.rb +1 -1
  289. data/lib/aspose_pdf_cloud/models/line_annotation.rb +13 -13
  290. data/lib/aspose_pdf_cloud/models/line_annotation_response.rb +3 -2
  291. data/lib/aspose_pdf_cloud/models/line_annotations.rb +3 -2
  292. data/lib/aspose_pdf_cloud/models/line_annotations_response.rb +3 -2
  293. data/lib/aspose_pdf_cloud/models/line_ending.rb +1 -1
  294. data/lib/aspose_pdf_cloud/models/line_intent.rb +1 -1
  295. data/lib/aspose_pdf_cloud/models/line_spacing.rb +1 -1
  296. data/lib/aspose_pdf_cloud/models/link.rb +1 -1
  297. data/lib/aspose_pdf_cloud/models/link_action_type.rb +1 -1
  298. data/lib/aspose_pdf_cloud/models/link_annotation.rb +2 -2
  299. data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +3 -2
  300. data/lib/aspose_pdf_cloud/models/link_annotations.rb +3 -2
  301. data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +3 -2
  302. data/lib/aspose_pdf_cloud/models/link_element.rb +1 -1
  303. data/lib/aspose_pdf_cloud/models/link_highlighting_mode.rb +1 -1
  304. data/lib/aspose_pdf_cloud/models/margin_info.rb +1 -1
  305. data/lib/aspose_pdf_cloud/models/markup_annotation.rb +13 -3
  306. data/lib/aspose_pdf_cloud/models/merge_documents.rb +1 -1
  307. data/lib/aspose_pdf_cloud/models/movie_annotation.rb +345 -0
  308. data/lib/aspose_pdf_cloud/models/movie_annotation_response.rb +226 -0
  309. data/lib/aspose_pdf_cloud/models/movie_annotations.rb +215 -0
  310. data/lib/aspose_pdf_cloud/models/movie_annotations_response.rb +226 -0
  311. data/lib/aspose_pdf_cloud/models/optimize_options.rb +1 -1
  312. data/lib/aspose_pdf_cloud/models/page.rb +4 -2
  313. data/lib/aspose_pdf_cloud/models/page_word_count.rb +1 -1
  314. data/lib/aspose_pdf_cloud/models/pages.rb +3 -2
  315. data/lib/aspose_pdf_cloud/models/paragraph.rb +15 -3
  316. data/lib/aspose_pdf_cloud/models/parts_embedding_modes.rb +1 -1
  317. data/lib/aspose_pdf_cloud/models/pdf_a_type.rb +1 -1
  318. data/lib/aspose_pdf_cloud/models/point.rb +1 -1
  319. data/lib/aspose_pdf_cloud/models/poly_annotation.rb +14 -4
  320. data/lib/aspose_pdf_cloud/models/poly_intent.rb +1 -1
  321. data/lib/aspose_pdf_cloud/models/poly_line_annotation.rb +17 -17
  322. data/lib/aspose_pdf_cloud/models/poly_line_annotation_response.rb +3 -2
  323. data/lib/aspose_pdf_cloud/models/poly_line_annotations.rb +3 -2
  324. data/lib/aspose_pdf_cloud/models/poly_line_annotations_response.rb +3 -2
  325. data/lib/aspose_pdf_cloud/models/polygon_annotation.rb +17 -17
  326. data/lib/aspose_pdf_cloud/models/polygon_annotation_response.rb +3 -2
  327. data/lib/aspose_pdf_cloud/models/polygon_annotations.rb +3 -2
  328. data/lib/aspose_pdf_cloud/models/polygon_annotations_response.rb +3 -2
  329. data/lib/aspose_pdf_cloud/models/popup_annotation.rb +13 -13
  330. data/lib/aspose_pdf_cloud/models/popup_annotation_response.rb +3 -2
  331. data/lib/aspose_pdf_cloud/models/popup_annotation_with_parent.rb +13 -13
  332. data/lib/aspose_pdf_cloud/models/popup_annotations.rb +3 -2
  333. data/lib/aspose_pdf_cloud/models/popup_annotations_response.rb +3 -2
  334. data/lib/aspose_pdf_cloud/models/raster_images_saving_modes.rb +1 -1
  335. data/lib/aspose_pdf_cloud/models/{rectangle_pdf.rb → rectangle.rb} +6 -2
  336. data/lib/aspose_pdf_cloud/models/redaction_annotation.rb +377 -0
  337. data/lib/aspose_pdf_cloud/models/redaction_annotation_response.rb +226 -0
  338. data/lib/aspose_pdf_cloud/models/redaction_annotations.rb +215 -0
  339. data/lib/aspose_pdf_cloud/models/redaction_annotations_response.rb +226 -0
  340. data/lib/aspose_pdf_cloud/models/rotation.rb +1 -1
  341. data/lib/aspose_pdf_cloud/models/segment.rb +4 -2
  342. data/lib/aspose_pdf_cloud/models/shape_type.rb +1 -1
  343. data/lib/aspose_pdf_cloud/models/signature.rb +3 -3
  344. data/lib/aspose_pdf_cloud/models/signature_type.rb +1 -1
  345. data/lib/aspose_pdf_cloud/models/signature_verify_response.rb +3 -3
  346. data/lib/aspose_pdf_cloud/models/sound_annotation.rb +415 -0
  347. data/lib/aspose_pdf_cloud/models/sound_annotation_response.rb +226 -0
  348. data/lib/aspose_pdf_cloud/models/sound_annotations.rb +215 -0
  349. data/lib/aspose_pdf_cloud/models/sound_annotations_response.rb +226 -0
  350. data/lib/aspose_pdf_cloud/models/sound_encoding.rb +46 -0
  351. data/lib/aspose_pdf_cloud/models/sound_icon.rb +44 -0
  352. data/lib/aspose_pdf_cloud/models/split_result.rb +1 -1
  353. data/lib/aspose_pdf_cloud/models/split_result_document.rb +1 -1
  354. data/lib/aspose_pdf_cloud/models/split_result_response.rb +3 -3
  355. data/lib/aspose_pdf_cloud/models/square_annotation.rb +16 -16
  356. data/lib/aspose_pdf_cloud/models/square_annotation_response.rb +3 -2
  357. data/lib/aspose_pdf_cloud/models/square_annotations.rb +3 -2
  358. data/lib/aspose_pdf_cloud/models/square_annotations_response.rb +3 -2
  359. data/lib/aspose_pdf_cloud/models/squiggly_annotation.rb +13 -13
  360. data/lib/aspose_pdf_cloud/models/squiggly_annotation_response.rb +3 -2
  361. data/lib/aspose_pdf_cloud/models/squiggly_annotations.rb +3 -2
  362. data/lib/aspose_pdf_cloud/models/squiggly_annotations_response.rb +3 -2
  363. data/lib/aspose_pdf_cloud/models/stamp.rb +1 -1
  364. data/lib/aspose_pdf_cloud/models/stamp_type.rb +1 -1
  365. data/lib/aspose_pdf_cloud/models/storage_exist_response.rb +225 -0
  366. data/lib/aspose_pdf_cloud/models/strike_out_annotation.rb +13 -13
  367. data/lib/aspose_pdf_cloud/models/strike_out_annotation_response.rb +3 -2
  368. data/lib/aspose_pdf_cloud/models/strike_out_annotations.rb +3 -2
  369. data/lib/aspose_pdf_cloud/models/strike_out_annotations_response.rb +3 -2
  370. data/lib/aspose_pdf_cloud/models/text_annotation.rb +13 -13
  371. data/lib/aspose_pdf_cloud/models/text_annotation_response.rb +3 -2
  372. data/lib/aspose_pdf_cloud/models/text_annotations.rb +3 -2
  373. data/lib/aspose_pdf_cloud/models/text_annotations_response.rb +3 -2
  374. data/lib/aspose_pdf_cloud/models/text_horizontal_alignment.rb +1 -1
  375. data/lib/aspose_pdf_cloud/models/text_icon.rb +1 -1
  376. data/lib/aspose_pdf_cloud/models/text_line.rb +2 -2
  377. data/lib/aspose_pdf_cloud/models/text_rect.rb +6 -3
  378. data/lib/aspose_pdf_cloud/models/text_rects.rb +3 -2
  379. data/lib/aspose_pdf_cloud/models/text_rects_response.rb +10 -9
  380. data/lib/aspose_pdf_cloud/models/text_replace.rb +2 -2
  381. data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +3 -1
  382. data/lib/aspose_pdf_cloud/models/text_replace_response.rb +3 -2
  383. data/lib/aspose_pdf_cloud/models/text_state.rb +1 -1
  384. data/lib/aspose_pdf_cloud/models/text_style.rb +1 -1
  385. data/lib/aspose_pdf_cloud/models/underline_annotation.rb +13 -13
  386. data/lib/aspose_pdf_cloud/models/underline_annotation_response.rb +3 -2
  387. data/lib/aspose_pdf_cloud/models/underline_annotations.rb +3 -2
  388. data/lib/aspose_pdf_cloud/models/underline_annotations_response.rb +3 -2
  389. data/lib/aspose_pdf_cloud/models/vertical_alignment.rb +1 -1
  390. data/lib/aspose_pdf_cloud/models/word_count.rb +1 -1
  391. data/lib/aspose_pdf_cloud/models/word_count_response.rb +1 -1
  392. data/lib/aspose_pdf_cloud/models/wrap_mode.rb +1 -1
  393. data/lib/aspose_pdf_cloud/version.rb +2 -2
  394. data/test/pdf_tests.rb +595 -41
  395. data/test_data/PdfWithAnnotations.pdf +0 -0
  396. data/test_data/PdfWithAnnotations1.pdf +0 -0
  397. metadata +57 -4
  398. data/docs/RectanglePdf.md +0 -12
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,11 +23,12 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
- # List of page images.
26
+ # Represents list of images.
27
27
  class Images
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
+ # List of images.
31
32
  attr_accessor :list
32
33
 
33
34
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,7 +23,7 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
-
26
+ # Represents response containing multiple images info
27
27
  class ImagesResponse
28
28
  # Response status code.
29
29
  attr_accessor :code
@@ -31,6 +31,7 @@ module AsposePdfCloud
31
31
  # Response status.
32
32
  attr_accessor :status
33
33
 
34
+ # Images object
34
35
  attr_accessor :images
35
36
 
36
37
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -28,6 +28,9 @@ module AsposePdfCloud
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
+ # Color of the annotation.
32
+ attr_accessor :color
33
+
31
34
  # Get the annotation content.
32
35
  attr_accessor :contents
33
36
 
@@ -70,9 +73,6 @@ module AsposePdfCloud
70
73
  # Get the annotation RichText.
71
74
  attr_accessor :rich_text
72
75
 
73
- # Color of the annotation.
74
- attr_accessor :color
75
-
76
76
  # Gets or sets list of gestures that are independent lines which are represented by Point[] arrays.
77
77
  attr_accessor :ink_list
78
78
 
@@ -84,6 +84,7 @@ module AsposePdfCloud
84
84
  def self.attribute_map
85
85
  {
86
86
  :'links' => :'Links',
87
+ :'color' => :'Color',
87
88
  :'contents' => :'Contents',
88
89
  :'modified' => :'Modified',
89
90
  :'id' => :'Id',
@@ -98,7 +99,6 @@ module AsposePdfCloud
98
99
  :'subject' => :'Subject',
99
100
  :'title' => :'Title',
100
101
  :'rich_text' => :'RichText',
101
- :'color' => :'Color',
102
102
  :'ink_list' => :'InkList',
103
103
  :'cap_style' => :'CapStyle'
104
104
  }
@@ -108,12 +108,13 @@ module AsposePdfCloud
108
108
  def self.swagger_types
109
109
  {
110
110
  :'links' => :'Array<Link>',
111
+ :'color' => :'Color',
111
112
  :'contents' => :'String',
112
113
  :'modified' => :'String',
113
114
  :'id' => :'String',
114
115
  :'flags' => :'Array<AnnotationFlags>',
115
116
  :'name' => :'String',
116
- :'rect' => :'RectanglePdf',
117
+ :'rect' => :'Rectangle',
117
118
  :'page_index' => :'Integer',
118
119
  :'z_index' => :'Integer',
119
120
  :'horizontal_alignment' => :'HorizontalAlignment',
@@ -122,7 +123,6 @@ module AsposePdfCloud
122
123
  :'subject' => :'String',
123
124
  :'title' => :'String',
124
125
  :'rich_text' => :'String',
125
- :'color' => :'Color',
126
126
  :'ink_list' => :'Array<Array<Point>>',
127
127
  :'cap_style' => :'CapStyle'
128
128
  }
@@ -142,6 +142,10 @@ module AsposePdfCloud
142
142
  end
143
143
  end
144
144
 
145
+ if attributes.has_key?(:'Color')
146
+ self.color = attributes[:'Color']
147
+ end
148
+
145
149
  if attributes.has_key?(:'Contents')
146
150
  self.contents = attributes[:'Contents']
147
151
  end
@@ -200,10 +204,6 @@ module AsposePdfCloud
200
204
  self.rich_text = attributes[:'RichText']
201
205
  end
202
206
 
203
- if attributes.has_key?(:'Color')
204
- self.color = attributes[:'Color']
205
- end
206
-
207
207
  if attributes.has_key?(:'InkList')
208
208
  if (value = attributes[:'InkList']).is_a?(Array)
209
209
  self.ink_list = value
@@ -235,6 +235,7 @@ module AsposePdfCloud
235
235
  return true if self.equal?(o)
236
236
  self.class == o.class &&
237
237
  links == o.links &&
238
+ color == o.color &&
238
239
  contents == o.contents &&
239
240
  modified == o.modified &&
240
241
  id == o.id &&
@@ -249,7 +250,6 @@ module AsposePdfCloud
249
250
  subject == o.subject &&
250
251
  title == o.title &&
251
252
  rich_text == o.rich_text &&
252
- color == o.color &&
253
253
  ink_list == o.ink_list &&
254
254
  cap_style == o.cap_style
255
255
  end
@@ -263,7 +263,7 @@ module AsposePdfCloud
263
263
  # Calculates hash code according to all attributes.
264
264
  # @return [Fixnum] Hash code
265
265
  def hash
266
- [links, contents, modified, id, flags, name, rect, page_index, z_index, horizontal_alignment, vertical_alignment, creation_date, subject, title, rich_text, color, ink_list, cap_style].hash
266
+ [links, color, contents, modified, id, flags, name, rect, page_index, z_index, horizontal_alignment, vertical_alignment, creation_date, subject, title, rich_text, ink_list, cap_style].hash
267
267
  end
268
268
 
269
269
  # Builds the object from hash
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,7 +23,7 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
-
26
+ # Represents response containing single ink annotation object
27
27
  class InkAnnotationResponse
28
28
  # Response status code.
29
29
  attr_accessor :code
@@ -31,6 +31,7 @@ module AsposePdfCloud
31
31
  # Response status.
32
32
  attr_accessor :status
33
33
 
34
+ # Ink annotation object
34
35
  attr_accessor :annotation
35
36
 
36
37
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,11 +23,12 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
- # List of annotations.
26
+ # Object representing a list of ink annotations.
27
27
  class InkAnnotations
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
+ # List of ink annotations.
31
32
  attr_accessor :list
32
33
 
33
34
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,7 +23,7 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
-
26
+ # Represents response containing multiple ink annotation objects
27
27
  class InkAnnotationsResponse
28
28
  # Response status code.
29
29
  attr_accessor :code
@@ -31,6 +31,7 @@ module AsposePdfCloud
31
31
  # Response status.
32
32
  attr_accessor :status
33
33
 
34
+ # Ink annotations object
34
35
  attr_accessor :annotations
35
36
 
36
37
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -28,6 +28,9 @@ module AsposePdfCloud
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
+ # Color of the annotation.
32
+ attr_accessor :color
33
+
31
34
  # Get the annotation content.
32
35
  attr_accessor :contents
33
36
 
@@ -103,9 +106,6 @@ module AsposePdfCloud
103
106
  # Gets or sets annotation caption position.
104
107
  attr_accessor :caption_position
105
108
 
106
- # Color of the annotation.
107
- attr_accessor :color
108
-
109
109
  # Gets or sets the intent of the line annotation.
110
110
  attr_accessor :intent
111
111
 
@@ -114,6 +114,7 @@ module AsposePdfCloud
114
114
  def self.attribute_map
115
115
  {
116
116
  :'links' => :'Links',
117
+ :'color' => :'Color',
117
118
  :'contents' => :'Contents',
118
119
  :'modified' => :'Modified',
119
120
  :'id' => :'Id',
@@ -139,7 +140,6 @@ module AsposePdfCloud
139
140
  :'show_caption' => :'ShowCaption',
140
141
  :'caption_offset' => :'CaptionOffset',
141
142
  :'caption_position' => :'CaptionPosition',
142
- :'color' => :'Color',
143
143
  :'intent' => :'Intent'
144
144
  }
145
145
  end
@@ -148,12 +148,13 @@ module AsposePdfCloud
148
148
  def self.swagger_types
149
149
  {
150
150
  :'links' => :'Array<Link>',
151
+ :'color' => :'Color',
151
152
  :'contents' => :'String',
152
153
  :'modified' => :'String',
153
154
  :'id' => :'String',
154
155
  :'flags' => :'Array<AnnotationFlags>',
155
156
  :'name' => :'String',
156
- :'rect' => :'RectanglePdf',
157
+ :'rect' => :'Rectangle',
157
158
  :'page_index' => :'Integer',
158
159
  :'z_index' => :'Integer',
159
160
  :'horizontal_alignment' => :'HorizontalAlignment',
@@ -173,7 +174,6 @@ module AsposePdfCloud
173
174
  :'show_caption' => :'BOOLEAN',
174
175
  :'caption_offset' => :'Point',
175
176
  :'caption_position' => :'CaptionPosition',
176
- :'color' => :'Color',
177
177
  :'intent' => :'LineIntent'
178
178
  }
179
179
  end
@@ -192,6 +192,10 @@ module AsposePdfCloud
192
192
  end
193
193
  end
194
194
 
195
+ if attributes.has_key?(:'Color')
196
+ self.color = attributes[:'Color']
197
+ end
198
+
195
199
  if attributes.has_key?(:'Contents')
196
200
  self.contents = attributes[:'Contents']
197
201
  end
@@ -294,10 +298,6 @@ module AsposePdfCloud
294
298
  self.caption_position = attributes[:'CaptionPosition']
295
299
  end
296
300
 
297
- if attributes.has_key?(:'Color')
298
- self.color = attributes[:'Color']
299
- end
300
-
301
301
  if attributes.has_key?(:'Intent')
302
302
  self.intent = attributes[:'Intent']
303
303
  end
@@ -323,6 +323,7 @@ module AsposePdfCloud
323
323
  return true if self.equal?(o)
324
324
  self.class == o.class &&
325
325
  links == o.links &&
326
+ color == o.color &&
326
327
  contents == o.contents &&
327
328
  modified == o.modified &&
328
329
  id == o.id &&
@@ -348,7 +349,6 @@ module AsposePdfCloud
348
349
  show_caption == o.show_caption &&
349
350
  caption_offset == o.caption_offset &&
350
351
  caption_position == o.caption_position &&
351
- color == o.color &&
352
352
  intent == o.intent
353
353
  end
354
354
 
@@ -361,7 +361,7 @@ module AsposePdfCloud
361
361
  # Calculates hash code according to all attributes.
362
362
  # @return [Fixnum] Hash code
363
363
  def hash
364
- [links, contents, modified, id, flags, name, rect, page_index, z_index, horizontal_alignment, vertical_alignment, creation_date, subject, title, rich_text, starting, starting_style, ending, ending_style, interior_color, leader_line, leader_line_extension, leader_line_offset, show_caption, caption_offset, caption_position, color, intent].hash
364
+ [links, color, contents, modified, id, flags, name, rect, page_index, z_index, horizontal_alignment, vertical_alignment, creation_date, subject, title, rich_text, starting, starting_style, ending, ending_style, interior_color, leader_line, leader_line_extension, leader_line_offset, show_caption, caption_offset, caption_position, intent].hash
365
365
  end
366
366
 
367
367
  # Builds the object from hash
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,7 +23,7 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
-
26
+ # Represents response containing single line annotation object
27
27
  class LineAnnotationResponse
28
28
  # Response status code.
29
29
  attr_accessor :code
@@ -31,6 +31,7 @@ module AsposePdfCloud
31
31
  # Response status.
32
32
  attr_accessor :status
33
33
 
34
+ # Line annotation object
34
35
  attr_accessor :annotation
35
36
 
36
37
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,11 +23,12 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
- # List of annotations.
26
+ # Object representing a list of line annotations.
27
27
  class LineAnnotations
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
+ # List of line annotations.
31
32
  attr_accessor :list
32
33
 
33
34
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -23,7 +23,7 @@ require 'date'
23
23
  require 'time'
24
24
 
25
25
  module AsposePdfCloud
26
-
26
+ # Represents response containing multiple line annotation objects
27
27
  class LineAnnotationsResponse
28
28
  # Response status code.
29
29
  attr_accessor :code
@@ -31,6 +31,7 @@ module AsposePdfCloud
31
31
  # Response status.
32
32
  attr_accessor :status
33
33
 
34
+ # Line annotations object
34
35
  attr_accessor :annotations
35
36
 
36
37
 
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2018 Aspose.PDF Cloud
3
+ Copyright (c) 2019 Aspose.PDF Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights