aspose_cells_cloud 22.12 → 23.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/aspose_cells_cloud/api/cells_api.rb +3107 -88
- data/lib/aspose_cells_cloud/api/light_cells_api.rb +35 -0
- data/lib/aspose_cells_cloud/api_client.rb +34 -25
- data/lib/aspose_cells_cloud/api_error.rb +23 -17
- data/lib/aspose_cells_cloud/configuration.rb +26 -18
- data/lib/aspose_cells_cloud/models/above_average.rb +38 -38
- data/lib/aspose_cells_cloud/models/arc_shape.rb +714 -0
- data/lib/aspose_cells_cloud/models/arc_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/area.rb +79 -52
- data/lib/aspose_cells_cloud/models/auto_filter.rb +78 -47
- data/lib/aspose_cells_cloud/models/auto_filter_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +60 -45
- data/lib/aspose_cells_cloud/models/auto_shape.rb +407 -269
- data/lib/aspose_cells_cloud/models/auto_shape_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/auto_shapes.rb +48 -35
- data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/axis.rb +290 -188
- data/lib/aspose_cells_cloud/models/axis_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/barcode_response.rb +59 -28
- data/lib/aspose_cells_cloud/models/barcode_response_list.rb +26 -28
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +86 -38
- data/lib/aspose_cells_cloud/models/batch_lock_request.rb +270 -0
- data/lib/aspose_cells_cloud/models/batch_protect_request.rb +282 -0
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +306 -0
- data/lib/aspose_cells_cloud/models/border.rb +75 -33
- data/lib/aspose_cells_cloud/models/border_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/button.rb +642 -0
- data/lib/aspose_cells_cloud/models/button_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/calculate_formula_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/calculation_options.rb +66 -45
- data/lib/aspose_cells_cloud/models/cell.rb +177 -176
- data/lib/aspose_cells_cloud/models/cell_area.rb +60 -59
- data/lib/aspose_cells_cloud/models/cell_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cell_value.rb +76 -49
- data/lib/aspose_cells_cloud/models/cells.rb +89 -77
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info.rb +51 -35
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/cells_cloud_response.rb +44 -34
- data/lib/aspose_cells_cloud/models/cells_color.rb +109 -49
- data/lib/aspose_cells_cloud/models/cells_document_properties.rb +34 -33
- data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cells_document_property.rb +69 -57
- data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cells_drawing.rb +642 -0
- data/lib/aspose_cells_cloud/models/cells_drawing_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/cells_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/chart.rb +478 -378
- data/lib/aspose_cells_cloud/models/chart_area.rb +156 -119
- data/lib/aspose_cells_cloud/models/chart_area_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/chart_data_table.rb +306 -0
- data/lib/aspose_cells_cloud/models/chart_data_table_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_frame.rb +157 -120
- data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +149 -86
- data/lib/aspose_cells_cloud/models/chart_point.rb +306 -0
- data/lib/aspose_cells_cloud/models/chart_point_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_points.rb +222 -0
- data/lib/aspose_cells_cloud/models/chart_points_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/charts.rb +48 -35
- data/lib/aspose_cells_cloud/models/charts_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/check_box.rb +678 -0
- data/lib/aspose_cells_cloud/models/check_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/color.rb +52 -51
- data/lib/aspose_cells_cloud/models/color_filter.rb +73 -49
- data/lib/aspose_cells_cloud/models/color_filter_request.rb +48 -30
- data/lib/aspose_cells_cloud/models/color_scale.rb +82 -61
- data/lib/aspose_cells_cloud/models/column.rb +85 -58
- data/lib/aspose_cells_cloud/models/column_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/columns.rb +61 -52
- data/lib/aspose_cells_cloud/models/columns_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/combo_box.rb +714 -0
- data/lib/aspose_cells_cloud/models/combo_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/comment.rb +145 -100
- data/lib/aspose_cells_cloud/models/comment_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/comment_shape.rb +654 -0
- data/lib/aspose_cells_cloud/models/comment_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/comments.rb +48 -35
- data/lib/aspose_cells_cloud/models/comments_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/conditional_formatting.rb +55 -39
- data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +53 -54
- data/lib/aspose_cells_cloud/models/conditional_formatting_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +49 -34
- data/lib/aspose_cells_cloud/models/conditional_formattings.rb +51 -40
- data/lib/aspose_cells_cloud/models/conditional_formattings_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/convert_parameter.rb +222 -0
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +83 -50
- data/lib/aspose_cells_cloud/models/copy_options.rb +87 -65
- data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +89 -70
- data/lib/aspose_cells_cloud/models/criteria_multiple_filter.rb +210 -0
- data/lib/aspose_cells_cloud/models/custom_filter.rb +48 -33
- data/lib/aspose_cells_cloud/models/custom_parser_config.rb +55 -37
- data/lib/aspose_cells_cloud/models/data_bar.rb +144 -111
- data/lib/aspose_cells_cloud/models/data_bar_border.rb +41 -28
- data/lib/aspose_cells_cloud/models/data_labels.rb +582 -0
- data/lib/aspose_cells_cloud/models/data_labels_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/data_sorter.rb +74 -43
- data/lib/aspose_cells_cloud/models/date_time_group_item.rb +282 -0
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/disc_usage.rb +35 -32
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +426 -0
- data/lib/aspose_cells_cloud/models/display_unit_label_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/drop_bars.rb +234 -0
- data/lib/aspose_cells_cloud/models/drop_bars_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +50 -32
- data/lib/aspose_cells_cloud/models/error.rb +198 -0
- data/lib/aspose_cells_cloud/models/error_bar.rb +510 -0
- data/lib/aspose_cells_cloud/models/error_bar_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/error_details.rb +26 -42
- data/lib/aspose_cells_cloud/models/file_info.rb +44 -31
- data/lib/aspose_cells_cloud/models/file_source.rb +48 -33
- data/lib/aspose_cells_cloud/models/file_version.rb +81 -73
- data/lib/aspose_cells_cloud/models/file_versions.rb +35 -26
- data/lib/aspose_cells_cloud/models/files_list.rb +35 -26
- data/lib/aspose_cells_cloud/models/files_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/files_upload_result.rb +43 -34
- data/lib/aspose_cells_cloud/models/fill_format.rb +82 -71
- data/lib/aspose_cells_cloud/models/fill_format_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/filter_column.rb +100 -71
- data/lib/aspose_cells_cloud/models/find_response.rb +246 -0
- data/lib/aspose_cells_cloud/models/floor.rb +282 -0
- data/lib/aspose_cells_cloud/models/floor_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/font.rb +122 -83
- data/lib/aspose_cells_cloud/models/font_setting.rb +70 -56
- data/lib/aspose_cells_cloud/models/form.rb +858 -0
- data/lib/aspose_cells_cloud/models/form_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/format_condition.rb +174 -123
- data/lib/aspose_cells_cloud/models/forms.rb +222 -0
- data/lib/aspose_cells_cloud/models/forms_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/formula_format_condition.rb +234 -0
- data/lib/aspose_cells_cloud/models/google_drive_storage_file.rb +270 -0
- data/lib/aspose_cells_cloud/models/gradient_fill.rb +62 -43
- data/lib/aspose_cells_cloud/models/gradient_fill_stop.rb +41 -33
- data/lib/aspose_cells_cloud/models/group_box.rb +654 -0
- data/lib/aspose_cells_cloud/models/group_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/group_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +49 -46
- data/lib/aspose_cells_cloud/models/horizontal_page_break_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/horizontal_page_breaks.rb +36 -35
- data/lib/aspose_cells_cloud/models/horizontal_page_breaks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/html_save_options.rb +375 -247
- data/lib/aspose_cells_cloud/models/hyperlink.rb +86 -50
- data/lib/aspose_cells_cloud/models/hyperlink_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/hyperlinks.rb +51 -40
- data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/icon_filter.rb +37 -27
- data/lib/aspose_cells_cloud/models/icon_set.rb +82 -65
- data/lib/aspose_cells_cloud/models/image_save_options.rb +210 -145
- data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +74 -52
- data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +127 -90
- data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +48 -30
- data/lib/aspose_cells_cloud/models/import_double_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_int_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_option.rb +67 -46
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +119 -86
- data/lib/aspose_cells_cloud/models/import_position.rb +234 -0
- data/lib/aspose_cells_cloud/models/import_string_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +222 -0
- data/lib/aspose_cells_cloud/models/json_save_options.rb +146 -105
- data/lib/aspose_cells_cloud/models/label.rb +642 -0
- data/lib/aspose_cells_cloud/models/label_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend.rb +177 -134
- data/lib/aspose_cells_cloud/models/legend_entries.rb +222 -0
- data/lib/aspose_cells_cloud/models/legend_entries_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend_entry.rb +258 -0
- data/lib/aspose_cells_cloud/models/legend_entry_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/line.rb +219 -153
- data/lib/aspose_cells_cloud/models/line_format.rb +195 -151
- data/lib/aspose_cells_cloud/models/line_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/line_shape.rb +714 -0
- data/lib/aspose_cells_cloud/models/line_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/link.rb +62 -41
- data/lib/aspose_cells_cloud/models/link_element.rb +34 -22
- data/lib/aspose_cells_cloud/models/list_box.rb +726 -0
- data/lib/aspose_cells_cloud/models/list_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/list_column.rb +67 -50
- data/lib/aspose_cells_cloud/models/list_object.rb +181 -141
- data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/list_object_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/list_objects.rb +48 -35
- data/lib/aspose_cells_cloud/models/list_objects_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/load_options.rb +330 -0
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +209 -144
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +134 -96
- data/lib/aspose_cells_cloud/models/marker.rb +246 -0
- data/lib/aspose_cells_cloud/models/match_condition_request.rb +41 -28
- data/lib/aspose_cells_cloud/models/merged_cell.rb +69 -65
- data/lib/aspose_cells_cloud/models/merged_cell_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/merged_cells.rb +51 -40
- data/lib/aspose_cells_cloud/models/merged_cells_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/multiple_filter.rb +28 -19
- data/lib/aspose_cells_cloud/models/multiple_filters.rb +48 -35
- data/lib/aspose_cells_cloud/models/name.rb +90 -72
- data/lib/aspose_cells_cloud/models/name_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/names.rb +51 -40
- data/lib/aspose_cells_cloud/models/names_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/negative_bar_format.rb +61 -44
- data/lib/aspose_cells_cloud/models/object_exist.rb +35 -32
- data/lib/aspose_cells_cloud/models/object_exists_extensions.rb +198 -0
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/ole_object.rb +487 -328
- data/lib/aspose_cells_cloud/models/ole_object_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/ole_objects.rb +48 -35
- data/lib/aspose_cells_cloud/models/ole_objects_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +110 -78
- data/lib/aspose_cells_cloud/models/operate_object.rb +41 -26
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +81 -54
- data/lib/aspose_cells_cloud/models/operate_parameter.rb +34 -22
- data/lib/aspose_cells_cloud/models/oval.rb +642 -0
- data/lib/aspose_cells_cloud/models/oval_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +91 -61
- data/lib/aspose_cells_cloud/models/page_section.rb +68 -69
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/page_setup.rb +385 -309
- data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/page_setup_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/password_request.rb +35 -23
- data/lib/aspose_cells_cloud/models/paste_options.rb +60 -39
- data/lib/aspose_cells_cloud/models/pattern_fill.rb +93 -63
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +203 -144
- data/lib/aspose_cells_cloud/models/pdf_security_options.rb +97 -62
- data/lib/aspose_cells_cloud/models/pic_format_option.rb +86 -59
- data/lib/aspose_cells_cloud/models/picture.rb +476 -320
- data/lib/aspose_cells_cloud/models/picture_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pictures.rb +48 -35
- data/lib/aspose_cells_cloud/models/pictures_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_field.rb +426 -306
- data/lib/aspose_cells_cloud/models/pivot_field_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_filter.rb +109 -82
- data/lib/aspose_cells_cloud/models/pivot_filter_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_filters_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/pivot_item.rb +55 -37
- data/lib/aspose_cells_cloud/models/pivot_table.rb +748 -546
- data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +34 -24
- data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +114 -84
- data/lib/aspose_cells_cloud/models/pivot_table_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_tables.rb +48 -35
- data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/plot_area.rb +402 -0
- data/lib/aspose_cells_cloud/models/plot_area_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +186 -131
- data/lib/aspose_cells_cloud/models/radio_button.rb +678 -0
- data/lib/aspose_cells_cloud/models/radio_button_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/range.rb +94 -97
- data/lib/aspose_cells_cloud/models/range_copy_request.rb +60 -39
- data/lib/aspose_cells_cloud/models/range_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +65 -44
- data/lib/aspose_cells_cloud/models/range_set_style_request.rb +41 -26
- data/lib/aspose_cells_cloud/models/range_value_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/ranges.rb +34 -24
- data/lib/aspose_cells_cloud/models/ranges_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/rectangle_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/rectangle_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/result_destination.rb +55 -37
- data/lib/aspose_cells_cloud/models/row.rb +101 -68
- data/lib/aspose_cells_cloud/models/row_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/rows.rb +56 -47
- data/lib/aspose_cells_cloud/models/rows_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +234 -0
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/save_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/save_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +41 -26
- data/lib/aspose_cells_cloud/models/scroll_bar.rb +726 -0
- data/lib/aspose_cells_cloud/models/scroll_bar_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/series.rb +786 -0
- data/lib/aspose_cells_cloud/models/series_items.rb +258 -0
- data/lib/aspose_cells_cloud/models/series_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/serieses_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/shadow_effect.rb +95 -65
- data/lib/aspose_cells_cloud/models/shape.rb +413 -275
- data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/shape_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/shapes.rb +48 -35
- data/lib/aspose_cells_cloud/models/shapes_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/single_value.rb +48 -33
- data/lib/aspose_cells_cloud/models/single_value_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/solid_fill.rb +48 -30
- data/lib/aspose_cells_cloud/models/sort_key.rb +80 -60
- data/lib/aspose_cells_cloud/models/sparkline.rb +41 -33
- data/lib/aspose_cells_cloud/models/sparkline_group.rb +216 -128
- data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/sparkline_groups.rb +34 -24
- data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/spinner.rb +702 -0
- data/lib/aspose_cells_cloud/models/spinner_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/split_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/split_result_document.rb +44 -34
- data/lib/aspose_cells_cloud/models/split_result_response.rb +51 -39
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +85 -58
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +330 -0
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +233 -144
- data/lib/aspose_cells_cloud/models/storage_exist.rb +31 -25
- data/lib/aspose_cells_cloud/models/storage_file.rb +56 -47
- data/lib/aspose_cells_cloud/models/style.rb +260 -193
- data/lib/aspose_cells_cloud/models/style_format_condition.rb +378 -0
- data/lib/aspose_cells_cloud/models/style_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/styles.rb +222 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +110 -78
- data/lib/aspose_cells_cloud/models/table_total_request.rb +48 -30
- data/lib/aspose_cells_cloud/models/task_data.rb +34 -24
- data/lib/aspose_cells_cloud/models/task_description.rb +48 -33
- data/lib/aspose_cells_cloud/models/task_parameter.rb +28 -19
- data/lib/aspose_cells_cloud/models/task_result_parameter.rb +198 -0
- data/lib/aspose_cells_cloud/models/task_run_result.rb +222 -0
- data/lib/aspose_cells_cloud/models/task_run_result_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_box.rb +642 -0
- data/lib/aspose_cells_cloud/models/text_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_format_condition.rb +246 -0
- data/lib/aspose_cells_cloud/models/text_item.rb +48 -33
- data/lib/aspose_cells_cloud/models/text_item_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_items.rb +48 -35
- data/lib/aspose_cells_cloud/models/text_items_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/text_options.rb +187 -130
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +63 -44
- data/lib/aspose_cells_cloud/models/texture_fill.rb +85 -58
- data/lib/aspose_cells_cloud/models/theme_color.rb +48 -33
- data/lib/aspose_cells_cloud/models/tick_labels.rb +123 -79
- data/lib/aspose_cells_cloud/models/tick_labels_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/tile_pic_option.rb +69 -62
- data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +210 -0
- data/lib/aspose_cells_cloud/models/title.rb +233 -175
- data/lib/aspose_cells_cloud/models/title_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/top10.rb +49 -34
- data/lib/aspose_cells_cloud/models/top10_filter.rb +54 -48
- data/lib/aspose_cells_cloud/models/total_request.rb +198 -0
- data/lib/aspose_cells_cloud/models/trendline.rb +582 -0
- data/lib/aspose_cells_cloud/models/trendline_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/trendlines.rb +222 -0
- data/lib/aspose_cells_cloud/models/trendlines_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +146 -105
- data/lib/aspose_cells_cloud/models/validation.rb +197 -155
- data/lib/aspose_cells_cloud/models/validation_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/validations.rb +51 -40
- data/lib/aspose_cells_cloud/models/validations_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/vertical_page_break.rb +48 -45
- data/lib/aspose_cells_cloud/models/vertical_page_break_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/vertical_page_breaks.rb +36 -35
- data/lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/walls.rb +342 -0
- data/lib/aspose_cells_cloud/models/walls_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/workbook.rb +131 -91
- data/lib/aspose_cells_cloud/models/workbook_encryption_request.rb +52 -42
- data/lib/aspose_cells_cloud/models/workbook_operate_parameter.rb +34 -22
- data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +49 -36
- data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +62 -51
- data/lib/aspose_cells_cloud/models/workbook_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +490 -378
- data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/workbooks_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/worksheet.rb +348 -276
- data/lib/aspose_cells_cloud/models/worksheet_moving_request.rb +49 -36
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +69 -45
- data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +62 -51
- data/lib/aspose_cells_cloud/models/worksheet_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/worksheets.rb +48 -35
- data/lib/aspose_cells_cloud/models/worksheets_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/requests/copy_file_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/copy_folder_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/create_folder_request.rb +109 -0
- data/lib/aspose_cells_cloud/requests/delete_decrypt_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/delete_document_properties_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_document_property_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_document_un_protect_from_changes_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_file_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/delete_folder_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/delete_header_footer_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_horizontal_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_horizontal_page_breaks_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/delete_pivot_table_field_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/delete_unprotect_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/delete_vertical_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_vertical_page_breaks_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_background_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_name_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_names_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_background_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_cells_range_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_chart_title_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_clear_charts_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_columns_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_comment_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_comments_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formatting_area_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formatting_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formattings_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_date_filter_request.rb +191 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_delete_chart_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_filter_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_freeze_panes_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_hyperlink_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_hyperlinks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_list_object_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_list_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_ole_object_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_ole_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_picture_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pictures_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_filter_request.rb +154 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_filters_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_tables_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_rows_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_shapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_sparkline_group_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_sparkline_groups_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_validation_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_validations_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheets_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/download_file_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_cell_html_string_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_cells_cloud_service_status_request.rb +92 -0
- data/lib/aspose_cells_cloud/requests/get_cells_cloud_services_health_check_request.rb +92 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_border_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_fill_format_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_category_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_second_category_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_second_value_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_series_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_value_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_disc_usage_request.rb +100 -0
- data/lib/aspose_cells_cloud/requests/get_document_properties_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/get_document_property_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_file_versions_request.rb +110 -0
- data/lib/aspose_cells_cloud/requests/get_files_list_request.rb +106 -0
- data/lib/aspose_cells_cloud/requests/get_footer_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_header_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_horizontal_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_horizontal_page_breaks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_metadata_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/get_named_range_value_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_named_ranges_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_page_count_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_page_setup_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_pivot_table_field_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/get_vertical_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_vertical_page_breaks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_default_style_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_name_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_name_value_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_names_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_settings_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_text_items_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_auto_filter_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_autoshape_with_format_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_autoshapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_calculate_formula_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cell_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cell_style_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cells_range_value_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cells_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_title_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_charts_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_column_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_columns_request.rb +133 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_comment_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_comments_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_conditional_formatting_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_conditional_formattings_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_hyperlink_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_hyperlinks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_list_object_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_list_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_merged_cell_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_merged_cells_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_ole_object_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_ole_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_page_count_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_picture_with_format_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pictures_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_filter_request.rb +147 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_filters_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_tables_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_rows_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_shapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_sparkline_group_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_sparkline_groups_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_text_items_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_validation_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_validations_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_with_format_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/get_worksheets_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/move_file_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/move_folder_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/object_exists_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_workbook_columns_request.rb +131 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_workbook_rows_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_columns_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_row_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_rows_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_batch_convert_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_lock_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_protect_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_split_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_unlock_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_cell_calculate_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/post_cell_characters_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/post_chart_category_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_second_category_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_second_value_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_series_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_value_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_clear_contents_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/post_clear_formats_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_column_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_compress_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_copy_cell_into_cell_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_columns_request.rb +167 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_rows_request.rb +167 -0
- data/lib/aspose_cells_cloud/requests/post_digital_signature_request.rb +139 -0
- data/lib/aspose_cells_cloud/requests/post_encrypt_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_footer_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_group_worksheet_columns_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_group_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_header_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_hide_worksheet_columns_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_hide_worksheet_rows_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/post_import_request.rb +108 -0
- data/lib/aspose_cells_cloud/requests/post_merge_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +132 -0
- data/lib/aspose_cells_cloud/requests/post_move_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_page_setup_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_cell_style_request.rb +177 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_field_hide_item_request.rb +188 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_field_move_to_request.rb +170 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_style_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_update_pivot_field_request.rb +176 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_update_pivot_fields_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/post_protect_request.rb +120 -0
- data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_rename_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_repair_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/post_replace_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_row_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_run_task_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_search_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_set_cell_html_string_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_set_cell_range_value_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_set_worksheet_column_width_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/post_split_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_ungroup_worksheet_columns_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_ungroup_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unhide_worksheet_columns_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unhide_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unlock_request.rb +120 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_cell_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_ole_object_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_property_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_range_style_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_row_request.rb +151 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_zoom_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_calculate_formula_request.rb +131 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_get_smart_marker_result_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_name_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_settings_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_split_request.rb +173 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_text_replace_request.rb +139 -0
- data/lib/aspose_cells_cloud/requests/post_workbooks_merge_request.rb +135 -0
- data/lib/aspose_cells_cloud/requests/post_workbooks_text_search_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_auto_filter_refresh_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_calculate_formula_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cell_set_value_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_column_width_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_merge_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_move_to_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_outline_border_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_row_height_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_style_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_un_merge_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_value_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_ranges_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_legend_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_title_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_comment_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_group_shape_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_hyperlink_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_column_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_columns_total_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_convert_to_range_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_sort_table_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_summarize_with_pivot_table_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_match_blanks_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_match_non_blanks_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_merge_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_picture_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_pivot_table_calculate_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_pivot_table_move_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_range_sort_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_shape_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_sparkline_group_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_text_search_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_ungroup_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_unmerge_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_validation_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worsheet_text_replace_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_active_worksheet_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/put_add_new_worksheet_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/put_change_visibility_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +151 -0
- data/lib/aspose_cells_cloud/requests/put_document_property_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_document_protect_from_changes_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_horizontal_page_break_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/put_insert_new_worksheet_request.rb +157 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_columns_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_rows_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/put_pivot_table_field_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/put_protect_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/put_vertical_page_break_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_background_request.rb +136 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_create_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_name_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_water_marker_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_add_chart_request.rb +229 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_add_picture_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_background_request.rb +146 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_cells_range_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_chart_title_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_color_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_comment_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_conditional_formatting_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_custom_filter_request.rb +206 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_date_filter_request.rb +216 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_dynamic_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_filter_top10_request.rb +196 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_area_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_condition_request.rb +181 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_request.rb +192 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_freeze_panes_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_hyperlink_request.rb +182 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_icon_filter_request.rb +185 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_list_object_request.rb +176 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_ole_object_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_pivot_table_filter_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_pivot_table_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_shape_request.rb +183 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_sparkline_group_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_validation_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/storage_exists_request.rb +102 -0
- data/lib/aspose_cells_cloud/requests/upload_file_request.rb +126 -0
- data/lib/aspose_cells_cloud/version.rb +24 -18
- data/lib/aspose_cells_cloud.rb +598 -168
- data/spec/api/auto_filter_controller_spec.rb +250 -0
- data/spec/api/batch_controller_spec.rb +105 -0
- data/spec/api/cells_controller_spec.rb +747 -0
- data/spec/api/cells_status_controller_spec.rb +49 -0
- data/spec/api/chart_area_controller_spec.rb +67 -0
- data/spec/api/charts_controller_spec.rb +269 -0
- data/spec/api/conditional_formattings_controller_spec.rb +176 -0
- data/spec/api/file_controller_spec.rb +105 -0
- data/spec/api/folder_controller_spec.rb +103 -0
- data/spec/api/hypelinks_controller_spec.rb +122 -0
- data/spec/api/list_objects_controller_spec.rb +228 -0
- data/spec/api/ole_objects_controller_spec.rb +126 -0
- data/spec/api/page_breaks_controller_spec.rb +193 -0
- data/spec/api/page_setup_controller_spec.rb +140 -0
- data/spec/api/pictures_controller_spec.rb +124 -0
- data/spec/api/pivot_tables_controller_spec.rb +406 -0
- data/spec/api/properties_controller_spec.rb +104 -0
- data/spec/api/ranges_controller_spec.rb +245 -0
- data/spec/api/shapes_controller_spec.rb +163 -0
- data/spec/api/sparkline_groups_controller_spec.rb +122 -0
- data/spec/api/storage_controller_spec.rb +85 -0
- data/spec/api/workbook_controller_spec.rb +616 -0
- data/spec/api/worksheet_controller_spec.rb +726 -0
- data/spec/api/worksheet_validations_controller_spec.rb +122 -0
- data/spec/api/xml_controller_spec.rb +54 -0
- data/spec/conversion/conversion_json_spec.rb +629 -0
- data/spec/conversion/conversion_png_spec.rb +629 -0
- data/spec/conversion/conversion_spec.rb +2449 -0
- data/spec/document/light_cells_spec.rb +3562 -0
- data/spec/spec_helper.rb +26 -28
- metadata +460 -48
- data/spec/api/cells_api_spec.rb +0 -1145
- data/spec/api/cells_assembly_spec.rb +0 -44
- data/spec/api/cells_auto_filter_api_spec.rb +0 -430
- data/spec/api/cells_barcode_spec.rb +0 -41
- data/spec/api/cells_batch_spec.rb +0 -45
- data/spec/api/cells_chart_area_api_spec.rb +0 -92
- data/spec/api/cells_chart_axis_api_spec.rb +0 -248
- data/spec/api/cells_charts_api_spec.rb +0 -390
- data/spec/api/cells_clear_objects_spec.rb +0 -43
- data/spec/api/cells_compress_spec.rb +0 -44
- data/spec/api/cells_conditional_formattings_api_spec.rb +0 -259
- data/spec/api/cells_convert_spec.rb +0 -76
- data/spec/api/cells_export_spec.rb +0 -239
- data/spec/api/cells_hypelinks_api_spec.rb +0 -170
- data/spec/api/cells_import_spec.rb +0 -43
- data/spec/api/cells_list_objects_api_spec.rb +0 -272
- data/spec/api/cells_merge_spec.rb +0 -43
- data/spec/api/cells_metadata_spec.rb +0 -72
- data/spec/api/cells_ole_objects_api_spec.rb +0 -177
- data/spec/api/cells_one_spec.rb +0 -37
- data/spec/api/cells_page_breaks_api_spec.rb +0 -269
- data/spec/api/cells_page_setup_api_spec.rb +0 -198
- data/spec/api/cells_pictures_api_spec.rb +0 -174
- data/spec/api/cells_pivot_tables_api_spec.rb +0 -525
- data/spec/api/cells_properties_api_spec.rb +0 -129
- data/spec/api/cells_protect_spec.rb +0 -43
- data/spec/api/cells_ranges_api_spec.rb +0 -312
- data/spec/api/cells_replace_spec.rb +0 -44
- data/spec/api/cells_reverse_spec.rb +0 -44
- data/spec/api/cells_rotate_spec.rb +0 -44
- data/spec/api/cells_save_as_api_spec.rb +0 -106
- data/spec/api/cells_search_spec.rb +0 -43
- data/spec/api/cells_shapes_api_spec.rb +0 -198
- data/spec/api/cells_simple_spec.rb +0 -48
- data/spec/api/cells_sparkline_group_spec.rb +0 -43
- data/spec/api/cells_split_spec.rb +0 -44
- data/spec/api/cells_storage_api_spec.rb +0 -69
- data/spec/api/cells_storage_spec.rb +0 -45
- data/spec/api/cells_task_api_spec.rb +0 -61
- data/spec/api/cells_unlock_spec.rb +0 -43
- data/spec/api/cells_watermark_spec.rb +0 -42
- data/spec/api/cells_workbook_api_spec.rb +0 -766
- data/spec/api/cells_worksheet_validations_api_spec.rb +0 -139
- data/spec/api/cells_worksheets_api_spec.rb +0 -867
@@ -1,525 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'spec_helper'
|
3
|
-
require 'json'
|
4
|
-
|
5
|
-
# Unit tests for AsposeCellsCloud::CellsPivotTablesApi
|
6
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
7
|
-
# Please update as you see appropriate
|
8
|
-
describe 'CellsPivotTablesApi' do
|
9
|
-
before do
|
10
|
-
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
|
11
|
-
$VERBOSE = nil
|
12
|
-
end
|
13
|
-
|
14
|
-
after do
|
15
|
-
# run after each test
|
16
|
-
end
|
17
|
-
|
18
|
-
|
19
|
-
# unit tests for cells_pivot_tables_get_pivot_table_field
|
20
|
-
# Get pivot field into into pivot table
|
21
|
-
#
|
22
|
-
# @param name Document name.
|
23
|
-
# @param sheet_name The worksheet name.
|
24
|
-
# @param pivot_table_index Pivot table index
|
25
|
-
# @param pivot_field_index The field index in the base fields.
|
26
|
-
# @param pivot_field_type The fields area type.
|
27
|
-
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [String] :folder Document's folder.
|
29
|
-
# @option opts [String] :storage storage name.
|
30
|
-
# @return [PivotFieldResponse]
|
31
|
-
describe 'cells_pivot_tables_get_pivot_table_field test' do
|
32
|
-
it "should work" do
|
33
|
-
name = $PivTestFile
|
34
|
-
sheet_name = $SHEET4
|
35
|
-
pivot_table_index = 0
|
36
|
-
pivot_field_index = 0
|
37
|
-
pivot_field_type = 'row'
|
38
|
-
folder = $TEMPFOLDER
|
39
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
40
|
-
expect(result.uploaded.size).to be > 0
|
41
|
-
result = @instance.cells_pivot_tables_get_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, { :folder=>folder})
|
42
|
-
expect(result.code).to eql(200)
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# unit tests for cells_pivot_tables_get_worksheet_pivot_table
|
48
|
-
# Get worksheet pivottable info by index.
|
49
|
-
#
|
50
|
-
# @param name Document name.
|
51
|
-
# @param sheet_name The worksheet name.
|
52
|
-
# @param pivottable_index
|
53
|
-
# @param [Hash] opts the optional parameters
|
54
|
-
# @option opts [String] :folder Document's folder.
|
55
|
-
# @option opts [String] :storage storage name.
|
56
|
-
# @return [PivotTableResponse]
|
57
|
-
describe 'cells_pivot_tables_get_worksheet_pivot_table test' do
|
58
|
-
it "should work" do
|
59
|
-
name = $PivTestFile
|
60
|
-
sheet_name = $SHEET4
|
61
|
-
pivottable_index = 0
|
62
|
-
folder = $TEMPFOLDER
|
63
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
64
|
-
expect(result.uploaded.size).to be > 0
|
65
|
-
result = @instance.cells_pivot_tables_get_worksheet_pivot_table(name, sheet_name, pivottable_index, { :folder=>folder})
|
66
|
-
expect(result.code).to eql(200)
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for cells_pivot_tables_get_worksheet_pivot_table_filters
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# @param name
|
75
|
-
# @param sheet_name
|
76
|
-
# @param pivot_table_index
|
77
|
-
# @param [Hash] opts the optional parameters
|
78
|
-
# @option opts [String] :folder
|
79
|
-
# @option opts [String] :storage storage name.
|
80
|
-
# @return [PivotFiltersResponse]
|
81
|
-
describe 'cells_pivot_tables_get_worksheet_pivot_table_filters test' do
|
82
|
-
it "should work" do
|
83
|
-
name = $PivTestFile
|
84
|
-
sheet_name = $SHEET4
|
85
|
-
pivot_table_index = 0
|
86
|
-
folder = $TEMPFOLDER
|
87
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
88
|
-
expect(result.uploaded.size).to be > 0
|
89
|
-
result = @instance.cells_pivot_tables_get_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, { :folder=>folder})
|
90
|
-
expect(result.code).to eql(200)
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# unit tests for cells_pivot_tables_get_worksheet_pivot_tables
|
96
|
-
# Get worksheet pivottables info.
|
97
|
-
#
|
98
|
-
# @param name Document name.
|
99
|
-
# @param sheet_name The worksheet name.
|
100
|
-
# @param [Hash] opts the optional parameters
|
101
|
-
# @option opts [String] :folder Document's folder.
|
102
|
-
# @option opts [String] :storage storage name.
|
103
|
-
# @return [PivotTablesResponse]
|
104
|
-
describe 'cells_pivot_tables_get_worksheet_pivot_tables test' do
|
105
|
-
it "should work" do
|
106
|
-
name = $PivTestFile
|
107
|
-
sheet_name = $SHEET4
|
108
|
-
folder = $TEMPFOLDER
|
109
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
110
|
-
expect(result.uploaded.size).to be > 0
|
111
|
-
result = @instance.cells_pivot_tables_get_worksheet_pivot_tables(name, sheet_name, { :folder=>folder})
|
112
|
-
expect(result.code).to eql(200)
|
113
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
# unit tests for cells_pivot_tables_post_pivot_table_cell_style
|
118
|
-
# Update cell style for pivot table
|
119
|
-
#
|
120
|
-
# @param name Document name.
|
121
|
-
# @param sheet_name The worksheet name.
|
122
|
-
# @param pivot_table_index Pivot table index
|
123
|
-
# @param column
|
124
|
-
# @param row
|
125
|
-
# @param [Hash] opts the optional parameters
|
126
|
-
# @option opts [Style] :style Style dto in request body.
|
127
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
128
|
-
# @option opts [String] :folder Document's folder.
|
129
|
-
# @option opts [String] :storage storage name.
|
130
|
-
# @return [CellsCloudResponse]
|
131
|
-
describe 'cells_pivot_tables_post_pivot_table_cell_style test' do
|
132
|
-
it "should work" do
|
133
|
-
name = $PivTestFile
|
134
|
-
sheet_name = $SHEET4
|
135
|
-
pivot_table_index = 0
|
136
|
-
column = 1
|
137
|
-
row = 1
|
138
|
-
style = AsposeCellsCloud::Style.new({:Custom=>'p'})
|
139
|
-
need_re_calculate = true
|
140
|
-
folder = $TEMPFOLDER
|
141
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
142
|
-
expect(result.uploaded.size).to be > 0
|
143
|
-
result = @instance.cells_pivot_tables_post_pivot_table_cell_style(name, sheet_name, pivot_table_index, column, row, {:style=>style, :need_re_calculate=>need_re_calculate, :folder=>folder})
|
144
|
-
expect(result.code).to eql(200)
|
145
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
# unit tests for cells_pivot_tables_post_pivot_table_field_hide_item
|
150
|
-
#
|
151
|
-
#
|
152
|
-
# @param name
|
153
|
-
# @param sheet_name
|
154
|
-
# @param pivot_table_index
|
155
|
-
# @param pivot_field_type
|
156
|
-
# @param field_index
|
157
|
-
# @param item_index
|
158
|
-
# @param is_hide
|
159
|
-
# @param [Hash] opts the optional parameters
|
160
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
161
|
-
# @option opts [String] :folder
|
162
|
-
# @option opts [String] :storage storage name.
|
163
|
-
# @return [CellsCloudResponse]
|
164
|
-
describe 'cells_pivot_tables_post_pivot_table_field_hide_item test' do
|
165
|
-
it "should work" do
|
166
|
-
name = $PivTestFile
|
167
|
-
sheet_name = $SHEET4
|
168
|
-
pivot_table_index = 0
|
169
|
-
pivot_field_type = 'Row'
|
170
|
-
field_index = 0
|
171
|
-
item_index = 1
|
172
|
-
is_hide = true
|
173
|
-
need_re_calculate = true
|
174
|
-
folder = $TEMPFOLDER
|
175
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
176
|
-
expect(result.uploaded.size).to be > 0
|
177
|
-
result = @instance.cells_pivot_tables_post_pivot_table_field_hide_item(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, { :need_re_calculate=>need_re_calculate,:folder=>folder})
|
178
|
-
expect(result.code).to eql(200)
|
179
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
# unit tests for cells_pivot_tables_post_pivot_table_field_move_to
|
184
|
-
#
|
185
|
-
#
|
186
|
-
# @param name
|
187
|
-
# @param sheet_name
|
188
|
-
# @param pivot_table_index
|
189
|
-
# @param field_index
|
190
|
-
# @param from
|
191
|
-
# @param to
|
192
|
-
# @param [Hash] opts the optional parameters
|
193
|
-
# @option opts [String] :folder
|
194
|
-
# @option opts [String] :storage storage name.
|
195
|
-
# @return [CellsCloudResponse]
|
196
|
-
describe 'cells_pivot_tables_post_pivot_table_field_move_to test' do
|
197
|
-
it "should work" do
|
198
|
-
name = $PivTestFile
|
199
|
-
sheet_name = $SHEET4
|
200
|
-
pivot_table_index = 0
|
201
|
-
field_index = 0
|
202
|
-
from = 'Row'
|
203
|
-
to = 'Column'
|
204
|
-
folder = $TEMPFOLDER
|
205
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
206
|
-
expect(result.uploaded.size).to be > 0
|
207
|
-
result = @instance.cells_pivot_tables_post_pivot_table_field_move_to(name, sheet_name, pivot_table_index, field_index, from, to, { :folder=>folder})
|
208
|
-
expect(result.code).to eql(200)
|
209
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
describe 'cells_pivot_tables_post_pivot_table_update_pivot_fields test' do
|
214
|
-
it "should work" do
|
215
|
-
name = $PivTestFile
|
216
|
-
sheet_name = $SHEET4
|
217
|
-
pivot_table_index = 0
|
218
|
-
field_index = 0
|
219
|
-
folder = $TEMPFOLDER
|
220
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
221
|
-
expect(result.uploaded.size).to be > 0
|
222
|
-
pivot_field = AsposeCellsCloud::PivotField.new({:Number=>5})
|
223
|
-
result = @instance.cells_pivot_tables_post_pivot_table_update_pivot_fields(name, sheet_name, pivot_table_index, "Data",pivot_field , { :folder=>folder})
|
224
|
-
expect(result.code).to eql(200)
|
225
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
226
|
-
end
|
227
|
-
end
|
228
|
-
|
229
|
-
describe 'cells_pivot_tables_post_pivot_table_update_pivot_field test' do
|
230
|
-
it "should work" do
|
231
|
-
name = $PivTestFile
|
232
|
-
sheet_name = $SHEET4
|
233
|
-
pivot_table_index = 0
|
234
|
-
field_index = 0
|
235
|
-
folder = $TEMPFOLDER
|
236
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
237
|
-
expect(result.uploaded.size).to be > 0
|
238
|
-
pivot_field = AsposeCellsCloud::PivotField.new({:Number=>5})
|
239
|
-
result = @instance.cells_pivot_tables_post_pivot_table_update_pivot_field(name, sheet_name, pivot_table_index,0, "Data",pivot_field , { :folder=>folder})
|
240
|
-
expect(result.code).to eql(200)
|
241
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
242
|
-
end
|
243
|
-
end
|
244
|
-
# unit tests for cells_pivot_tables_post_pivot_table_style
|
245
|
-
# Update style for pivot table
|
246
|
-
#
|
247
|
-
# @param name Document name.
|
248
|
-
# @param sheet_name The worksheet name.
|
249
|
-
# @param pivot_table_index Pivot table index
|
250
|
-
# @param [Hash] opts the optional parameters
|
251
|
-
# @option opts [Style] :style Style dto in request body.
|
252
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
253
|
-
# @option opts [String] :folder Document's folder.
|
254
|
-
# @option opts [String] :storage storage name.
|
255
|
-
# @return [CellsCloudResponse]
|
256
|
-
describe 'cells_pivot_tables_post_pivot_table_style test' do
|
257
|
-
it "should work" do
|
258
|
-
name = $PivTestFile
|
259
|
-
sheet_name = $SHEET4
|
260
|
-
pivot_table_index = 0
|
261
|
-
style = AsposeCellsCloud::Style.new({:Custom=>'p'})
|
262
|
-
need_re_calculate = true
|
263
|
-
folder = $TEMPFOLDER
|
264
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
265
|
-
expect(result.uploaded.size).to be > 0
|
266
|
-
result = @instance.cells_pivot_tables_post_pivot_table_style(name, sheet_name, pivot_table_index, { :style=>style, :need_re_calculate=>need_re_calculate,:folder=>folder})
|
267
|
-
expect(result.code).to eql(200)
|
268
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
# unit tests for cells_pivot_tables_post_worksheet_pivot_table_calculate
|
273
|
-
# Calculates pivottable's data to cells.
|
274
|
-
#
|
275
|
-
# @param name Document name.
|
276
|
-
# @param sheet_name The worksheet name.
|
277
|
-
# @param pivot_table_index Pivot table index
|
278
|
-
# @param [Hash] opts the optional parameters
|
279
|
-
# @option opts [String] :folder Document's folder.
|
280
|
-
# @option opts [String] :storage storage name.
|
281
|
-
# @return [CellsCloudResponse]
|
282
|
-
describe 'cells_pivot_tables_post_worksheet_pivot_table_calculate test' do
|
283
|
-
it "should work" do
|
284
|
-
name = $PivTestFile
|
285
|
-
sheet_name = $SHEET4
|
286
|
-
pivot_table_index = 0
|
287
|
-
folder = $TEMPFOLDER
|
288
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
289
|
-
expect(result.uploaded.size).to be > 0
|
290
|
-
result = @instance.cells_pivot_tables_post_worksheet_pivot_table_calculate(name, sheet_name, pivot_table_index, { :folder=>folder})
|
291
|
-
expect(result.code).to eql(200)
|
292
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
# unit tests for cells_pivot_tables_post_worksheet_pivot_table_move
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# @param name
|
300
|
-
# @param sheet_name
|
301
|
-
# @param pivot_table_index
|
302
|
-
# @param [Hash] opts the optional parameters
|
303
|
-
# @option opts [Integer] :row
|
304
|
-
# @option opts [Integer] :column
|
305
|
-
# @option opts [String] :dest_cell_name
|
306
|
-
# @option opts [String] :folder
|
307
|
-
# @option opts [String] :storage storage name.
|
308
|
-
# @return [CellsCloudResponse]
|
309
|
-
describe 'cells_pivot_tables_post_worksheet_pivot_table_move test' do
|
310
|
-
it "should work" do
|
311
|
-
name = $PivTestFile
|
312
|
-
sheet_name = $SHEET4
|
313
|
-
pivot_table_index = 0
|
314
|
-
row = 1
|
315
|
-
column = 1
|
316
|
-
dest_cell_name = 'C10'
|
317
|
-
folder = $TEMPFOLDER
|
318
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
319
|
-
expect(result.uploaded.size).to be > 0
|
320
|
-
result = @instance.cells_pivot_tables_post_worksheet_pivot_table_move(name, sheet_name, pivot_table_index, { :row=>row, :column=>column, :dest_cell_name=>dest_cell_name, :folder=>folder})
|
321
|
-
expect(result.code).to eql(200)
|
322
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
323
|
-
end
|
324
|
-
end
|
325
|
-
|
326
|
-
# unit tests for cells_pivot_tables_put_pivot_table_field
|
327
|
-
# Add pivot field into into pivot table
|
328
|
-
#
|
329
|
-
# @param name Document name.
|
330
|
-
# @param sheet_name The worksheet name.
|
331
|
-
# @param pivot_table_index Pivot table index
|
332
|
-
# @param pivot_field_type The fields area type.
|
333
|
-
# @param [Hash] opts the optional parameters
|
334
|
-
# @option opts [PivotTableFieldRequest] :request Dto that conrains field indexes
|
335
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
336
|
-
# @option opts [String] :folder Document's folder.
|
337
|
-
# @option opts [String] :storage storage name.
|
338
|
-
# @return [CellsCloudResponse]
|
339
|
-
describe 'cells_pivot_tables_put_pivot_table_field test' do
|
340
|
-
it "should work" do
|
341
|
-
name = $PivTestFile
|
342
|
-
sheet_name = $SHEET4
|
343
|
-
pivot_table_index = 0
|
344
|
-
pivot_field_type = 'Row'
|
345
|
-
request = AsposeCellsCloud::PivotTableFieldRequest.new({:Data=>[1]})
|
346
|
-
need_re_calculate = nil
|
347
|
-
folder = $TEMPFOLDER
|
348
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
349
|
-
expect(result.uploaded.size).to be > 0
|
350
|
-
result = @instance.cells_pivot_tables_put_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, {:request=>request, :need_re_calculate=>need_re_calculate, :folder=>folder})
|
351
|
-
expect(result.code).to eql(200)
|
352
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
|
-
# unit tests for cells_pivot_tables_put_worksheet_pivot_table
|
357
|
-
# Add a pivot table into worksheet.
|
358
|
-
#
|
359
|
-
# @param name Document name.
|
360
|
-
# @param sheet_name The worksheet name.
|
361
|
-
# @param [Hash] opts the optional parameters
|
362
|
-
# @option opts [CreatePivotTableRequest] :request CreatePivotTableRequest dto in request body.
|
363
|
-
# @option opts [String] :folder Document's folder.
|
364
|
-
# @option opts [String] :storage storage name.
|
365
|
-
# @option opts [String] :source_data The data for the new PivotTable cache.
|
366
|
-
# @option opts [String] :dest_cell_name The cell in the upper-left corner of the PivotTable report's destination range.
|
367
|
-
# @option opts [String] :table_name The name of the new PivotTable report.
|
368
|
-
# @option opts [BOOLEAN] :use_same_source Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
|
369
|
-
# @return [PivotTableResponse]
|
370
|
-
describe 'cells_pivot_tables_put_worksheet_pivot_table test' do
|
371
|
-
it "should work" do
|
372
|
-
name = $PivTestFile
|
373
|
-
sheet_name = $SHEET4
|
374
|
-
request = AsposeCellsCloud::CreatePivotTableRequest.new({:Name=>'TestPivot',:DestCellName=>'C1',:SourceData =>'Sheet1!C6:E13',:UseSameSource=>true})
|
375
|
-
folder = $TEMPFOLDER
|
376
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
377
|
-
expect(result.uploaded.size).to be > 0
|
378
|
-
source_data = 'Sheet1!C6:E13'
|
379
|
-
dest_cell_name = 'C1'
|
380
|
-
table_name = 'TestPivot'
|
381
|
-
use_same_source = true
|
382
|
-
result = @instance.cells_pivot_tables_put_worksheet_pivot_table(name, sheet_name, { :folder=>folder, :source_data=>source_data, :dest_cell_name=>dest_cell_name, :table_name=>table_name, :use_same_source=>use_same_source})
|
383
|
-
expect(result.code).to eql(200)
|
384
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
# unit tests for cells_pivot_tables_put_worksheet_pivot_table_filter
|
389
|
-
# Add pivot filter for piovt table index
|
390
|
-
#
|
391
|
-
# @param name
|
392
|
-
# @param sheet_name
|
393
|
-
# @param pivot_table_index
|
394
|
-
# @param [Hash] opts the optional parameters
|
395
|
-
# @option opts [PivotFilter] :filter
|
396
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
397
|
-
# @option opts [String] :folder
|
398
|
-
# @option opts [String] :storage storage name.
|
399
|
-
# @return [CellsCloudResponse]
|
400
|
-
describe 'cells_pivot_tables_put_worksheet_pivot_table_filter and cells_pivot_tables_get_worksheet_pivot_table_filter test' do
|
401
|
-
it "should work" do
|
402
|
-
name = $PivTestFile
|
403
|
-
sheet_name = $SHEET4
|
404
|
-
pivot_table_index = 0
|
405
|
-
top10Filter = AsposeCellsCloud::Top10Filter.new({:Items=>1 ,:IsTop=>true,:IsPercent=>false})
|
406
|
-
filterColumn = AsposeCellsCloud::FilterColumn.new({:FilterType=>'Top10',:FieldIndex=>0,:Top10Filter=>top10Filter})
|
407
|
-
autoFilter = AsposeCellsCloud::AutoFilter.new({:FilterColumns=>[filterColumn]})
|
408
|
-
filter = AsposeCellsCloud::PivotFilter.new({:FieldIndex=>1,:FilterType=>'Count',:AutoFilter=>autoFilter})
|
409
|
-
need_re_calculate = true
|
410
|
-
folder = $TEMPFOLDER
|
411
|
-
filter_index =0
|
412
|
-
field_index=0
|
413
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
414
|
-
expect(result.uploaded.size).to be > 0
|
415
|
-
result = @instance.cells_pivot_tables_put_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, { :filter=>filter, :need_re_calculate=>need_re_calculate, :folder=>folder})
|
416
|
-
expect(result.code).to eql(200)
|
417
|
-
result = @instance.cells_pivot_tables_get_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, filter_index, { :folder=>folder})
|
418
|
-
expect(result.code).to eql(200)
|
419
|
-
result = @instance.cells_pivot_tables_delete_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, field_index, {:need_re_calculate=>need_re_calculate, :folder=>folder})
|
420
|
-
expect(result.code).to eql(200)
|
421
|
-
end
|
422
|
-
end
|
423
|
-
|
424
|
-
# unit tests for cells_pivot_tables_delete_pivot_table_field
|
425
|
-
# Delete pivot field into into pivot table
|
426
|
-
#
|
427
|
-
# @param name Document name.
|
428
|
-
# @param sheet_name The worksheet name.
|
429
|
-
# @param pivot_table_index Pivot table index
|
430
|
-
# @param pivot_field_type The fields area type.
|
431
|
-
# @param [Hash] opts the optional parameters
|
432
|
-
# @option opts [PivotTableFieldRequest] :request Dto that conrains field indexes
|
433
|
-
# @option opts [String] :folder Document's folder.
|
434
|
-
# @option opts [String] :storage storage name.
|
435
|
-
# @return [CellsCloudResponse]
|
436
|
-
describe 'cells_pivot_tables_delete_pivot_table_field test' do
|
437
|
-
it "should work" do
|
438
|
-
name = $PivTestFile
|
439
|
-
sheet_name = $SHEET4
|
440
|
-
pivot_table_index = 0
|
441
|
-
pivot_field_type = 'Row'
|
442
|
-
request = AsposeCellsCloud::PivotTableFieldRequest.new({:Data=>[1]})
|
443
|
-
folder = $TEMPFOLDER
|
444
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
445
|
-
expect(result.uploaded.size).to be > 0
|
446
|
-
result = @instance.cells_pivot_tables_delete_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, { :request=>request,:folder=>folder})
|
447
|
-
expect(result.code).to eql(200)
|
448
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
449
|
-
end
|
450
|
-
end
|
451
|
-
|
452
|
-
# unit tests for cells_pivot_tables_delete_worksheet_pivot_table
|
453
|
-
# Delete worksheet pivot table by index
|
454
|
-
#
|
455
|
-
# @param name Document name.
|
456
|
-
# @param sheet_name The worksheet name.
|
457
|
-
# @param pivot_table_index Pivot table index
|
458
|
-
# @param [Hash] opts the optional parameters
|
459
|
-
# @option opts [String] :folder Document's folder.
|
460
|
-
# @option opts [String] :storage storage name.
|
461
|
-
# @return [CellsCloudResponse]
|
462
|
-
describe 'cells_pivot_tables_delete_worksheet_pivot_table test' do
|
463
|
-
it "should work" do
|
464
|
-
name = $PivTestFile
|
465
|
-
sheet_name = $SHEET4
|
466
|
-
pivot_table_index = 0
|
467
|
-
folder = $TEMPFOLDER
|
468
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
469
|
-
expect(result.uploaded.size).to be > 0
|
470
|
-
result = @instance.cells_pivot_tables_delete_worksheet_pivot_table(name, sheet_name, pivot_table_index, { :folder=>folder})
|
471
|
-
expect(result.code).to eql(200)
|
472
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
473
|
-
end
|
474
|
-
end
|
475
|
-
|
476
|
-
|
477
|
-
# unit tests for cells_pivot_tables_delete_worksheet_pivot_table_filters
|
478
|
-
# delete all pivot filters for piovt table
|
479
|
-
#
|
480
|
-
# @param name
|
481
|
-
# @param sheet_name
|
482
|
-
# @param pivot_table_index
|
483
|
-
# @param [Hash] opts the optional parameters
|
484
|
-
# @option opts [BOOLEAN] :need_re_calculate
|
485
|
-
# @option opts [String] :folder
|
486
|
-
# @option opts [String] :storage storage name.
|
487
|
-
# @return [CellsCloudResponse]
|
488
|
-
describe 'cells_pivot_tables_delete_worksheet_pivot_table_filters test' do
|
489
|
-
it "should work" do
|
490
|
-
name = $PivTestFile
|
491
|
-
sheet_name = $SHEET4
|
492
|
-
pivot_table_index = 0
|
493
|
-
need_re_calculate = true
|
494
|
-
folder = $TEMPFOLDER
|
495
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
496
|
-
expect(result.uploaded.size).to be > 0
|
497
|
-
result = @instance.cells_pivot_tables_delete_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, {:need_re_calculate=>need_re_calculate, :folder=>folder})
|
498
|
-
expect(result.code).to eql(200)
|
499
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
500
|
-
end
|
501
|
-
end
|
502
|
-
|
503
|
-
# unit tests for cells_pivot_tables_delete_worksheet_pivot_tables
|
504
|
-
# Delete worksheet pivot tables
|
505
|
-
#
|
506
|
-
# @param name Document name.
|
507
|
-
# @param sheet_name The worksheet name.
|
508
|
-
# @param [Hash] opts the optional parameters
|
509
|
-
# @option opts [String] :folder Document's folder.
|
510
|
-
# @option opts [String] :storage storage name.
|
511
|
-
# @return [CellsCloudResponse]
|
512
|
-
describe 'cells_pivot_tables_delete_worksheet_pivot_tables test' do
|
513
|
-
it "should work" do
|
514
|
-
name = $PivTestFile
|
515
|
-
sheet_name = $SHEET4
|
516
|
-
folder = $TEMPFOLDER
|
517
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
518
|
-
expect(result.uploaded.size).to be > 0
|
519
|
-
result = @instance.cells_pivot_tables_delete_worksheet_pivot_tables(name, sheet_name, { :folder=>folder})
|
520
|
-
expect(result.code).to eql(200)
|
521
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
|
-
end
|
@@ -1,129 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
require 'json'
|
5
|
-
|
6
|
-
# Unit tests for AsposeCellsCloud::CellsPropertiesApi
|
7
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
8
|
-
# Please update as you see appropriate
|
9
|
-
describe 'CellsPropertiesApi' do
|
10
|
-
before do
|
11
|
-
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
|
12
|
-
$VERBOSE = nil
|
13
|
-
end
|
14
|
-
|
15
|
-
after do
|
16
|
-
# run after each test
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
# unit tests for cells_properties_delete_document_properties
|
22
|
-
# Delete all custom document properties and clean built-in ones.
|
23
|
-
#
|
24
|
-
# @param name The document name.
|
25
|
-
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :folder The document folder.
|
27
|
-
# @option opts [String] :storage storage name.
|
28
|
-
# @return [CellsDocumentPropertiesResponse]
|
29
|
-
describe 'cells_properties_delete_document_properties test' do
|
30
|
-
it "should work" do
|
31
|
-
name = $BOOK1
|
32
|
-
folder = $TEMPFOLDER
|
33
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
34
|
-
expect(result.uploaded.size).to be > 0
|
35
|
-
result = @instance.cells_properties_delete_document_properties(name, { :folder=>folder})
|
36
|
-
expect(result.code).to eql(200)
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
# unit tests for cells_properties_delete_document_property
|
42
|
-
# Delete document property.
|
43
|
-
#
|
44
|
-
# @param name The document name.
|
45
|
-
# @param property_name The property name.
|
46
|
-
# @param [Hash] opts the optional parameters
|
47
|
-
# @option opts [String] :folder The document folder.
|
48
|
-
# @option opts [String] :storage storage name.
|
49
|
-
# @return [CellsDocumentPropertiesResponse]
|
50
|
-
describe 'cells_properties_delete_document_property test' do
|
51
|
-
it "should work" do
|
52
|
-
name = $BOOK1
|
53
|
-
property_name = 'Author'
|
54
|
-
folder = $TEMPFOLDER
|
55
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
56
|
-
expect(result.uploaded.size).to be > 0
|
57
|
-
result = @instance.cells_properties_delete_document_property(name, property_name, { :folder=>folder})
|
58
|
-
expect(result.code).to eql(200)
|
59
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
# unit tests for cells_properties_get_document_properties
|
64
|
-
# Read document properties.
|
65
|
-
#
|
66
|
-
# @param name The document name.
|
67
|
-
# @param [Hash] opts the optional parameters
|
68
|
-
# @option opts [String] :folder The document folder.
|
69
|
-
# @option opts [String] :storage storage name.
|
70
|
-
# @return [CellsDocumentPropertiesResponse]
|
71
|
-
describe 'cells_properties_get_document_properties test' do
|
72
|
-
it "should work" do
|
73
|
-
name = $BOOK1
|
74
|
-
folder = $TEMPFOLDER
|
75
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
76
|
-
expect(result.uploaded.size).to be > 0
|
77
|
-
result = @instance.cells_properties_get_document_properties(name, { :folder=>folder})
|
78
|
-
expect(result.code).to eql(200)
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# unit tests for cells_properties_get_document_property
|
84
|
-
# Read document property by name.
|
85
|
-
#
|
86
|
-
# @param name The document name.
|
87
|
-
# @param property_name The property name.
|
88
|
-
# @param [Hash] opts the optional parameters
|
89
|
-
# @option opts [String] :folder The document folder.
|
90
|
-
# @option opts [String] :storage storage name.
|
91
|
-
# @return [CellsDocumentPropertyResponse]
|
92
|
-
describe 'cells_properties_get_document_property test' do
|
93
|
-
it "should work" do
|
94
|
-
name = $BOOK1
|
95
|
-
property_name = 'Author'
|
96
|
-
folder = $TEMPFOLDER
|
97
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
98
|
-
expect(result.uploaded.size).to be > 0
|
99
|
-
result = @instance.cells_properties_get_document_property(name, property_name, { :folder=>folder})
|
100
|
-
expect(result.code).to eql(200)
|
101
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
# unit tests for cells_properties_put_document_property
|
106
|
-
# Set/create document property.
|
107
|
-
#
|
108
|
-
# @param name The document name.
|
109
|
-
# @param property_name The property name.
|
110
|
-
# @param [Hash] opts the optional parameters
|
111
|
-
# @option opts [CellsDocumentProperty] :property with new property value.
|
112
|
-
# @option opts [String] :folder The document folder.
|
113
|
-
# @option opts [String] :storage storage name.
|
114
|
-
# @return [CellsDocumentPropertyResponse]
|
115
|
-
describe 'cells_properties_put_document_property test' do
|
116
|
-
it "should work" do
|
117
|
-
name = $BOOK1
|
118
|
-
property_name = 'Author'
|
119
|
-
property = AsposeCellsCloud::CellsDocumentProperty.new({:Name=>'Author',:Value=>'roy'})
|
120
|
-
folder = $TEMPFOLDER
|
121
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
122
|
-
expect(result.uploaded.size).to be > 0
|
123
|
-
result = @instance.cells_properties_put_document_property(name, property_name, { :property=>property, :folder=>folder})
|
124
|
-
expect(result.code).to eql(200)
|
125
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
end
|