aspose_pdf_cloud 19.5.0 → 19.6.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.
Files changed (271) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -26
  3. data/docs/Annotation.md +1 -1
  4. data/docs/AnnotationInfo.md +2 -2
  5. data/docs/Attachment.md +1 -1
  6. data/docs/Bookmark.md +25 -0
  7. data/docs/{FileExistResponse.md → BookmarkResponse.md} +3 -3
  8. data/docs/Bookmarks.md +10 -0
  9. data/docs/{DiscUsageResponse.md → BookmarksResponse.md} +3 -3
  10. data/docs/CaretAnnotation.md +1 -1
  11. data/docs/CellRecognized.md +1 -1
  12. data/docs/CircleAnnotation.md +1 -1
  13. data/docs/CommonFigureAnnotation.md +1 -1
  14. data/docs/DiscUsage.md +3 -3
  15. data/docs/DocumentPrivilege.md +1 -1
  16. data/docs/DocumentProperty.md +1 -1
  17. data/docs/Error.md +12 -0
  18. data/docs/ErrorDetails.md +10 -0
  19. data/docs/Field.md +1 -1
  20. data/docs/Fields.md +1 -1
  21. data/docs/FileAttachmentAnnotation.md +1 -1
  22. data/docs/FileVersion.md +8 -8
  23. data/docs/FileVersions.md +9 -0
  24. data/docs/FilesList.md +9 -0
  25. data/docs/FilesUploadResult.md +10 -0
  26. data/docs/FreeTextAnnotation.md +2 -2
  27. data/docs/GraphInfo.md +2 -2
  28. data/docs/HighlightAnnotation.md +1 -1
  29. data/docs/Image.md +3 -3
  30. data/docs/ImageFooter.md +1 -1
  31. data/docs/ImageHeader.md +1 -1
  32. data/docs/ImageStamp.md +1 -1
  33. data/docs/InkAnnotation.md +1 -1
  34. data/docs/LineAnnotation.md +3 -3
  35. data/docs/LinkAnnotation.md +4 -4
  36. data/docs/MarkupAnnotation.md +1 -1
  37. data/docs/MovieAnnotation.md +1 -1
  38. data/docs/ObjectExist.md +10 -0
  39. data/docs/Page.md +1 -1
  40. data/docs/PageNumberStamp.md +1 -1
  41. data/docs/PdfApi.md +560 -328
  42. data/docs/PdfPageStamp.md +1 -1
  43. data/docs/PolyAnnotation.md +2 -2
  44. data/docs/PolyLineAnnotation.md +2 -2
  45. data/docs/PolygonAnnotation.md +2 -2
  46. data/docs/PopupAnnotation.md +1 -1
  47. data/docs/PopupAnnotationWithParent.md +1 -1
  48. data/docs/RedactionAnnotation.md +1 -1
  49. data/docs/ScreenAnnotation.md +1 -1
  50. data/docs/Signature.md +1 -1
  51. data/docs/SignatureVerifyResponse.md +1 -1
  52. data/docs/SoundAnnotation.md +2 -2
  53. data/docs/SplitResultDocument.md +1 -1
  54. data/docs/SquareAnnotation.md +1 -1
  55. data/docs/SquigglyAnnotation.md +1 -1
  56. data/docs/Stamp.md +2 -2
  57. data/docs/StampAnnotation.md +1 -1
  58. data/docs/StampBase.md +1 -1
  59. data/docs/StampInfo.md +1 -1
  60. data/docs/StorageExist.md +9 -0
  61. data/docs/StorageFile.md +13 -0
  62. data/docs/StrikeOutAnnotation.md +1 -1
  63. data/docs/Table.md +1 -1
  64. data/docs/TextAnnotation.md +1 -1
  65. data/docs/TextFooter.md +2 -2
  66. data/docs/TextHeader.md +2 -2
  67. data/docs/TextRect.md +3 -3
  68. data/docs/TextReplaceListRequest.md +1 -1
  69. data/docs/TextReplaceResponse.md +1 -1
  70. data/docs/TextStamp.md +2 -2
  71. data/docs/UnderlineAnnotation.md +1 -1
  72. data/docs/WordCountResponse.md +1 -1
  73. data/lib/aspose_pdf_cloud.rb +12 -8
  74. data/lib/aspose_pdf_cloud/api/pdf_api.rb +2521 -1650
  75. data/lib/aspose_pdf_cloud/api_client.rb +2 -54
  76. data/lib/aspose_pdf_cloud/configuration.rb +2 -5
  77. data/lib/aspose_pdf_cloud/models/annotation.rb +7 -4
  78. data/lib/aspose_pdf_cloud/models/annotation_info.rb +12 -4
  79. data/lib/aspose_pdf_cloud/models/annotations_info.rb +2 -4
  80. data/lib/aspose_pdf_cloud/models/annotations_info_response.rb +2 -4
  81. data/lib/aspose_pdf_cloud/models/aspose_response.rb +2 -4
  82. data/lib/aspose_pdf_cloud/models/attachment.rb +7 -4
  83. data/lib/aspose_pdf_cloud/models/attachment_response.rb +2 -4
  84. data/lib/aspose_pdf_cloud/models/attachments.rb +2 -4
  85. data/lib/aspose_pdf_cloud/models/attachments_response.rb +2 -4
  86. data/lib/aspose_pdf_cloud/models/{append_document.rb → bookmark.rb} +167 -42
  87. data/lib/aspose_pdf_cloud/models/{storage_exist_response.rb → bookmark_response.rb} +12 -13
  88. data/lib/aspose_pdf_cloud/models/{files_response.rb → bookmarks.rb} +22 -36
  89. data/lib/aspose_pdf_cloud/models/{disc_usage_response.rb → bookmarks_response.rb} +12 -13
  90. data/lib/aspose_pdf_cloud/models/border_info.rb +2 -4
  91. data/lib/aspose_pdf_cloud/models/caret_annotation.rb +7 -4
  92. data/lib/aspose_pdf_cloud/models/caret_annotation_response.rb +2 -4
  93. data/lib/aspose_pdf_cloud/models/caret_annotations.rb +2 -4
  94. data/lib/aspose_pdf_cloud/models/caret_annotations_response.rb +2 -4
  95. data/lib/aspose_pdf_cloud/models/cell.rb +2 -4
  96. data/lib/aspose_pdf_cloud/models/cell_recognized.rb +3 -5
  97. data/lib/aspose_pdf_cloud/models/circle_annotation.rb +7 -4
  98. data/lib/aspose_pdf_cloud/models/circle_annotation_response.rb +2 -4
  99. data/lib/aspose_pdf_cloud/models/circle_annotations.rb +2 -4
  100. data/lib/aspose_pdf_cloud/models/circle_annotations_response.rb +2 -4
  101. data/lib/aspose_pdf_cloud/models/color.rb +2 -4
  102. data/lib/aspose_pdf_cloud/models/common_figure_annotation.rb +7 -4
  103. data/lib/aspose_pdf_cloud/models/disc_usage.rb +5 -5
  104. data/lib/aspose_pdf_cloud/models/document.rb +2 -4
  105. data/lib/aspose_pdf_cloud/models/document_page_response.rb +2 -4
  106. data/lib/aspose_pdf_cloud/models/document_pages_response.rb +2 -4
  107. data/lib/aspose_pdf_cloud/models/document_privilege.rb +3 -5
  108. data/lib/aspose_pdf_cloud/models/document_properties.rb +2 -4
  109. data/lib/aspose_pdf_cloud/models/document_properties_response.rb +2 -4
  110. data/lib/aspose_pdf_cloud/models/document_property.rb +7 -4
  111. data/lib/aspose_pdf_cloud/models/document_property_response.rb +2 -4
  112. data/lib/aspose_pdf_cloud/models/document_response.rb +2 -4
  113. data/lib/aspose_pdf_cloud/models/{file_exist_response.rb → error.rb} +31 -27
  114. data/lib/aspose_pdf_cloud/models/error_details.rb +214 -0
  115. data/lib/aspose_pdf_cloud/models/field.rb +7 -4
  116. data/lib/aspose_pdf_cloud/models/field_response.rb +2 -4
  117. data/lib/aspose_pdf_cloud/models/fields.rb +7 -4
  118. data/lib/aspose_pdf_cloud/models/fields_response.rb +2 -4
  119. data/lib/aspose_pdf_cloud/models/file_attachment_annotation.rb +7 -4
  120. data/lib/aspose_pdf_cloud/models/file_attachment_annotation_response.rb +2 -4
  121. data/lib/aspose_pdf_cloud/models/file_attachment_annotations.rb +2 -4
  122. data/lib/aspose_pdf_cloud/models/file_attachment_annotations_response.rb +2 -4
  123. data/lib/aspose_pdf_cloud/models/file_version.rb +15 -5
  124. data/lib/aspose_pdf_cloud/models/file_versions.rb +201 -0
  125. data/lib/aspose_pdf_cloud/models/files_list.rb +201 -0
  126. data/lib/aspose_pdf_cloud/models/files_upload_result.rb +213 -0
  127. data/lib/aspose_pdf_cloud/models/free_text_annotation.rb +12 -4
  128. data/lib/aspose_pdf_cloud/models/free_text_annotation_response.rb +2 -4
  129. data/lib/aspose_pdf_cloud/models/free_text_annotations.rb +2 -4
  130. data/lib/aspose_pdf_cloud/models/free_text_annotations_response.rb +2 -4
  131. data/lib/aspose_pdf_cloud/models/graph_info.rb +4 -6
  132. data/lib/aspose_pdf_cloud/models/highlight_annotation.rb +7 -4
  133. data/lib/aspose_pdf_cloud/models/highlight_annotation_response.rb +2 -4
  134. data/lib/aspose_pdf_cloud/models/highlight_annotations.rb +2 -4
  135. data/lib/aspose_pdf_cloud/models/highlight_annotations_response.rb +2 -4
  136. data/lib/aspose_pdf_cloud/models/image.rb +17 -4
  137. data/lib/aspose_pdf_cloud/models/image_footer.rb +3 -5
  138. data/lib/aspose_pdf_cloud/models/image_header.rb +3 -5
  139. data/lib/aspose_pdf_cloud/models/image_response.rb +2 -4
  140. data/lib/aspose_pdf_cloud/models/image_stamp.rb +3 -5
  141. data/lib/aspose_pdf_cloud/models/image_template.rb +21 -4
  142. data/lib/aspose_pdf_cloud/models/image_templates_request.rb +2 -4
  143. data/lib/aspose_pdf_cloud/models/images.rb +2 -4
  144. data/lib/aspose_pdf_cloud/models/images_response.rb +2 -4
  145. data/lib/aspose_pdf_cloud/models/ink_annotation.rb +7 -4
  146. data/lib/aspose_pdf_cloud/models/ink_annotation_response.rb +2 -4
  147. data/lib/aspose_pdf_cloud/models/ink_annotations.rb +2 -4
  148. data/lib/aspose_pdf_cloud/models/ink_annotations_response.rb +2 -4
  149. data/lib/aspose_pdf_cloud/models/line_annotation.rb +17 -4
  150. data/lib/aspose_pdf_cloud/models/line_annotation_response.rb +2 -4
  151. data/lib/aspose_pdf_cloud/models/line_annotations.rb +2 -4
  152. data/lib/aspose_pdf_cloud/models/line_annotations_response.rb +2 -4
  153. data/lib/aspose_pdf_cloud/models/link.rb +2 -4
  154. data/lib/aspose_pdf_cloud/models/link_annotation.rb +41 -4
  155. data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +2 -4
  156. data/lib/aspose_pdf_cloud/models/link_annotations.rb +2 -4
  157. data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +2 -4
  158. data/lib/aspose_pdf_cloud/models/link_element.rb +2 -4
  159. data/lib/aspose_pdf_cloud/models/margin_info.rb +2 -4
  160. data/lib/aspose_pdf_cloud/models/markup_annotation.rb +7 -4
  161. data/lib/aspose_pdf_cloud/models/merge_documents.rb +2 -4
  162. data/lib/aspose_pdf_cloud/models/movie_annotation.rb +7 -4
  163. data/lib/aspose_pdf_cloud/models/movie_annotation_response.rb +2 -4
  164. data/lib/aspose_pdf_cloud/models/movie_annotations.rb +2 -4
  165. data/lib/aspose_pdf_cloud/models/movie_annotations_response.rb +2 -4
  166. data/lib/aspose_pdf_cloud/models/{file_exist.rb → object_exist.rb} +16 -16
  167. data/lib/aspose_pdf_cloud/models/optimize_options.rb +2 -4
  168. data/lib/aspose_pdf_cloud/models/page.rb +7 -4
  169. data/lib/aspose_pdf_cloud/models/page_number_stamp.rb +3 -5
  170. data/lib/aspose_pdf_cloud/models/page_word_count.rb +2 -4
  171. data/lib/aspose_pdf_cloud/models/pages.rb +2 -4
  172. data/lib/aspose_pdf_cloud/models/paragraph.rb +2 -4
  173. data/lib/aspose_pdf_cloud/models/pdf_page_stamp.rb +3 -5
  174. data/lib/aspose_pdf_cloud/models/point.rb +2 -4
  175. data/lib/aspose_pdf_cloud/models/poly_annotation.rb +12 -4
  176. data/lib/aspose_pdf_cloud/models/poly_line_annotation.rb +12 -4
  177. data/lib/aspose_pdf_cloud/models/poly_line_annotation_response.rb +2 -4
  178. data/lib/aspose_pdf_cloud/models/poly_line_annotations.rb +2 -4
  179. data/lib/aspose_pdf_cloud/models/poly_line_annotations_response.rb +2 -4
  180. data/lib/aspose_pdf_cloud/models/polygon_annotation.rb +12 -4
  181. data/lib/aspose_pdf_cloud/models/polygon_annotation_response.rb +2 -4
  182. data/lib/aspose_pdf_cloud/models/polygon_annotations.rb +2 -4
  183. data/lib/aspose_pdf_cloud/models/polygon_annotations_response.rb +2 -4
  184. data/lib/aspose_pdf_cloud/models/popup_annotation.rb +7 -4
  185. data/lib/aspose_pdf_cloud/models/popup_annotation_response.rb +2 -4
  186. data/lib/aspose_pdf_cloud/models/popup_annotation_with_parent.rb +7 -4
  187. data/lib/aspose_pdf_cloud/models/popup_annotations.rb +2 -4
  188. data/lib/aspose_pdf_cloud/models/popup_annotations_response.rb +2 -4
  189. data/lib/aspose_pdf_cloud/models/position.rb +2 -4
  190. data/lib/aspose_pdf_cloud/models/rectangle.rb +2 -4
  191. data/lib/aspose_pdf_cloud/models/redaction_annotation.rb +7 -4
  192. data/lib/aspose_pdf_cloud/models/redaction_annotation_response.rb +2 -4
  193. data/lib/aspose_pdf_cloud/models/redaction_annotations.rb +2 -4
  194. data/lib/aspose_pdf_cloud/models/redaction_annotations_response.rb +2 -4
  195. data/lib/aspose_pdf_cloud/models/row.rb +2 -4
  196. data/lib/aspose_pdf_cloud/models/row_recognized.rb +2 -4
  197. data/lib/aspose_pdf_cloud/models/screen_annotation.rb +7 -4
  198. data/lib/aspose_pdf_cloud/models/screen_annotation_response.rb +2 -4
  199. data/lib/aspose_pdf_cloud/models/screen_annotations.rb +2 -4
  200. data/lib/aspose_pdf_cloud/models/screen_annotations_response.rb +2 -4
  201. data/lib/aspose_pdf_cloud/models/segment.rb +21 -4
  202. data/lib/aspose_pdf_cloud/models/signature.rb +22 -5
  203. data/lib/aspose_pdf_cloud/models/signature_verify_response.rb +7 -4
  204. data/lib/aspose_pdf_cloud/models/sound_annotation.rb +31 -4
  205. data/lib/aspose_pdf_cloud/models/sound_annotation_response.rb +2 -4
  206. data/lib/aspose_pdf_cloud/models/sound_annotations.rb +2 -4
  207. data/lib/aspose_pdf_cloud/models/sound_annotations_response.rb +2 -4
  208. data/lib/aspose_pdf_cloud/models/split_result.rb +2 -4
  209. data/lib/aspose_pdf_cloud/models/split_result_document.rb +7 -4
  210. data/lib/aspose_pdf_cloud/models/split_result_response.rb +2 -4
  211. data/lib/aspose_pdf_cloud/models/square_annotation.rb +7 -4
  212. data/lib/aspose_pdf_cloud/models/square_annotation_response.rb +2 -4
  213. data/lib/aspose_pdf_cloud/models/square_annotations.rb +2 -4
  214. data/lib/aspose_pdf_cloud/models/square_annotations_response.rb +2 -4
  215. data/lib/aspose_pdf_cloud/models/squiggly_annotation.rb +7 -4
  216. data/lib/aspose_pdf_cloud/models/squiggly_annotation_response.rb +2 -4
  217. data/lib/aspose_pdf_cloud/models/squiggly_annotations.rb +2 -4
  218. data/lib/aspose_pdf_cloud/models/squiggly_annotations_response.rb +2 -4
  219. data/lib/aspose_pdf_cloud/models/stamp.rb +4 -6
  220. data/lib/aspose_pdf_cloud/models/stamp_annotation.rb +7 -4
  221. data/lib/aspose_pdf_cloud/models/stamp_annotation_response.rb +2 -4
  222. data/lib/aspose_pdf_cloud/models/stamp_annotations.rb +2 -4
  223. data/lib/aspose_pdf_cloud/models/stamp_annotations_response.rb +2 -4
  224. data/lib/aspose_pdf_cloud/models/stamp_base.rb +3 -5
  225. data/lib/aspose_pdf_cloud/models/stamp_info.rb +7 -4
  226. data/lib/aspose_pdf_cloud/models/stamps_info.rb +2 -4
  227. data/lib/aspose_pdf_cloud/models/stamps_info_response.rb +2 -4
  228. data/lib/aspose_pdf_cloud/models/storage_exist.rb +204 -0
  229. data/lib/aspose_pdf_cloud/models/{file.rb → storage_file.rb} +9 -6
  230. data/lib/aspose_pdf_cloud/models/strike_out_annotation.rb +7 -4
  231. data/lib/aspose_pdf_cloud/models/strike_out_annotation_response.rb +2 -4
  232. data/lib/aspose_pdf_cloud/models/strike_out_annotations.rb +2 -4
  233. data/lib/aspose_pdf_cloud/models/strike_out_annotations_response.rb +2 -4
  234. data/lib/aspose_pdf_cloud/models/table.rb +7 -4
  235. data/lib/aspose_pdf_cloud/models/table_recognized.rb +2 -4
  236. data/lib/aspose_pdf_cloud/models/table_recognized_response.rb +2 -4
  237. data/lib/aspose_pdf_cloud/models/tables_recognized.rb +2 -4
  238. data/lib/aspose_pdf_cloud/models/tables_recognized_response.rb +2 -4
  239. data/lib/aspose_pdf_cloud/models/text_annotation.rb +7 -4
  240. data/lib/aspose_pdf_cloud/models/text_annotation_response.rb +2 -4
  241. data/lib/aspose_pdf_cloud/models/text_annotations.rb +2 -4
  242. data/lib/aspose_pdf_cloud/models/text_annotations_response.rb +2 -4
  243. data/lib/aspose_pdf_cloud/models/text_footer.rb +4 -6
  244. data/lib/aspose_pdf_cloud/models/text_header.rb +4 -6
  245. data/lib/aspose_pdf_cloud/models/text_line.rb +2 -4
  246. data/lib/aspose_pdf_cloud/models/text_rect.rb +5 -7
  247. data/lib/aspose_pdf_cloud/models/text_rects.rb +2 -4
  248. data/lib/aspose_pdf_cloud/models/text_rects_response.rb +2 -4
  249. data/lib/aspose_pdf_cloud/models/text_replace.rb +40 -4
  250. data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +3 -4
  251. data/lib/aspose_pdf_cloud/models/text_replace_response.rb +7 -4
  252. data/lib/aspose_pdf_cloud/models/text_stamp.rb +4 -6
  253. data/lib/aspose_pdf_cloud/models/text_state.rb +2 -4
  254. data/lib/aspose_pdf_cloud/models/text_style.rb +2 -4
  255. data/lib/aspose_pdf_cloud/models/underline_annotation.rb +7 -4
  256. data/lib/aspose_pdf_cloud/models/underline_annotation_response.rb +2 -4
  257. data/lib/aspose_pdf_cloud/models/underline_annotations.rb +2 -4
  258. data/lib/aspose_pdf_cloud/models/underline_annotations_response.rb +2 -4
  259. data/lib/aspose_pdf_cloud/models/word_count.rb +2 -4
  260. data/lib/aspose_pdf_cloud/models/word_count_response.rb +3 -5
  261. data/lib/aspose_pdf_cloud/version.rb +1 -1
  262. data/test/pdf_tests.rb +175 -71
  263. data/test_data/sample.tex +105 -0
  264. metadata +27 -18
  265. data/docs/AppendDocument.md +0 -11
  266. data/docs/File.md +0 -13
  267. data/docs/FileExist.md +0 -10
  268. data/docs/FileVersionsResponse.md +0 -11
  269. data/docs/FilesResponse.md +0 -11
  270. data/docs/StorageExistResponse.md +0 -11
  271. data/lib/aspose_pdf_cloud/models/file_versions_response.rb +0 -227
@@ -0,0 +1,105 @@
1
+ \documentclass{article}
2
+ \usepackage{epsfig}
3
+ \renewcommand{\baselinestretch}{1}
4
+ \setlength{\textheight}{9in}
5
+ \setlength{\textwidth}{6.5in}
6
+ \setlength{\headheight}{0in}
7
+ \setlength{\headsep}{0in}
8
+ \setlength{\topmargin}{0in}
9
+ \setlength{\oddsidemargin}{0in}
10
+ \setlength{\evensidemargin}{0in}
11
+ \setlength{\parindent}{.3in}
12
+ \begin{document}
13
+
14
+ \leftline{Pat Q.~Student}
15
+ \leftline{AME 20231}
16
+ \leftline{18 January 2013}
17
+
18
+ \medskip
19
+ This is a sample file in the text formatter \LaTeX.
20
+ I require you to use it for the following reasons:
21
+
22
+ \begin{itemize}
23
+
24
+ \item{It produces the best output of text, figures,
25
+ and equations of any
26
+ program I've seen.}
27
+
28
+ \item{It is machine-independent. It runs on Linux, Macintosh (see {\tt TeXShop}), and Windows (see {\tt MiKTeX}) machines.
29
+ You can e-mail {\tt ASCII} text versions of most relevant files.}
30
+
31
+ \item{It is the tool of choice for many research
32
+ scientists and engineers.
33
+ Many journals accept
34
+ \LaTeX~ submissions, and many books
35
+ are written in \LaTeX.}
36
+
37
+ \end{itemize}
38
+ \medskip
39
+ Some basic instructions are given next.
40
+ Put your text in here. You can be a little sloppy about
41
+ spacing. It adjusts the text to look good.
42
+ {\small You can make the text smaller.}
43
+ {\tiny You can make the text tiny.}
44
+
45
+ Skip a line for a new paragraph.
46
+ You can use italics ({\em e.g.} {\em Thermodynamics is everywhere}) or {\bf bold}.
47
+ Greek letters are a snap: $\Psi$, $\psi$,
48
+ $\Phi$, $\phi$. Equations within text are easy---
49
+ A well known Maxwell thermodynamic relation is
50
+ $\left.{\partial T \over \partial p}\right|_{s} =
51
+ \left.{\partial v \over \partial s}\right|_{p}$.
52
+ You can also set aside equations like so:
53
+ \begin{eqnarray}
54
+ du &=& Tds -p dv, \qquad \mbox{first law}\\
55
+ ds &\ge& {dq \over T}.\qquad \qquad \mbox{second law} \label{ee}
56
+ \end{eqnarray}
57
+ Eq.~(\ref{ee}) is the second law.
58
+ References\footnote{Lamport, L., 1986, {\em \LaTeX: User's Guide \& Reference Manual},
59
+ Addison-Wesley: Reading, Massachusetts.}
60
+ are available.
61
+ If you have an postscript file, say {\tt sample.figure.eps}, in the same local directory,
62
+ you can insert the file as a figure. Figure \ref{sample}, below, plots an isotherm for air modeled as an ideal gas.
63
+ \begin{figure}[ht]
64
+ \epsfxsize=2.5in
65
+ \centerline{\epsffile{sample.figure.eps}}
66
+ \caption{Sample figure plotting $T=300~K$ isotherm for air when modeled as an ideal gas.}
67
+ \label{sample}
68
+ \end{figure}
69
+
70
+ \medskip
71
+ \leftline{\em Running \LaTeX}
72
+ \medskip
73
+
74
+ You can create a \LaTeX~ file with any text editor ({\tt vi}, {\tt emacs}, {\tt gedit},
75
+ etc.).
76
+ To get a document, you need to run the \LaTeX~ application
77
+ on the text file. The text file must have the suffix ``{\tt .tex}''
78
+ On a Linux cluster machine, this is done via the command
79
+
80
+ \medskip
81
+ {\tt latex file.tex}
82
+
83
+ \medskip
84
+ \noindent
85
+ This generates three files: {\tt file.dvi}, {\tt file.aux},
86
+ and {\tt file.log}. The most important is {\tt file.dvi}.
87
+
88
+ \medskip
89
+ \noindent
90
+ The finished product can be previewed in the following way.
91
+ Execute the commands:
92
+
93
+ \medskip
94
+
95
+ {\tt dvipdf file.dvi}\hspace{1.9in}{\em Linux System}
96
+
97
+ \medskip
98
+ \noindent
99
+ This command generates {\tt file.pdf}.
100
+ Alternatively, you can use {\tt TeXShop} on a Macintosh or {\tt MiKTeX} on a Windows-based machine.
101
+ The {\tt .tex} file must have a closing statement as
102
+ below.
103
+
104
+
105
+ \end{document}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_pdf_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.5.0
4
+ version: 19.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose PDF Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -78,12 +78,15 @@ files:
78
78
  - docs/AnnotationsInfo.md
79
79
  - docs/AnnotationsInfoResponse.md
80
80
  - docs/AntialiasingProcessingType.md
81
- - docs/AppendDocument.md
82
81
  - docs/AsposeResponse.md
83
82
  - docs/Attachment.md
84
83
  - docs/AttachmentResponse.md
85
84
  - docs/Attachments.md
86
85
  - docs/AttachmentsResponse.md
86
+ - docs/Bookmark.md
87
+ - docs/BookmarkResponse.md
88
+ - docs/Bookmarks.md
89
+ - docs/BookmarksResponse.md
87
90
  - docs/BorderCornerStyle.md
88
91
  - docs/BorderInfo.md
89
92
  - docs/CapStyle.md
@@ -106,7 +109,6 @@ files:
106
109
  - docs/CompressionType.md
107
110
  - docs/CryptoAlgorithm.md
108
111
  - docs/DiscUsage.md
109
- - docs/DiscUsageResponse.md
110
112
  - docs/DocFormat.md
111
113
  - docs/DocRecognitionMode.md
112
114
  - docs/Document.md
@@ -119,22 +121,22 @@ files:
119
121
  - docs/DocumentPropertyResponse.md
120
122
  - docs/DocumentResponse.md
121
123
  - docs/EpubRecognitionMode.md
124
+ - docs/Error.md
125
+ - docs/ErrorDetails.md
122
126
  - docs/Field.md
123
127
  - docs/FieldResponse.md
124
128
  - docs/FieldType.md
125
129
  - docs/Fields.md
126
130
  - docs/FieldsResponse.md
127
- - docs/File.md
128
131
  - docs/FileAttachmentAnnotation.md
129
132
  - docs/FileAttachmentAnnotationResponse.md
130
133
  - docs/FileAttachmentAnnotations.md
131
134
  - docs/FileAttachmentAnnotationsResponse.md
132
- - docs/FileExist.md
133
- - docs/FileExistResponse.md
134
135
  - docs/FileIcon.md
135
136
  - docs/FileVersion.md
136
- - docs/FileVersionsResponse.md
137
- - docs/FilesResponse.md
137
+ - docs/FileVersions.md
138
+ - docs/FilesList.md
139
+ - docs/FilesUploadResult.md
138
140
  - docs/FontEncodingRules.md
139
141
  - docs/FontSavingModes.md
140
142
  - docs/FontStyles.md
@@ -189,6 +191,7 @@ files:
189
191
  - docs/MovieAnnotationResponse.md
190
192
  - docs/MovieAnnotations.md
191
193
  - docs/MovieAnnotationsResponse.md
194
+ - docs/ObjectExist.md
192
195
  - docs/OptimizeOptions.md
193
196
  - docs/Page.md
194
197
  - docs/PageNumberStamp.md
@@ -263,7 +266,8 @@ files:
263
266
  - docs/StampType.md
264
267
  - docs/StampsInfo.md
265
268
  - docs/StampsInfoResponse.md
266
- - docs/StorageExistResponse.md
269
+ - docs/StorageExist.md
270
+ - docs/StorageFile.md
267
271
  - docs/StrikeOutAnnotation.md
268
272
  - docs/StrikeOutAnnotationResponse.md
269
273
  - docs/StrikeOutAnnotations.md
@@ -313,12 +317,15 @@ files:
313
317
  - lib/aspose_pdf_cloud/models/annotations_info.rb
314
318
  - lib/aspose_pdf_cloud/models/annotations_info_response.rb
315
319
  - lib/aspose_pdf_cloud/models/antialiasing_processing_type.rb
316
- - lib/aspose_pdf_cloud/models/append_document.rb
317
320
  - lib/aspose_pdf_cloud/models/aspose_response.rb
318
321
  - lib/aspose_pdf_cloud/models/attachment.rb
319
322
  - lib/aspose_pdf_cloud/models/attachment_response.rb
320
323
  - lib/aspose_pdf_cloud/models/attachments.rb
321
324
  - lib/aspose_pdf_cloud/models/attachments_response.rb
325
+ - lib/aspose_pdf_cloud/models/bookmark.rb
326
+ - lib/aspose_pdf_cloud/models/bookmark_response.rb
327
+ - lib/aspose_pdf_cloud/models/bookmarks.rb
328
+ - lib/aspose_pdf_cloud/models/bookmarks_response.rb
322
329
  - lib/aspose_pdf_cloud/models/border_corner_style.rb
323
330
  - lib/aspose_pdf_cloud/models/border_info.rb
324
331
  - lib/aspose_pdf_cloud/models/cap_style.rb
@@ -341,7 +348,6 @@ files:
341
348
  - lib/aspose_pdf_cloud/models/compression_type.rb
342
349
  - lib/aspose_pdf_cloud/models/crypto_algorithm.rb
343
350
  - lib/aspose_pdf_cloud/models/disc_usage.rb
344
- - lib/aspose_pdf_cloud/models/disc_usage_response.rb
345
351
  - lib/aspose_pdf_cloud/models/doc_format.rb
346
352
  - lib/aspose_pdf_cloud/models/doc_recognition_mode.rb
347
353
  - lib/aspose_pdf_cloud/models/document.rb
@@ -354,22 +360,22 @@ files:
354
360
  - lib/aspose_pdf_cloud/models/document_property_response.rb
355
361
  - lib/aspose_pdf_cloud/models/document_response.rb
356
362
  - lib/aspose_pdf_cloud/models/epub_recognition_mode.rb
363
+ - lib/aspose_pdf_cloud/models/error.rb
364
+ - lib/aspose_pdf_cloud/models/error_details.rb
357
365
  - lib/aspose_pdf_cloud/models/field.rb
358
366
  - lib/aspose_pdf_cloud/models/field_response.rb
359
367
  - lib/aspose_pdf_cloud/models/field_type.rb
360
368
  - lib/aspose_pdf_cloud/models/fields.rb
361
369
  - lib/aspose_pdf_cloud/models/fields_response.rb
362
- - lib/aspose_pdf_cloud/models/file.rb
363
370
  - lib/aspose_pdf_cloud/models/file_attachment_annotation.rb
364
371
  - lib/aspose_pdf_cloud/models/file_attachment_annotation_response.rb
365
372
  - lib/aspose_pdf_cloud/models/file_attachment_annotations.rb
366
373
  - lib/aspose_pdf_cloud/models/file_attachment_annotations_response.rb
367
- - lib/aspose_pdf_cloud/models/file_exist.rb
368
- - lib/aspose_pdf_cloud/models/file_exist_response.rb
369
374
  - lib/aspose_pdf_cloud/models/file_icon.rb
370
375
  - lib/aspose_pdf_cloud/models/file_version.rb
371
- - lib/aspose_pdf_cloud/models/file_versions_response.rb
372
- - lib/aspose_pdf_cloud/models/files_response.rb
376
+ - lib/aspose_pdf_cloud/models/file_versions.rb
377
+ - lib/aspose_pdf_cloud/models/files_list.rb
378
+ - lib/aspose_pdf_cloud/models/files_upload_result.rb
373
379
  - lib/aspose_pdf_cloud/models/font_encoding_rules.rb
374
380
  - lib/aspose_pdf_cloud/models/font_saving_modes.rb
375
381
  - lib/aspose_pdf_cloud/models/font_styles.rb
@@ -424,6 +430,7 @@ files:
424
430
  - lib/aspose_pdf_cloud/models/movie_annotation_response.rb
425
431
  - lib/aspose_pdf_cloud/models/movie_annotations.rb
426
432
  - lib/aspose_pdf_cloud/models/movie_annotations_response.rb
433
+ - lib/aspose_pdf_cloud/models/object_exist.rb
427
434
  - lib/aspose_pdf_cloud/models/optimize_options.rb
428
435
  - lib/aspose_pdf_cloud/models/page.rb
429
436
  - lib/aspose_pdf_cloud/models/page_number_stamp.rb
@@ -497,7 +504,8 @@ files:
497
504
  - lib/aspose_pdf_cloud/models/stamp_type.rb
498
505
  - lib/aspose_pdf_cloud/models/stamps_info.rb
499
506
  - lib/aspose_pdf_cloud/models/stamps_info_response.rb
500
- - lib/aspose_pdf_cloud/models/storage_exist_response.rb
507
+ - lib/aspose_pdf_cloud/models/storage_exist.rb
508
+ - lib/aspose_pdf_cloud/models/storage_file.rb
501
509
  - lib/aspose_pdf_cloud/models/strike_out_annotation.rb
502
510
  - lib/aspose_pdf_cloud/models/strike_out_annotation_response.rb
503
511
  - lib/aspose_pdf_cloud/models/strike_out_annotations.rb
@@ -570,6 +578,7 @@ files:
570
578
  - test_data/butterfly.jpg
571
579
  - test_data/marketing.pdf
572
580
  - test_data/rusdoc.pdf
581
+ - test_data/sample.tex
573
582
  - test_data/template.pcl
574
583
  - test_data/template.xml
575
584
  - test_data/test1234.pfx
@@ -1,11 +0,0 @@
1
- # AsposePdfCloud::AppendDocument
2
- Class for appendDocument service request building.
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **document** | **String** | Document to append (server path). |
8
- **start_page** | **Integer** | Appending start page. |
9
- **end_page** | **Integer** | Appending end page. |
10
-
11
-
@@ -1,13 +0,0 @@
1
- # AsposePdfCloud::File
2
- Represents file DTO.
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | | [optional]
8
- **is_folder** | **BOOLEAN** | |
9
- **modified_date** | **DateTime** | | [optional]
10
- **size** | **Integer** | |
11
- **path** | **String** | | [optional]
12
-
13
-
@@ -1,10 +0,0 @@
1
- # AsposePdfCloud::FileExist
2
-
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **is_exist** | **BOOLEAN** | |
8
- **is_folder** | **BOOLEAN** | |
9
-
10
-
@@ -1,11 +0,0 @@
1
- # AsposePdfCloud::FileVersionsResponse
2
-
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **code** | **Integer** | Response status code. |
8
- **status** | **String** | Response status. | [optional]
9
- **file_versions** | [**Array<FileVersion>**](FileVersion.md) | | [optional]
10
-
11
-
@@ -1,11 +0,0 @@
1
- # AsposePdfCloud::FilesResponse
2
-
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **code** | **Integer** | Response status code. |
8
- **status** | **String** | Response status. | [optional]
9
- **files** | **Array<File>** | | [optional]
10
-
11
-
@@ -1,11 +0,0 @@
1
- # AsposePdfCloud::StorageExistResponse
2
-
3
-
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **code** | **Integer** | Response status code. |
8
- **status** | **String** | Response status. | [optional]
9
- **is_exist** | **BOOLEAN** | | [optional]
10
-
11
-
@@ -1,227 +0,0 @@
1
- =begin
2
- --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2019 Aspose.PDF Cloud
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- SOFTWARE.
19
- --------------------------------------------------------------------------------------------------------------------
20
- =end
21
-
22
- require 'date'
23
- require 'time'
24
-
25
- module AsposePdfCloud
26
-
27
- class FileVersionsResponse
28
- # Response status code.
29
- attr_accessor :code
30
-
31
- # Response status.
32
- attr_accessor :status
33
-
34
- attr_accessor :file_versions
35
-
36
-
37
- # Attribute mapping from ruby-style variable name to JSON key.
38
- def self.attribute_map
39
- {
40
- :'code' => :'Code',
41
- :'status' => :'Status',
42
- :'file_versions' => :'FileVersions'
43
- }
44
- end
45
-
46
- # Attribute type mapping.
47
- def self.swagger_types
48
- {
49
- :'code' => :'Integer',
50
- :'status' => :'String',
51
- :'file_versions' => :'Array<FileVersion>'
52
- }
53
- end
54
-
55
- # Initializes the object
56
- # @param [Hash] attributes Model attributes in the form of hash
57
- def initialize(attributes = {})
58
- return unless attributes.is_a?(Hash)
59
-
60
- # convert string to symbol for hash key
61
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
62
-
63
- if attributes.has_key?(:'Code')
64
- self.code = attributes[:'Code']
65
- end
66
-
67
- if attributes.has_key?(:'Status')
68
- self.status = attributes[:'Status']
69
- end
70
-
71
- if attributes.has_key?(:'FileVersions')
72
- if (value = attributes[:'FileVersions']).is_a?(Array)
73
- self.file_versions = value
74
- end
75
- end
76
-
77
- end
78
-
79
- # Show invalid properties with the reasons. Usually used together with valid?
80
- # @return Array for valid properies with the reasons
81
- def list_invalid_properties
82
- invalid_properties = Array.new
83
- if @code.nil?
84
- invalid_properties.push("invalid value for 'code', code cannot be nil.")
85
- end
86
-
87
- return invalid_properties
88
- end
89
-
90
- # Check to see if the all the properties in the model are valid
91
- # @return true if the model is valid
92
- def valid?
93
- return false if @code.nil?
94
- return true
95
- end
96
-
97
- # Checks equality by comparing each attribute.
98
- # @param [Object] Object to be compared
99
- def ==(o)
100
- return true if self.equal?(o)
101
- self.class == o.class &&
102
- code == o.code &&
103
- status == o.status &&
104
- file_versions == o.file_versions
105
- end
106
-
107
- # @see the `==` method
108
- # @param [Object] Object to be compared
109
- def eql?(o)
110
- self == o
111
- end
112
-
113
- # Calculates hash code according to all attributes.
114
- # @return [Fixnum] Hash code
115
- def hash
116
- [code, status, file_versions].hash
117
- end
118
-
119
- # Builds the object from hash
120
- # @param [Hash] attributes Model attributes in the form of hash
121
- # @return [Object] Returns the model itself
122
- def build_from_hash(attributes)
123
- return nil unless attributes.is_a?(Hash)
124
- self.class.swagger_types.each_pair do |key, type|
125
- if type =~ /\AArray<(.*)>/i
126
- # check to ensure the input is an array given that the the attribute
127
- # is documented as an array but the input is not
128
- if attributes[self.class.attribute_map[key]].is_a?(Array)
129
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
130
- end
131
- elsif !attributes[self.class.attribute_map[key]].nil?
132
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
133
- end # or else data not found in attributes(hash), not an issue as the data can be optional
134
- end
135
-
136
- self
137
- end
138
-
139
- # Deserializes the data based on type
140
- # @param string type Data type
141
- # @param string value Value to be deserialized
142
- # @return [Object] Deserialized data
143
- def _deserialize(type, value)
144
- case type.to_sym
145
- when :DateTime
146
- format = (value.include? '+') ? '/Date(%Q%z)/' : '/Date(%Q)/'
147
- Time.strptime(value, format).utc.to_datetime
148
- when :Date
149
- format = (value.include? '+') ? '/Date(%Q%z)/' : '/Date(%Q)/'
150
- Time.strptime(value, format).utc.to_datetime.to_date
151
- when :String
152
- value.to_s
153
- when :Integer
154
- value.to_i
155
- when :Float
156
- value.to_f
157
- when :BOOLEAN
158
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
159
- true
160
- else
161
- false
162
- end
163
- when :Object
164
- # generic object (usually a Hash), return directly
165
- value
166
- when /\AArray<(?<inner_type>.+)>\z/
167
- inner_type = Regexp.last_match[:inner_type]
168
- value.map { |v| _deserialize(inner_type, v) }
169
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
170
- k_type = Regexp.last_match[:k_type]
171
- v_type = Regexp.last_match[:v_type]
172
- {}.tap do |hash|
173
- value.each do |k, v|
174
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
175
- end
176
- end
177
- else # model
178
- temp_model = AsposePdfCloud.const_get(type).new
179
- temp_model.build_from_hash(value)
180
- end
181
- end
182
-
183
- # Returns the string representation of the object
184
- # @return [String] String presentation of the object
185
- def to_s
186
- to_hash.to_s
187
- end
188
-
189
- # to_body is an alias to to_hash (backward compatibility)
190
- # @return [Hash] Returns the object in the form of hash
191
- def to_body
192
- to_hash
193
- end
194
-
195
- # Returns the object in the form of hash
196
- # @return [Hash] Returns the object in the form of hash
197
- def to_hash
198
- hash = {}
199
- self.class.attribute_map.each_pair do |attr, param|
200
- value = self.send(attr)
201
- next if value.nil?
202
- hash[param] = _to_hash(value)
203
- end
204
- hash
205
- end
206
-
207
- # Outputs non-array value in the form of hash
208
- # For object, use to_hash. Otherwise, just return the value
209
- # @param [Object] value Any valid value
210
- # @return [Hash] Returns the value in the form of hash
211
- def _to_hash(value)
212
- if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
214
- elsif value.is_a?(Hash)
215
- {}.tap do |hash|
216
- value.each { |k, v| hash[k] = _to_hash(v) }
217
- end
218
- elsif value.respond_to? :to_hash
219
- value.to_hash
220
- else
221
- value
222
- end
223
- end
224
-
225
- end
226
-
227
- end