aspose_cells_cloud 20.4 → 20.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_cells_cloud.rb +8 -1
- data/lib/aspose_cells_cloud/api/cells_api.rb +19867 -19164
- data/lib/aspose_cells_cloud/api_client.rb +489 -489
- data/lib/aspose_cells_cloud/api_error.rb +18 -8
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info.rb +230 -0
- data/lib/aspose_cells_cloud/models/{error.rb → cells_error.rb} +1 -1
- data/lib/aspose_cells_cloud/models/files_upload_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_result.rb +8 -26
- data/lib/aspose_cells_cloud/models/sparkline.rb +226 -0
- data/lib/aspose_cells_cloud/models/sparkline_group.rb +434 -0
- data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +221 -0
- data/lib/aspose_cells_cloud/models/sparkline_groups.rb +200 -0
- data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +221 -0
- data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +239 -0
- data/lib/aspose_cells_cloud/version.rb +25 -25
- data/spec/api/cells_api_spec.rb +30 -29
- data/spec/api/cells_auto_filter_api_spec.rb +2 -1
- data/spec/api/cells_autoshapes_api_spec.rb +2 -1
- data/spec/api/cells_chart_area_api_spec.rb +2 -1
- data/spec/api/cells_charts_api_spec.rb +2 -1
- data/spec/api/cells_conditional_formattings_api_spec.rb +2 -1
- data/spec/api/cells_hypelinks_api_spec.rb +2 -1
- data/spec/api/cells_list_objects_api_spec.rb +2 -1
- data/spec/api/cells_ole_objects_api_spec.rb +5 -2
- data/spec/api/cells_page_breaks_api_spec.rb +4 -3
- data/spec/api/cells_page_setup_api_spec.rb +2 -1
- data/spec/api/cells_pictures_api_spec.rb +4 -2
- data/spec/api/cells_pivot_tables_api_spec.rb +37 -29
- data/spec/api/cells_properties_api_spec.rb +2 -1
- data/spec/api/cells_ranges_api_spec.rb +2 -1
- data/spec/api/cells_save_as_api_spec.rb +4 -3
- data/spec/api/cells_shapes_api_spec.rb +3 -2
- data/spec/api/cells_simple_spec.rb +2 -1
- data/spec/api/cells_sparkline_group_spec.rb +43 -0
- data/spec/api/cells_storage_api_spec.rb +69 -68
- data/spec/api/cells_storage_spec.rb +3 -2
- data/spec/api/cells_task_api_spec.rb +3 -2
- data/spec/api/cells_workbook_api_spec.rb +32 -29
- data/spec/api/cells_worksheet_validations_api_spec.rb +2 -1
- data/spec/api/cells_worksheets_api_spec.rb +60 -58
- data/spec/spec_helper.rb +4 -2
- metadata +31 -291
- data/Gemfile +0 -7
- data/LICENSE +0 -21
- data/README.md +0 -104
- data/Rakefile +0 -8
- data/aspose_cells_cloud-20.2.gem +0 -0
- data/aspose_cells_cloud.gemspec +0 -48
- data/data/Book1.xlsx +0 -0
- data/data/ImportData.xlsx +0 -0
- data/data/NewCopy.xlsx +0 -0
- data/data/OLEDoc.docx +0 -0
- data/data/PivTestFile2.xlsx +0 -0
- data/data/ReportData.xml +0 -1
- data/data/TestCase.xlsx +0 -0
- data/data/TestImportData.xlsx +0 -0
- data/data/TestImportDataCSV.csv +0 -3
- data/data/WaterMark.png +0 -0
- data/data/markdowntest.md +0 -41
- data/data/myDocument.xlsx +0 -0
- data/data/word.jpg +0 -0
- data/docs/AboveAverage.md +0 -10
- data/docs/AccessTokenResponse.md +0 -15
- data/docs/Area.md +0 -13
- data/docs/AutoFilter.md +0 -11
- data/docs/AutoFilterResponse.md +0 -10
- data/docs/AutoFitterOptions.md +0 -10
- data/docs/AutoShape.md +0 -42
- data/docs/AutoShapeResponse.md +0 -10
- data/docs/AutoShapes.md +0 -9
- data/docs/AutoShapesResponse.md +0 -10
- data/docs/Border.md +0 -10
- data/docs/CalculationOptions.md +0 -11
- data/docs/Cell.md +0 -24
- data/docs/CellArea.md +0 -11
- data/docs/CellResponse.md +0 -10
- data/docs/CellValue.md +0 -12
- data/docs/Cells.md +0 -14
- data/docs/CellsApi.md +0 -14581
- data/docs/CellsCloudResponse.md +0 -9
- data/docs/CellsColor.md +0 -12
- data/docs/CellsDocumentProperties.md +0 -9
- data/docs/CellsDocumentPropertiesResponse.md +0 -10
- data/docs/CellsDocumentProperty.md +0 -11
- data/docs/CellsDocumentPropertyResponse.md +0 -10
- data/docs/CellsObjectOperateTaskParameter.md +0 -10
- data/docs/CellsResponse.md +0 -10
- data/docs/Chart.md +0 -51
- data/docs/ChartArea.md +0 -21
- data/docs/ChartAreaResponse.md +0 -10
- data/docs/ChartFrame.md +0 -21
- data/docs/ChartOperateParameter.md +0 -17
- data/docs/Charts.md +0 -9
- data/docs/ChartsResponse.md +0 -10
- data/docs/Color.md +0 -11
- data/docs/ColorFilter.md +0 -12
- data/docs/ColorFilterRequest.md +0 -10
- data/docs/ColorScale.md +0 -13
- data/docs/Column.md +0 -13
- data/docs/ColumnResponse.md +0 -10
- data/docs/Columns.md +0 -11
- data/docs/ColumnsResponse.md +0 -10
- data/docs/Comment.md +0 -19
- data/docs/CommentResponse.md +0 -10
- data/docs/Comments.md +0 -9
- data/docs/CommentsResponse.md +0 -10
- data/docs/ConditionalFormatting.md +0 -10
- data/docs/ConditionalFormattingIcon.md +0 -10
- data/docs/ConditionalFormattingResponse.md +0 -10
- data/docs/ConditionalFormattingValue.md +0 -10
- data/docs/ConditionalFormattings.md +0 -10
- data/docs/ConditionalFormattingsResponse.md +0 -10
- data/docs/ConvertTaskParameter.md +0 -10
- data/docs/CopyOptions.md +0 -13
- data/docs/CreatePivotTableRequest.md +0 -14
- data/docs/CustomFilter.md +0 -9
- data/docs/CustomParserConfig.md +0 -10
- data/docs/DataBar.md +0 -19
- data/docs/DataBarBorder.md +0 -9
- data/docs/DataSorter.md +0 -11
- data/docs/DifSaveOptions.md +0 -15
- data/docs/DiscUsage.md +0 -9
- data/docs/DynamicFilter.md +0 -10
- data/docs/Error.md +0 -11
- data/docs/ErrorDetails.md +0 -9
- data/docs/FileSource.md +0 -9
- data/docs/FileVersion.md +0 -14
- data/docs/FileVersions.md +0 -8
- data/docs/FilesList.md +0 -8
- data/docs/FilesUploadResult.md +0 -9
- data/docs/FillFormat.md +0 -13
- data/docs/FillFormatResponse.md +0 -10
- data/docs/FilterColumn.md +0 -16
- data/docs/Font.md +0 -17
- data/docs/FontSetting.md +0 -12
- data/docs/FormatCondition.md +0 -22
- data/docs/GradientFill.md +0 -11
- data/docs/GradientFillStop.md +0 -10
- data/docs/HorizontalPageBreak.md +0 -10
- data/docs/HorizontalPageBreakResponse.md +0 -10
- data/docs/HorizontalPageBreaks.md +0 -9
- data/docs/HorizontalPageBreaksResponse.md +0 -10
- data/docs/HtmlSaveOptions.md +0 -27
- data/docs/Hyperlink.md +0 -12
- data/docs/HyperlinkResponse.md +0 -10
- data/docs/Hyperlinks.md +0 -10
- data/docs/HyperlinksResponse.md +0 -10
- data/docs/IconFilter.md +0 -9
- data/docs/IconSet.md +0 -13
- data/docs/ImageSaveOptions.md +0 -27
- data/docs/ImportBatchDataOption.md +0 -12
- data/docs/ImportCSVDataOption.md +0 -17
- data/docs/ImportDataTaskParameter.md +0 -10
- data/docs/ImportDoubleArrayOption.md +0 -15
- data/docs/ImportIntArrayOption.md +0 -15
- data/docs/ImportOption.md +0 -11
- data/docs/ImportStringArrayOption.md +0 -15
- data/docs/Legend.md +0 -23
- data/docs/LegendResponse.md +0 -10
- data/docs/Line.md +0 -26
- data/docs/LineFormat.md +0 -24
- data/docs/LineResponse.md +0 -10
- data/docs/Link.md +0 -11
- data/docs/LinkElement.md +0 -8
- data/docs/ListColumn.md +0 -9
- data/docs/ListObject.md +0 -23
- data/docs/ListObjectOperateParameter.md +0 -9
- data/docs/ListObjectResponse.md +0 -10
- data/docs/ListObjects.md +0 -9
- data/docs/ListObjectsResponse.md +0 -10
- data/docs/MHtmlSaveOptions.md +0 -27
- data/docs/MarkdownSaveOptions.md +0 -18
- data/docs/MergedCell.md +0 -12
- data/docs/MergedCellResponse.md +0 -10
- data/docs/MergedCells.md +0 -10
- data/docs/MergedCellsResponse.md +0 -10
- data/docs/MultipleFilter.md +0 -7
- data/docs/MultipleFilters.md +0 -9
- data/docs/Name.md +0 -15
- data/docs/NameResponse.md +0 -10
- data/docs/Names.md +0 -10
- data/docs/NamesResponse.md +0 -10
- data/docs/NegativeBarFormat.md +0 -11
- data/docs/ObjectExist.md +0 -9
- data/docs/OdsSaveOptions.md +0 -15
- data/docs/OleObject.md +0 -49
- data/docs/OleObjectResponse.md +0 -10
- data/docs/OleObjects.md +0 -9
- data/docs/OleObjectsResponse.md +0 -10
- data/docs/OoxmlSaveOptions.md +0 -16
- data/docs/OperateObject.md +0 -9
- data/docs/OperateObjectPosition.md +0 -13
- data/docs/OperateParameter.md +0 -8
- data/docs/PageBreakOperateParameter.md +0 -14
- data/docs/PageSection.md +0 -12
- data/docs/PageSectionsResponse.md +0 -10
- data/docs/PageSetup.md +0 -42
- data/docs/PageSetupOperateParameter.md +0 -9
- data/docs/PageSetupResponse.md +0 -10
- data/docs/PasswordRequest.md +0 -8
- data/docs/PasteOptions.md +0 -11
- data/docs/PatternFill.md +0 -14
- data/docs/PdfSaveOptions.md +0 -25
- data/docs/PdfSecurityOptions.md +0 -17
- data/docs/PicFormatOption.md +0 -13
- data/docs/Picture.md +0 -48
- data/docs/PictureResponse.md +0 -10
- data/docs/Pictures.md +0 -9
- data/docs/PicturesResponse.md +0 -10
- data/docs/PivotField.md +0 -46
- data/docs/PivotFieldResponse.md +0 -10
- data/docs/PivotFilter.md +0 -16
- data/docs/PivotFilterResponse.md +0 -10
- data/docs/PivotFiltersResponse.md +0 -10
- data/docs/PivotItem.md +0 -11
- data/docs/PivotTable.md +0 -76
- data/docs/PivotTableFieldRequest.md +0 -8
- data/docs/PivotTableOperateParameter.md +0 -16
- data/docs/PivotTableResponse.md +0 -10
- data/docs/PivotTables.md +0 -9
- data/docs/PivotTablesResponse.md +0 -10
- data/docs/ProtectSheetParameter.md +0 -23
- data/docs/Range.md +0 -16
- data/docs/RangeCopyRequest.md +0 -11
- data/docs/RangeSetOutlineBorderRequest.md +0 -11
- data/docs/RangeSetStyleRequest.md +0 -9
- data/docs/RangeValueResponse.md +0 -10
- data/docs/Ranges.md +0 -8
- data/docs/RangesResponse.md +0 -10
- data/docs/ResultDestination.md +0 -10
- data/docs/Row.md +0 -15
- data/docs/RowResponse.md +0 -10
- data/docs/Rows.md +0 -11
- data/docs/RowsResponse.md +0 -10
- data/docs/SaveOptions.md +0 -15
- data/docs/SaveResponse.md +0 -10
- data/docs/SaveResult.md +0 -10
- data/docs/SaveResultTaskParameter.md +0 -9
- data/docs/ShadowEffect.md +0 -14
- data/docs/Shape.md +0 -42
- data/docs/ShapeOperateParameter.md +0 -9
- data/docs/ShapeResponse.md +0 -10
- data/docs/Shapes.md +0 -9
- data/docs/ShapesResponse.md +0 -10
- data/docs/SingleValue.md +0 -9
- data/docs/SingleValueResponse.md +0 -10
- data/docs/SmartMarkerTaskParameter.md +0 -10
- data/docs/SolidFill.md +0 -10
- data/docs/SortKey.md +0 -10
- data/docs/SplitResult.md +0 -8
- data/docs/SplitResultDocument.md +0 -9
- data/docs/SplitResultResponse.md +0 -10
- data/docs/SplitWorkbookTaskParameter.md +0 -13
- data/docs/SpreadsheetML2003SaveOptions.md +0 -18
- data/docs/StorageExist.md +0 -8
- data/docs/StorageFile.md +0 -12
- data/docs/Style.md +0 -31
- data/docs/StyleResponse.md +0 -10
- data/docs/SvgSaveOptions.md +0 -16
- data/docs/TaskData.md +0 -8
- data/docs/TaskDescription.md +0 -9
- data/docs/TaskParameter.md +0 -7
- data/docs/TextItem.md +0 -9
- data/docs/TextItems.md +0 -9
- data/docs/TextItemsResponse.md +0 -10
- data/docs/TextOptions.md +0 -23
- data/docs/TextureFill.md +0 -13
- data/docs/ThemeColor.md +0 -9
- data/docs/TilePicOption.md +0 -13
- data/docs/Title.md +0 -28
- data/docs/TitleResponse.md +0 -10
- data/docs/Top10.md +0 -10
- data/docs/Top10Filter.md +0 -11
- data/docs/TxtSaveOptions.md +0 -19
- data/docs/Validation.md +0 -24
- data/docs/ValidationResponse.md +0 -10
- data/docs/Validations.md +0 -10
- data/docs/ValidationsResponse.md +0 -10
- data/docs/ValueType.md +0 -7
- data/docs/VerticalPageBreak.md +0 -10
- data/docs/VerticalPageBreakResponse.md +0 -10
- data/docs/VerticalPageBreaks.md +0 -9
- data/docs/VerticalPageBreaksResponse.md +0 -10
- data/docs/Workbook.md +0 -18
- data/docs/WorkbookEncryptionRequest.md +0 -10
- data/docs/WorkbookOperateParameter.md +0 -8
- data/docs/WorkbookProtectionRequest.md +0 -9
- data/docs/WorkbookReplaceResponse.md +0 -11
- data/docs/WorkbookResponse.md +0 -10
- data/docs/WorkbookSettings.md +0 -52
- data/docs/WorkbookSettingsOperateParameter.md +0 -9
- data/docs/WorkbookSettingsResponse.md +0 -10
- data/docs/Worksheet.md +0 -39
- data/docs/WorksheetMovingRequest.md +0 -9
- data/docs/WorksheetReplaceResponse.md +0 -11
- data/docs/WorksheetResponse.md +0 -10
- data/docs/Worksheets.md +0 -9
- data/docs/WorksheetsResponse.md +0 -10
- data/docs/XlsSaveOptions.md +0 -15
- data/docs/XlsbSaveOptions.md +0 -15
- data/docs/XpsSaveOptions.md +0 -15
- data/git_push.sh +0 -55
- data/lib/aspose_cells_cloud/.api_client.rb.swp +0 -0
- data/runTest.sh +0 -4
- data/spec/api/cells_one_spec.rb +0 -37
- data/spec/api/o_auth_api_spec.rb +0 -51
- data/test.pdf +0 -0
- 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
|
-
|
data/docs/Worksheet.md
DELETED
@@ -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
|
-
|
data/docs/WorksheetResponse.md
DELETED
@@ -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
|
-
|
data/docs/Worksheets.md
DELETED
@@ -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
|
-
|
data/docs/WorksheetsResponse.md
DELETED
@@ -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
|
-
|
data/docs/XlsSaveOptions.md
DELETED
@@ -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
|
-
|
data/docs/XlsbSaveOptions.md
DELETED
@@ -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
|
-
|
data/docs/XpsSaveOptions.md
DELETED
@@ -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
|
-
|
data/git_push.sh
DELETED
@@ -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
|
-
|
Binary file
|
data/runTest.sh
DELETED
data/spec/api/cells_one_spec.rb
DELETED
@@ -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
|
data/spec/api/o_auth_api_spec.rb
DELETED
@@ -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
|
data/testResult.txt
DELETED
@@ -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
|
-
|