aspose_cells_cloud 20.4 → 20.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_cells_cloud.rb +8 -1
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +19867 -19164
  4. data/lib/aspose_cells_cloud/api_client.rb +489 -489
  5. data/lib/aspose_cells_cloud/api_error.rb +18 -8
  6. data/lib/aspose_cells_cloud/models/cells_cloud_file_info.rb +230 -0
  7. data/lib/aspose_cells_cloud/models/{error.rb → cells_error.rb} +1 -1
  8. data/lib/aspose_cells_cloud/models/files_upload_result.rb +1 -1
  9. data/lib/aspose_cells_cloud/models/save_result.rb +8 -26
  10. data/lib/aspose_cells_cloud/models/sparkline.rb +226 -0
  11. data/lib/aspose_cells_cloud/models/sparkline_group.rb +434 -0
  12. data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +221 -0
  13. data/lib/aspose_cells_cloud/models/sparkline_groups.rb +200 -0
  14. data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +221 -0
  15. data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
  16. data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +239 -0
  17. data/lib/aspose_cells_cloud/version.rb +25 -25
  18. data/spec/api/cells_api_spec.rb +30 -29
  19. data/spec/api/cells_auto_filter_api_spec.rb +2 -1
  20. data/spec/api/cells_autoshapes_api_spec.rb +2 -1
  21. data/spec/api/cells_chart_area_api_spec.rb +2 -1
  22. data/spec/api/cells_charts_api_spec.rb +2 -1
  23. data/spec/api/cells_conditional_formattings_api_spec.rb +2 -1
  24. data/spec/api/cells_hypelinks_api_spec.rb +2 -1
  25. data/spec/api/cells_list_objects_api_spec.rb +2 -1
  26. data/spec/api/cells_ole_objects_api_spec.rb +5 -2
  27. data/spec/api/cells_page_breaks_api_spec.rb +4 -3
  28. data/spec/api/cells_page_setup_api_spec.rb +2 -1
  29. data/spec/api/cells_pictures_api_spec.rb +4 -2
  30. data/spec/api/cells_pivot_tables_api_spec.rb +37 -29
  31. data/spec/api/cells_properties_api_spec.rb +2 -1
  32. data/spec/api/cells_ranges_api_spec.rb +2 -1
  33. data/spec/api/cells_save_as_api_spec.rb +4 -3
  34. data/spec/api/cells_shapes_api_spec.rb +3 -2
  35. data/spec/api/cells_simple_spec.rb +2 -1
  36. data/spec/api/cells_sparkline_group_spec.rb +43 -0
  37. data/spec/api/cells_storage_api_spec.rb +69 -68
  38. data/spec/api/cells_storage_spec.rb +3 -2
  39. data/spec/api/cells_task_api_spec.rb +3 -2
  40. data/spec/api/cells_workbook_api_spec.rb +32 -29
  41. data/spec/api/cells_worksheet_validations_api_spec.rb +2 -1
  42. data/spec/api/cells_worksheets_api_spec.rb +60 -58
  43. data/spec/spec_helper.rb +4 -2
  44. metadata +31 -291
  45. data/Gemfile +0 -7
  46. data/LICENSE +0 -21
  47. data/README.md +0 -104
  48. data/Rakefile +0 -8
  49. data/aspose_cells_cloud-20.2.gem +0 -0
  50. data/aspose_cells_cloud.gemspec +0 -48
  51. data/data/Book1.xlsx +0 -0
  52. data/data/ImportData.xlsx +0 -0
  53. data/data/NewCopy.xlsx +0 -0
  54. data/data/OLEDoc.docx +0 -0
  55. data/data/PivTestFile2.xlsx +0 -0
  56. data/data/ReportData.xml +0 -1
  57. data/data/TestCase.xlsx +0 -0
  58. data/data/TestImportData.xlsx +0 -0
  59. data/data/TestImportDataCSV.csv +0 -3
  60. data/data/WaterMark.png +0 -0
  61. data/data/markdowntest.md +0 -41
  62. data/data/myDocument.xlsx +0 -0
  63. data/data/word.jpg +0 -0
  64. data/docs/AboveAverage.md +0 -10
  65. data/docs/AccessTokenResponse.md +0 -15
  66. data/docs/Area.md +0 -13
  67. data/docs/AutoFilter.md +0 -11
  68. data/docs/AutoFilterResponse.md +0 -10
  69. data/docs/AutoFitterOptions.md +0 -10
  70. data/docs/AutoShape.md +0 -42
  71. data/docs/AutoShapeResponse.md +0 -10
  72. data/docs/AutoShapes.md +0 -9
  73. data/docs/AutoShapesResponse.md +0 -10
  74. data/docs/Border.md +0 -10
  75. data/docs/CalculationOptions.md +0 -11
  76. data/docs/Cell.md +0 -24
  77. data/docs/CellArea.md +0 -11
  78. data/docs/CellResponse.md +0 -10
  79. data/docs/CellValue.md +0 -12
  80. data/docs/Cells.md +0 -14
  81. data/docs/CellsApi.md +0 -14581
  82. data/docs/CellsCloudResponse.md +0 -9
  83. data/docs/CellsColor.md +0 -12
  84. data/docs/CellsDocumentProperties.md +0 -9
  85. data/docs/CellsDocumentPropertiesResponse.md +0 -10
  86. data/docs/CellsDocumentProperty.md +0 -11
  87. data/docs/CellsDocumentPropertyResponse.md +0 -10
  88. data/docs/CellsObjectOperateTaskParameter.md +0 -10
  89. data/docs/CellsResponse.md +0 -10
  90. data/docs/Chart.md +0 -51
  91. data/docs/ChartArea.md +0 -21
  92. data/docs/ChartAreaResponse.md +0 -10
  93. data/docs/ChartFrame.md +0 -21
  94. data/docs/ChartOperateParameter.md +0 -17
  95. data/docs/Charts.md +0 -9
  96. data/docs/ChartsResponse.md +0 -10
  97. data/docs/Color.md +0 -11
  98. data/docs/ColorFilter.md +0 -12
  99. data/docs/ColorFilterRequest.md +0 -10
  100. data/docs/ColorScale.md +0 -13
  101. data/docs/Column.md +0 -13
  102. data/docs/ColumnResponse.md +0 -10
  103. data/docs/Columns.md +0 -11
  104. data/docs/ColumnsResponse.md +0 -10
  105. data/docs/Comment.md +0 -19
  106. data/docs/CommentResponse.md +0 -10
  107. data/docs/Comments.md +0 -9
  108. data/docs/CommentsResponse.md +0 -10
  109. data/docs/ConditionalFormatting.md +0 -10
  110. data/docs/ConditionalFormattingIcon.md +0 -10
  111. data/docs/ConditionalFormattingResponse.md +0 -10
  112. data/docs/ConditionalFormattingValue.md +0 -10
  113. data/docs/ConditionalFormattings.md +0 -10
  114. data/docs/ConditionalFormattingsResponse.md +0 -10
  115. data/docs/ConvertTaskParameter.md +0 -10
  116. data/docs/CopyOptions.md +0 -13
  117. data/docs/CreatePivotTableRequest.md +0 -14
  118. data/docs/CustomFilter.md +0 -9
  119. data/docs/CustomParserConfig.md +0 -10
  120. data/docs/DataBar.md +0 -19
  121. data/docs/DataBarBorder.md +0 -9
  122. data/docs/DataSorter.md +0 -11
  123. data/docs/DifSaveOptions.md +0 -15
  124. data/docs/DiscUsage.md +0 -9
  125. data/docs/DynamicFilter.md +0 -10
  126. data/docs/Error.md +0 -11
  127. data/docs/ErrorDetails.md +0 -9
  128. data/docs/FileSource.md +0 -9
  129. data/docs/FileVersion.md +0 -14
  130. data/docs/FileVersions.md +0 -8
  131. data/docs/FilesList.md +0 -8
  132. data/docs/FilesUploadResult.md +0 -9
  133. data/docs/FillFormat.md +0 -13
  134. data/docs/FillFormatResponse.md +0 -10
  135. data/docs/FilterColumn.md +0 -16
  136. data/docs/Font.md +0 -17
  137. data/docs/FontSetting.md +0 -12
  138. data/docs/FormatCondition.md +0 -22
  139. data/docs/GradientFill.md +0 -11
  140. data/docs/GradientFillStop.md +0 -10
  141. data/docs/HorizontalPageBreak.md +0 -10
  142. data/docs/HorizontalPageBreakResponse.md +0 -10
  143. data/docs/HorizontalPageBreaks.md +0 -9
  144. data/docs/HorizontalPageBreaksResponse.md +0 -10
  145. data/docs/HtmlSaveOptions.md +0 -27
  146. data/docs/Hyperlink.md +0 -12
  147. data/docs/HyperlinkResponse.md +0 -10
  148. data/docs/Hyperlinks.md +0 -10
  149. data/docs/HyperlinksResponse.md +0 -10
  150. data/docs/IconFilter.md +0 -9
  151. data/docs/IconSet.md +0 -13
  152. data/docs/ImageSaveOptions.md +0 -27
  153. data/docs/ImportBatchDataOption.md +0 -12
  154. data/docs/ImportCSVDataOption.md +0 -17
  155. data/docs/ImportDataTaskParameter.md +0 -10
  156. data/docs/ImportDoubleArrayOption.md +0 -15
  157. data/docs/ImportIntArrayOption.md +0 -15
  158. data/docs/ImportOption.md +0 -11
  159. data/docs/ImportStringArrayOption.md +0 -15
  160. data/docs/Legend.md +0 -23
  161. data/docs/LegendResponse.md +0 -10
  162. data/docs/Line.md +0 -26
  163. data/docs/LineFormat.md +0 -24
  164. data/docs/LineResponse.md +0 -10
  165. data/docs/Link.md +0 -11
  166. data/docs/LinkElement.md +0 -8
  167. data/docs/ListColumn.md +0 -9
  168. data/docs/ListObject.md +0 -23
  169. data/docs/ListObjectOperateParameter.md +0 -9
  170. data/docs/ListObjectResponse.md +0 -10
  171. data/docs/ListObjects.md +0 -9
  172. data/docs/ListObjectsResponse.md +0 -10
  173. data/docs/MHtmlSaveOptions.md +0 -27
  174. data/docs/MarkdownSaveOptions.md +0 -18
  175. data/docs/MergedCell.md +0 -12
  176. data/docs/MergedCellResponse.md +0 -10
  177. data/docs/MergedCells.md +0 -10
  178. data/docs/MergedCellsResponse.md +0 -10
  179. data/docs/MultipleFilter.md +0 -7
  180. data/docs/MultipleFilters.md +0 -9
  181. data/docs/Name.md +0 -15
  182. data/docs/NameResponse.md +0 -10
  183. data/docs/Names.md +0 -10
  184. data/docs/NamesResponse.md +0 -10
  185. data/docs/NegativeBarFormat.md +0 -11
  186. data/docs/ObjectExist.md +0 -9
  187. data/docs/OdsSaveOptions.md +0 -15
  188. data/docs/OleObject.md +0 -49
  189. data/docs/OleObjectResponse.md +0 -10
  190. data/docs/OleObjects.md +0 -9
  191. data/docs/OleObjectsResponse.md +0 -10
  192. data/docs/OoxmlSaveOptions.md +0 -16
  193. data/docs/OperateObject.md +0 -9
  194. data/docs/OperateObjectPosition.md +0 -13
  195. data/docs/OperateParameter.md +0 -8
  196. data/docs/PageBreakOperateParameter.md +0 -14
  197. data/docs/PageSection.md +0 -12
  198. data/docs/PageSectionsResponse.md +0 -10
  199. data/docs/PageSetup.md +0 -42
  200. data/docs/PageSetupOperateParameter.md +0 -9
  201. data/docs/PageSetupResponse.md +0 -10
  202. data/docs/PasswordRequest.md +0 -8
  203. data/docs/PasteOptions.md +0 -11
  204. data/docs/PatternFill.md +0 -14
  205. data/docs/PdfSaveOptions.md +0 -25
  206. data/docs/PdfSecurityOptions.md +0 -17
  207. data/docs/PicFormatOption.md +0 -13
  208. data/docs/Picture.md +0 -48
  209. data/docs/PictureResponse.md +0 -10
  210. data/docs/Pictures.md +0 -9
  211. data/docs/PicturesResponse.md +0 -10
  212. data/docs/PivotField.md +0 -46
  213. data/docs/PivotFieldResponse.md +0 -10
  214. data/docs/PivotFilter.md +0 -16
  215. data/docs/PivotFilterResponse.md +0 -10
  216. data/docs/PivotFiltersResponse.md +0 -10
  217. data/docs/PivotItem.md +0 -11
  218. data/docs/PivotTable.md +0 -76
  219. data/docs/PivotTableFieldRequest.md +0 -8
  220. data/docs/PivotTableOperateParameter.md +0 -16
  221. data/docs/PivotTableResponse.md +0 -10
  222. data/docs/PivotTables.md +0 -9
  223. data/docs/PivotTablesResponse.md +0 -10
  224. data/docs/ProtectSheetParameter.md +0 -23
  225. data/docs/Range.md +0 -16
  226. data/docs/RangeCopyRequest.md +0 -11
  227. data/docs/RangeSetOutlineBorderRequest.md +0 -11
  228. data/docs/RangeSetStyleRequest.md +0 -9
  229. data/docs/RangeValueResponse.md +0 -10
  230. data/docs/Ranges.md +0 -8
  231. data/docs/RangesResponse.md +0 -10
  232. data/docs/ResultDestination.md +0 -10
  233. data/docs/Row.md +0 -15
  234. data/docs/RowResponse.md +0 -10
  235. data/docs/Rows.md +0 -11
  236. data/docs/RowsResponse.md +0 -10
  237. data/docs/SaveOptions.md +0 -15
  238. data/docs/SaveResponse.md +0 -10
  239. data/docs/SaveResult.md +0 -10
  240. data/docs/SaveResultTaskParameter.md +0 -9
  241. data/docs/ShadowEffect.md +0 -14
  242. data/docs/Shape.md +0 -42
  243. data/docs/ShapeOperateParameter.md +0 -9
  244. data/docs/ShapeResponse.md +0 -10
  245. data/docs/Shapes.md +0 -9
  246. data/docs/ShapesResponse.md +0 -10
  247. data/docs/SingleValue.md +0 -9
  248. data/docs/SingleValueResponse.md +0 -10
  249. data/docs/SmartMarkerTaskParameter.md +0 -10
  250. data/docs/SolidFill.md +0 -10
  251. data/docs/SortKey.md +0 -10
  252. data/docs/SplitResult.md +0 -8
  253. data/docs/SplitResultDocument.md +0 -9
  254. data/docs/SplitResultResponse.md +0 -10
  255. data/docs/SplitWorkbookTaskParameter.md +0 -13
  256. data/docs/SpreadsheetML2003SaveOptions.md +0 -18
  257. data/docs/StorageExist.md +0 -8
  258. data/docs/StorageFile.md +0 -12
  259. data/docs/Style.md +0 -31
  260. data/docs/StyleResponse.md +0 -10
  261. data/docs/SvgSaveOptions.md +0 -16
  262. data/docs/TaskData.md +0 -8
  263. data/docs/TaskDescription.md +0 -9
  264. data/docs/TaskParameter.md +0 -7
  265. data/docs/TextItem.md +0 -9
  266. data/docs/TextItems.md +0 -9
  267. data/docs/TextItemsResponse.md +0 -10
  268. data/docs/TextOptions.md +0 -23
  269. data/docs/TextureFill.md +0 -13
  270. data/docs/ThemeColor.md +0 -9
  271. data/docs/TilePicOption.md +0 -13
  272. data/docs/Title.md +0 -28
  273. data/docs/TitleResponse.md +0 -10
  274. data/docs/Top10.md +0 -10
  275. data/docs/Top10Filter.md +0 -11
  276. data/docs/TxtSaveOptions.md +0 -19
  277. data/docs/Validation.md +0 -24
  278. data/docs/ValidationResponse.md +0 -10
  279. data/docs/Validations.md +0 -10
  280. data/docs/ValidationsResponse.md +0 -10
  281. data/docs/ValueType.md +0 -7
  282. data/docs/VerticalPageBreak.md +0 -10
  283. data/docs/VerticalPageBreakResponse.md +0 -10
  284. data/docs/VerticalPageBreaks.md +0 -9
  285. data/docs/VerticalPageBreaksResponse.md +0 -10
  286. data/docs/Workbook.md +0 -18
  287. data/docs/WorkbookEncryptionRequest.md +0 -10
  288. data/docs/WorkbookOperateParameter.md +0 -8
  289. data/docs/WorkbookProtectionRequest.md +0 -9
  290. data/docs/WorkbookReplaceResponse.md +0 -11
  291. data/docs/WorkbookResponse.md +0 -10
  292. data/docs/WorkbookSettings.md +0 -52
  293. data/docs/WorkbookSettingsOperateParameter.md +0 -9
  294. data/docs/WorkbookSettingsResponse.md +0 -10
  295. data/docs/Worksheet.md +0 -39
  296. data/docs/WorksheetMovingRequest.md +0 -9
  297. data/docs/WorksheetReplaceResponse.md +0 -11
  298. data/docs/WorksheetResponse.md +0 -10
  299. data/docs/Worksheets.md +0 -9
  300. data/docs/WorksheetsResponse.md +0 -10
  301. data/docs/XlsSaveOptions.md +0 -15
  302. data/docs/XlsbSaveOptions.md +0 -15
  303. data/docs/XpsSaveOptions.md +0 -15
  304. data/git_push.sh +0 -55
  305. data/lib/aspose_cells_cloud/.api_client.rb.swp +0 -0
  306. data/runTest.sh +0 -4
  307. data/spec/api/cells_one_spec.rb +0 -37
  308. data/spec/api/o_auth_api_spec.rb +0 -51
  309. data/test.pdf +0 -0
  310. data/testResult.txt +0 -113
@@ -1,9 +0,0 @@
1
- # AsposeCellsCloud::WorkbookSettingsOperateParameter
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **operate_type** | **String** | | [optional]
7
- **workbook_settings** | [**WorkbookSettings**](WorkbookSettings.md) | | [optional]
8
-
9
-
@@ -1,10 +0,0 @@
1
- # AsposeCellsCloud::WorkbookSettingsResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | | [optional]
7
- **code** | **Integer** | |
8
- **settings** | [**WorkbookSettings**](WorkbookSettings.md) | | [optional]
9
-
10
-
@@ -1,39 +0,0 @@
1
- # AsposeCellsCloud::Worksheet
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **index** | **Integer** | Gets the index of sheet in the worksheets collection. |
7
- **pictures** | [**LinkElement**](LinkElement.md) | | [optional]
8
- **charts** | [**LinkElement**](LinkElement.md) | | [optional]
9
- **comments** | [**LinkElement**](LinkElement.md) | | [optional]
10
- **hyperlinks** | [**LinkElement**](LinkElement.md) | | [optional]
11
- **is_visible** | **BOOLEAN** | Represents if the worksheet is visible. | [optional]
12
- **view_type** | **String** | Gets and sets the view type. | [optional]
13
- **type** | **String** | Represents worksheet type | [optional]
14
- **is_gridlines_visible** | **BOOLEAN** | Gets or sets a value indicating whether the gridelines are visible.Default is true. | [optional]
15
- **is_row_column_headers_visible** | **BOOLEAN** | Gets or sets a value indicating whether the worksheet will display row and column headers.Default is true. | [optional]
16
- **is_page_break_preview** | **BOOLEAN** | Indications the specified worksheet is shown in normal view or page break preview. | [optional]
17
- **display_zeros** | **BOOLEAN** | True if zero values are displayed. | [optional]
18
- **transition_evaluation** | **BOOLEAN** | Flag indicating whether the Transition Formula Evaluation (Lotus compatibility) option is enabled. | [optional]
19
- **display_right_to_left** | **BOOLEAN** | Indicates if the specified worksheet is displayed from right to left instead of from left to right. Default is false. | [optional]
20
- **first_visible_column** | **Integer** | Represents first visible column index. | [optional]
21
- **ole_objects** | [**LinkElement**](LinkElement.md) | | [optional]
22
- **is_outline_shown** | **BOOLEAN** | Indicates whether show outline. | [optional]
23
- **name** | **String** | Gets or sets the name of the worksheet. | [optional]
24
- **auto_shapes** | [**LinkElement**](LinkElement.md) | | [optional]
25
- **cells** | [**LinkElement**](LinkElement.md) | | [optional]
26
- **validations** | [**LinkElement**](LinkElement.md) | | [optional]
27
- **zoom** | **Integer** | Represents the scaling factor in percent. It should be btween 10 and 400. | [optional]
28
- **conditional_formattings** | [**LinkElement**](LinkElement.md) | | [optional]
29
- **is_selected** | **BOOLEAN** | Indicates whether this worksheet is selected when the workbook is opened. | [optional]
30
- **tab_color** | [**Color**](Color.md) | Represents worksheet tab color. | [optional]
31
- **first_visible_row** | **Integer** | Represents first visible row index. | [optional]
32
- **transition_entry** | **BOOLEAN** | Flag indicating whether the Transition Formula Entry (Lotus compatibility) option is enabled. | [optional]
33
- **visibility_type** | **String** | Indicates the state for this sheet visibility | [optional]
34
- **is_ruler_visible** | **BOOLEAN** | Indicates whether the ruler is visible. Only apply for page break preview. | [optional]
35
- **links** | [**Array<Link>**](Link.md) | | [optional]
36
- **is_protected** | **BOOLEAN** | Indicates if the worksheet is protected. |
37
- **merged_cells** | [**LinkElement**](LinkElement.md) | | [optional]
38
-
39
-
@@ -1,9 +0,0 @@
1
- # AsposeCellsCloud::WorksheetMovingRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **position** | **String** | Position to move. Can be BEFORE or AFTER. | [optional]
7
- **destination_worksheet** | **String** | Destination worksheet name. | [optional]
8
-
9
-
@@ -1,11 +0,0 @@
1
- # AsposeCellsCloud::WorksheetReplaceResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | | [optional]
7
- **code** | **Integer** | |
8
- **matches** | **Integer** | |
9
- **worksheet** | [**LinkElement**](LinkElement.md) | | [optional]
10
-
11
-
@@ -1,10 +0,0 @@
1
- # AsposeCellsCloud::WorksheetResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | | [optional]
7
- **code** | **Integer** | |
8
- **worksheet** | [**Worksheet**](Worksheet.md) | | [optional]
9
-
10
-
@@ -1,9 +0,0 @@
1
- # AsposeCellsCloud::Worksheets
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **link** | [**Link**](Link.md) | | [optional]
7
- **worksheet_list** | [**Array<LinkElement>**](LinkElement.md) | | [optional]
8
-
9
-
@@ -1,10 +0,0 @@
1
- # AsposeCellsCloud::WorksheetsResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | | [optional]
7
- **code** | **Integer** | |
8
- **worksheets** | [**Worksheets**](Worksheets.md) | | [optional]
9
-
10
-
@@ -1,15 +0,0 @@
1
- # AsposeCellsCloud::XlsSaveOptions
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **enable_http_compression** | **BOOLEAN** | | [optional]
7
- **save_format** | **String** | | [optional]
8
- **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
- **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
- **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
- **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
- **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
- **sort_names** | **BOOLEAN** | | [optional]
14
-
15
-
@@ -1,15 +0,0 @@
1
- # AsposeCellsCloud::XlsbSaveOptions
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **enable_http_compression** | **BOOLEAN** | | [optional]
7
- **save_format** | **String** | | [optional]
8
- **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
- **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
- **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
- **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
- **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
- **sort_names** | **BOOLEAN** | | [optional]
14
-
15
-
@@ -1,15 +0,0 @@
1
- # AsposeCellsCloud::XpsSaveOptions
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **enable_http_compression** | **BOOLEAN** | | [optional]
7
- **save_format** | **String** | | [optional]
8
- **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
- **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
- **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
- **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
- **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
- **sort_names** | **BOOLEAN** | | [optional]
14
-
15
-
@@ -1,55 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
- #
5
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
- #
7
- # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
-
9
- git_user_id=$1
10
- git_repo_id=$2
11
- release_note=$3
12
-
13
- if [ "$git_user_id" = "" ]; then
14
- git_user_id="GIT_USER_ID"
15
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
- fi
17
-
18
- if [ "$git_repo_id" = "" ]; then
19
- git_repo_id="GIT_REPO_ID"
20
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
- fi
22
-
23
- if [ "$release_note" = "" ]; then
24
- release_note="Minor update"
25
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
- fi
27
-
28
- # Initialize the local directory as a Git repository
29
- git init
30
-
31
- # Adds the files in the local repository and stages them for commit.
32
- git add .
33
-
34
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
- git commit -m "$release_note"
36
-
37
- # Sets the new remote
38
- git_remote=`git remote`
39
- if [ "$git_remote" = "" ]; then # git remote not defined
40
-
41
- if [ "$GIT_TOKEN" = "" ]; then
42
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
43
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
- else
45
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
- fi
47
-
48
- fi
49
-
50
- git pull origin master
51
-
52
- # Pushes (Forces) the changes in the local repository up to the remote repository
53
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
- git push origin master 2>&1 | grep -v 'To https'
55
-
data/runTest.sh DELETED
@@ -1,4 +0,0 @@
1
- echo "start running test case."
2
- ls -l spec/api | awk '{ print "spec/api/"$9} ' | xargs rspec > testResult.txt
3
- echo "Test over."
4
-
@@ -1,37 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- # Unit tests for AsposeCellsCloud::CellsTaskApi
5
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
6
- # Please update as you see appropriate
7
- describe 'CellsTaskApi' do
8
- before do
9
- @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,"v3.0")
10
- end
11
-
12
- after do
13
- # run after each test
14
- end
15
-
16
-
17
- # unit tests for one case
18
-
19
- describe 'cells_get_worksheet_cell test' do
20
- it "should work" do
21
- name = $BOOK1
22
- sheet_name = $SHEET1
23
- cell_or_method_name = 'firstcell'
24
- folder = $TEMPFOLDER
25
- storage = nil
26
- result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
27
- expect(result.uploaded.size).to be > 0
28
- result = @instance.cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, { :folder=>folder})
29
- print(result[0])
30
- print(result[1])
31
- print(result[2])
32
- #expect(result.code).to eql(200)
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- end
@@ -1,51 +0,0 @@
1
- =begin
2
- #Web API Swagger specification
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for AsposeCellsCloud::OAuthApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'OAuthApi' do
20
- before do
21
- # run before each test
22
- @configure = AsposeCellsCloud::Configuration.new
23
- @configure.base_path = ""
24
- @client = AsposeCellsCloud::ApiClient.new(@configure)
25
- @instance = AsposeCellsCloud::CellsApi.new(@client)
26
- end
27
-
28
- after do
29
- # run after each test
30
- end
31
-
32
- # unit tests for o_auth_post
33
- # Get Access token
34
- #
35
- # @param grant_type Grant Type
36
- # @param client_id App SID
37
- # @param client_secret App Key
38
- # @param [Hash] opts the optional parameters
39
- # @return [AccessTokenResponse]
40
- describe 'o_auth_post test' do
41
- it "should work" do
42
- grant_type = $grant_type
43
- client_id = $client_id
44
- client_secret = $client_secret
45
- $access_token = @instance.o_auth_post(grant_type,client_id,client_secret).access_token
46
-
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
- end
data/test.pdf DELETED
File without changes
@@ -1,113 +0,0 @@
1
- ...F.................................................I, [2020-03-22T21:30:33.167658 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-1acqva7, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
2
- ......I, [2020-03-22T21:31:22.647693 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-1ibijum, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
3
- .....................................I, [2020-03-22T21:36:52.720900 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-14o1t98, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
4
- ......I, [2020-03-22T21:37:47.594609 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-1xyhlkc, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
5
- ..................I, [2020-03-22T21:40:23.916200 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-zb2h8c, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
6
- ...........F...........................F.........I, [2020-03-22T21:48:57.338898 #30250] INFO -- : Temp file written to /tmp/Book1.xlsx;-20200322-30250-mmoz22, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
7
- ..I, [2020-03-22T21:50:06.656228 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-1ws8fkd, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
8
- .I, [2020-03-22T21:50:15.775244 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-hqmv0f, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
9
- ..........I, [2020-03-22T21:52:28.960204 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-h226hj, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
10
- ......I, [2020-03-22T21:53:33.159184 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-adncg7, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
11
- ...F..............F..I, [2020-03-22T21:59:09.630937 #30250] INFO -- : Temp file written to /tmp/download-20200322-30250-czh96p, please copy the file to a proper folder with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file will be deleted automatically with GC. It's also recommended to delete the temp file explicitly with `tempfile.delete`
12
- ...........................F
13
-
14
- Failures:
15
-
16
- 1) CellsApi cells_get_worksheet_cell test should work
17
- Failure/Error: expect(result.code).to eql(200)
18
-
19
- NoMethodError:
20
- undefined method `code' for #<Hash:0x000055aa4e7d6470>
21
- # ./spec/api/cells_api_spec.rb:132:in `block (3 levels) in <top (required)>'
22
-
23
- 2) CellsPivotTablesApi cells_pivot_tables_post_pivot_table_field_hide_item test should work
24
- Failure/Error:
25
- fail ApiError.new(:code => response.status,
26
- :response_headers => response.headers,
27
- :response_body => response.body),
28
- response.reason_phrase
29
-
30
- AsposeCellsCloud::ApiError:
31
- Bad Request
32
- # ./lib/aspose_cells_cloud/api_client.rb:78:in `call_api'
33
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19151:in `upload_file_with_http_info'
34
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19105:in `upload_file'
35
- # ./spec/api/cells_pivot_tables_api_spec.rb:174:in `block (3 levels) in <top (required)>'
36
-
37
- 3) CellsSaveAsApi cells_save_as_post_document_save_as test should work
38
- Failure/Error:
39
- fail ApiError.new(:code => response.status,
40
- :response_headers => response.headers,
41
- :response_body => response.body),
42
- response.reason_phrase
43
-
44
- AsposeCellsCloud::ApiError:
45
- Bad Request
46
- # ./lib/aspose_cells_cloud/api_client.rb:78:in `call_api'
47
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19151:in `upload_file_with_http_info'
48
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19105:in `upload_file'
49
- # ./spec/api/cells_save_as_api_spec.rb:38:in `block (3 levels) in <top (required)>'
50
-
51
- 4) CellsWorkbookApi cells_workbook_delete_workbook_names test should work
52
- Failure/Error:
53
- fail ApiError.new(:code => response.status,
54
- :response_headers => response.headers,
55
- :response_body => response.body),
56
- response.reason_phrase
57
-
58
- AsposeCellsCloud::ApiError:
59
- Bad Request
60
- # ./lib/aspose_cells_cloud/api_client.rb:78:in `call_api'
61
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19151:in `upload_file_with_http_info'
62
- # ./lib/aspose_cells_cloud/api/cells_api.rb:19105:in `upload_file'
63
- # ./spec/api/cells_workbook_api_spec.rb:505:in `block (3 levels) in <top (required)>'
64
-
65
- 5) CellsWorksheetsApi cells_worksheets_delete_worksheet_comments test should work
66
- Failure/Error:
67
- return conn.delete url do |c|
68
- c.body = req_opts[:body]
69
- end
70
-
71
- Faraday::ConnectionFailed:
72
- Net::OpenTimeout
73
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:149:in `request_via_request_method'
74
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:135:in `request_with_wrapped_block'
75
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:126:in `perform_request'
76
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:68:in `block in call'
77
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter.rb:60:in `connection'
78
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:66:in `call'
79
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/request/url_encoded.rb:23:in `call'
80
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/request/multipart.rb:25:in `call'
81
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/rack_builder.rb:153:in `build_response'
82
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/connection.rb:492:in `run_request'
83
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/connection.rb:198:in `delete'
84
- # ./lib/aspose_cells_cloud/api_client.rb:151:in `build_request'
85
- # ./lib/aspose_cells_cloud/api_client.rb:64:in `call_api'
86
- # ./lib/aspose_cells_cloud/api/cells_api.rb:16024:in `cells_worksheets_delete_worksheet_comments_with_http_info'
87
- # ./lib/aspose_cells_cloud/api/cells_api.rb:15977:in `cells_worksheets_delete_worksheet_comments'
88
- # ./spec/api/cells_worksheets_api_spec.rb:116:in `block (3 levels) in <top (required)>'
89
- # ------------------
90
- # --- Caused by: ---
91
- # Net::OpenTimeout:
92
- # Net::OpenTimeout
93
- # /var/lib/gems/2.5.0/gems/faraday-1.0.0/lib/faraday/adapter/net_http.rb:149:in `request_via_request_method'
94
-
95
- 6) OAuthApi o_auth_post test should work
96
- Failure/Error: @configure.base_path = ""
97
-
98
- NoMethodError:
99
- undefined method `base_path=' for #<AsposeCellsCloud::Configuration:0x000055aa4d0f0490>
100
- # ./spec/api/o_auth_api_spec.rb:23:in `block (2 levels) in <top (required)>'
101
-
102
- Finished in 38 minutes 53 seconds (files took 0.81619 seconds to load)
103
- 237 examples, 6 failures
104
-
105
- Failed examples:
106
-
107
- rspec ./spec/api/cells_api_spec.rb:123 # CellsApi cells_get_worksheet_cell test should work
108
- rspec ./spec/api/cells_pivot_tables_api_spec.rb:164 # CellsPivotTablesApi cells_pivot_tables_post_pivot_table_field_hide_item test should work
109
- rspec ./spec/api/cells_save_as_api_spec.rb:31 # CellsSaveAsApi cells_save_as_post_document_save_as test should work
110
- rspec ./spec/api/cells_workbook_api_spec.rb:502 # CellsWorkbookApi cells_workbook_delete_workbook_names test should work
111
- rspec ./spec/api/cells_worksheets_api_spec.rb:110 # CellsWorksheetsApi cells_worksheets_delete_worksheet_comments test should work
112
- rspec ./spec/api/o_auth_api_spec.rb:41 # OAuthApi o_auth_post test should work
113
-