aspose_cells_cloud 20.7 → 20.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +46 -52
- data/lib/aspose_cells_cloud.rb +7 -1
- data/lib/aspose_cells_cloud/api/cells_api.rb +19867 -19233
- data/lib/aspose_cells_cloud/api_client.rb +493 -489
- data/lib/aspose_cells_cloud/api_error.rb +18 -8
- data/lib/aspose_cells_cloud/configuration.rb +4 -4
- 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 -239
- data/lib/aspose_cells_cloud/version.rb +25 -25
- data/spec/api/cells_api_spec.rb +2 -1
- data/spec/api/cells_auto_filter_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 +2 -1
- data/spec/api/cells_page_breaks_api_spec.rb +2 -1
- data/spec/api/cells_page_setup_api_spec.rb +2 -1
- data/spec/api/cells_pictures_api_spec.rb +2 -1
- data/spec/api/cells_pivot_tables_api_spec.rb +33 -1
- 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 +2 -1
- 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 +2 -1
- data/spec/api/cells_workbook_api_spec.rb +3 -2
- 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 +6 -3
- metadata +12 -297
- data/Gemfile +0 -7
- data/Rakefile +0 -8
- data/aspose_cells_cloud-20.2.gem +0 -0
- data/aspose_cells_cloud-20.4.gem +0 -0
- data/aspose_cells_cloud-20.6.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/runTest.sh +0 -4
- data/spec/api/cells_autoshapes_api_spec.rb +0 -66
- data/spec/api/cells_one_spec.rb +0 -37
- data/test.pdf +0 -0
- data/testResult.txt +0 -15
@@ -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
|
-
|
data/runTest.sh
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'spec_helper'
|
3
|
-
require 'json'
|
4
|
-
|
5
|
-
# Unit tests for AsposeCellsCloud::CellsAutoshapesApi
|
6
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
7
|
-
# Please update as you see appropriate
|
8
|
-
describe 'CellsAutoshapesApi' do
|
9
|
-
before do
|
10
|
-
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,"v3.0")
|
11
|
-
end
|
12
|
-
|
13
|
-
after do
|
14
|
-
# run after each test
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
# unit tests for cells_autoshapes_get_worksheet_autoshape
|
19
|
-
# Get autoshape info.
|
20
|
-
#
|
21
|
-
# @param name Document name.
|
22
|
-
# @param sheet_name Worksheet name.
|
23
|
-
# @param autoshape_number The autoshape number.
|
24
|
-
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :format Exported format.
|
26
|
-
# @option opts [String] :folder The document folder.
|
27
|
-
# @option opts [String] :storage storage name.
|
28
|
-
# @return [File]
|
29
|
-
describe 'cells_autoshapes_get_worksheet_autoshape test' do
|
30
|
-
it "should work" do
|
31
|
-
name = $MYDOC
|
32
|
-
sheet_name = $SHEET2
|
33
|
-
autoshape_number = 4
|
34
|
-
format = 'PNG'
|
35
|
-
folder = $TEMPFOLDER
|
36
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
37
|
-
expect(result.uploaded.size).to be > 0
|
38
|
-
result = @instance.cells_autoshapes_get_worksheet_autoshape(name, sheet_name, autoshape_number, { :format=>format,:folder=>folder})
|
39
|
-
# expect(result.code).not_to be_empty
|
40
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
# unit tests for cells_autoshapes_get_worksheet_autoshapes
|
45
|
-
# Get worksheet autoshapes info.
|
46
|
-
#
|
47
|
-
# @param name Document name.
|
48
|
-
# @param sheet_name The worksheet name.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @option opts [String] :folder Document's folder.
|
51
|
-
# @option opts [String] :storage storage name.
|
52
|
-
# @return [AutoShapesResponse]
|
53
|
-
describe 'cells_autoshapes_get_worksheet_autoshapes test' do
|
54
|
-
it "should work" do
|
55
|
-
name = $MYDOC
|
56
|
-
sheet_name = $SHEET1
|
57
|
-
folder = $TEMPFOLDER
|
58
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
59
|
-
expect(result.uploaded.size).to be > 0
|
60
|
-
result = @instance.cells_autoshapes_get_worksheet_autoshapes(name, sheet_name, { :folder=>folder})
|
61
|
-
expect(result.code).to eql(200)
|
62
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
end
|
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/test.pdf
DELETED
File without changes
|
data/testResult.txt
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
...{:Cell=>{:Name=>"B3", :Row=>2, :Column=>1, :Value=>"12", :Type=>"IsNumeric", :Formula=>nil, :IsFormula=>false, :IsMerged=>false, :IsArrayHeader=>false, :IsInArray=>false, :IsErrorValue=>false, :IsInTable=>false, :IsStyleSet=>false, :HtmlString=>"<Font Style=\"FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #000000;\">12</Font>", :Style=>{:link=>{:Href=>"/style", :Rel=>"self", :Title=>nil, :Type=>nil}}, :Worksheet=>nil, :link=>{:Href=>"api.aspose.cloud/v3.0/cells/Book1.xlsx/worksheets/Sheet1/cells/firstcell", :Rel=>"self", :Title=>nil, :Type=>nil}}, :Code=>200, :Status=>"OK"}.................................................I, [2020-07-23T15:59:02.933890 #523] INFO -- : Temp file written to /tmp/download-20200723-523-17z4e9g, 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-07-23T15:59:53.392850 #523] INFO -- : Temp file written to /tmp/download-20200723-523-2jhgk2, 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-07-23T16:04:31.597809 #523] INFO -- : Temp file written to /tmp/download-20200723-523-lm2t75, 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-07-23T16:07:40.165036 #523] INFO -- : Temp file written to /tmp/download-20200723-523-1ooiahr, 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-07-23T16:12:36.259327 #523] INFO -- : Temp file written to /tmp/Book1.xlsx;-20200723-523-bb79xd, 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
|
-
..I, [2020-07-23T16:13:30.726634 #523] INFO -- : Temp file written to /tmp/download-20200723-523-11gql19, 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-07-23T16:13:39.417041 #523] INFO -- : Temp file written to /tmp/download-20200723-523-1qrfcep, 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-07-23T16:15:04.316521 #523] INFO -- : Temp file written to /tmp/download-20200723-523-198lkqg, 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-07-23T16:15:51.494784 #523] INFO -- : Temp file written to /tmp/download-20200723-523-1glf7jc, 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-07-23T16:17:48.497524 #523] INFO -- : Temp file written to /tmp/download-20200723-523-dhoi1m, 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
|
-
...........................
|
12
|
-
|
13
|
-
Finished in 28 minutes 46 seconds (files took 0.68057 seconds to load)
|
14
|
-
234 examples, 0 failures
|
15
|
-
|